/* ===== Reset & Font ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Poppins";
  src: url("poppins.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep: #040d08;
  --bg-dark: #071a0f;
  --bg-card: rgba(12, 40, 22, 0.82);
  --bg-card2: rgba(18, 55, 32, 0.92);
  --border: rgba(0, 210, 106, 0.25);
  --accent: #00D26A;
  --accent-d: #00a854;
  --accent2: #5fffaa;
  --gold: #ffe44d;
  --green: #00D26A;
  --tw: #f1f5f2;
  --tm: #94b8a3;
  --td: #6a9f7e;
  --radius: 10px;
  --radius-l: 16px;
  --shadow: 0 24px 60px rgba(0, 10, 5, 0.45);
  --nav-h: 64px;
  --font: 'Poppins', system-ui, sans-serif;
}

/* ===== Body ===== */
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--tw);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 210, 106, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0, 168, 84, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 100, 50, 0.04) 0%, transparent 60%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='1' fill='%2300D26A'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23g)'/%3E%3C/svg%3E");
}

.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Scroll offset for sticky nav */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent2);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--tw);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Sticky Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 500;
  background: rgba(4, 13, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 210, 106, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-inner {
  max-width: 1100px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand .logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 210, 106, 0.3));
}

.navbar-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--tw);
  letter-spacing: -0.02em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.navbar-links a {
  color: var(--tm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--accent);
}

.navbar-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--gold));
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 210, 106, 0.3);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 210, 106, 0.5);
  color: var(--bg-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 510;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tw);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 490;
  background: rgba(4, 13, 8, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 24px;
  gap: 8px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--tm);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(0, 210, 106, 0.08);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav .navbar-cta {
  margin-top: 16px;
  display: inline-block;
  width: auto;
  border-bottom: none;
  padding: 12px 40px;
}

/* ===== Hero Section ===== */
.hero {
  margin-top: var(--nav-h);
  padding: clamp(40px, 8vw, 80px) 24px clamp(32px, 6vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(0, 210, 106, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(0, 168, 84, 0.06) 0%, transparent 50%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
  background: linear-gradient(145deg, #0a2616, #071a0f);
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0, 210, 106, 0.25), inset 0 1px 0 rgba(0, 210, 106, 0.15);
  border: 1.5px solid rgba(0, 210, 106, 0.25);
}

.hero h1 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--tw);
  line-height: 1.2;
}

.hero-desc {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--tm);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--gold);
}

.hero-rating .stars {
  letter-spacing: 2px;
}

.hero-rating .rating-text {
  color: var(--tm);
  font-size: 13px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 14px;
  padding: 12px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--gold));
  color: var(--bg-dark);
  box-shadow: 0 4px 24px rgba(0, 210, 106, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 210, 106, 0.45);
  color: var(--bg-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(0, 210, 106, 0.08);
  border-color: var(--accent);
  transform: translateY(-1px);
  color: var(--accent2);
}

.search-btn {
  font-size: 12px;
  padding: 10px 20px;
  border-radius: var(--radius);
}

.visit-btn {
  font-size: 12px;
  padding: 8px 20px;
}

/* ===== Stats Bar ===== */
.stats-bar {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px 12px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0, 210, 106, 0.15);
}

.stat-value {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: clamp(11px, 1.5vw, 13px);
  color: var(--td);
  margin-top: 4px;
  display: block;
}

/* ===== Main Content Container ===== */
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ===== Sections ===== */
.section {
  padding: clamp(32px, 5vw, 60px) 0;
}

.section-dark {
  background: rgba(7, 26, 15, 0.5);
  border-top: 1px solid rgba(0, 210, 106, 0.06);
  border-bottom: 1px solid rgba(0, 210, 106, 0.06);
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tw);
}

.section-subtitle {
  font-size: clamp(13px, 2vw, 15px);
  color: var(--tm);
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.6;
}

.section-icon {
  font-size: 20px;
  margin-right: 8px;
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.two-col.flip .two-col-text {
  order: 2;
}

.two-col.flip .two-col-media {
  order: 1;
}

.two-col-text p {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.7;
  margin-bottom: 12px;
}

.two-col-text p strong {
  color: var(--tw);
}

.two-col-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.two-col-text ul li {
  font-size: 14px;
  color: var(--tm);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.two-col-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.two-col-text ul li strong {
  color: var(--tw);
}

.two-col-media img {
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid rgba(0, 210, 106, 0.12);
  box-shadow: var(--shadow);
}

/* ===== Cards Grid ===== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 210, 106, 0.15);
  border-color: rgba(0, 210, 106, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--tw);
}

.card p {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.6;
}

/* ===== Search Section ===== */
.search-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.search-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--tw);
  font-family: var(--font);
}

.search-input::placeholder {
  color: var(--td);
}

.domain-status {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 500;
}

.domain-status--ok {
  background: rgba(0, 210, 106, 0.15);
  border: 1px solid rgba(0, 210, 106, 0.35);
  color: var(--accent2);
}

.domain-status--bad {
  background: rgba(255, 75, 106, 0.15);
  border: 1px solid rgba(255, 75, 106, 0.35);
  color: #ff8da0;
}

/* ===== Domains List ===== */
.domains-section {
  margin-bottom: 40px;
}

.domains-card {
  max-width: 600px;
  margin: 0 auto;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.lock-icon {
  font-size: 18px;
}

.card-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--tw);
}

.domains-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 210, 106, 0.04);
  border: 1px solid rgba(0, 210, 106, 0.1);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.domain-row:hover {
  background: rgba(0, 210, 106, 0.08);
  border-color: rgba(0, 210, 106, 0.25);
  transform: translateX(4px);
}

