/* ==========================================================================
HepsiQr Menu - Main Stylesheet
               Version: 1.0.0
========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;

    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;

    --white: #ffffff;
    --black: #000000;
    --red: #ef4444;
    --green: #22c55e;

    /* Typography */
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-py: 6rem;
    --section-py-sm: 4rem;

    /* Radius */
    --radius-sm: 0.5rem;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 8px 30px rgba(0,0,0,0.04);
    --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.25);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--stone-900);
    background: var(--stone-50);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 768px; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition);
}
.btn svg { width: 1.125rem; height: 1.125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 0 30px rgba(13,148,136,0.4); }

.btn-secondary { background: var(--white); color: var(--stone-900); border: 1px solid var(--stone-200); }
.btn-secondary:hover { background: var(--stone-50); border-color: var(--stone-300); }

.btn-ghost { background: transparent; color: var(--stone-600); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }

.btn-dark { background: var(--stone-900); color: var(--white); }
.btn-dark:hover { background: var(--stone-800); }

.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-50); }

.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.btn-social { background: var(--white); border: 1px solid var(--stone-200); color: var(--stone-700); }
.btn-social:hover { background: var(--stone-50); }
.btn-social svg { width: 1.25rem; height: 1.25rem; }

/* --------------------------------------------------------------------------
   5. Section Styles
   -------------------------------------------------------------------------- */
.section-header { text-align: center; max-width: 768px; margin: 0 auto 3rem; }
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
}
@media (min-width: 640px) { .section-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-desc { margin-top: 1rem; font-size: 1rem; color: var(--stone-500); }
@media (min-width: 640px) { .section-desc { font-size: 1.125rem; } }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stone-100);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}
@media (min-width: 640px) { .header-inner { height: 5rem; } }

.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-sm);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 1.25rem; height: 1.25rem; color: var(--white); }
.logo-text { font-size: 1.125rem; font-weight: 700; color: var(--stone-900); }
@media (min-width: 640px) { .logo-text { font-size: 1.25rem; } }

.nav-desktop { display: none; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--stone-600);
    border-radius: var(--radius-full);
}
.nav-link:hover { color: var(--primary); background: var(--primary-50); }

.header-actions { display: none; gap: 0.75rem; }
@media (min-width: 1024px) { .header-actions { display: flex; } }

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--stone-600);
}
.mobile-menu-btn:hover { color: var(--primary); }
.mobile-menu-btn svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu { padding: 1rem 0; border-top: 1px solid var(--stone-100); }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link {
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--stone-600);
    border-radius: var(--radius);
}
.mobile-nav-link:hover { color: var(--primary); background: var(--primary-50); }
.mobile-nav-divider { height: 1px; background: var(--stone-100); margin: 0.5rem 0; }
.mobile-nav .btn { margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 7rem 0 4rem;
    overflow: hidden;
}
@media (min-width: 640px) { .hero { padding: 9rem 0 6rem; } }

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(13,148,136,0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(13,148,136,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.hero-badge svg { width: 1rem; height: 1rem; }

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--stone-900);
    line-height: 1.1;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4rem; } }

.hero-subtitle {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--stone-500);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; margin-top: 2rem; } }

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; } }
.hero-actions .btn { width: 100%; }
@media (min-width: 640px) { .hero-actions .btn { width: auto; } }

