/* ================================================================
   Due Dates Manager — Landing Page CSS
   Dark-first, responsive, particle bg, glassmorphism
   ================================================================ */

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

:root {
  --bg:         #0a0a0f;
  --bg2:        #12121a;
  --bg3:        #1a1a28;
  --glass:      rgba(255,255,255,0.04);
  --glass-b:    rgba(255,255,255,0.08);
  --border:     rgba(255,255,255,0.08);
  --text:       #e8e8f0;
  --text2:      rgba(232,232,240,0.65);
  --text3:      rgba(232,232,240,0.40);
  --primary:    #7c3aed;
  --primary-l:  #a855f7;
  --secondary:  #06b6d4;
  --accent:     #10b981;
  --danger:     #ef4444;
  --warn:       #f59e0b;
  --grad1:      linear-gradient(135deg, #7c3aed, #a855f7, #06b6d4);
  --grad2:      linear-gradient(135deg, #06b6d4, #10b981);
  --radius:     1rem;
  --radius-lg:  1.5rem;
  --shadow:     0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.6);
  --trans:      all 0.22s ease;
}
.light-mode {
  --bg:   #f0f0ff;
  --bg2:  #e8e8f8;
  --bg3:  #dcdcf0;
  --glass: rgba(255,255,255,0.7);
  --glass-b: rgba(255,255,255,0.9);
  --border: rgba(100,100,180,0.15);
  --text:   #1a1a2e;
  --text2:  rgba(26,26,46,0.65);
  --text3:  rgba(26,26,46,0.40);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* ── Skip link ─────────────────────────────────────────────────── */
.skip-link { position: absolute; top:-100px; left:1rem; background:var(--primary); color:#fff; padding:.5rem 1rem; border-radius:.5rem; z-index:999; transition: top .2s; }
.skip-link:focus { top:.5rem; }

/* ── Particle canvas ───────────────────────────────────────────── */
#particles-canvas { position:fixed; inset:0; z-index:0; pointer-events:none; }

/* ── Navbar ────────────────────────────────────────────────────── */
.landing-nav { position:sticky; top:0; z-index:100; backdrop-filter:blur(20px); background:rgba(10,10,15,0.85); border-bottom:1px solid var(--border); }
.light-mode .landing-nav { background:rgba(240,240,255,0.85); }
.nav-inner { max-width:1200px; margin:0 auto; padding:.85rem 1.5rem; display:flex; align-items:center; gap:2rem; }
.nav-brand { display:flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--text); font-weight:800; font-size:1.05rem; letter-spacing:-.3px; }
.nav-shield { width:32px; height:32px; background:var(--grad1); border-radius:.5rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-links { display:flex; gap:1.5rem; margin-left:auto; }
.nav-links a { color:var(--text2); text-decoration:none; font-size:.9rem; font-weight:500; transition:var(--trans); }
.nav-links a:hover { color:var(--text); }
.nav-actions { display:flex; align-items:center; gap:.75rem; margin-left:1rem; }
.btn-icon { background:none; border:1px solid var(--border); color:var(--text2); border-radius:.5rem; padding:.3rem .55rem; cursor:pointer; font-size:.9rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:.4rem; padding:.65rem 1.4rem; border-radius:.6rem; font-size:.875rem; font-weight:600; text-decoration:none; cursor:pointer; border:none; transition:var(--trans); white-space:nowrap; }
.btn-primary { background:var(--grad1); color:#fff; box-shadow:0 4px 20px rgba(124,58,237,0.35); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 28px rgba(124,58,237,0.5); }
.btn-ghost { background:transparent; color:var(--text); border:1px solid var(--border); }
.btn-ghost:hover { border-color:var(--primary); color:var(--primary); }
.btn-hero-primary { background:var(--grad1); color:#fff; padding:.85rem 2rem; font-size:1rem; border-radius:.75rem; box-shadow:0 8px 32px rgba(124,58,237,0.4); }
.btn-hero-primary:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(124,58,237,0.55); }
.btn-hero-secondary { background:var(--glass); color:var(--text); border:1px solid var(--border); padding:.85rem 2rem; font-size:1rem; border-radius:.75rem; backdrop-filter:blur(12px); }
.btn-hero-secondary:hover { background:var(--glass-b); }
.btn-plan { width:100%; text-align:center; justify-content:center; padding:.85rem; font-size:.95rem; border-radius:.75rem; }
.btn-plan-starter  { background:var(--glass-b); color:var(--text); border:1px solid var(--border); }
.btn-plan-starter:hover { border-color:var(--primary); }
.btn-plan-pro      { background:var(--grad1); color:#fff; box-shadow:0 6px 24px rgba(124,58,237,0.4); }
.btn-plan-pro:hover { transform:translateY(-2px); }
.btn-plan-family   { background:linear-gradient(135deg,#10b981,#06b6d4); color:#fff; }
.btn-plan-business { background:linear-gradient(135deg,#f59e0b,#ef4444); color:#fff; }
.btn-cta-primary   { background:var(--grad1); color:#fff; padding:1rem 2.5rem; font-size:1.05rem; border-radius:.75rem; box-shadow:0 8px 32px rgba(124,58,237,0.4); }
.btn-cta-primary:hover { transform:translateY(-3px); }
.btn-cta-secondary { background:var(--glass-b); color:var(--text); border:1px solid var(--border); padding:1rem 2.5rem; font-size:1.05rem; border-radius:.75rem; }

/* ── Section commons ─────────────────────────────────────────────── */
main, .hero, section { position:relative; z-index:1; }
.section-inner { max-width:1200px; margin:0 auto; padding:5rem 1.5rem; }
.section-label { display:inline-block; background:rgba(124,58,237,0.15); color:var(--primary-l); font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:.35rem 1rem; border-radius:2rem; margin-bottom:1rem; border:1px solid rgba(124,58,237,0.25); }
.section-h2 { font-size:clamp(1.75rem,4vw,2.75rem); font-weight:800; letter-spacing:-.03em; line-height:1.15; margin-bottom:1rem; }
.section-sub { color:var(--text2); font-size:1.05rem; max-width:680px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { min-height:92vh; display:flex; align-items:center; justify-content:center; }
.hero-inner { max-width:900px; margin:0 auto; padding:6rem 1.5rem 4rem; text-align:center; }
.hero-badge { display:inline-flex; align-items:center; gap:.5rem; background:rgba(124,58,237,0.12); border:1px solid rgba(124,58,237,0.25); color:var(--primary-l); font-size:.82rem; font-weight:600; padding:.4rem 1.1rem; border-radius:2rem; margin-bottom:1.75rem; }
.hero-h1 { font-size:clamp(2.5rem,7vw,5rem); font-weight:900; letter-spacing:-.04em; line-height:1.08; margin-bottom:1.5rem; }
.gradient-text-1 { background:linear-gradient(135deg,#a855f7,#7c3aed); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-text-2 { background:linear-gradient(135deg,#06b6d4,#10b981); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-sub { color:var(--text2); font-size:1.15rem; max-width:680px; margin:0 auto 2.5rem; line-height:1.75; }
.hero-cta { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.5rem; }
.hero-trust { display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap; color:var(--text3); font-size:.82rem; margin-bottom:2rem; }
.hero-trust span { display:flex; align-items:center; gap:.35rem; }
.hero-badges-row { display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; }
.trust-badge { background:var(--glass); border:1px solid var(--border); border-radius:.5rem; padding:.35rem .8rem; font-size:.78rem; color:var(--text2); backdrop-filter:blur(8px); }

/* ── Stats Strip ─────────────────────────────────────────────────── */
.stats-strip { background:linear-gradient(90deg,rgba(124,58,237,0.08),rgba(6,182,212,0.08)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.stats-inner { max-width:1200px; margin:0 auto; padding:2.5rem 1.5rem; display:flex; justify-content:space-around; flex-wrap:wrap; gap:1.5rem; }
.stat-item { text-align:center; }
.stat-num { display:block; font-size:2rem; font-weight:900; background:var(--grad1); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.stat-label { font-size:.78rem; color:var(--text2); font-weight:500; }

/* ── Features Grid ───────────────────────────────────────────────── */
.features-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1.5rem; margin-top:3rem; }
.feature-card { background:var(--glass); border:1px solid var(--border); border-radius:var(--radius); padding:1.75rem; transition:var(--trans); backdrop-filter:blur(10px); }
.feature-card:hover { border-color:rgba(124,58,237,0.4); background:var(--glass-b); transform:translateY(-4px); box-shadow:var(--shadow); }
.feat-icon { font-size:2rem; margin-bottom:1rem; }
.feature-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:.65rem; }
.feature-card p { color:var(--text2); font-size:.875rem; line-height:1.65; margin-bottom:1rem; }
.feat-list { list-style:none; font-size:.82rem; color:var(--text3); display:flex; flex-direction:column; gap:.3rem; }
.feat-list li::before { content:'→ '; color:var(--primary-l); }

/* ── How To Steps ─────────────────────────────────────────────────── */
.howto-section { background:linear-gradient(180deg,var(--bg2),var(--bg)); }
.howto-steps { list-style:none; display:flex; flex-direction:column; gap:1.5rem; margin-top:3rem; max-width:720px; }
.howto-step { display:flex; gap:1.5rem; align-items:flex-start; }
.step-num { width:44px; height:44px; min-width:44px; background:var(--grad1); border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:1.1rem; color:#fff; box-shadow:0 4px 16px rgba(124,58,237,0.4); }
.step-content h3 { font-size:1rem; font-weight:700; margin-bottom:.35rem; }
.step-content p { color:var(--text2); font-size:.9rem; line-height:1.6; }

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing-section { background:var(--bg2); }
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1.5rem; margin-top:3rem; }
.pricing-card { background:var(--glass); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem; display:flex; flex-direction:column; gap:1rem; transition:var(--trans); backdrop-filter:blur(10px); }
.pricing-card-featured { border-color:rgba(124,58,237,0.5); background:rgba(124,58,237,0.08); box-shadow:0 0 0 1px rgba(124,58,237,0.3); }
.pricing-card:hover { transform:translateY(-4px); }
.plan-badge-wrap { display:flex; align-items:center; gap:.75rem; }
.plan-chip { display:inline-block; padding:.25rem .7rem; border-radius:2rem; font-size:.72rem; font-weight:700; letter-spacing:.04em; }
.chip-starter  { background:rgba(100,100,100,.2); color:#aaa; }
.chip-pro      { background:rgba(124,58,237,.2); color:#a855f7; }
.chip-family   { background:rgba(16,185,129,.2); color:#10b981; }
.chip-business { background:rgba(245,158,11,.2); color:#f59e0b; }
.popular-badge { background:var(--primary); color:#fff; font-size:.65rem; font-weight:700; padding:.2rem .6rem; border-radius:2rem; }
.plan-price { display:flex; align-items:baseline; gap:.4rem; }
.price-amount { font-size:2.5rem; font-weight:900; }
.price-period { color:var(--text2); font-size:.9rem; }
.plan-name { font-size:1.1rem; font-weight:700; }
.plan-features { list-style:none; display:flex; flex-direction:column; gap:.5rem; font-size:.85rem; color:var(--text2); flex:1; }
.plan-features li { display:flex; align-items:center; gap:.5rem; }
.pricing-note { text-align:center; color:var(--text3); font-size:.82rem; margin-top:2rem; }

/* ── Why Grid ─────────────────────────────────────────────────────── */
.why-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.5rem; margin-top:3rem; }
.why-card { background:var(--glass); border:1px solid var(--border); border-radius:var(--radius); padding:1.75rem; transition:var(--trans); }
.why-card:hover { border-color:rgba(6,182,212,0.35); transform:translateY(-3px); }
.why-icon { font-size:2rem; margin-bottom:1rem; }
.why-card h3 { font-size:1rem; font-weight:700; margin-bottom:.5rem; }
.why-card p { color:var(--text2); font-size:.875rem; line-height:1.65; }

/* ── GEO Grid ─────────────────────────────────────────────────────── */
.geo-section { background:var(--bg3); }
.geo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:1.25rem; margin-top:3rem; }
.geo-card { background:var(--glass); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; transition:var(--trans); }
.geo-card:hover { transform:translateY(-3px); border-color:rgba(16,185,129,0.3); }
.geo-flag { font-size:2rem; margin-bottom:.75rem; }
.geo-card h3 { font-size:.95rem; font-weight:700; margin-bottom:.4rem; }
.geo-card p { color:var(--text2); font-size:.82rem; line-height:1.6; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-section { background:var(--bg2); }
.faq-list { max-width:800px; display:flex; flex-direction:column; gap:.75rem; margin-top:3rem; }
.faq-item { background:var(--glass); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:var(--trans); }
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color:rgba(124,58,237,0.4); }
.faq-question { width:100%; background:none; border:none; color:var(--text); text-align:left; padding:1.1rem 1.5rem; font-size:.95rem; font-weight:600; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem; line-height:1.4; }
.faq-chevron { font-size:1.3rem; color:var(--primary-l); font-weight:300; flex-shrink:0; transition:var(--trans); }
.faq-answer { padding:0 1.5rem 1.25rem; }
.faq-answer p { color:var(--text2); font-size:.88rem; line-height:1.7; }
.faq-contact-link { color:var(--primary-l); }

/* ── CTA Section ─────────────────────────────────────────────────── */
.cta-section { background:linear-gradient(135deg,rgba(124,58,237,0.1),rgba(6,182,212,0.1)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); text-align:center; }
.cta-section h2 { font-size:clamp(1.5rem,4vw,2.5rem); font-weight:800; margin-bottom:1rem; }
.cta-section p { color:var(--text2); margin-bottom:2rem; font-size:1.05rem; }
.cta-buttons { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.25rem; }
.cta-note { color:var(--text3); font-size:.8rem; }

/* ── Footer ──────────────────────────────────────────────────────── */
.landing-footer { background:var(--bg); border-top:1px solid var(--border); padding-top:4rem; }
.footer-inner { max-width:1200px; margin:0 auto; padding:0 1.5rem 3rem; display:flex; gap:3rem; flex-wrap:wrap; }
.footer-brand { max-width:280px; display:flex; flex-direction:column; gap:1rem; }
.footer-tagline { color:var(--text2); font-size:.85rem; line-height:1.65; }
.wa-btn { display:inline-flex; align-items:center; gap:.5rem; background:#25D366; color:#fff; border:none; padding:.55rem 1.1rem; border-radius:.6rem; font-size:.82rem; font-weight:600; text-decoration:none; width:fit-content; }
.wa-btn:hover { background:#1ebe5c; transform:translateY(-1px); }
.footer-nav { flex:1; display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:2rem; }
.footer-col { display:flex; flex-direction:column; gap:.6rem; }
.footer-col h4 { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--text3); margin-bottom:.25rem; }
.footer-col a { color:var(--text2); text-decoration:none; font-size:.85rem; transition:var(--trans); }
.footer-col a:hover { color:var(--primary-l); }
.footer-bottom { border-top:1px solid var(--border); padding:1.5rem; text-align:center; color:var(--text3); font-size:.75rem; max-width:1200px; margin:0 auto; line-height:1.8; }

/* ── WhatsApp FAB ────────────────────────────────────────────────── */
.wa-fab { position:fixed; bottom:1.75rem; right:1.75rem; width:56px; height:56px; background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 24px rgba(37,211,102,0.4); z-index:200; transition:var(--trans); text-decoration:none; }
.wa-fab:hover { transform:scale(1.1); box-shadow:0 8px 32px rgba(37,211,102,0.55); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width:768px) {
  .nav-links { display:none; }
  .hero-h1 { font-size:clamp(2rem,8vw,3rem); }
  .hero-inner { padding:5rem 1rem 3rem; }
  .features-grid, .pricing-grid, .why-grid, .geo-grid { grid-template-columns:1fr; }
  .footer-inner { flex-direction:column; }
  .footer-brand { max-width:100%; }
  .howto-steps { gap:1rem; }
  .stats-inner { gap:1rem; justify-content:center; }
  .stat-item { min-width:130px; }
}
@media (max-width:480px) {
  .hero-cta { flex-direction:column; align-items:center; }
  .hero-cta .btn { width:100%; justify-content:center; }
  .cta-buttons { flex-direction:column; align-items:center; }
}

/* ── Print styles ────────────────────────────────────────────────── */
@media print {
  #particles-canvas, .wa-fab, .landing-nav { display:none; }
  body { background:#fff; color:#000; }
}
