/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #020208;
  color: #E2E8F0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Tokens ── */
:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --secondary: #8B5CF6;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #475569;
  --surface: #0D0D1A;
  --surface2: #13132A;
  --border: rgba(255,255,255,0.07);
  --bg: #020208;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* ── Container ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; border: 1px solid transparent;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 0 24px rgba(99,102,241,0.3);
}
.btn-primary:hover { background: #5558e8; transform: translateY(-1px); box-shadow: 0 0 36px rgba(99,102,241,0.5); }
.btn-outline {
  background: rgba(255,255,255,0.04); color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2,2,8,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--text); }
.logo-icon { font-size: 22px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); padding: 6px 12px; border-radius: 8px; transition: all 0.15s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links .btn { margin-left: 8px; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg);
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-glow-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.16); top: -200px; left: -120px; }
.hero-glow-2 { width: 500px; height: 500px; background: rgba(139,92,246,0.1); top: -100px; right: -120px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25);
  color: #A5B4FC; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #818CF8; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title {
  font-size: 60px; font-weight: 800; line-height: 1.05;
  color: var(--text); margin-bottom: 20px;
  letter-spacing: -2px;
}
.gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #C084FC 50%, #F472B6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 17px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.75; max-width: 460px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.store-btn-dark {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.store-btn-dark { opacity: 0.7; cursor: default; }
.store-btn-dark:hover { background: rgba(255,255,255,0.07); transform: none; opacity: 0.85; }
.store-sub { font-size: 10px; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.8px; }
.store-main { font-size: 15px; font-weight: 700; }
.hero-free { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.hero-free::before { content: ''; width: 16px; height: 1px; background: var(--text-dim); }

/* ── Phone Mockup ── */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-wrap {
  position: relative;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.7)) drop-shadow(0 0 60px rgba(99,102,241,0.18));
}
.phone-mockup {
  width: 265px;
  background: #0A0A1A;
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.phone-notch {
  height: 32px;
  background: #0A0A1A;
  display: flex; align-items: center; justify-content: center;
}
.phone-island { width: 80px; height: 20px; background: #000; border-radius: 14px; }
.phone-screen {
  background: #0D0D20;
  padding: 16px 14px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.mock-header { display: flex; align-items: center; justify-content: space-between; }
.mock-greeting { font-size: 11px; color: rgba(255,255,255,0.4); }
.mock-name { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.mock-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.mock-storage-bar { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; }
.mock-storage-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.mock-storage-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mock-storage-used { font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 600; }
.mock-storage-total { font-size: 9px; color: rgba(255,255,255,0.35); }
.mock-storage-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.mock-storage-fill { height: 100%; background: linear-gradient(90deg, #6366F1, #8B5CF6); border-radius: 2px; width: 62%; }
.mock-cards { display: flex; flex-direction: column; gap: 6px; }
.mock-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04); border-radius: 10px;
  padding: 9px 10px; border: 1px solid rgba(255,255,255,0.05);
}
.mock-card-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--c); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; flex-shrink: 0;
}
.mock-card-info { flex: 1; min-width: 0; }
.mock-card-name { font-size: 11px; font-weight: 600; color: #fff; }
.mock-card-sub { font-size: 9px; color: rgba(255,255,255,0.35); }
.mock-card-pct { font-size: 9px; color: rgba(255,255,255,0.45); flex-shrink: 0; }
.mock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-action {
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.18);
  border-radius: 8px; padding: 8px 8px;
  font-size: 10px; color: #A5B4FC; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}

/* ── Providers ── */
.providers {
  background: var(--surface); padding: 28px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.providers-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 18px; }
.providers-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.provider-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  transition: all 0.2s;
}
.provider-chip:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.provider-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Stats ── */
.stats {
  padding: 56px 0; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center; padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--text); letter-spacing: -1.5px; line-height: 1; margin-bottom: 6px; }
.stat-num span { background: linear-gradient(135deg, #818CF8, #C084FC); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ── Section common ── */
.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: #818CF8; margin-bottom: 12px;
}
.section-title {
  font-size: 40px; font-weight: 800; color: var(--text);
  margin-bottom: 16px; line-height: 1.15; letter-spacing: -1px;
}
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 520px; line-height: 1.7; }

/* ── Features ── */
.features { padding: 100px 0; background: var(--bg); }
.features-header { margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(99,102,241,0.07);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); letter-spacing: -0.2px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Pricing ── */
.pricing { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); }
.pricing .section-title, .pricing .section-label { text-align: center; }
.pricing .section-sub { text-align: center; margin: 0 auto 56px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan-card {
  background: rgba(255,255,255,0.02); border-radius: 20px;
  padding: 32px; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
}
.plan-card-pro {
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(160deg, rgba(99,102,241,0.08) 0%, rgba(255,255,255,0.02) 60%);
  box-shadow: 0 0 60px rgba(99,102,241,0.1), 0 0 0 1px rgba(99,102,241,0.2);
}
.plan-badge {
  position: absolute; top: -1px; right: 24px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 12px 5px; border-radius: 0 0 8px 8px;
}
.plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.plan-price { font-size: 40px; font-weight: 800; color: var(--text); letter-spacing: -2px; line-height: 1; }
.plan-period { font-size: 16px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.plan-annual { font-size: 12px; color: var(--text-dim); margin-top: -12px; }
.plan-divider { height: 1px; background: var(--border); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-features li { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.plan-features li svg { flex-shrink: 0; color: #10B981; }
.plan-card .btn { margin-top: 8px; width: 100%; justify-content: center; }
.pricing-note { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 32px; }

/* ── FAQ ── */
.faq { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); }
.faq-header { text-align: center; margin-bottom: 52px; }
.faq-header .section-sub { margin: 0 auto; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(99,102,241,0.25); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text); text-align: left;
  background: none; border: none; font-family: inherit;
  transition: background 0.15s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-dim); transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: #818CF8; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px; color: var(--text-muted); line-height: 1.75; padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 20px; }

/* ── CTA ── */
.cta-section {
  padding: 100px 0;
  background: var(--surface);
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.cta-section h2 { font-size: 44px; font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: -1.5px; position: relative; }
.cta-section p { font-size: 17px; color: var(--text-muted); max-width: 440px; margin: 0 auto 36px; line-height: 1.7; position: relative; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); color: var(--text-muted); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer .logo { color: var(--text); }
.footer-tagline { font-size: 14px; margin-top: 10px; margin-bottom: 6px; color: var(--text-muted); }
.footer-company { font-size: 12px; color: var(--text-dim); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-size: 12px; color: var(--text-dim); }

/* ── Inner pages ── */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.page-wrap h1 { font-size: 34px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.page-wrap .updated { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }
.page-wrap h2 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; color: var(--text); }
.page-wrap h3 { color: var(--text); }
.page-wrap p, .page-wrap li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; }
.page-wrap ul { padding-left: 20px; margin-bottom: 12px; }
.page-wrap a { color: #818CF8; text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .cta-section h2 { font-size: 32px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; letter-spacing: -1px; }
  .nav-links a:not(.btn) { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }
  .hero-cta { flex-direction: column; }
  .store-btn { justify-content: center; }
}