.hero-links {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--stone-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.hero-links a { color: var(--primary); font-weight: 500; text-decoration: underline; }
.hero-links .divider { color: var(--stone-300); }

/* Phone Mockups */
.hero-mockups, .demo-mockups { margin-top: 4rem; display: flex; justify-content: center; position: relative; }
.phone {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
}
.phone-screen { border-radius: 28px; overflow: hidden; background: var(--white); aspect-ratio: 9/19; }
.phone-screen.dark { background: #111; }
.phone-screen iframe { width: 100%; height: 100%; border: none; }

.hero-mockups .phone-left { width: 180px; transform: rotate(-6deg) translateY(16px); }
.hero-mockups .phone-right { width: 200px; transform: rotate(3deg); z-index: 10; margin-left: -24px; }
@media (min-width: 640px) {
    .hero-mockups .phone-left { width: 220px; }
    .hero-mockups .phone-right { width: 240px; }
}
@media (min-width: 768px) {
    .hero-mockups .phone-left { width: 250px; }
    .hero-mockups .phone-right { width: 280px; }
}

/* --------------------------------------------------------------------------
   8. Trust Section
   -------------------------------------------------------------------------- */
.trust {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--stone-100);
    border-bottom: 1px solid var(--stone-100);
}
.trust-label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}
.trust-marquee { overflow: hidden; margin-bottom: 3rem; }
.trust-track {
    display: flex;
    gap: 4rem;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trust-brand {
    color: var(--stone-300);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (min-width: 640px) { .trust-brand { font-size: 1.25rem; } }

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (min-width: 768px) { .trust-stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-size: 2rem; font-weight: 700; color: var(--stone-900); }
@media (min-width: 640px) { .stat strong { font-size: 2.5rem; } }
.stat span { font-size: 0.875rem; color: var(--stone-500); }

/* --------------------------------------------------------------------------
   9. Features Section
   -------------------------------------------------------------------------- */
.features { padding: var(--section-py) 0; background: var(--stone-50); }
@media (max-width: 640px) { .features { padding: var(--section-py-sm) 0; } }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(245,245,244,0.5);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.feature-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); margin-bottom: 0.5rem; }
.feature-card p { color: var(--stone-500); font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   10. How It Works
   -------------------------------------------------------------------------- */
.how-it-works { padding: var(--section-py) 0; background: var(--white); }
@media (max-width: 640px) { .how-it-works { padding: var(--section-py-sm) 0; } }

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; text-align: center; }
.step-bg-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-weight: 800;
    color: var(--stone-100);
    line-height: 1;
    z-index: 0;
    user-select: none;
}
.step-icon {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}
.step-icon svg { width: 1.75rem; height: 1.75rem; }
.step h3 { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); margin-bottom: 0.5rem; }
.step p { color: var(--stone-500); font-size: 0.9375rem; }
.step-line { display: none; }
@media (min-width: 1024px) {
    .step-line {
        display: block;
        position: absolute;
        top: 2rem;
        left: calc(50% + 2.5rem);
        width: calc(100% - 5rem);
        height: 2px;
        background: var(--stone-100);
    }
}

/* --------------------------------------------------------------------------
   11. Live Demo Section
   -------------------------------------------------------------------------- */
.live-demo { padding: var(--section-py) 0; background: var(--stone-50); overflow: hidden; }
@media (max-width: 640px) { .live-demo { padding: var(--section-py-sm) 0; } }

.demo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.demo-content .section-label, .demo-content .section-title { text-align: left; }
.demo-desc { margin-top: 1rem; color: var(--stone-500); line-height: 1.7; }

.demo-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.demo-feature { display: flex; gap: 1rem; align-items: flex-start; }
.demo-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.demo-feature strong { display: block; color: var(--stone-900); margin-bottom: 0.25rem; }
.demo-feature p { font-size: 0.875rem; color: var(--stone-500); }

.demo-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .demo-actions { flex-direction: row; } }

.demo-mockups { justify-content: center; }
@media (min-width: 1024px) { .demo-mockups { justify-content: flex-end; } }
.demo-phone-1 { width: 200px; transform: rotate(-6deg) translateX(24px); z-index: 0; }
.demo-phone-2 { width: 220px; transform: rotate(3deg) translateX(-12px); z-index: 10; }
@media (min-width: 640px) { .demo-phone-1 { width: 230px; } .demo-phone-2 { width: 250px; } }

.demo-label {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-600);
}

/* --------------------------------------------------------------------------
   12. Why Choose Section
   -------------------------------------------------------------------------- */
