/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;color:#1e293b;line-height:1.6;background:#fff}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none}

/* ===== CSS VARIABLES ===== */
:root{
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --primary-light:#dbeafe;
  --accent:#10b981;
  --accent-dark:#059669;
  --gray-50:#f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-300:#cbd5e1;
  --gray-500:#64748b;
  --gray-700:#334155;
  --gray-900:#0f172a;
  --radius:12px;
  --shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
  --max-w:1140px;
}

/* ===== UTILITIES ===== */
.container{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem}
.btn{display:inline-block;padding:.75rem 1.75rem;border-radius:8px;font-weight:600;font-size:.95rem;transition:all .2s;cursor:pointer;border:none}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-outline{border:2px solid var(--primary);color:var(--primary);background:transparent}
.btn-outline:hover{background:var(--primary);color:#fff}
.section-title{font-size:2rem;font-weight:700;margin-bottom:.5rem;color:var(--gray-900)}
.section-subtitle{color:var(--gray-500);font-size:1.1rem;margin-bottom:2.5rem;max-width:600px}
.text-center{text-align:center}
.mx-auto{margin-left:auto;margin-right:auto}

/* ===== NAVBAR ===== */
.navbar{position:sticky;top:0;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--gray-200);z-index:100;padding:.75rem 0}
.navbar .container{display:flex;align-items:center;justify-content:space-between}
.navbar-brand{display:flex;align-items:center;gap:.5rem;font-size:1.4rem;font-weight:700;color:var(--primary)}
.navbar-brand svg{width:32px;height:32px}
.nav-links{display:flex;gap:1.75rem;align-items:center}
.nav-links a{font-size:.9rem;font-weight:500;color:var(--gray-700);transition:color .2s}
.nav-links a:hover{color:var(--primary)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:.25rem}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--gray-700);margin:5px 0;transition:all .3s}

