:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1e40af;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --green: #22c55e;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family, "DM Sans", Roboto, sans-serif); color: var(--dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; color: var(--dark); flex-shrink: 0; }
.logo img,
.header .logo img {
    display: block;
    height: auto;
    width: auto;
    max-height: 52px;
    max-width: min(220px, 42vw);
    object-fit: contain;
}
.logo-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; display: block; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: var(--gray); font-weight: 500; }
.nav a:hover { color: var(--dark); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.btn { padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; }
.btn-outline { background: transparent; color: var(--dark); }
.btn-primary { background: #00b1d2; color: var(--white); }
.btn-primary:hover { background: #0096b3; }

/* Hero */
.hero {
    background: var(--gray-light);
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-tag { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.hero h1 { font-size: 2.75rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; line-height: 1.2; }
.hero p { color: var(--gray); font-size: 1.125rem; margin-bottom: 1.5rem; }
.hero-card { background: var(--purple-light); opacity: 0.9; border-radius: 16px; padding: 2rem; }
.hero-card-icons { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.hero-card-icons span { width: 40px; height: 40px; border-radius: 50%; }
.hero-card-icons span:nth-child(1) { background: #fbbf24; }
.hero-card-icons span:nth-child(2) { background: #22c55e; }
.hero-card-icons span:nth-child(3) { background: #f472b6; }
.hero-card-icons span:nth-child(4) { background: var(--purple); }
.hero-graph { height: 120px; background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%); border-radius: 8px; margin-bottom: 1rem; }
.hero-card-btns { display: flex; gap: 0.5rem; }
.hero-card-btns .btn { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-purple { background: var(--purple); color: white; }
.btn-white-outline { background: transparent; border: 2px solid white; color: white; }
.btn-green { background: var(--green); color: white; }

/* Metrics */
.metrics {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.metric-card { background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); text-align: center; }
.metric-card .metric-icon { font-size: 1.75rem; color: var(--primary); margin-bottom: 0.5rem; display: block; }
.metric-card .num { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.metric-card .label { font-size: 0.9rem; color: var(--gray); }

/* Features */
.section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 2.5rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-item { padding: 1.5rem; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--dark); }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--dark); }
.feature-item p { font-size: 0.9rem; color: var(--gray); }
.feature-item:nth-child(1) .feature-icon { background: #dbeafe; }
.feature-item:nth-child(2) .feature-icon { background: #e9d5ff; }
.feature-item:nth-child(3) .feature-icon { background: #d1fae5; }
.feature-item:nth-child(4) .feature-icon { background: #fef3c7; }
.feature-item:nth-child(5) .feature-icon { background: #e0e7ff; }
.feature-item:nth-child(6) .feature-icon { background: #fce7f3; }
.feature-item:nth-child(7) .feature-icon { background: #ccfbf1; }
.feature-item:nth-child(8) .feature-icon { background: #f3e8ff; }
.feature-item:nth-child(9) .feature-icon { background: #fed7aa; }

/* How it works */
.how { background: var(--gray-light); }
.steps { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.step { text-align: center; max-width: 220px; }
.step-num { width: 56px; height: 56px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; margin: 0 auto 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.9rem; color: var(--gray); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.testimonial { background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.testimonial.highlight { background: var(--primary); color: white; }
.testimonial.highlight p { color: rgba(255,255,255,0.9); }
.testimonial p { margin-bottom: 1rem; font-size: 0.95rem; color: var(--gray); }
.testimonial-footer { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gray-light); }
.testimonial.highlight .testimonial-avatar { background: rgba(255,255,255,0.3); }
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.85rem; color: var(--gray); }
.testimonial.highlight .testimonial-role { color: rgba(255,255,255,0.8); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
th { background: var(--gray-light); font-weight: 600; color: var(--dark); }
td:first-child { font-weight: 500; }
.check { color: var(--green); font-size: 1.25rem; }
.cross { color: #ef4444; font-size: 1.25rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; margin: 2rem auto 0; }
.pricing-card { background: white; padding: 2rem; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); position: relative; }
.pricing-card.popular { border: 2px solid var(--green); box-shadow: 0 4px 14px rgba(34,197,94,0.2); }
.pricing-card .badge { position: absolute; top: 1rem; right: 1rem; background: var(--green); color: white; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 999px; font-weight: 600; }
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.pricing-card .desc { font-size: 0.9rem; color: var(--gray); margin-bottom: 1rem; }
.pricing-card .price { font-size: 2rem; font-weight: 700; color: var(--dark); }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.pricing-card ul { list-style: none; margin: 1.5rem 0; }
.pricing-card li { padding: 0.4rem 0; font-size: 0.95rem; color: var(--gray); }
.pricing-card li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.pricing-card .btn { width: 100%; padding: 0.75rem; margin-top: 0.5rem; }
.pricing-card .btn-green { background: var(--green); color: white; }

/* FAQ */
.faq-list { max-width: 700px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-item:last-child { border-bottom: 0; }
.faq-q { padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; font-weight: 600; color: #0F172A; }
.faq-q:hover { color: #0B8FA0; }
.faq-q::after { content: "+"; font-size: 1.15rem; font-weight: 500; color: #64748b; line-height: 1; }
.faq-item.open .faq-q::after { content: "–"; color: #0B8FA0; }
.faq-a { padding: 0 0 1.1rem; color: #475569; font-size: 0.95rem; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--purple), var(--primary)); color: white; padding: 3rem 2rem; border-radius: 16px; text-align: center; margin: 4rem 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.cta h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.cta p { opacity: 0.95; margin-bottom: 1.5rem; }
.cta .btn { background: white; color: var(--purple); }
.cta .btn:hover { background: #f1f5f9; }

/* Footer */
.footer { background: var(--dark); color: white; padding: 3rem 1.25rem; margin-top: 4rem; }
.footer-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { display: flex; align-items: center; margin-bottom: 1rem; }
.footer-logo__img { display: block; height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.footer p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer a:hover { color: white; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-card { max-width: 400px; margin: 0 auto; }
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .nav { display: none; }
    .metrics { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .header .logo img { max-height: 44px; max-width: min(180px, 55vw); }
}