.why-choose { padding: var(--section-py) 0; background: var(--white); }
@media (max-width: 640px) { .why-choose { padding: var(--section-py-sm) 0; } }

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.benefits h3, .comparison h3 { font-size: 1.25rem; font-weight: 600; color: var(--stone-900); margin-bottom: 1.5rem; }

.benefits-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .benefits-list { grid-template-columns: repeat(2, 1fr); } }
.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--stone-50);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius);
}
.benefit svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }
.benefit span { font-weight: 500; color: var(--stone-700); }

.comparison-table { background: var(--stone-50); border-radius: var(--radius-xl); padding: 1.5rem; border: 1px solid var(--stone-100); }
.comparison-header, .comparison-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; }
.comparison-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--stone-200);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stone-500);
}
.comparison-header span:not(:first-child) { width: 4rem; text-align: center; }
.comparison-row { padding: 0.75rem 0; border-bottom: 1px solid var(--stone-100); }
.comparison-row:last-child { border-bottom: none; }
.comparison-row span { font-size: 0.875rem; color: var(--stone-700); }
.icon-no, .icon-yes { width: 4rem; display: flex; justify-content: center; }
.icon-no svg { width: 1.25rem; height: 1.25rem; color: var(--red); background: #fef2f2; border-radius: var(--radius-full); padding: 0.25rem; }
.icon-yes svg { width: 1.25rem; height: 1.25rem; color: var(--primary); background: var(--primary-100); border-radius: var(--radius-full); padding: 0.25rem; }

/* --------------------------------------------------------------------------
   13. Free Trial CTA
   -------------------------------------------------------------------------- */
.free-trial-cta { padding: var(--section-py) 0; background: var(--stone-50); }
@media (max-width: 640px) { .free-trial-cta { padding: var(--section-py-sm) 0; } }

.trial-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (min-width: 640px) { .trial-card { padding: 4rem 3rem; } }

.trial-bg::before, .trial-bg::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
}
.trial-bg::before { top: 0; right: 0; width: 16rem; height: 16rem; transform: translate(50%, -50%); }
.trial-bg::after { bottom: 0; left: 0; width: 20rem; height: 20rem; transform: translate(-50%, 50%); }

.trial-content { position: relative; z-index: 1; }
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.trial-badge svg { width: 1rem; height: 1rem; }
.trial-content h2 { font-size: 1.75rem; font-weight: 700; color: var(--white); max-width: 640px; margin: 0 auto; }
@media (min-width: 640px) { .trial-content h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .trial-content h2 { font-size: 2.75rem; } }
.trial-content p { margin-top: 1rem; font-size: 1.125rem; color: var(--primary-100); max-width: 500px; margin-left: auto; margin-right: auto; }
.trial-content .btn { margin-top: 2rem; }

.trial-badges {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.trial-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-100);
    font-size: 0.875rem;
}
.trial-badges svg { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   14. Pricing Section
   -------------------------------------------------------------------------- */
.pricing { padding: var(--section-py) 0; background: var(--white); }
@media (max-width: 640px) { .pricing { padding: var(--section-py-sm) 0; } }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}
.pricing-card:hover { border-color: var(--stone-300); box-shadow: var(--shadow-md); }
.pricing-card.popular {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(13,148,136,0.3);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.pricing-header { text-align: center; margin-bottom: 1.5rem; }
.pricing-header h3 { font-size: 1.25rem; font-weight: 600; }
.pricing-card.popular .pricing-header h3 { color: var(--white); }
.pricing-header p { font-size: 0.875rem; color: var(--stone-500); margin-top: 0.25rem; }
.pricing-card.popular .pricing-header p { color: var(--primary-100); }

.price { display: flex; align-items: baseline; justify-content: center; gap: 0.25rem; margin-top: 1.5rem; }
.price strong { font-size: 2.5rem; font-weight: 700; }
.pricing-card.popular .price strong { color: var(--white); }
.price span { font-size: 1rem; color: var(--stone-500); }
.pricing-card.popular .price span { color: var(--primary-100); }

.pricing-features { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--stone-600); }
.pricing-card.popular .pricing-features li { color: var(--primary-50); }
.pricing-features li svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }
.pricing-card.popular .pricing-features li svg { color: var(--white); }

