/*
TemplateMo 621 Luminary
https://templatemo.com/tm-621-luminary
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --base-deep: #0F1115;
  --base-mid: #161A20;
  --base-soft: #1C2128;
  --slate-warm: #6B7280;
  --slate-light: #9CA3AF;
  --graphite: #2A2E35;
  --graphite-soft: #3D424A;
  --ivory: #E5E7EB;
  --ivory-muted: #C9CDD4;
  --silver: #B0B8C4;
  --panel-bg: rgba(22, 26, 32, 0.55);
  --panel-border: rgba(156, 163, 175, 0.08);
  --silk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--base-deep);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Grain ── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.028; mix-blend-mode: overlay;
}

/* ── BG ── */
.atmosphere {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #0F1115 0%, #161A20 35%, #1C2128 70%, #0D0F13 100%);
}

/* ── Nav ── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 40px;
  transition: background 0.8s var(--silk-ease), padding 0.8s var(--silk-ease);
}
.top-nav.scrolled {
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 16px 40px;
}
.nav-brand { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); text-decoration: none; }
.nav-brand span { font-weight: 300; color: var(--slate-warm); margin-left: 4px; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-warm); text-decoration: none; position: relative; padding: 14px 0 6px;
  transition: color 0.8s var(--silk-ease);
}
.nav-links a::after {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--silver); border-bottom: 1px solid var(--silver);
  transform: translateX(-50%) rotate(45deg) translateY(-8px);
  opacity: 0; transition: transform 0.8s var(--silk-ease), opacity 0.6s var(--silk-ease);
  pointer-events: none;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { opacity: 0.7; transform: translateX(-50%) rotate(45deg) translateY(0); }
.nav-links a.active { color: var(--ivory-muted); }
.nav-links a.active::after { opacity: 0.4; transform: translateX(-50%) rotate(45deg) translateY(0); }
.nav-cta {
  padding: 10px 28px; border-radius: 100px; font-family: inherit;
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--silver), var(--slate-light));
  color: var(--base-deep); border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.nav-cta:hover { transform: scale(1.03); box-shadow: 0 6px 30px rgba(176,184,196,0.15); }

/* ── Hamburger ── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; padding: 0;
}
.toggle-bar {
  display: block; width: 100%; height: 1.5px; background: var(--ivory);
  position: absolute; left: 0;
  transition: transform 0.6s var(--silk-ease), top 0.6s var(--silk-ease);
}
.toggle-bar:nth-child(1) { top: 6px; }
.toggle-bar:nth-child(2) { top: 16px; }
.nav-toggle.active .toggle-bar:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.active .toggle-bar:nth-child(2) { top: 11px; transform: rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 550;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--silk-ease), visibility 0.6s var(--silk-ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-inner {
  position: absolute; inset: 0;
  background: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 40px 60px; overflow-y: auto;
}
.mobile-menu-links { display: flex; flex-direction: column; flex: 1; justify-content: center; }
.mobile-menu-link {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 300; letter-spacing: -0.02em;
  color: var(--ivory); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(156,163,175,0.06); position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.6s var(--silk-ease);
}
.mobile-menu.open .mobile-menu-link {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s var(--silk-ease), transform 0.5s var(--silk-ease), color 0.6s var(--silk-ease);
}
.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.open .mobile-menu-link:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu.open .mobile-menu-link:nth-child(7) { transition-delay: 0.42s; }
.mobile-menu-link::before {
  content: attr(data-index); font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; color: var(--slate-warm); opacity: 0.4;
  min-width: 24px; font-variant-numeric: tabular-nums;
}
.mobile-menu-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(156,163,175,0.06);
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1; transition: opacity 0.5s var(--silk-ease) 0.45s;
}
.mobile-menu-footer a {
  font-size: 10px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.4; text-decoration: none;
}
body.menu-open { overflow: hidden; }
body.menu-open .top-nav { background: rgba(15,17,21,0.95); backdrop-filter: blur(20px); }

/* ── Side Panels ── */
.side-panel {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 56px; z-index: 100;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 24px 0;
}
.side-panel.left { left: 20px; }
.side-panel.right { right: 20px; }
.side-label {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 9px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.5;
}
.side-track {
  width: 1px; height: 160px;
  background: rgba(156,163,175,0.06); position: relative; border-radius: 1px;
}
.side-track-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--silver), rgba(176,184,196,0.15));
  border-radius: 1px; transition: height 1.2s var(--silk-ease);
}
.side-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--slate-warm); opacity: 0.15;
  transition: opacity 0.8s var(--silk-ease), transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.side-dot.active {
  opacity: 0.8; background: var(--silver);
  box-shadow: 0 0 12px rgba(176,184,196,0.3); transform: scale(1.3);
}
.side-readout {
  font-size: 9px; font-weight: 400; letter-spacing: 0.1em;
  color: var(--slate-warm); opacity: 0.35;
  font-variant-numeric: tabular-nums;
}

