/* =============================================
   LAYOUT.CSS — NordRada Travel Estonia
   Full layout, components, animations
   ============================================= */

/* ---- Container ---- */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---- Background Orbs ---- */
.orbs-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  animation: orbDrift 22s ease-in-out infinite;
}
.orb.visible { opacity: 0.14; }
.orb-c {
  width: 650px; height: 650px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -200px; right: -120px;
  animation-duration: 20s;
}
.orb-v {
  width: 450px; height: 450px;
  background: radial-gradient(circle, var(--accent2), transparent 70%);
  bottom: -80px; left: -60px;
  animation-duration: 26s;
  animation-delay: -9s;
}
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-50px) scale(1.06); }
  66%      { transform: translate(-25px,30px) scale(0.94); }
}

/* ---- Site Header ---- */
.site-header {
  position: sticky; top: 0;
  z-index: 60;
  background: rgba(10,13,16,0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10,13,16,0.95);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.logo span { color: var(--accent); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.desktop-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; padding: 9px 18px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-mid);
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
  width: 42px; height: 42px;
}
.burger:hover { border-color: rgba(0,240,255,0.4); }
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease, width 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 69px 0 0 0;
  background: rgba(14,18,24,0.98);
  backdrop-filter: blur(14px);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.35s ease;
  pointer-events: none;
  z-index: 50;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.mobile-nav a:hover { color: var(--accent); padding-left: 10px; }
.mobile-nav-footer {
  display: flex;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.mobile-nav-footer a { font-size: 11px; color: var(--muted); }
.mobile-nav-footer a:hover { color: var(--accent); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-grid-line {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(234,242,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234,242,248,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-h1 { margin-bottom: 24px; }
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.75s var(--ease);
}
.hero-h1.revealed .line-inner { transform: translateY(0); }
.hero-h1 .line:nth-child(2) .line-inner { transition-delay: 0.08s; }
.hero-h1 .line:nth-child(3) .line-inner { transition-delay: 0.16s; }

.hero-lead { margin-bottom: 32px; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-signup {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-signup input[type="email"] {
  background: var(--secondary);
  border: 1px solid var(--border-mid);
  border-right: none;
  color: var(--text);
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  width: 220px;
  outline: none;
  transition: border-color 0.25s;
}
.hero-signup input[type="email"]:focus { border-color: rgba(0,240,255,0.4); }
.hero-signup input[type="email"]::placeholder { color: var(--muted); }
.hero-signup .btn-primary { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transform: scale(1.05);
  transition: transform 12s ease;
}
.hero-img-wrap:hover img { transform: scale(1.0); }
.hero-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,13,16,0.7) 100%);
  border-radius: var(--radius-lg);
}
.hero-img-frame-border {
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,240,255,0.25), transparent 50%, rgba(122,92,255,0.2));
  z-index: -1;
}
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 3;
  background: rgba(10,13,16,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-badge-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.hero-badge-label {
  font-size: 11px;
  color: var(--muted-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}
.hero-scroll-cue span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.6); opacity: 0.2; }
}

/* ---- Trust Strip ---- */
.trust-strip {
  border-block: 1px solid var(--border);
  background: rgba(26,34,44,0.5);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  animation: stripFlow 18s linear infinite;
}
.trust-inner span { flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.trust-inner span::after { content: '•'; color: var(--accent); }
@keyframes stripFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-header {
  margin-bottom: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---- Grid ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-lg { grid-template-columns: 1.3fr 0.7fr; }
.split-reverse { grid-template-columns: 0.7fr 1.3fr; }

/* ---- Cards ---- */
.card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.card-glow:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-c);
  border-color: rgba(0,240,255,0.2);
}
.card-glow-v:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-v);
  border-color: rgba(122,92,255,0.25);
}
.card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted-soft); font-size: 14px; line-height: 1.65; }

/* ---- About split ---- */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
}
.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
}
.about-stat-badge {
  position: absolute;
  bottom: 28px; right: -22px;
  background: var(--secondary);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.about-stat-badge .big-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 38px;
  color: var(--accent);
  line-height: 1;
}
.about-stat-badge .big-label { font-size: 12px; color: var(--muted-soft); margin-top: 4px; }

/* ---- Services cards ---- */
.svc-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.svc-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); border-color: rgba(0,240,255,0.18); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted-soft); font-size: 14px; line-height: 1.6; }