.pricing-note { margin-top: 2rem; text-align: center; font-size: 0.875rem; color: var(--stone-500); }

/* --------------------------------------------------------------------------
   15. FAQ Section
   -------------------------------------------------------------------------- */
.faq { padding: var(--section-py) 0; background: var(--stone-50); }
@media (max-width: 640px) { .faq { padding: var(--section-py-sm) 0; } }

.faq-list { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { background: rgba(13,148,136,0.02); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-900);
}
.faq-question:hover { color: var(--primary); }
.faq-question svg { width: 1.25rem; height: 1.25rem; color: var(--stone-400); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer { display: none; padding: 0 1.5rem 1.25rem; }
.faq-item.active .faq-answer { display: block; }
.faq-answer p { color: var(--stone-500); line-height: 1.7; }

.faq-help { margin-top: 2rem; text-align: center; color: var(--stone-500); }
.faq-help a { color: var(--primary); font-weight: 500; text-decoration: underline; }

/* --------------------------------------------------------------------------
   16. Final CTA Section
   -------------------------------------------------------------------------- */
.final-cta { padding: var(--section-py) 0; background: var(--white); }
@media (max-width: 640px) { .final-cta { padding: var(--section-py-sm) 0; } }

.cta-card {
    background: var(--stone-900);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (min-width: 640px) { .cta-card { padding: 4rem 3rem; } }
@media (min-width: 1024px) { .cta-card { padding: 5rem 4rem; } }

.cta-bg::before, .cta-bg::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
}
.cta-bg::before { top: 0; left: 0; width: 20rem; height: 20rem; background: rgba(13,148,136,0.3); transform: translate(-50%, -50%); }
.cta-bg::after { bottom: 0; right: 0; width: 24rem; height: 24rem; background: rgba(20,184,166,0.2); transform: translate(50%, 50%); }

.cta-content { position: relative; z-index: 1; }
.cta-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}
.cta-icon svg { width: 2rem; height: 2rem; color: var(--primary-light); }
.cta-content h2 { font-size: 1.75rem; font-weight: 700; color: var(--white); max-width: 700px; margin: 0 auto; }
@media (min-width: 640px) { .cta-content h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-content h2 { font-size: 2.75rem; } }
.cta-content p { margin-top: 1.5rem; font-size: 1.125rem; color: var(--primary-100); max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-content .btn { margin-top: 2rem; }
.cta-note { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--stone-900); color: var(--white); padding: 4rem 0; }
@media (min-width: 640px) { .footer { padding: 5rem 0; } }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; } }

.footer-brand { grid-column: span 2; }
@media (min-width: 1024px) { .footer-brand { grid-column: span 1; } }
.footer .logo-icon { background: var(--primary); }
.footer .logo-text { color: var(--white); }
.footer-desc { margin-top: 1rem; font-size: 0.875rem; color: var(--stone-400); line-height: 1.7; max-width: 300px; }

.footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--stone-400); }
.footer-contact a:hover { color: var(--primary-light); }
.footer-contact svg { width: 1rem; height: 1rem; }

.footer-links h4 { font-weight: 600; margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--stone-400); }
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--stone-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.875rem; color: var(--stone-500); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--stone-500); }
.footer-social a:hover { color: var(--primary-light); }
.footer-social svg { width: 1.25rem; height: 1.25rem; }

/* --------------------------------------------------------------------------
   18. Page Hero (Static Pages)
   -------------------------------------------------------------------------- */