/* ── Container ── */
.main { position: relative; z-index: 10; max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* ── Shared ── */
.section { padding: 120px 0; position: relative; }
.section-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.6; margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  letter-spacing: -0.04em; line-height: 1.15; color: var(--ivory); margin-bottom: 20px;
}
.section-title strong { font-weight: 600; }
.section-body {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: var(--slate-light); max-width: 540px;
}
.section-center { text-align: center; }
.section-center .section-body { margin: 0 auto; }

.silk-divider { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, var(--panel-border), transparent); margin: 0 auto; }

.btn-primary {
  display: inline-block; padding: 16px 44px; border-radius: 100px;
  background: linear-gradient(135deg, var(--silver), var(--slate-light));
  color: var(--base-deep); font-family: inherit; font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 8px 40px rgba(176,184,196,0.18); }
.btn-secondary {
  display: inline-block; padding: 16px 44px; border-radius: 100px; background: transparent;
  color: var(--ivory-muted); font-family: inherit; font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--panel-border); cursor: pointer; text-decoration: none;
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease), background 0.8s var(--silk-ease);
}
.btn-secondary:hover { transform: scale(1.02); border-color: rgba(156,163,175,0.2); background: rgba(156,163,175,0.04); }

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.2s var(--silk-ease), transform 1.2s var(--silk-ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 120px 0 80px; position: relative;
}
.hero-grid {
  position: absolute; bottom: 0; left: 50%; height: 80%;
  width: 100vw; transform: translateX(-50%);
  z-index: 0; pointer-events: none;
  --mx: 50%; --my: 50%;
  background-image:
    linear-gradient(to right, rgba(156,163,175,0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(156,163,175,0.22) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: center bottom;
  -webkit-mask-image:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,1) 0%, transparent 65%),
    linear-gradient(to bottom, transparent 0%, transparent 25%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.4) 100%);
  mask-image:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,1) 0%, transparent 65%),
    linear-gradient(to bottom, transparent 0%, transparent 25%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}
.hero > *:not(.hero-grid) { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px; border-radius: 100px;
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px); margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.2s var(--silk-ease) 0.2s forwards;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--silver);
  box-shadow: 0 0 8px rgba(176,184,196,0.4); animation: pulse 3s ease-in-out infinite;
}
.hero-badge span { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); }

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 300;
  letter-spacing: -0.05em; line-height: 1;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1.4s var(--silk-ease) 0.4s forwards;
}
.hero h1 em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(135deg, var(--ivory), var(--silver), var(--slate-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(0.85rem, 1.2vw, 1rem); font-weight: 300; line-height: 1.7;
  color: var(--slate-light); max-width: 520px; margin: 28px auto 48px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 0.6s forwards;
}
.hero-ctas {
  display: flex; gap: 14px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 0.8s forwards;
}
.hero-metrics {
  display: flex; justify-content: center; gap: 56px; margin-top: 72px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 1s forwards;
}
.metric { text-align: center; }
.metric-value {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -0.04em;
  color: var(--ivory); line-height: 1; font-variant-numeric: tabular-nums;
}
.metric-value span { font-size: 0.5em; font-weight: 400; color: var(--slate-warm); vertical-align: super; margin-left: 2px; }
.metric-label { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-warm); margin-top: 8px; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ══════════════════════════════════
   LOGO TICKER
   ══════════════════════════════════ */
.logo-ticker {
  padding: 60px 0; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
  overflow: hidden; position: relative; z-index: 10;
}
.logo-ticker-label {
  text-align: center; font-size: 9px; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--slate-warm); opacity: 0.5; margin-bottom: 32px;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  flex-shrink: 0; padding: 0 40px; display: flex; align-items: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.3;
  transition: opacity 0.6s var(--silk-ease);
}
.ticker-item:hover { opacity: 0.7; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-warm); opacity: 0.2; margin: 0 40px; flex-shrink: 0; }

