/* ═══════════════════════════════════════════════════════════
   Apna Library - Main Stylesheet
   Font: Plus Jakarta Sans | Colors: Indigo/Violet gradient
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
    --transition: 0.2s ease;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ─── Container ────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.625rem 1.5rem; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.938rem; font-family: var(--font); cursor: pointer; border: 2px solid transparent;
    transition: all var(--transition); text-decoration: none; line-height: 1.5;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-alt); color: var(--primary-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }

/* ─── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent; transition: all 0.3s;
}
.navbar-scrolled { background: rgba(255,255,255,0.95); border-bottom-color: var(--border); box-shadow: var(--shadow); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; color: var(--text); }
.navbar-brand:hover { color: var(--text); }
.navbar-logo { height: 36px; width: auto; }
.navbar-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { padding: 0.5rem 0.75rem; font-size: 0.938rem; font-weight: 500; color: var(--text-light); border-radius: var(--radius-sm); transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-bg); }
.nav-cta { margin-left: 0.5rem; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.hamburger-line { width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.navbar-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.navbar-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; padding: 8rem 0 5rem; overflow: hidden; min-height: 90vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.hero-blob-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; animation: blobFloat 8s ease-in-out infinite; }
.hero-blob-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; left: -100px; animation: blobFloat 10s ease-in-out infinite reverse; }
@keyframes blobFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-block; padding: 0.375rem 1rem; background: var(--primary-bg); color: var(--primary); font-size: 0.875rem; font-weight: 600; border-radius: 50px; margin-bottom: 1.5rem; }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text); }
.hero-subtitle { font-size: 1.125rem; color: var(--text-light); line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-dashboard { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.hero-dashboard img { width: 100%; }

/* ─── Stats ────────────────────────────────────────────────── */
.stats { padding: 3rem 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card { text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-label { font-size: 0.875rem; color: var(--text-light); font-weight: 500; }

/* ─── Sections ─────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-badge { display: inline-block; padding: 0.25rem 0.75rem; background: var(--primary-bg); color: var(--primary); font-size: 0.813rem; font-weight: 600; border-radius: 50px; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.section-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--text); }
.section-subtitle { font-size: 1.063rem; color: var(--text-light); line-height: 1.6; }

/* ─── Features ─────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all 0.3s; }
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; background: var(--primary-bg); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); font-size: 1.25rem; }
.feature-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.938rem; color: var(--text-light); line-height: 1.6; }

/* ─── Pricing ──────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.pricing-card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem 2rem; text-align: center; position: relative; transition: all 0.3s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-popular { border-color: var(--primary); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 0.25rem 1rem; border-radius: 50px; font-size: 0.813rem; font-weight: 600; white-space: nowrap; }
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.pricing-price { margin-bottom: 1.5rem; }
.pricing-amount { font-size: 2.75rem; font-weight: 800; color: var(--text); }
.pricing-duration { font-size: 0.938rem; color: var(--text-light); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-features li { padding: 0.5rem 0; font-size: 0.938rem; color: var(--text-light); display: flex; align-items: flex-start; gap: 0.5rem; }
.pricing-features li i { color: var(--success); margin-top: 0.2rem; flex-shrink: 0; }

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all 0.3s; }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--warning); margin-bottom: 0.75rem; font-size: 0.875rem; }
.testimonial-content { font-size: 0.975rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { display: block; font-size: 0.938rem; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 0.813rem; color: var(--text-lighter); }

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; transition: all 0.3s; }
.faq-item.open { border-color: var(--primary-light); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.125rem 1.25rem; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; }
.faq-icon { transition: transform 0.3s; color: var(--text-light); font-size: 0.75rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.25rem 1.25rem; font-size: 0.938rem; color: var(--text-light); line-height: 1.7; }

/* ─── Comparison Cards ─────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.compare-card {
    background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; position: relative; transition: all 0.3s;
}
.compare-card:hover { box-shadow: var(--shadow-md); }
.compare-card-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent; color: #fff; transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}
.compare-card-hero:hover { transform: scale(1.05); box-shadow: 0 16px 48px rgba(99, 102, 241, 0.3); }
.compare-card-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #fbbf24; color: #1e293b; font-size: 0.75rem; font-weight: 700;
    padding: 0.25rem 1rem; border-radius: 50px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.03em;
}
.compare-card-header { text-align: center; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.compare-card:not(.compare-card-hero) .compare-card-header { border-bottom-color: var(--border); }
.compare-card-icon {
    width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
    background: rgba(255,255,255,0.2); color: #fff;
}
.compare-card-icon-muted { background: var(--bg-alt); color: var(--text-lighter); }
.compare-card-header h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.compare-card:not(.compare-card-hero) .compare-card-header h3 { color: var(--text); }
.compare-card-price { font-size: 0.875rem; opacity: 0.85; }
.compare-card:not(.compare-card-hero) .compare-card-price { color: var(--text-light); }
.compare-card-price strong { font-weight: 800; }
.compare-card-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.compare-card-hero .compare-card-list { margin-bottom: 2rem; }
.compare-card-list li {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 0.875rem; font-weight: 500;
}
.compare-card:not(.compare-card-hero) .compare-card-list li { color: var(--text-light); }
.compare-card-hero .compare-card-list li { color: rgba(255,255,255,0.95); }
.compare-icon {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 0.688rem;
}
.compare-icon-yes { background: rgba(255,255,255,0.25); color: #fff; }
.compare-card:not(.compare-card-hero) .compare-icon-yes { background: #dcfce7; color: var(--success); }
.compare-icon-no { background: #fee2e2; color: var(--error); }
.compare-icon-partial { background: #fef3c7; color: var(--warning); }

/* ─── CTA Section ──────────────────────────────────────────── */
.cta-section { padding: 5rem 0; }
.cta-card { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius-lg); padding: 4rem 3rem; text-align: center; color: #fff; }
.cta-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-subtitle { font-size: 1.063rem; opacity: 0.9; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Page Hero ────────────────────────────────────────────── */
.page-hero { padding: 7rem 0 3rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); text-align: center; }
.page-hero-sm { padding: 6rem 0 2rem; }
.page-hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.page-hero-subtitle { font-size: 1.063rem; color: var(--text-light); }

/* ─── About ────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content h2 { font-size: 2rem; font-weight: 800; margin: 0.75rem 0 1.5rem; }
.about-text { color: var(--text-light); line-height: 1.8; }
.about-text p { margin-bottom: 1rem; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card { background: var(--bg); border-radius: var(--radius); padding: 2.5rem; text-align: center; border: 1px solid var(--border); }
.mv-icon { width: 56px; height: 56px; background: var(--primary-bg); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.25rem; }
.mv-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.mv-card p { color: var(--text-light); line-height: 1.6; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { text-align: center; padding: 2rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s; }
.why-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-card i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.why-card h4 { font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.875rem; color: var(--text-light); }

/* ─── Contact ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.contact-form-wrap h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.contact-info-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contact-item i { color: var(--primary); margin-top: 0.2rem; width: 20px; text-align: center; }
.contact-item strong { display: block; font-size: 0.813rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item a { color: var(--text); font-weight: 500; }
.demo-form-wrap { max-width: 800px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; }

/* ─── Forms ────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--text); }
.required { color: var(--error); }
.form-control {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 0.938rem; color: var(--text); transition: border-color var(--transition);
    background: var(--bg);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }
.form-control.is-invalid { border-color: var(--error); }
.form-error { display: block; font-size: 0.813rem; color: var(--error); margin-top: 0.25rem; }
textarea.form-control { resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.825L.587 3.413l.826-.826L6 7.173l4.587-4.586.826.826z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ─── Blog ─────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-image { display: block; height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; }
.blog-card-date { font-size: 0.813rem; color: var(--text-lighter); }
.blog-card-title { font-size: 1.063rem; font-weight: 700; margin: 0.5rem 0; line-height: 1.4; }
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0.75rem; }
.blog-card-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); }

/* Blog Post */
.blog-post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
.blog-post-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.blog-post-meta { font-size: 0.875rem; color: var(--text-lighter); margin-bottom: 0.75rem; }
.blog-post-title { font-size: 2.25rem; font-weight: 800; line-height: 1.25; margin-bottom: 2rem; }
.blog-post-content.prose { line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-post-share { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.share-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-alt); color: var(--text-light); transition: all var(--transition); }
.share-btn:hover { background: var(--primary); color: #fff; }

/* Sidebar */
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-posts { list-style: none; }
.sidebar-posts li { margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.sidebar-posts li:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.sidebar-posts a { display: block; }
.sidebar-post-title { font-size: 0.875rem; font-weight: 600; color: var(--text); display: block; line-height: 1.4; }
.sidebar-post-date { font-size: 0.75rem; color: var(--text-lighter); }
.sidebar-cta { background: var(--primary-bg); border-color: var(--primary-light); text-align: center; }
.sidebar-cta p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1rem; }

/* ─── Pagination ───────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 0.375rem; margin-top: 3rem; }
.pagination-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; color: var(--text); transition: all var(--transition); }
.pagination-link:hover, .pagination-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Prose Page ───────────────────────────────────────────── */
.prose-page { max-width: 720px; margin: 0 auto; line-height: 1.8; }
.prose-page h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.prose-page h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.prose-page p { margin-bottom: 1rem; color: var(--text-light); }

/* ─── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { font-size: 0.875rem; color: var(--text-lighter); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* ─── Footer ───────────────────────────────────────────────── */
.footer { background: var(--bg-dark); color: #cbd5e1; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; color: #fff; margin-bottom: 0.75rem; }
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; color: #94a3b8; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); color: #94a3b8; transition: all var(--transition); font-size: 0.875rem; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-heading { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: #94a3b8; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact i { margin-top: 0.2rem; color: var(--primary-light); width: 16px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding: 1.5rem 0; text-align: center; font-size: 0.813rem; color: #64748b; }
.footer-bottom a { color: var(--primary); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* ─── WhatsApp Float ───────────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; background: #25d366; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    transition: all 0.3s; animation: floatPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 6px 16px rgba(37,211,102,0.5); }
@keyframes floatPulse { 0%, 100% { box-shadow: 0 4px 12px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 20px rgba(37,211,102,0.6); } }

/* ─── Alerts ───────────────────────────────────────────────── */
.alert { padding: 0.875rem 0; transition: all 0.3s ease; position: fixed; top: 72px; left: 0; right: 0; z-index: 999; animation: slideDown 0.4s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
.alert .container { display: flex; justify-content: space-between; align-items: center; }
.alert-success { background: #ecfdf5; color: #065f46; border-bottom: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-bottom: 1px solid #fecaca; }
.alert-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: inherit; opacity: 0.6; }

/* ─── Empty State ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-light); }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 1rem; display: block; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }

/* ─── Scroll Animations ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revealed { opacity: 1; transform: translateY(0); }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { max-width: 100%; margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .hero-title { font-size: 2.75rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-post-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .compare-grid { grid-template-columns: repeat(2, 1fr); }
    .compare-card-hero { grid-column: 1 / -1; transform: none; }
    .compare-card-hero:hover { transform: none; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
    .navbar-menu.open { display: flex; }
    .navbar-toggle { display: flex; }
    .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
    .hero { min-height: auto; padding: 7rem 0 3rem; }
    .hero-title { font-size: 2.25rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.75rem; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mv-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 3rem 1.5rem; }
    .cta-title { font-size: 1.75rem; }
    .page-hero-title { font-size: 2rem; }
    .compare-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .compare-card-hero { transform: none; order: -1; }
    .compare-card-hero:hover { transform: none; }
}