.page-hero {
    padding: 8rem 0 3rem;
    background: var(--stone-50);
    text-align: center;
}
.page-hero-lg { padding-bottom: 4rem; }
.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
    margin-top: 0.5rem;
}
@media (min-width: 640px) { .page-title { font-size: 3rem; } }
@media (min-width: 1024px) { .page-title { font-size: 3.5rem; } }
.page-subtitle { margin-top: 1rem; font-size: 1.125rem; color: var(--stone-500); max-width: 600px; margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   19. Auth Pages
   -------------------------------------------------------------------------- */
.auth-page { min-height: 100vh; display: flex; align-items: center; padding: 2rem 0; }
.auth-page-centered { justify-content: center; background: var(--stone-50); }

.auth-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 1024px) { .auth-container { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.auth-form-side { display: flex; align-items: center; justify-content: center; }
.auth-form-wrapper { width: 100%; max-width: 420px; padding: 2rem 0; }

.auth-title { font-size: 1.75rem; font-weight: 700; color: var(--stone-900); margin-bottom: 0.5rem; }
.auth-subtitle { color: var(--stone-500); margin-bottom: 2rem; }

.auth-form { display: flex; flex-direction: column; gap: 1.25rem; }

.input-group { position: relative; display: flex; align-items: center; }
.input-group > svg { position: absolute; left: 1rem; width: 1.25rem; height: 1.25rem; color: var(--stone-400); pointer-events: none; }
.input-group input, .form-group select, .form-group textarea
{ width: 100%; padding: 0.875rem 1rem 0.875rem 3rem; font-size: 0.9375rem; border: 1px solid var(--stone-200); border-radius: var(--radius); background: var(--white); transition: var(--transition); }
.form-group select, .form-group textarea { padding-left: 1rem; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.25rem; }
.form-group textarea { resize: vertical; min-height: 120px; } .input-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); } .input-group input::placeholder { color: var(--stone-400); }
.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--stone-400);
    padding: 0.25rem;
    display: flex;
}
.toggle-password:hover { color: var(--stone-600); }
.toggle-password svg { width: 1.25rem; height: 1.25rem; }

.error { font-size: 0.8125rem; color: var(--red); }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}
.checkbox input {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.checkbox span { color: var(--stone-600); line-height: 1.5; }
.checkbox a { color: var(--primary); font-weight: 500; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--stone-200); }
.auth-divider span { font-size: 0.875rem; color: var(--stone-400); }

.auth-footer { margin-top: 1.5rem; text-align: center; font-size: 0.9375rem; color: var(--stone-600); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.auth-icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.auth-icon-box svg { width: 1.75rem; height: 1.75rem; }

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}
.alert-success { background: #f0fdf4; color: #166534; }
.alert svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* Auth Info Side */
.auth-info-side {
    display: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: 3rem;
}
@media (min-width: 1024px) { .auth-info-side { display: flex; align-items: center; } }

.auth-info-content { color: var(--white); }
.auth-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.auth-info-badge svg { width: 1rem; height: 1rem; }
.auth-info-content h2 { font-size: 2rem; font-weight: 700; line-height: 1.2; margin-bottom: 2rem; }

.auth-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.auth-features li { display: flex; align-items: center; gap: 0.75rem; }
.auth-features li svg { width: 1.25rem; height: 1.25rem; color: var(--primary-light); flex-shrink: 0; }

.auth-testimonial {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.auth-testimonial p { font-style: italic; opacity: 0.9; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}
.testimonial-author strong { display: block; font-size: 0.875rem; }
.testimonial-author span { font-size: 0.8125rem; opacity: 0.8; }

.auth-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.auth-stats .stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
}
.auth-stats .stat strong { display: block; font-size: 1.5rem; }
.auth-stats .stat span { font-size: 0.75rem; opacity: 0.8; }

/* --------------------------------------------------------------------------
   20. Contact Page
   -------------------------------------------------------------------------- */
.contact-section { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
}
@media (min-width: 640px) { .contact-form-card { padding: 2.5rem; } }
.contact-form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-form-card > p { color: var(--stone-500); margin-bottom: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.info-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.info-card > p { color: var(--stone-500); font-size: 0.9375rem; margin-bottom: 1rem; }

.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-item { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-icon svg { width: 1.25rem; height: 1.25rem; }
.info-item strong { display: block; font-size: 0.875rem; color: var(--stone-900); margin-bottom: 0.125rem; }
.info-item a, .info-item span { font-size: 0.875rem; color: var(--stone-500); }
.info-item a:hover { color: var(--primary); }

.social-card h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: var(--stone-100);
    color: var(--stone-600);
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.social-links svg { width: 1.125rem; height: 1.125rem; }

.contact-faq { padding: 4rem 0; background: var(--stone-50); }
.faq-mini-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .faq-mini-grid { grid-template-columns: repeat(3, 1fr); } }
.faq-mini-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--stone-100);
}
.faq-mini-card svg { width: 1.5rem; height: 1.5rem; color: var(--primary); margin-bottom: 0.75rem; }
.faq-mini-card h4 { font-size: 1rem; font-weight: 600; color: var(--stone-900); margin-bottom: 0.5rem; }
.faq-mini-card p { font-size: 0.875rem; color: var(--stone-500); }