@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ══════════════════════════════════
   FEATURE SHOWCASE
   ══════════════════════════════════ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 0;
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

.feature-visual {
  position: relative; height: 320px; border-radius: 32px; overflow: hidden;
  background: var(--panel-bg); border: 1px solid var(--panel-border);
}
.feature-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.feature-content {}
.feature-number {
  font-size: 3rem; font-weight: 200; letter-spacing: -0.04em;
  color: rgba(176,184,196,0.08); line-height: 1; margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════
   PRICING
   ══════════════════════════════════ */
.pricing-toggle {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin: 40px 0 56px;
}
.pricing-toggle-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-warm); transition: color 0.6s var(--silk-ease);
}
.pricing-toggle-label.active { color: var(--ivory); }
.toggle-switch {
  width: 48px; height: 26px; border-radius: 100px; background: var(--graphite);
  border: 1px solid var(--panel-border); position: relative; cursor: pointer;
  transition: background 0.6s var(--silk-ease);
}
.toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--silver); transition: transform 0.6s var(--silk-ease);
}
.toggle-switch.annual::after { transform: translateX(22px); }
.save-badge {
  font-size: 9px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--silver); opacity: 0; transition: opacity 0.4s var(--silk-ease);
}
.save-badge.show { opacity: 1; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pricing-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 36px;
  padding: 44px 36px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.pricing-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(210,215,220,0.02) 0%, transparent 40%);
  pointer-events: none; transition: opacity 0.8s var(--silk-ease); opacity: 0;
}
.pricing-card.featured {
  border-color: rgba(176,184,196,0.15);
  box-shadow: 0 0 60px rgba(176,184,196,0.04);
  padding-top: 60px;
}
.pricing-card.featured::before { opacity: 1; }
.pricing-card.featured .pricing-badge { display: inline-block; }

.pricing-badge {
  display: none; position: absolute; top: 12px; right: 20px;
  font-size: 8px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(176,184,196,0.1); border: 1px solid rgba(176,184,196,0.12);
  color: var(--silver);
}

.pricing-tier {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate-warm); margin-bottom: 24px;
}

.pricing-prices { margin-bottom: 24px; }

.price-option {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(156,163,175,0.05);
  transition: opacity 0.6s var(--silk-ease);
  opacity: 0.35;
}
.price-option.active { opacity: 1; }

.price-option-left { display: flex; align-items: baseline; gap: 3px; }
.price-currency {
  font-size: 0.9rem; font-weight: 300; color: var(--slate-warm);
  transition: color 0.6s var(--silk-ease);
}
.price-amount {
  font-size: 2rem; font-weight: 300; letter-spacing: -0.04em; color: var(--slate-light);
  font-variant-numeric: tabular-nums;
  transition: font-size 0.6s var(--silk-ease), color 0.6s var(--silk-ease);
}
.price-period {
  font-size: 0.75rem; font-weight: 300; color: var(--slate-warm); margin-left: 2px;
  transition: color 0.6s var(--silk-ease);
}
.price-yearly {
  font-size: 0.72rem; font-weight: 400; color: var(--slate-warm);
  font-variant-numeric: tabular-nums;
  transition: color 0.6s var(--silk-ease);
}

/* Active state — emphasized */
.price-option.active .price-currency { color: var(--slate-light); }
.price-option.active .price-amount { font-size: 2.6rem; color: var(--ivory); }
.price-option.active .price-period { color: var(--slate-light); }
.price-option.active .price-yearly { color: var(--slate-light); }

.price-label {
  font-size: 8px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--slate-warm); margin-bottom: 2px;
  transition: color 0.6s var(--silk-ease);
}
.price-option.active .price-label { color: var(--silver); }

