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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --green: #16a34a;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.12);
}

body { font-family: 'Inter', system-ui, sans-serif; color: var(--gray-900); line-height: 1.6; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200); padding: 0 5%; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--blue); text-decoration: none; }
.logo span { color: var(--gray-900); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray-700); font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; gap: .75rem; align-items: center; }
.btn { display: inline-block; padding: .6rem 1.25rem; border-radius: 8px; font-size: .9rem;
  font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s; border: none; }
.btn-ghost { color: var(--gray-700); background: transparent; }
.btn-ghost:hover { color: var(--blue); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.4); }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: white; }

/* HERO */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%); padding: 100px 5% 80px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: white; border: 1px solid var(--gray-200);
  padding: .4rem 1rem; border-radius: 99px; font-size: .85rem; color: var(--gray-700); margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.hero-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.15; max-width: 820px; margin: 0 auto 1.5rem; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p { font-size: 1.2rem; color: var(--gray-500); max-width: 600px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 4rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); }
.stat span { font-size: .9rem; color: var(--gray-500); }

/* SOCIAL PROOF */
.logos { padding: 40px 5%; background: white; border-bottom: 1px solid var(--gray-100); }
.logos-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.logos p { font-size: .85rem; color: var(--gray-500); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: .08em; }
.logos-grid { display: flex; gap: 3rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.logos-grid span { font-size: 1.1rem; font-weight: 700; color: var(--gray-300); }

/* SECTION */
section { padding: 80px 5%; }
.section-label { font-size: .85rem; font-weight: 700; color: var(--blue); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; max-width: 700px; margin: 0 auto 1rem; text-align: center; }
.section-sub { color: var(--gray-500); font-size: 1.1rem; max-width: 580px; margin: 0 auto 3.5rem; text-align: center; }

/* HOW IT WORKS */
.how { background: var(--gray-50); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.step { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative; }
.step-num { width: 40px; height: 40px; background: var(--blue); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--gray-500); font-size: .95rem; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.feature-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.75rem; transition: all .2s; }
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--gray-500); font-size: .9rem; }

/* PRICING */
.pricing { background: var(--gray-50); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.price-card { background: white; border: 2px solid var(--gray-200); border-radius: var(--radius);
  padding: 2rem; position: relative; transition: all .2s; }
.price-card.popular { border-color: var(--blue); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: white; font-size: .78rem; font-weight: 700;
  padding: .3rem .9rem; border-radius: 99px; white-space: nowrap; }
.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.price-amount { font-size: 2.4rem; font-weight: 900; color: var(--blue); margin: .75rem 0; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.price-desc { color: var(--gray-500); font-size: .88rem; margin-bottom: 1.5rem; }
.price-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.price-features li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; }
.price-card .btn { width: 100%; text-align: center; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.testimonial { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem; }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial blockquote { color: var(--gray-700); font-size: .95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--blue); font-size: .9rem; }
.author-info strong { display: block; font-size: .9rem; }
.author-info span { font-size: .8rem; color: var(--gray-500); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
details[open] { border-color: var(--blue); }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); }
details[open] summary::after { content: '−'; }
details p { color: var(--gray-500); margin-top: 1rem; font-size: .95rem; line-height: 1.7; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%); color: white; text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.cta p { font-size: 1.1rem; opacity: .85; margin-bottom: 2.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: var(--gray-100); }

/* FOOTER */
footer { background: var(--gray-900); color: var(--gray-500); padding: 3rem 5% 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: white; font-size: 1.3rem; }
.footer-brand p { margin-top: .75rem; font-size: .9rem; line-height: 1.6; }
.footer-col h4 { color: white; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: var(--gray-500); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 1.5rem; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: white; border-radius: 16px; padding: 2.5rem; max-width: 440px; width: 100%;
  transform: translateY(20px); transition: transform .25s; }
.modal-overlay.active .modal { transform: translateY(0); }
.modal h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.modal p { color: var(--gray-500); font-size: .95rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; }
.form-group input, .form-group select {
  width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-size: .95rem; transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--blue); }
.modal .btn { width: 100%; text-align: center; margin-top: .5rem; }
.modal-footer { text-align: center; margin-top: 1.5rem; font-size: .88rem; color: var(--gray-500); }
.modal-footer a { color: var(--blue); cursor: pointer; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--gray-500); line-height: 1; }
.modal { position: relative; }
.error-msg { color: #dc2626; font-size: .85rem; margin-top: .4rem; display: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; }
  .price-card.popular { transform: none; }
}
