/* ============================================
   CreaGestionale.it — Landing Page Design System
   LIGHT theme: clean, professional, modern 2026
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --secondary: #059669;
    --secondary-dark: #047857;
    --secondary-light: #10b981;
    --secondary-50: #ecfdf5;
    --secondary-100: #d1fae5;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --bg-blue: #eff6ff;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary-200);
    color: var(--primary-dark);
}

/* ============================================
   Navbar
   ============================================ */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.nav-logo-text {
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-link {
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.nav-menu-icon {
    color: var(--text-primary);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--primary);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary-lg:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid var(--primary-200);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--secondary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.3);
}

.btn-green:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 80px 0;
}

.section-lg {
    padding: 100px 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-blue {
    background: var(--bg-blue);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--primary-200);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 40%, #ecfdf5 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(5, 150, 105, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 160px 0 100px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 180px 0 120px;
    }
    .hero-title {
        font-size: 4rem;
    }
}

/* Hero grid pattern */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Hero floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08), transparent);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero mock screenshot */
.hero-screenshot {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border);
    background: var(--bg-white);
}

.hero-screenshot-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

.hero-screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-screenshot-body {
    padding: 24px;
    min-height: 280px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Social Proof Bar
   ============================================ */
.social-proof-bar {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 0;
}

.proof-stat {
    text-align: center;
    padding: 8px 0;
}

.proof-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.proof-stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card-icon.blue {
    background: var(--primary-50);
    color: var(--primary);
}

.feature-card-icon.green {
    background: var(--secondary-50);
    color: var(--secondary);
}

.feature-card-icon.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.feature-card-icon.orange {
    background: #fff7ed;
    color: #ea580c;
}

.feature-card-icon.rose {
    background: #fff1f2;
    color: #e11d48;
}

.feature-card-icon.amber {
    background: #fffbeb;
    color: #d97706;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Sector Cards
   ============================================ */
.sector-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.sector-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.sector-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--primary-50);
}

.sector-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sector-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--bg-gray);
    border-radius: 100px;
    padding: 4px;
    gap: 0;
}

.pricing-toggle-btn {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--text-secondary);
}

.pricing-toggle-btn.active {
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 2px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'Piu popolare';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px;
}

.pricing-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-feature .material-icons {
    font-size: 1.125rem;
    color: var(--secondary);
}

.pricing-feature.disabled {
    opacity: 0.4;
}

.pricing-feature.disabled .material-icons {
    color: var(--text-tertiary);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 28px;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-200);
    font-family: Georgia, serif;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars .material-icons {
    font-size: 1.125rem;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ============================================
   Impact Numbers / Counters
   ============================================ */
.impact-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.impact-stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.impact-number {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.impact-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    font-weight: 500;
}

/* ============================================
   Steps / How it works
   ============================================ */
.step-card {
    position: relative;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 55px;
        right: -40px;
        width: 80px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-200), transparent);
        z-index: 1;
    }
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-200);
}

.faq-item.active {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 16px;
}

.faq-question .material-icons {
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ============================================
   Blog Preview Cards
   ============================================ */
.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 50%, #0d9488 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    background: #fff;
    color: var(--primary);
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================================
   Footer
   ============================================ */
.landing-footer {
    background: var(--bg-light);
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
}

.footer-social:hover {
    color: var(--primary);
    border-color: var(--primary-200);
    background: var(--primary-50);
}

/* ============================================
   Cookie Consent
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    animation: slideUp 0.4s ease;
}

.cookie-main,
.cookie-customize {
    transition: var(--transition);
}

.cookie-category {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-toggle {
    width: 44px;
    height: 24px;
    border-radius: 100px;
    background: var(--bg-gray);
    border: 2px solid var(--border);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}

.cookie-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
}

.cookie-toggle.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-toggle-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.cookie-toggle.active .cookie-toggle-dot {
    transform: translateX(20px);
}

.cookie-btn-primary {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-primary:hover {
    background: var(--primary-dark);
}

.cookie-btn-outline {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-outline:hover {
    border-color: var(--primary-200);
    color: var(--primary);
    background: var(--primary-50);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Contact Form
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.legal-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ============================================
   Pricing Compare Table
   ============================================ */
.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
}

.compare-table th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-light);
}

.compare-table td {
    color: var(--text-secondary);
}

.compare-table tr:hover td {
    background: var(--bg-light);
}

/* ============================================
   Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Counter animation */
.counter-animate {
    display: inline-block;
}

/* ============================================
   Pain Points Section
   ============================================ */
.pain-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    transition: var(--transition);
}

.pain-card:hover {
    box-shadow: var(--shadow-md);
}

.pain-card .pain-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }

    .section-lg {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .impact-number {
        font-size: 2.25rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .hero-screenshot {
        margin-top: 40px;
    }

    .cookie-consent {
        padding: 16px 0;
    }
}

/* ============================================
   Page-specific: Contact page map
   ============================================ */
.contact-map-placeholder {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    background: var(--bg-gray);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Utilities
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
}

.bg-pattern {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
}

/* ============================================
   Mega Menu
   ============================================ */
.mega-menu-dropdown {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 999;
}

.mega-menu-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-category-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-100);
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.mega-menu-link:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.mega-menu-icon {
    font-family: 'Material Icons';
    font-size: 1rem;
    color: var(--text-tertiary);
    transition: color 0.2s;
    width: 20px;
    text-align: center;
}

.mega-menu-link:hover .mega-menu-icon {
    color: var(--primary);
}

/* Mobile Accordion */
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-accordion-content.open {
    overflow: visible;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-sub-link:hover {
    background: var(--primary-50);
    color: var(--primary);
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    padding: 12px 0;
    font-size: 0.8125rem;
}

.breadcrumbs a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span.separator {
    color: var(--text-tertiary);
    margin: 0 6px;
}

.breadcrumbs span.current {
    color: var(--text-secondary);
    font-weight: 500;
}