.pricing-desc {
  font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: var(--slate-light);
  margin-bottom: 28px; flex: 1;
}
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  font-size: 0.82rem; font-weight: 400; color: var(--slate-light);
  padding: 8px 0; border-bottom: 1px solid rgba(156,163,175,0.05);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--silver); opacity: 0.5; flex-shrink: 0;
}
.pricing-card .btn-primary, .pricing-card .btn-secondary { width: 100%; text-align: center; padding: 14px; }

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: 28px; padding: 36px; backdrop-filter: blur(20px);
  transition: transform 0.8s var(--silk-ease);
}
.testimonial-quote {
  font-size: 0.9rem; font-weight: 300; line-height: 1.75; color: var(--slate-light);
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--graphite); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--slate-warm);
}
.testimonial-name { font-size: 0.8rem; font-weight: 500; color: var(--ivory); }
.testimonial-role { font-size: 0.72rem; font-weight: 300; color: var(--slate-warm); margin-top: 2px; }
.testimonial-card:nth-child(2) { transform: translateY(24px); }

/* ══════════════════════════════════
   INTEGRATIONS
   ══════════════════════════════════ */
.integrations-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px;
}
.integration-item {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 28px 16px; text-align: center;
  backdrop-filter: blur(16px);
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease);
}
.integration-icon {
  width: 40px; height: 40px; margin: 0 auto 12px;
  border-radius: 10px; background: var(--graphite); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--slate-light);
}
.integration-name {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--slate-light); text-transform: uppercase;
}