/* ---- Portfolio grid ---- */
.port-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
  cursor: pointer;
}
.port-card img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  border-radius: 0;
}
.port-card:hover img { transform: scale(1.08); }
.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,13,16,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: background 0.35s;
}
.port-card:hover .port-overlay { background: linear-gradient(180deg, rgba(10,13,16,0.4) 0%, rgba(10,13,16,0.95) 100%); }
.port-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.port-overlay h3 { font-size: 17px; margin: 0; }
.port-hover-text {
  font-size: 13px;
  color: var(--muted-soft);
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.port-card:hover .port-hover-text { max-height: 60px; }

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  padding: 44px 40px;
  border-right: 1px solid var(--border);
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.stat-item.in-view::before { transform: scaleX(1); }
.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(42px,5vw,64px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-suffix { font-size: 0.5em; color: var(--accent2); }
.stat-label { font-size: 14px; color: var(--muted-soft); }

/* ---- Process ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(100%/6); right: calc(100%/6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), var(--border-mid), transparent);
}
.process-step { padding: 0 28px; text-align: center; }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.step-num::before, .step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-mid);
}
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid rgba(0,240,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0,240,255,0.1);
  transition: box-shadow 0.3s ease;
}
.process-step:hover .step-circle { box-shadow: 0 0 40px rgba(0,240,255,0.25); }
.process-step h3 { margin-bottom: 8px; font-size: 16px; }
.process-step p { font-size: 13px; color: var(--muted-soft); }

/* ---- Testimonials ---- */
.testi-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.testi-card:hover { transform: translateY(-5px); border-color: rgba(122,92,255,0.25); }
.testi-quote {
  font-size: 56px;
  line-height: 1;
  color: var(--accent2);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  display: block;
}
.testi-card blockquote {
  font-size: 15px;
  color: var(--muted-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #020e10;
  flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 11px; color: var(--muted); }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.faq-icon::before { content: '+'; font-size: 16px; line-height: 1; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: rgba(0,240,255,0.08);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding-bottom: 22px;
  color: var(--muted-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ---- Contact form ---- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--primary);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0,240,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { min-height: 130px; }

/* ---- Map ---- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---- Marquee ---- */
.marquee-section {
  overflow: hidden;
  padding: 32px 0;
  border-block: 1px solid var(--border);
  background: rgba(26,34,44,0.3);
  position: relative;
}
.mq-row {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.mq-row:last-child { margin-bottom: 0; }
.mq-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  font-size: clamp(22px,3vw,40px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.09;
  flex-shrink: 0;
  color: var(--text);
}
.mq-track.fwd { animation: mqFwd 28s linear infinite; }
.mq-track.rev { animation: mqRev 24s linear infinite; }
.mq-sep { color: var(--accent); margin: 0 24px; opacity: 1; }
@keyframes mqFwd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---- Footer ---- */
.site-footer {
  background: rgba(10,13,16,0.9);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted-soft);
  margin-top: 14px;
  max-width: 260px;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--muted-soft);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted-soft);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-contact-item {
  font-size: 14px;
  color: var(--muted-soft);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p, .footer-bottom a {
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.page-hero-orbs .orb-c { opacity: 0.07; }
.page-hero-orbs .orb-v { opacity: 0.06; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 12px; }

/* ---- Thanks page ---- */
.thanks-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.thanks-card {
  max-width: 660px;
  width: 100%;
  background: var(--secondary);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.thanks-card::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.thanks-icon {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 40px rgba(0,240,255,0.15);
}
.thanks-card .eyebrow { justify-content: center; }
.thanks-card h1 { font-size: clamp(28px,4vw,40px); margin-bottom: 16px; }
.thanks-card p { color: var(--muted-soft); margin-bottom: 36px; font-size: 16px; }

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.in { opacity: 1; transform: none; }

/* ---- Stagger delays ---- */
.s1 { transition-delay: 0.05s; }
.s2 { transition-delay: 0.12s; }
.s3 { transition-delay: 0.19s; }
.s4 { transition-delay: 0.26s; }
.s5 { transition-delay: 0.33s; }
.s6 { transition-delay: 0.40s; }

/* ---- Keywords section ---- */
.keywords-section {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px;
}
.keywords-section p {
  font-size: 15px;
  color: var(--muted-soft);
  line-height: 1.85;
  max-width: 860px;
}

/* ---- Legal pages ---- */
.legal-content {
  max-width: 780px;
}
.legal-content p {
  font-size: 15px;
  color: var(--muted-soft);
  line-height: 1.85;
  margin-bottom: 22px;
}

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .about-stat-badge { right: 0; }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .process-step { padding: 0; text-align: left; }
  .step-circle { margin: 0 0 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .desktop-nav { display: none; }
  .burger { display: flex; }
  .hero { min-height: auto; padding: 60px 0 50px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-signup { flex-direction: column; align-items: stretch; }
  .hero-signup input[type="email"] { width: 100%; border-right: 1px solid var(--border-mid); border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .hero-signup .btn-primary { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .thanks-card { padding: 36px 24px; }
  .keywords-section { padding: 30px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .nav-cta { display: none; }
}