/* --------------------------------------------------------------------------
   21. About Page
   -------------------------------------------------------------------------- */
.about-story { padding: 4rem 0; }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.story-content .section-label, .story-content .section-title { text-align: left; }
.story-content p { margin-top: 1rem; color: var(--stone-600); line-height: 1.8; }

.story-card {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
}
.story-icon {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-full);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}
.story-icon svg { width: 2rem; height: 2rem; color: var(--primary); }
.story-card strong { display: block; font-size: 3rem; font-weight: 700; color: var(--primary-dark); }
.story-card span { color: var(--primary); }

.about-values { padding: 4rem 0; background: var(--stone-50); }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.value-icon svg { width: 1.5rem; height: 1.5rem; }
.value-card h3 { font-size: 1rem; font-weight: 600; color: var(--stone-900); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--stone-500); }

.about-stats { padding: 4rem 0; background: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; color: var(--white); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid .stat strong { display: block; font-size: 2.5rem; font-weight: 700; }
@media (min-width: 640px) { .stats-grid .stat strong { font-size: 3rem; } }
.stats-grid .stat span { font-size: 0.9375rem; opacity: 0.9; }

.about-team { padding: 4rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.team-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}
.team-card h4 { font-size: 1rem; font-weight: 600; color: var(--stone-900); }
.team-role { font-size: 0.8125rem; color: var(--primary); font-weight: 500; display: block; margin-top: 0.125rem; }
.team-card > p { font-size: 0.8125rem; color: var(--stone-500); margin-top: 0.5rem; }

.about-cta { padding: 4rem 0; background: var(--stone-50); }
.cta-box {
    background: linear-gradient(135deg, var(--stone-800) 0%, var(--stone-900) 100%);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
}
@media (min-width: 640px) { .cta-box { padding: 4rem 3rem; } }
.cta-box h2 { font-size: 1.75rem; font-weight: 700; }
@media (min-width: 640px) { .cta-box h2 { font-size: 2.25rem; } }
.cta-box p { margin-top: 1rem; color: var(--primary-100); font-size: 1.125rem; }
.cta-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* --------------------------------------------------------------------------
   22. Blog Pages
   -------------------------------------------------------------------------- */
.blog-featured { padding: 3rem 0; }
.featured-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}
@media (min-width: 768px) { .featured-card { grid-template-columns: 1fr 1fr; } }

.featured-image, .card-image { position: relative; }
.image-placeholder {
    min-height: 200px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-placeholder svg { width: 3rem; height: 3rem; color: var(--primary-light); }
.image-placeholder.large { min-height: 400px; border-radius: var(--radius-xl); }

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
}

