/* ── DuoWallet Website — Shared Styles ─────────────────────────────
   Brand: bg #1A0A2E · surface #2D1B4E · primary #6B3FA0 · accent #E91E8C
   ────────────────────────────────────────────────────────────────── */

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

:root {
  --bg:        #1A0A2E;
  --surface:   #2D1B4E;
  --surface2:  #3D2B5E;
  --primary:   #6B3FA0;
  --accent:    #E91E8C;
  --text:      #FFFFFF;
  --subtext:   #9B8EC4;
  --success:   #34C759;
  --border:    #3D2B5E;
  --grad:      linear-gradient(135deg, #6B3FA0, #E91E8C);
  --grad-h:    linear-gradient(135deg, #7B4FB0, #F92E9C);
  --radius:    14px;
  --shadow:    0 8px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ── Utility ──────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.text-center { text-align: center; }
.text-sub   { color: var(--subtext); }
.grad-text  { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad); color: white;
  box-shadow: 0 4px 20px rgba(233,30,140,0.35);
}
.btn-primary:hover { background: var(--grad-h); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(233,30,140,0.5); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(107,63,160,0.15); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Nav ──────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,10,46,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--subtext); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107,63,160,0.25) 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,63,160,0.2); border: 1px solid rgba(107,63,160,0.4);
  padding: 6px 16px; border-radius: 50px; font-size: 13px;
  color: var(--subtext); margin-bottom: 24px;
}
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 18px; color: var(--subtext); margin-bottom: 36px; max-width: 460px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 12px 20px; border-radius: 12px; transition: all 0.2s;
}
.store-btn:hover { border-color: var(--primary); transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; fill: white; }
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-text small { font-size: 10px; color: var(--subtext); }
.store-btn-text strong { font-size: 14px; font-weight: 600; }
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone-mockup {
  width: 260px; height: 520px; background: var(--surface); border-radius: 40px;
  border: 2px solid var(--surface2); box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.phone-mockup-inner { padding: 20px; width: 100%; }
.phone-screen-placeholder {
  color: var(--subtext); text-align: center; font-size: 13px;
}

/* ── Stats bar ─────────────────────────────────────────────────────  */
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: 36px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--subtext); font-size: 14px; margin-top: 4px; }

/* ── Features ─────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block; background: rgba(107,63,160,0.2); border: 1px solid rgba(107,63,160,0.4);
  color: var(--subtext); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--subtext); font-size: 17px; max-width: 560px; margin: 0 auto 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(107,63,160,0.2); display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--subtext); font-size: 14px; line-height: 1.7; }

/* ── How it works ─────────────────────────────────────────────────── */
.steps-bg { background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 20px; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(233,30,140,0.35);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--subtext); font-size: 15px; line-height: 1.7; }

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px; position: relative;
  transition: all 0.2s;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(107,63,160,0.3);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); padding: 4px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 600; color: var(--subtext); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.pricing-price { font-size: 44px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 20px; vertical-align: top; margin-top: 10px; display: inline-block; }
.pricing-period { color: var(--subtext); font-size: 14px; margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--subtext); }
.pricing-features li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ── CTA Section ──────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(107,63,160,0.2) 0%, transparent 70%);
}
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--subtext); font-size: 18px; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--subtext); font-size: 14px; margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtext); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--subtext); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--subtext); font-size: 13px; }

/* ── Legal pages ──────────────────────────────────────────────────── */
.legal-hero { padding: 80px 0 48px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.legal-hero p { color: var(--subtext); font-size: 15px; }
.legal-content { padding: 60px 0; max-width: 760px; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--subtext); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

/* ── Subscribe page ────────────────────────────────────────────────  */
.subscribe-hero { padding: 80px 0 48px; text-align: center; }
.subscribe-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.subscribe-hero p { color: var(--subtext); font-size: 17px; }
.subscribe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 820px; margin: 0 auto; padding: 40px 24px 80px; align-items: start; }
.subscribe-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.subscribe-card.featured { border-color: var(--primary); }
.plan-name { font-size: 13px; font-weight: 600; color: var(--subtext); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.plan-price { font-size: 48px; font-weight: 800; margin-bottom: 4px; }
.plan-period { color: var(--subtext); font-size: 14px; margin-bottom: 8px; }
.plan-save { display: inline-block; background: rgba(52,199,89,0.15); color: var(--success); padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--subtext); }
.plan-features li::before { content: "✓"; color: var(--success); font-weight: 700; }
.rzp-note { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-top: 24px; }
.rzp-note p { color: var(--subtext); font-size: 13px; margin: 0; line-height: 1.6; }
.rzp-note strong { color: var(--text); }

/* ── Support / FAQ ─────────────────────────────────────────────────  */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  padding: 20px 24px; text-align: left; font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.05); }
.faq-answer { padding: 0 24px 20px; color: var(--subtext); font-size: 15px; line-height: 1.7; display: none; }
.faq-answer.open { display: block; }
.faq-icon { font-size: 20px; transition: transform 0.2s; color: var(--subtext); }
.faq-icon.open { transform: rotate(45deg); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .phone-mockup { width: 200px; height: 400px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .subscribe-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
