/* ═══════════════════════════════════
   AK Callers — Main Site Styles
   Night Circuit aesthetic
   ═══════════════════════════════════ */

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

:root {
  --green: #22C55E;
  --green-hover: #16A34A;
  --green-dim: rgba(34,197,94,0.1);
  --green-glow: rgba(34,197,94,0.35);
  --green-subtle: rgba(34,197,94,0.06);

  --bg-0: #030303;
  --bg-1: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #1A1A1A;
  --bg-card: rgba(17,17,17,0.6);

  --text-0: #FFFFFF;
  --text-1: #D4D4D8;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --text-4: #3F3F46;

  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --border-green: rgba(34,197,94,0.25);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Grain ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Dot Grid ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 100%);
}

/* ── Glow Blobs ── */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.glow-1 {
  width: 600px; height: 600px;
  background: var(--green);
  opacity: 0.06;
  top: -200px; right: -100px;
  animation: drift-a 22s ease-in-out infinite;
}

.glow-2 {
  width: 450px; height: 450px;
  background: var(--green);
  opacity: 0.04;
  bottom: -100px; left: -80px;
  animation: drift-b 28s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px,30px) scale(1.08); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(40px,-30px); }
}

/* ── Layout ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 100px 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(3,3,3,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text-0); }

.nav-cta {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #000;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.nav-cta:hover {
  background: var(--green-hover);
  box-shadow: 0 4px 20px var(--green-glow);
  transform: translateY(-1px);
}

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

/* ═══ HERO ═══ */
.hero {
  padding: 160px 0 80px;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content { flex: 1; }

.hero-visual {
  flex-shrink: 0;
}

.hero-icon-wrap {
  width: 200px; height: 200px;
  border-radius: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px var(--green-dim);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--green-dim), transparent 60%);
}

.hero-icon {
  width: 140px; height: 140px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ── Hero Kicker ── */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.waveform {
  display: block;
  opacity: 0.9;
  width: 360px;
  max-width: 45%;
  height: 40px;
  flex-shrink: 0;
}

.kicker-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #000;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 6px 28px var(--green-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-1);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-hover);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--text-4);
  color: var(--text-0);
  background: rgba(255,255,255,0.02);
}

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  padding: 28px 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.stat { flex: 1; text-align: center; }

.stat-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-hover);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero-layout { flex-direction: column; text-align: center; }
  .hero-visual { order: -1; }
  .hero-icon-wrap { width: 140px; height: 140px; border-radius: 24px; }
  .hero-icon { width: 100px; height: 100px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat-divider { width: 60px; height: 1px; }
}

/* ═══ SECTION HEADERS ═══ */
.sh { text-align: center; margin-bottom: 56px; }

.sh-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.sh h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.sh-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ═══ SERVICES ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.svc-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Top-edge glow on hover */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, var(--green) 50%, transparent 90%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.svc-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-dim);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}

.svc-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.svc-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ═══ PRICING (shared for both sections) ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.p-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Ticker-tape bottom edge */
.p-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--green-hover), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: ticker 3s linear infinite;
}

.p-card:hover::after { opacity: 0.6; }

@keyframes ticker {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.p-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Featured card */
.p-card.featured {
  border-color: var(--border-green);
  box-shadow: 0 0 40px var(--green-dim);
}

.p-card.featured::after { opacity: 0.4; }

.p-card.featured:hover {
  box-shadow: 0 0 50px var(--green-dim), 0 12px 40px rgba(0,0,0,0.3);
}

.p-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green);
  color: #000;
}

.p-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.p-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.p-price {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2px;
}

.p-currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 6px;
  margin-right: 2px;
}

.p-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-3);
}

.p-monthly {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.p-monthly span { color: var(--text-4); }

.p-sep {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.p-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.p-list li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.li-icon {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.3;
}

.li-eq {
  color: var(--text-4);
  font-family: var(--font-mono);
  font-size: 12px;
}

.bonus {
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
  font-family: var(--font-mono);
}

.p-btn {
  display: block;
  margin-top: 24px;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-0);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.p-btn:hover {
  border-color: var(--green);
  background: var(--green-dim);
  color: var(--green);
}

.p-card.featured .p-btn {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}

.p-card.featured .p-btn:hover {
  background: var(--green-hover);
  box-shadow: 0 4px 20px var(--green-glow);
}

/* Subscription bar */
.sub-bar {
  margin-top: 32px;
  border-radius: var(--radius);
  padding: 32px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: border-color 0.3s ease;
}

.sub-bar:hover { border-color: var(--border-hover); }

.sub-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 6px;
}

.sub-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sub-desc {
  font-size: 14px;
  color: var(--text-3);
}

.sub-right { text-align: right; flex-shrink: 0; }

.sub-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sub-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
}

.sub-note {
  font-size: 11px;
  color: var(--text-4);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .p-card.featured { order: -1; }
  .sub-bar { flex-direction: column; text-align: center; }
  .sub-right { text-align: center; }
}

/* ═══ TRUST / WHY US ═══ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.4s ease;
}

.trust-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.trust-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-dim);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}

.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ═══ CTA ═══ */
.cta-section {
  padding: 100px 0 120px;
}

.cta-block {
  text-align: center;
  border-radius: 24px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--green-dim), transparent 70%);
}

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

.cta-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-email {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-3);
}

@media (max-width: 640px) {
  .cta-block { padding: 56px 24px; }
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo { height: 28px; width: auto; opacity: 0.5; }

.footer-copy {
  font-size: 12px;
  color: var(--text-4);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-4);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text-2); }

.footer-hidden {
  font-size: 10px;
  color: rgba(255,255,255,0.03);
  transition: color 0.5s ease;
  cursor: default;
}

.footer-hidden:hover {
  color: var(--text-4);
  cursor: pointer;
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-left { flex-direction: column; gap: 8px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
