:root {
  --primary: #25d366;
  --primary-dark: #128c7e;
  --primary-light: #dcf8c6;
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 20px;
  --shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
  --shadow-lg: 0 30px 60px -15px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* Responsive Typography */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw + 1rem, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.75rem, 4vw + 1rem, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 2vw + 1rem, 2rem); margin-bottom: 1rem; }
p { font-size: clamp(1rem, 1.2vw + 0.5rem, 1.125rem); color: var(--text-muted); margin-bottom: 1.5rem; max-width: 650px; }

/* Layout & Containers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.875rem 1.75rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: none; font-size: 1rem; white-space: nowrap; }
@media (min-width: 768px) { .btn { padding: 1rem 2rem; font-size: 1.125rem; } }
.btn-primary { background: var(--text-main); color: #fff; box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2); color: #fff; }
.btn-accent { background: var(--primary); color: #fff; box-shadow: 0 8px 16px rgba(37, 211, 102, 0.2); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3); background: var(--primary-dark); color: #fff; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; height: 80px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
@media (min-width: 768px) { header { height: 90px; } }
.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; }
.logo img { height: 45px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .logo img { height: 55px; } }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: opacity 0.2s; font-size: 0.95rem; }
.nav-links a:hover { opacity: 0.7; }
@media (max-width: 768px) { .nav-links { display: none; } }

/* Hero */
.hero { text-align: center; padding-top: 8rem; position: relative; overflow: hidden; padding-bottom: 4rem; }
@media (min-width: 768px) { .hero { padding-top: 12rem; } }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-tag { display: inline-block; padding: 0.5rem 1.25rem; background: var(--primary-light); color: var(--primary-dark); border-radius: 50px; font-weight: 600; margin-bottom: 1.5rem; font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.hero h1 span { color: var(--primary); }
.hero-bg-glow { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 100vw; height: 100vw; max-width: 800px; max-height: 800px; background: radial-gradient(circle, rgba(37,211,102,0.12) 0%, rgba(255,255,255,0) 70%); z-index: 1; pointer-events: none; }

/* Mockups */
.hero-mockup { margin-top: 3rem; position: relative; z-index: 2; width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; padding: 0 1rem; }
.mockup-frame { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; width: 100%; }
.mockup-header { height: 28px; background: #f1f5f9; display: flex; align-items: center; padding: 0 0.75rem; gap: 6px; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .mockup-header { height: 32px; padding: 0 1rem; gap: 8px; } }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
@media (min-width: 768px) { .mockup-dot { width: 10px; height: 10px; } }
.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }
.mockup-frame img { width: 100%; height: auto; display: block; object-fit: contain; }

/* Feature Rows (Alternating) */
.feature-row { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; padding: 4rem 0; text-align: center; }
.feature-content { flex: 1; display: flex; flex-direction: column; align-items: center; }
.feature-content p { margin-left: auto; margin-right: auto; }
.feature-image-container { flex: 1; width: 100%; }
@media (min-width: 992px) {
  .feature-row { flex-direction: row; gap: 4rem; padding: 6rem 0; text-align: left; }
  .feature-row:nth-child(even) { flex-direction: row-reverse; }
  .feature-content { align-items: flex-start; }
  .feature-content p { margin-left: 0; margin-right: 0; text-align: left; }
}

/* Integrations Grid */
.integrations-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; width: 100%; }
.integration-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); font-size: 1.125rem; font-weight: 700; flex: 1 1 calc(50% - 1rem); min-width: 140px; text-align: center; }
@media (min-width: 768px) { .integration-card { font-size: 1.25rem; padding: 2rem; flex: 1 1 auto; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.stat-card { background: var(--bg-secondary); padding: 2.5rem 1.5rem; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); transition: transform 0.3s ease; }
.stat-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.stat-card h4 { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; font-weight: 800; }
@media (min-width: 768px) { .stat-card h4 { font-size: 3rem; } }

/* FAQ Section (AEO) */
.faq-grid { display: grid; gap: 1.5rem; max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); }
.faq-item h4 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--text-main); }
.faq-item p { margin-bottom: 0; font-size: 1rem; }

/* CTA */
.cta-section-wrapper { padding: 0 1rem; margin: 3rem auto; max-width: 1200px; }
@media (min-width: 768px) { .cta-section-wrapper { padding: 0 2rem; margin: 5rem auto; } }
.cta-section { background: var(--text-main); color: #fff; text-align: center; border-radius: var(--radius); padding: 4rem 1.5rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .cta-section { padding: 6rem 2rem; } }
.cta-section h2 { color: #fff; margin-bottom: 1.5rem; }
.cta-section p { color: #94a3b8; max-width: 600px; margin: 0 auto 3rem; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(37,211,102,0.2) 0%, rgba(15,23,42,1) 100%); z-index: 0; pointer-events: none; }
.cta-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

/* Footer */
footer { padding: 3rem 0 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; text-align: left; } }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-links h5 { color: var(--text-main); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* Animations */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Client Logo Band */
.client-band { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 4rem; opacity: 0.6; padding: 2rem 1rem; filter: grayscale(100%); transition: all 0.3s; }
.client-band:hover { opacity: 1; filter: grayscale(0%); }
.client-logo { display: flex; align-items: center; justify-content: center; height: 40px; font-weight: 800; font-size: 1.25rem; color: var(--text-main); font-family: 'Outfit', sans-serif; }
.client-logo img { max-height: 100%; max-width: 150px; object-fit: contain; }

/* Micro-Trust Badges */
.micro-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-top: 1rem; }
.micro-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; }
.testimonial-card p { font-size: 0.95rem; color: var(--text-main); margin-bottom: 1.5rem; font-style: italic; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.author-info h5 { margin: 0; font-size: 1rem; color: var(--text-main); }
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1rem; }