.domain-index {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.domain-name {
  flex: 1;
  font-size: 14px;
  color: var(--tm);
  font-weight: 500;
}

/* ===== Table of Contents ===== */
.toc-box {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 0;
  margin-bottom: 32px;
  overflow: hidden;
}

.toc-box summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--tw);
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  list-style: none;
  transition: background 0.2s;
}

.toc-box summary::-webkit-details-marker {
  display: none;
}

.toc-box summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}

.toc-box[open] summary::after {
  content: '-';
}

.toc-box summary:hover {
  background: rgba(0, 210, 106, 0.04);
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  padding: 0 24px 24px;
}

.toc-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--tm);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.toc-grid a:hover {
  background: rgba(0, 210, 106, 0.06);
  color: var(--accent);
}

.toc-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  min-width: 20px;
}

/* ===== Step Cards ===== */
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 106, 0.12);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: var(--border);
  transform: translateX(4px);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-card p {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.6;
}

.step-card p strong {
  color: var(--tw);
}

/* ===== FAQ Accordion ===== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 106, 0.12);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--tw);
  text-align: left;
  gap: 12px;
}

.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.is-open .faq-a {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-a p {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 210, 106, 0.1) 0%, transparent 60%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 15px;
  color: var(--tm);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  font-size: 15px;
  padding: 14px 36px;
}

/* ===== Prediction Info Section ===== */
.prediction-info-section {
  margin: 0 auto 32px;
}

.prediction-info-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.prediction-info-text,
.prediction-info-note {
  font-size: 13px;
  color: var(--tm);
  margin-bottom: 10px;
  line-height: 1.7;
}

.prediction-info-note {
  font-weight: 600;
  color: var(--gold);
  background: rgba(255, 228, 77, 0.06);
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 228, 77, 0.15);
}

.prediction-info-btn {
  font-size: 14px;
  padding: 12px 28px;
  text-decoration: none;
}

.prediction-info-actions {
  margin-top: 20px;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  background: rgba(4, 13, 8, 0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 210, 106, 0.1);
}

.site-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--tw);
}

.footer-brand-desc {
  font-size: 12px;
  color: var(--td);
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.footer-links-grid a {
  color: var(--tm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links-grid a:hover {
  color: var(--accent);
}

.site-footer-copy {
  font-size: 12px;
  color: var(--td);
  text-align: center;
  padding: 0 24px 24px;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 210, 106, 0.06);
  padding-top: 20px;
}

/* Legacy footer layout (kept for compatibility) */
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.site-footer-links a {
  color: var(--tm);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: color 0.2s;
}

.site-footer-links a:hover {
  color: var(--accent);
}

/* ===== Floating Action Button ===== */
.floating-wrapper {
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 100;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: transform 0.15s, box-shadow 0.15s;
}

.fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.fab-telegram {
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.fab-telegram:hover {
  transform: none;
  box-shadow: none;
}

.fab-icon-img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
}

/* ===== Preview Overlay ===== */
.preview-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.preview-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.preview-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview-frame {
  width: 100%;
  flex: 1;
  border: none;
  background: #fff;
  pointer-events: auto;
}

body.preview-open {
  overflow: hidden;
  height: 100vh;
}

/* ===== Notification Bar ===== */
.notify-bar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transform: translateY(20px);
  z-index: 800;
  max-width: 320px;
  padding: 10px 18px;
  font-size: 12px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  color: var(--accent2);
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.notify-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== iOS Install Hint ===== */
.ios-install-hint {
  margin: 0 20px 16px;
  font-size: 11px;
  color: var(--tm);
  background: rgba(0, 210, 106, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  display: none;
}

.ios-install-hint.is-visible {
  display: block;
}

.bold {
  font-weight: 600;
  color: var(--tw);
}

/* ===== Legal / Static Pages ===== */
.legal-card {
  max-width: 720px;
  margin: 0 auto 24px;
}

.legal-card h2 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--tw);
}

.legal-card p,
.legal-card li {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.65;
}

.legal-card ul {
  margin-left: 18px;
  margin-bottom: 8px;
}

.legal-intro {
  margin-bottom: 12px;
}

.legal-page .content {
  max-width: 900px;
}

.legal-section {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.legal-card--with-header {
  max-width: 720px;
  box-shadow: none;
  border-radius: var(--radius-l);
  border: 1px solid rgba(0, 210, 106, 0.12);
  padding: 20px 24px 24px;
  background: var(--bg-card);
}

.legal-heading {
  font-size: 22px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--tw);
}

.legal-subtitle {
  font-size: 12px;
  color: var(--td);
  text-align: center;
  margin-bottom: 16px;
}

/* ===== Content text helpers ===== */
.text-accent {
  color: var(--accent);
}

.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--tm);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .two-col.flip .two-col-text {
    order: 1;
  }

  .two-col.flip .two-col-media {
    order: 2;
  }

  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after {
    height: 50%;
    top: 25%;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links-grid {
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(22px, 6vw, 32px);
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-dark {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .content {
    padding-inline: 16px;
  }

  .floating-wrapper {
    left: 16px;
    bottom: 16px;
  }
}

/* ===== Guide Section (legacy support) ===== */
.guide-section {
  margin-top: 20px;
}

.guide-card {
  max-width: 600px;
  margin: 0 auto;
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-icon {
  font-size: 18px;
}

.guide-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--tw);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.6;
}

/* ===== Why Section (legacy support) ===== */
.why-section {
  margin-top: 8px;
}

.why-card {
  max-width: 600px;
  margin: 0 auto;
}

.why-text {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.6;
}

.why-text a {
  color: var(--accent);
}

.pill {
  display: inline-block;
  background: rgba(0, 210, 106, 0.08);
  border: 1px solid rgba(0, 210, 106, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--tw);
}