.featured-content { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.post-meta { display: flex; gap: 1rem; margin-bottom: 1rem; }
.post-meta span { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--stone-500); }
.post-meta svg { width: 0.875rem; height: 0.875rem; }

.featured-content h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
@media (min-width: 640px) { .featured-content h2 { font-size: 1.75rem; } }
.featured-content h2 a { color: var(--stone-900); }
.featured-content h2 a:hover { color: var(--primary); }
.featured-content > p { margin-top: 1rem; color: var(--stone-500); line-height: 1.7; }
.featured-content .btn { margin-top: 1.5rem; align-self: flex-start; }

.blog-categories { padding-bottom: 2rem; }
.categories-list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.category-btn {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-600);
    cursor: pointer;
    transition: var(--transition);
}
.category-btn:hover { border-color: var(--primary); color: var(--primary); }
.category-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.blog-grid-section { padding: 2rem 0 4rem; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .blog-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-image .image-placeholder { min-height: 180px; }
.card-content { padding: 1.5rem; }
.card-content h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.card-content h3 a { color: var(--stone-900); }
.card-content h3 a:hover { color: var(--primary); }
.card-content > p { font-size: 0.875rem; color: var(--stone-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}
.read-more:hover { color: var(--primary-dark); }
.read-more svg { width: 1rem; height: 1rem; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-600);
}
.pagination-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination-btn svg { width: 1rem; height: 1rem; }
.pagination-numbers { display: flex; gap: 0.25rem; }
.pagination-numbers button {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--stone-200);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-600);
}
.pagination-numbers button:hover { border-color: var(--primary); color: var(--primary); }
.pagination-numbers button.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pagination-numbers span { padding: 0 0.5rem; color: var(--stone-400); }

.blog-newsletter { padding: 3rem 0 4rem; }
.newsletter-card {
    background: var(--stone-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) { .newsletter-card { flex-direction: row; text-align: left; padding: 2rem 3rem; } }
.newsletter-content { display: flex; align-items: center; gap: 1rem; }
.newsletter-content > svg { width: 2.5rem; height: 2.5rem; color: var(--primary); flex-shrink: 0; }
.newsletter-content h3 { font-size: 1.125rem; font-weight: 600; }
.newsletter-content p { font-size: 0.875rem; color: var(--stone-500); }
.newsletter-form { display: flex; gap: 0.75rem; width: 100%; max-width: 400px; }
.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background: var(--white);
}
.newsletter-form input:focus { outline: none; border-color: var(--primary); }

/* Blog Post */
.blog-post-hero { padding: 8rem 0 2rem; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: 1.5rem;
}
.back-link:hover { color: var(--primary); }
.back-link svg { width: 1rem; height: 1rem; }
.blog-post-hero .category-badge { position: static; display: inline-block; margin-bottom: 1rem; }
.post-title { font-size: 2rem; font-weight: 700; color: var(--stone-900); line-height: 1.3; }
@media (min-width: 640px) { .post-title { font-size: 2.5rem; } }

.post-meta-full { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .post-meta-full { flex-direction: row; justify-content: space-between; align-items: center; } }
.author { display: flex; align-items: center; gap: 0.75rem; }
.author .avatar { background: var(--primary-100); color: var(--primary-dark); }
.author strong { display: block; font-size: 0.9375rem; }
.author span { font-size: 0.8125rem; color: var(--stone-500); }
.meta-info { display: flex; gap: 1rem; }
.meta-info span { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--stone-500); }
.meta-info svg { width: 0.875rem; height: 0.875rem; }

.blog-post-image { padding: 2rem 0; }
.blog-post-content { padding: 2rem 0 4rem; }