/* ══════════════════════════════════
   FAQ
   ══════════════════════════════════ */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-controls {
  display: flex; justify-content: flex-end; margin-bottom: 8px;
}
.faq-toggle-all {
  background: none; border: 1px solid var(--panel-border); border-radius: 100px;
  padding: 8px 20px; font-family: inherit;
  font-size: 9px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--slate-warm); cursor: pointer;
  transition: color 0.6s var(--silk-ease), border-color 0.6s var(--silk-ease);
}
.faq-toggle-all:hover { color: var(--ivory); border-color: rgba(156,163,175,0.2); }
.faq-item {
  border-bottom: 1px solid var(--panel-border); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit;
  font-size: 0.95rem; font-weight: 400; color: var(--ivory);
  text-align: left;
  transition: color 0.6s var(--silk-ease);
}
.faq-question:hover { color: var(--silver); }
.faq-icon {
  width: 20px; height: 20px; position: relative; flex-shrink: 0; margin-left: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--slate-warm);
  transition: transform 0.6s var(--silk-ease), opacity 0.4s ease;
}
.faq-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1s var(--silk-ease);
}
.faq-answer-inner {
  overflow: hidden;
  padding: 0;
  font-size: 0.88rem; font-weight: 300; line-height: 1.8; color: var(--slate-light);
  transition: padding 0.8s var(--silk-ease);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer-inner { padding: 0 0 24px; }

/* ══════════════════════════════════
   FOOTER CTA
   ══════════════════════════════════ */
.footer-cta { padding: 120px 0 80px; text-align: center; }
.footer-ctas { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px; border-top: 1px solid rgba(156,163,175,0.06);
}
.footer-brand { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); opacity: 0.5; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 10px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-light); opacity: 0.5; text-decoration: none;
  transition: opacity 0.6s var(--silk-ease);
}
.footer-links a:hover { opacity: 0.8; }
.footer-credit {
  font-size: 10px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-light); opacity: 0.5;
}
.footer-credit a {
  color: var(--slate-light); text-decoration: none; text-transform: none; letter-spacing: 0.05em;
  transition: opacity 0.6s var(--silk-ease);
}
.footer-credit a:hover { opacity: 0.8; }

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .main { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .side-panel { display: none; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse { direction: ltr; }
  .feature-visual { height: 260px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 48px auto 0; }
  .testimonial-card:nth-child(2) { transform: none; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main { padding: 0 20px; }
  .top-nav { padding: 18px 20px; }
  .top-nav.scrolled { padding: 14px 20px; }
  .hero { min-height: 100svh; padding: 100px 0 60px; }
  .hero-metrics { flex-direction: column; gap: 28px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  .section { padding: 80px 0; }
  .feature-visual { height: 240px; border-radius: 24px; }
  .pricing-card { padding: 32px 24px; border-radius: 28px; }
  .pricing-card.featured { padding-top: 52px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bar { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-ctas { flex-direction: column; align-items: center; }
  .mobile-menu-inner { padding: 90px 20px 40px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.7rem; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu-link { font-size: 1.4rem; }
}

@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-metrics { flex-direction: row; gap: 36px; margin-top: 40px; }
  .section { padding: 60px 0; }
  .mobile-menu-inner { padding: 64px 32px 24px; justify-content: flex-start; }
  .mobile-menu-link { font-size: 1.2rem; padding: 8px 0; }
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover { transform: scale(1.01); box-shadow: 0 12px 60px rgba(0,0,0,0.15); }
  .pricing-card:hover::before { opacity: 1; }
  .testimonial-card:hover { transform: scale(1.01); }
  .testimonial-card:nth-child(2):hover { transform: translateY(24px) scale(1.01); }
  .integration-item:hover { transform: scale(1.04); border-color: rgba(156,163,175,0.15); }
}
@media (hover: none) {
  .pricing-card:hover, .testimonial-card:hover, .integration-item:hover { transform: none; }
}

/* Focus */
.btn-primary:focus-visible, .btn-secondary:focus-visible,
.nav-links a:focus-visible, .nav-toggle:focus-visible,
.mobile-menu-link:focus-visible, .faq-question:focus-visible,
.toggle-switch:focus-visible, .faq-toggle-all:focus-visible {
  outline: 2px solid var(--silver); outline-offset: 3px;
}




















































 /* career section wrapper */
    .career-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 5rem 1.5rem 6rem 1.5rem;
    }

    /* HEADER SECTION */
    .career-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 3rem auto;
    }

    .badge-tag {
      display: inline-block;
      background: rgba(37, 99, 235, 0.1);
      color: #2563eb;
      font-weight: 600;
      font-size: 0.85rem;
      padding: 0.3rem 0.9rem;
      border-radius: 40px;
      letter-spacing: 0.3px;
      margin-bottom: 1.2rem;
      backdrop-filter: blur(2px);
    }

    .career-header h1 {
      font-size: 3rem;
      font-weight: 800;
      background: linear-gradient(135deg, #0f172a, #1e40af);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
    }

    .career-header .subhead {
      font-size: 1.2rem;
      line-height: 1.5;
      color: #334155;
      max-width: 650px;
      margin: 0 auto;
      font-weight: 400;
    }

    /* BENEFITS / PERKS section */
    .benefits-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.8rem;
      margin: 3rem 0 4rem 0;
    }

    .benefit-card {
      background: white;
      padding: 1.5rem 1.8rem;
      border-radius: 2rem;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.03);
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: all 0.25s ease;
      border: 1px solid #eef2ff;
      backdrop-filter: blur(2px);
      flex: 1 1 220px;
      justify-content: center;
    }

    .benefit-card:hover {
      transform: translateY(-4px);
      border-color: #cbdffc;
      box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
    }

    .benefit-icon {
      font-size: 2rem;
      color: #2563eb;
    }

    .benefit-text h4 {
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
    }

    .benefit-text p {
      font-size: 0.85rem;
      color: #475569;
    }

    /* JOBS SECTION HEADER */
    .jobs-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      flex-wrap: wrap;
      margin: 2rem 0 1.8rem 0;
      border-bottom: 2px solid #e2e8f0;
      padding-bottom: 0.75rem;
    }

    .jobs-header h2 {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: -0.3px;
      color: #0f172a;
    }

    .jobs-count {
      background: #eef2ff;
      padding: 0.35rem 1rem;
      border-radius: 60px;
      font-size: 0.85rem;
      font-weight: 600;
      color: #1e40af;
    }

    /* JOB CARDS GRID */
    .job-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 2rem;
      margin: 2rem 0 3rem 0;
    }

    .job-card {
      background: #ffffff;
      border-radius: 1.8rem;
      padding: 1.6rem 1.8rem;
      transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
      box-shadow: 0 5px 18px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.01);
      border: 1px solid #eef2ff;
      display: flex;
      flex-direction: column;
    }

    .job-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 36px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px #dfe9ff;
      border-color: #bfd9ff;
    }

    .job-title {
      font-size: 1.55rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 0.75rem;
      letter-spacing: -0.2px;
    }

    .job-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 1.2rem;
      font-size: 0.85rem;
      font-weight: 500;
      color: #2c3e66;
    }

    .job-meta span {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: #f8fafc;
      padding: 0.25rem 0.8rem;
      border-radius: 40px;
      border: 1px solid #e2edff;
    }

    .job-meta i {
      font-size: 0.8rem;
      color: #3b82f6;
      width: 1rem;
    }

    .job-description {
      color: #334155;
      font-size: 0.95rem;
      line-height: 1.45;
      margin: 0.8rem 0 1.2rem 0;
      flex: 1;
    }

    .intern-note {
      background: #fef9e3;
      border-left: 3px solid #f59e0b;
      padding: 0.5rem 0.75rem;
      border-radius: 12px;
      font-size: 0.8rem;
      margin: 0.75rem 0;
      color: #92400e;
      font-weight: 500;
      display: inline-block;
      width: 100%;
    }

    .job-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.5rem;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .salary-badge {
      background: #f1f5f9;
      border-radius: 40px;
      padding: 0.3rem 0.9rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: #0f3b6f;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .apply-btn {
      background: #2563eb;
      border: none;
      padding: 0.7rem 1.3rem;
      border-radius: 2rem;
      font-weight: 600;
      font-size: 0.85rem;
      color: white;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      font-family: inherit;
      text-decoration: none;
    }

    .apply-btn i {
      font-size: 0.85rem;
      transition: transform 0.2s;
    }

    .apply-btn:hover {
      background: #1d4ed8;
      transform: scale(0.96);
      box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
    }

    .apply-btn:active {
      transform: scale(0.94);
    }

    /* CTA EXTRA SECTION */
    .cta-join {
      background: linear-gradient(115deg, #ffffff 0%, #f9fcff 100%);
      border-radius: 2rem;
      padding: 2rem 2rem;
      margin-top: 2.5rem;
      text-align: center;
      border: 1px solid #e2edff;
      box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.05);
    }

    .cta-join h3 {
      font-size: 1.6rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 0.5rem;
    }

    .cta-join p {
      color: #475569;
      max-width: 500px;
      margin: 0 auto 1.3rem auto;
    }

    .email-link {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: #0f172a;
      color: white;
      padding: 0.7rem 1.5rem;
      border-radius: 2rem;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.2s;
      font-size: 0.9rem;
    }

    .email-link:hover {
      background: #1e293b;
      transform: translateY(-2px);
    }

    hr {
      margin: 2rem 0 1rem;
      border: none;
      height: 1px;
      background: linear-gradient(to right, #e2e8f0, transparent);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .career-container {
        padding: 3rem 1.2rem 4rem 1.2rem;
      }

      .career-header h1 {
        font-size: 2.2rem;
      }

      .career-header .subhead {
        font-size: 1rem;
      }

      .job-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .benefits-grid {
        gap: 1rem;
      }

      .jobs-header h2 {
        font-size: 1.5rem;
      }

      .job-title {
        font-size: 1.3rem;
      }
    }

    @media (max-width: 480px) {
      .job-footer {
        flex-direction: column;
        align-items: stretch;
      }
      .apply-btn {
        justify-content: center;
      }
      .benefit-card {
        flex: 1 1 100%;
      }
    }

    /* subtle animation */
    @keyframes fadeSlide {
      0% {
        opacity: 0;
        transform: translateY(15px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .job-card, .benefit-card {
      animation: fadeSlide 0.4s ease-out forwards;
      opacity: 0;
    }

    .job-card:nth-child(1) { animation-delay: 0.05s; }
    .job-card:nth-child(2) { animation-delay: 0.1s; }
    .job-card:nth-child(3) { animation-delay: 0.15s; }
    .benefit-card:nth-child(1) { animation-delay: 0s; }
    .benefit-card:nth-child(2) { animation-delay: 0.03s; }
    .benefit-card:nth-child(3) { animation-delay: 0.06s; }