/* ===== HERO ===== */
.hero{padding:5rem 0 4rem;background:linear-gradient(135deg,var(--primary-light) 0%,#ede9fe 50%,#fce7f3 100%)}
.hero .container{display:flex;align-items:center;gap:3rem}
.hero-content{flex:1}
.hero-content h1{font-size:2.75rem;font-weight:800;line-height:1.15;margin-bottom:1rem;color:var(--gray-900)}
.hero-content h1 span{color:var(--primary)}
.hero-content p{font-size:1.15rem;color:var(--gray-500);margin-bottom:2rem;max-width:480px}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}
.hero-mockup{flex:1;display:flex;justify-content:center}
.phone-mockup{width:260px;height:520px;background:var(--gray-900);border-radius:36px;padding:12px;box-shadow:var(--shadow-lg)}
.phone-screen{width:100%;height:100%;background:linear-gradient(180deg,var(--primary) 0%,#7c3aed 100%);border-radius:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;padding:1.5rem}
.phone-screen .app-icon{font-size:3rem;margin-bottom:1rem}
.phone-screen h3{font-size:1.25rem;margin-bottom:.5rem}
.phone-screen p{font-size:.8rem;opacity:.8}
.badge{display:inline-block;padding:.35rem .85rem;border-radius:20px;font-size:.75rem;font-weight:600;margin-bottom:1rem}
.badge-info{background:var(--primary);color:#fff}
.badge-coming{background:#fbbf24;color:#92400e}

/* ===== ABOUT ===== */
.about{padding:5rem 0;background:#fff}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.about-image{background:var(--gray-100);border-radius:var(--radius);height:340px;display:flex;align-items:center;justify-content:center;color:var(--gray-500);font-size:1rem;flex-direction:column;gap:.5rem}
.about-image svg{width:48px;height:48px;opacity:.4}
.about-content h2{font-size:2rem;font-weight:700;margin-bottom:1rem}
.about-content p{color:var(--gray-500);margin-bottom:1rem}

/* ===== FEATURES ===== */
.features{padding:5rem 0;background:var(--gray-50)}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.feature-card{background:#fff;border-radius:var(--radius);padding:2rem;border:1px solid var(--gray-200);transition:transform .2s,box-shadow .2s}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.feature-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;font-size:1.5rem}
.feature-icon.blue{background:var(--primary-light);color:var(--primary)}
.feature-icon.green{background:#d1fae5;color:var(--accent)}
.feature-icon.purple{background:#ede9fe;color:#7c3aed}
.feature-icon.amber{background:#fef3c7;color:#d97706}
.feature-icon.rose{background:#ffe4e6;color:#e11d48}
.feature-icon.teal{background:#ccfbf1;color:#0d9488}
.feature-card h3{font-size:1.1rem;font-weight:600;margin-bottom:.5rem}
.feature-card p{color:var(--gray-500);font-size:.9rem}

/* ===== HOW IT WORKS ===== */
.how-it-works{padding:5rem 0;background:#fff}
.tabs{display:flex;gap:.5rem;margin-bottom:2.5rem;justify-content:center;flex-wrap:wrap}
.tab-btn{padding:.6rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;border:2px solid var(--gray-200);background:#fff;color:var(--gray-500);transition:all .2s}
.tab-btn.active,.tab-btn:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}
.tab-content{display:none}
.tab-content.active{display:block}
.steps{display:flex;flex-direction:column;gap:1.5rem;max-width:700px;margin:0 auto}
.step{display:flex;gap:1.25rem;align-items:flex-start}
.step-num{width:40px;height:40px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;font-size:.9rem}
.step-content h4{font-weight:600;margin-bottom:.25rem}
.step-content p{color:var(--gray-500);font-size:.9rem}
.step-connector{width:2px;height:20px;background:var(--gray-200);margin-left:19px}

/* ===== PAYMENT FLOW ===== */
.payment-flow{padding:5rem 0;background:var(--gray-50)}
.flow-diagram{display:flex;flex-direction:column;align-items:center;gap:0;max-width:560px;margin:0 auto}
.flow-step{background:#fff;border:2px solid var(--primary-light);border-radius:var(--radius);padding:1.25rem 2rem;width:100%;text-align:center;position:relative}
.flow-step h4{font-weight:600;font-size:1rem;color:var(--gray-900)}
.flow-step p{color:var(--gray-500);font-size:.85rem;margin-top:.25rem}
.flow-step .step-badge{position:absolute;left:-16px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem}
.flow-arrow{display:flex;align-items:center;justify-content:center;height:40px;color:var(--primary)}
.flow-arrow svg{width:24px;height:24px}

/* ===== APP PREVIEW ===== */
.app-preview{padding:5rem 0;background:#fff}
.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.preview-card{background:var(--gray-100);border-radius:var(--radius);height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.75rem;color:var(--gray-500);border:2px dashed var(--gray-300);transition:border-color .2s}
.preview-card:hover{border-color:var(--primary)}
.preview-card svg{width:40px;height:40px;opacity:.4}
.preview-card span{font-size:.85rem;font-weight:500}

/* ===== CTA ===== */
.cta{padding:5rem 0;background:linear-gradient(135deg,var(--primary) 0%,#7c3aed 100%);color:#fff;text-align:center}
.cta h2{font-size:2rem;font-weight:700;margin-bottom:1rem}
.cta p{opacity:.85;max-width:500px;margin:0 auto 2rem;font-size:1.05rem}
.btn-white{background:#fff;color:var(--primary);font-weight:600}
.btn-white:hover{background:var(--gray-100);transform:translateY(-1px)}

/* ===== FOOTER ===== */
.footer{background:var(--gray-900);color:var(--gray-300);padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-brand h3{font-size:1.25rem;font-weight:700;color:#fff;margin-bottom:.75rem}
.footer-brand p{font-size:.85rem;line-height:1.7;max-width:280px}
.footer-col h4{font-size:.9rem;font-weight:600;color:#fff;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.05em}
.footer-col a{display:block;font-size:.85rem;padding:.25rem 0;transition:color .2s}
.footer-col a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.8rem}

/* ===== LEGAL PAGES ===== */
.legal-hero{padding:3.5rem 0;background:var(--gray-50);border-bottom:1px solid var(--gray-200)}
.legal-hero h1{font-size:2rem;font-weight:700;margin-bottom:.5rem}
.legal-hero p{color:var(--gray-500)}
.legal-content{padding:3rem 0 5rem}
.legal-content .container{max-width:800px}
.legal-content h2{font-size:1.35rem;font-weight:700;margin-top:2.5rem;margin-bottom:.75rem;color:var(--gray-900)}
.legal-content h3{font-size:1.1rem;font-weight:600;margin-top:1.5rem;margin-bottom:.5rem;color:var(--gray-900)}
.legal-content p{color:var(--gray-700);margin-bottom:1rem;font-size:.95rem}
.legal-content ul,.legal-content ol{margin-bottom:1rem;padding-left:1.5rem}
.legal-content li{color:var(--gray-700);margin-bottom:.5rem;font-size:.95rem;list-style:disc}
.legal-content ol li{list-style:decimal}
.legal-content strong{color:var(--gray-900)}

/* ===== RESPONSIVE ===== */
@media(max-width:960px){
  .hero .container{flex-direction:column;text-align:center}
  .hero-content p{margin-left:auto;margin-right:auto}
  .hero-buttons{justify-content:center}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr}
  .preview-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:1rem;border-bottom:1px solid var(--gray-200);gap:1rem}
  .nav-links.open{display:flex}
  .nav-toggle{display:block}
  .hero-content h1{font-size:2rem}
  .features-grid{grid-template-columns:1fr}
  .preview-grid{grid-template-columns:1fr}
  .flow-step{padding:1rem 1rem 1rem 1.5rem}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .section-title{font-size:1.5rem}
  .tabs{gap:.25rem}
  .tab-btn{padding:.5rem 1rem;font-size:.8rem}
  .phone-mockup{width:220px;height:440px}
}