.article-content { font-size: 1.0625rem; line-height: 1.8; color: var(--stone-700); }
.article-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--stone-900); margin: 2rem 0 1rem; }
.article-content h3 { font-size: 1.25rem; font-weight: 600; color: var(--stone-900); margin: 1.5rem 0 0.75rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content a { color: var(--primary); }
.article-content a:hover { text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--stone-200); }
.post-tags > span { font-size: 0.875rem; font-weight: 600; color: var(--stone-700); }
.tag { background: var(--stone-100); padding: 0.375rem 0.75rem; border-radius: var(--radius-full); font-size: 0.8125rem; color: var(--stone-600); }
.tag:hover { background: var(--primary-50); color: var(--primary); }

.post-share { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.post-share > span { font-size: 0.875rem; font-weight: 600; color: var(--stone-700); }
.share-buttons { display: flex; gap: 0.5rem; }
.share-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-full);
    background: var(--stone-100);
    border: none;
    color: var(--stone-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.share-btn:hover { background: var(--primary); color: var(--white); }
.share-btn svg { width: 1rem; height: 1rem; }

.author-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--stone-50);
    border-radius: var(--radius);
    margin-top: 2rem;
}
@media (min-width: 640px) { .author-box { flex-direction: row; align-items: flex-start; padding: 2rem; } }
.author-box .avatar.large { width: 4rem; height: 4rem; font-size: 1.25rem; flex-shrink: 0; background: var(--primary-100); color: var(--primary-dark); }
.author-info h4 { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); }
.author-info .role { font-size: 0.875rem; color: var(--primary); margin-top: 0.125rem; display: block; }
.author-info > p { font-size: 0.9375rem; color: var(--stone-500); margin-top: 0.5rem; line-height: 1.6; }

.blog-related { padding: 4rem 0; background: var(--stone-50); }

/* --------------------------------------------------------------------------
   23. Legal Pages
   -------------------------------------------------------------------------- */
.legal-page { padding: 8rem 0 4rem; }
.legal-header { text-align: center; margin-bottom: 3rem; }
.legal-header h1 { font-size: 2.5rem; font-weight: 700; margin-top: 0.5rem; }
@media (min-width: 640px) { .legal-header h1 { font-size: 3rem; } }
.legal-date { margin-top: 1rem; font-size: 0.875rem; color: var(--stone-500); }

.legal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
}
@media (min-width: 640px) { .legal-content { padding: 3rem; } }
.legal-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--stone-900); margin: 2rem 0 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.125rem; font-weight: 600; color: var(--stone-800); margin: 1.5rem 0 0.75rem; }
.legal-content p { color: var(--stone-600); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content li { color: var(--stone-600); line-height: 1.8; margin-bottom: 0.5rem; list-style-type: disc; }
.legal-content a { color: var(--primary); font-weight: 500; }
.legal-content a:hover { text-decoration: underline; }

.legal-footer { margin-top: 2rem; text-align: center; }

/* --------------------------------------------------------------------------
   24. Error Pages
   -------------------------------------------------------------------------- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stone-50);
    text-align: center;
    padding: 2rem;
}
.error-content { max-width: 500px; }
.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-content h1 { font-size: 2rem; font-weight: 700; color: var(--stone-900); margin-top: 1rem; }
.error-content p { color: var(--stone-500); margin-top: 1rem; }
.error-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .error-actions { flex-direction: row; justify-content: center; } }
.pricing { padding: var(--section-py) 0; background: var(--white); }
@media (max-width: 640px) { .pricing { padding: var(--section-py-sm) 0; } }

/* Pricing Toggle */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}
.pricing-toggle-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--stone-400);
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
}
.pricing-toggle-label.active { color: var(--stone-900); }
.pricing-toggle {
    position: relative;
    width: 3.25rem;
    height: 1.75rem;
    background: var(--stone-200);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}
.pricing-toggle.active { background: var(--primary); }
.pricing-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.pricing-toggle.active .pricing-toggle-knob { transform: translateX(1.5rem); }
.pricing-toggle-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-50);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

/* Yearly note under price */
.price-yearly-note {
    font-size: 0.8125rem;
    color: var(--stone-400);
    margin-top: 0.375rem;
}
.pricing-card.popular .price-yearly-note { color: var(--primary-100); }
