/* Components CSS - Visual polish and refined styling */

/* ===== TYPOGRAPHY SYSTEM ===== */
:root {
    /* Font families */
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    
    /* Color palette - calm, professional, enterprise-friendly */
    --color-primary: #1a365d;      /* Deep blue - trustworthy, professional */
    --color-primary-light: #2d4a8a;
    --color-secondary: #4a5568;    /* Gray-blue - neutral, calm */
    --color-accent: #2b6cb0;       /* Bright blue - for CTAs and highlights */
    --color-accent-light: #4299e1;
    --color-text: #2d3748;         /* Dark gray for body text */
    --color-text-light: #718096;   /* Medium gray for subtitles */
    --color-text-lighter: #a0aec0; /* Light gray for secondary text */
    --color-background: #ffffff;
    --color-background-alt: #f7fafc; /* Light gray background */
    --color-border: #e2e8f0;
    --color-border-light: #edf2f7;
    
    /* Cinematic hero theme colors */
    --color-cinematic-dark: #0a0a0f;
    --color-cinematic-navy: #1a1a2e;
    --color-cinematic-accent: #3b82f6;
    --color-cinematic-glow: rgba(59, 130, 246, 0.15);
    --color-cinematic-text: #f8fafc;
    --color-cinematic-text-light: #cbd5e1;
    
    /* Premium dark theme colors for authority/offer sections */
    --color-cinematic-gold: #d4af37;
    --color-cinematic-gold-light: #f4e4a6;
    --color-cinematic-gold-glow: rgba(212, 175, 55, 0.2);
    --color-cinematic-glass: rgba(255, 255, 255, 0.05);
    --color-cinematic-glass-border: rgba(255, 255, 255, 0.1);
    --color-cinematic-dark-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    
    /* RGB values for opacity calculations */
    --color-primary-rgb: 26, 54, 93;
    --color-accent-rgb: 43, 108, 176;
    --color-cinematic-accent-rgb: 59, 130, 246;
    --color-cinematic-gold-rgb: 212, 175, 55;
    
    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows - More refined */
    --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 -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-cinematic: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.2);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 24px rgba(0, 0, 0, 0.12);
    
    /* Animation timing */
    --ease-cinematic: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base typography */
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

/* UI Section Headings - Sans-serif for clean UI */
.section-title,
.booking-title,
.step-title,
.service-title,
h2.section-title,
h3.section-title {
    font-family: var(--font-sans);
    font-weight: 700; /* Changed from 600 to 700 for bolder headings */
    letter-spacing: -0.02em;
}

/* Optional polish for high-end look */
.section-title {
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--color-cinematic-text);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-xl);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-weight: 700; /* Added explicit font-weight */
}

.booking-title {
    font-size: 2.75rem;
    color: var(--color-primary);
}

.step-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.service-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* Body text */
.hero-subtitle {
    font-size: 1.375rem;
    color: var(--color-cinematic-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-tertiary {
    margin-top: var(--space-lg);
    font-size: 0.9375rem;
    color: var(--color-text-lighter);
}

.text-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.text-link:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

.text-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.step-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

.service-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

.booking-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
}

.booking-note {
    font-size: 0.875rem;
    color: var(--color-text-lighter);
}

.footer-tagline {
    color: var(--color-text-lighter);
    line-height: 1.6;
}

.footer-contact {
    color: var(--color-text-lighter);
}

.footer-copyright {
    color: var(--color-text-lighter);
    font-size: 0.875rem;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background-color: var(--color-accent);
    color: white;
}

/* ===== NAVIGATION ===== */
.nav-link {
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ===== GALLERY ENHANCEMENTS ===== */
.gallery-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.gallery-initialized .gallery-item {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.gallery-paused .gallery-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item {
    background: linear-gradient(135deg, var(--color-background-alt), white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    backface-visibility: hidden;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(var(--color-accent-rgb), 0.05), 
        rgba(var(--color-primary-rgb), 0.02));
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
    transform: scale(1.05) !important;
}

.gallery-item[data-depth]::after {
    content: attr(data-depth);
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    opacity: 0.5;
}

.gallery-fallback {
    background: linear-gradient(135deg, var(--color-background-alt), white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.gallery-fallback::before {
    content: 'Strategic Digital Solutions';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-light);
    opacity: 0.8;
    text-align: center;
    line-height: 1.4;
    max-width: 80%;
}

/* Gallery loading state */
.gallery-loading .gallery-3d {
    opacity: 0.5;
    filter: blur(2px);
}

.gallery-loading .gallery-item {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* ===== PROCESS STEPS ===== */
.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.process-step:hover .step-number {
    color: var(--color-accent);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-border);
    margin-bottom: var(--space-sm);
    transition: color 0.3s ease;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

/* ===== PROOF SECTION ===== */
.case-studies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin: var(--space-2xl) 0 var(--space-3xl);
}

.case-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-cinematic);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-cinematic);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent-light);
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.case-header h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.case-industry {
    background-color: var(--color-background-alt);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-content {
    flex: 1;
    margin-bottom: var(--space-xl);
}

.case-content p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.case-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.case-metrics {
    display: flex;
    gap: var(--space-lg);
    margin-top: auto;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.client-logos {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.logos-title {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: var(--space-xl);
    font-weight: 500;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.logo-item {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    object-fit: contain;
    padding: var(--space-lg);
    width: 100%;
    height: auto;
    max-height: 120px;
}

.logo-item:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

/* Responsive styles for case studies */
@media (max-width: 1024px) {
    .case-studies {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .case-studies {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-card {
        padding: var(--space-xl);
    }
    
    .case-header h3 {
        font-size: 1.125rem;
    }
    
    .case-content p {
        font-size: 0.9rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
}

/* ===== BOOKING SECTION ===== */
.booking {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.booking-title,
.booking-subtitle {
    color: white;
}

.booking .btn-primary {
    background-color: white;
    color: var(--color-primary);
}

.booking .btn-primary:hover {
    background-color: var(--color-background-alt);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.booking-note {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-primary);
    color: white;
}

.footer .logo {
    color: white;
}

/* ===== FOCUS STATES ===== */
a:focus,
button:focus {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 3px;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: white;
    padding: var(--space-sm) var(--space-md);
    z-index: 1000;
    border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
    top: 0;
}

/* ===== CINEMATIC HERO ENHANCEMENTS ===== */
.hero .btn-primary {
    background: linear-gradient(135deg, var(--color-cinematic-accent) 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: var(--shadow-glow), 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-cinematic);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s var(--ease-cinematic);
}

.hero .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero .btn-primary:hover::before {
    left: 100%;
}

.hero .btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    transition: transform 0.1s ease;
}

.hero .btn-secondary {
    background: transparent;
    color: var(--color-cinematic-text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.4s var(--ease-cinematic);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-cinematic-text);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Cinematic animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-title {
    animation: fadeUp 0.8s var(--ease-cinematic) 0.2s both;
}

.hero-subtitle {
    animation: fadeUp 0.8s var(--ease-cinematic) 0.4s both;
}

.hero-cta {
    animation: fadeUp 0.8s var(--ease-cinematic) 0.6s both;
}

/* Gallery cinematic enhancements */
.hero-gallery {
    animation: fadeIn 1s var(--ease-cinematic) 0.8s both;
}

.gallery-item {
    animation: fadeIn 0.6s var(--ease-cinematic) both;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: var(--space-xl);
}

/* ===== NEW SECTIONS STYLES ===== */

/* Authority/Positioning Section */
#authority {
    background-color: var(--color-background-alt);
    padding: var(--space-3xl) 0;
}

.authority-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#authority h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.authority-lead {
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

#authority p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

#authority .book-call {
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#authority .book-call:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Systems We Engineer Section */
#systems {
    padding: var(--space-3xl) 0;
}

#systems h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.system-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-cinematic);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-cinematic);
}

.system-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent-light);
}

.system-card:hover::before {
    transform: scaleX(1);
}

.system-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.system-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    flex-grow: 1;
}

.system-card .book-call {
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.system-card .book-call:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Example Systems Section */
#examples {
    background-color: var(--color-background-alt);
    padding: var(--space-3xl) 0;
}

#examples h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.example-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-cinematic);
    position: relative;
    overflow: hidden;
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-cinematic);
}

.example-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent-light);
}

.example-card:hover::before {
    transform: scaleX(1);
}

.example-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.example-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Final Conversion CTA Section */
#cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#cta h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--space-lg);
}

#cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

#cta .book-call {
    background-color: white;
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#cta .book-call:hover {
    background-color: var(--color-background-alt);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* ===== PREMIUM DARK THEME SECTIONS ===== */

/* Authority Section - Premium Dark Theme */
section.authority {
    background: var(--color-cinematic-dark-gradient);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
    color: var(--color-cinematic-text);
}

section.authority::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-cinematic-gold), 
        transparent);
    opacity: 0.5;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.authority-item {
    background: var(--color-cinematic-glass);
    border: 1px solid var(--color-cinematic-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-cinematic);
    position: relative;
    overflow: hidden;
}

.authority-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-cinematic-gold), 
        var(--color-cinematic-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-cinematic);
}

.authority-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                var(--color-cinematic-gold-glow);
    border-color: var(--color-cinematic-gold);
}

.authority-item:hover::before {
    transform: scaleX(1);
}

.authority-item h3 {
    font-size: 1.5rem;
    color: var(--color-cinematic-text);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.authority-item p {
    color: var(--color-cinematic-text-light);
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Offer Section - Premium List System */
section.offer {
    background: var(--color-cinematic-dark-gradient);
    padding: var(--space-3xl) 0;
    position: relative;
    color: var(--color-cinematic-text);
}

section.offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-cinematic-gold), 
        transparent);
    opacity: 0.5;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: var(--space-2xl) 0 0 0;
    max-width: 800px;
}

.offer-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-cinematic-glass);
    border: 1px solid var(--color-cinematic-glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-cinematic);
}

.offer-list li:hover {
    transform: translateX(8px);
    border-color: var(--color-cinematic-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
                var(--color-cinematic-gold-glow);
}

.offer-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, 
        var(--color-cinematic-gold), 
        var(--color-cinematic-gold-light));
    color: var(--color-cinematic-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.offer-list li h4 {
    font-size: 1.25rem;
    color: var(--color-cinematic-text);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.offer-list li p {
    color: var(--color-cinematic-text-light);
    line-height: 1.6;
    font-size: 1.125rem;
}

/* Smooth transition from hero to sections */
#hero + section.authority {
    margin-top: 0;
    padding-top: var(--space-3xl);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: var(--space-lg);
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: var(--space-xl);
    }
    
    .section-title,
    .booking-title {
        font-size: 2rem;
    }
    
    .systems-grid,
    .examples-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    #authority h2,
    #systems h2,
    #examples h2,
    #cta h2 {
        font-size: 2rem;
    }
    
    .authority-lead {
        font-size: 1.125rem;
    }
    
    #authority p,
    #cta p {
        font-size: 1.125rem;
    }
    
    .system-card,
    .example-card {
        padding: var(--space-xl);
    }
    
    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .hero .btn-primary,
    .hero .btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .header-content {
        justify-content: center;
    }
    
    /* Premium dark theme sections - mobile responsive */
    .authority-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .authority-item {
        padding: var(--space-xl);
    }
    
    .authority-item h3 {
        font-size: 1.25rem;
    }
    
    .authority-item p {
        font-size: 1rem;
    }
    
    .offer-list li {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg);
    }
    
    .offer-list li::before {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.875rem;
    }
    
    .offer-list li h4 {
        font-size: 1.125rem;
    }
    
    .offer-list li p {
        font-size: 1rem;
    }
}

/* Mobile Touch Target Improvements */
@media (max-width: 768px) {
    /* Ensure all interactive elements meet minimum touch target size (44px) */
    .btn,
    .btn-primary,
    .btn-secondary,
    .cinematic-btn-primary,
    .cinematic-btn-secondary,
    .cinematic-nav-cta,
    .cinematic-nav-link,
    .cinematic-nav-toggle,
    .lead-modal-close,
    .book-call,
    .booking-cta,
    .service-card,
    .process-step,
    .authority-item {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Ensure buttons have proper padding for touch */
    .btn,
    .btn-primary,
    .btn-secondary,
    .cinematic-btn-primary,
    .cinematic-btn-secondary,
    .cinematic-nav-cta {
        padding: 12px 20px !important;
        font-size: 16px !important; /* Prevent iOS zoom */
    }
    
    /* Increase spacing between interactive elements */
    .cinematic-hero-buttons,
    .booking-content .btn-large,
    .services-grid,
    .process-steps,
    .authority-grid {
        gap: 16px !important;
    }
    
    /* Improve form input touch targets */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        min-height: 48px !important;
        font-size: 16px !important; /* Prevent iOS zoom */
        padding: 12px 16px !important;
    }
    
    /* Ensure links have enough spacing for touch */
    a:not(.btn):not(.cinematic-btn-primary):not(.cinematic-btn-secondary) {
        padding: 8px 0 !important;
        display: inline-block;
    }
    
    /* Improve navigation touch targets */
    .cinematic-nav-links.active .cinematic-nav-link {
        padding: 16px 0 !important;
        font-size: 1.1rem !important;
    }
    
    /* Ensure cards have proper touch spacing */
    .service-card,
    .process-step,
    .authority-item {
        padding: 20px !important;
        margin-bottom: 16px !important;
    }
    
    /* Improve readability on mobile */
    .section-title,
    .booking-title,
    .service-title,
    .step-title,
    .authority-item h3 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .section-subtitle,
    .booking-subtitle,
    .service-description,
    .step-description,
    .authority-item p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }
}

/* ===== TERMS CHECKBOX STYLING ===== */
.terms-check {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--color-background-alt);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
    cursor: pointer;
}

.terms-check input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--color-accent);
}

.terms-check a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.terms-check a:hover {
    text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .terms-check {
        margin: 1.25rem 0;
        padding: 0.875rem;
    }
    
    .terms-check label {
        font-size: 0.9rem;
        gap: 0.625rem;
    }
    
    .terms-check input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 480px) {
    .terms-check {
        margin: 1rem 0;
        padding: 0.75rem;
    }
    
    .terms-check label {
        font-size: 0.85rem;
        gap: 0.5rem;
        line-height: 1.4;
    }
}

/* ===== GROWTH TOOLS SECTION ===== */
.tools-section {
    padding: var(--space-3xl) 0;
    background: var(--color-background-alt);
    position: relative;
}

.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border) 50%, 
        transparent 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.tool-card {
    background: var(--color-background);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease-cinematic);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent-light);
}

.tool-card.coming-soon {
    opacity: 0.7;
    filter: grayscale(0.3);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.tool-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.tool-description {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.tool-form {
    margin-top: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--color-background);
    color: var(--color-text);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-note {
    margin-top: var(--space-sm);
    text-align: center;
    color: var(--color-text-lighter);
    font-size: 0.875rem;
}

.tool-stats {
    display: flex;
    justify-content: space-around;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-light);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-border);
    color: var(--color-text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        padding: var(--space-xl);
    }
}


/* FIX: Floating button overlap */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* FIX: Booking section UI */
.booking-container {
  max-width: 480px;
  margin: 40px auto;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.cta-button {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  background: #B2BDA3;
  color: #fff;
  border: none;
}

/* ===== MOBILE FIX: FORCE CLEAN STACKING ===== */

@media (max-width: 768px) {

  /* HERO FIX (OVERRIDE GRID WITHOUT TOUCHING HTML) */
  .cinematic-hero-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* FIX MASSIVE TEXT */
  h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  /* FIX SECTION SPACING */
  section {
    padding: 48px 16px !important;
  }

  /* FIX CARDS */
  .service-card,
  .case-card,
  .system-card,
  .example-card {
    width: 100% !important;
    padding: 20px !important;
  }

  /* FIX BUTTON TAP AREA */
  .cta-button {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 16px !important;
  }

  /* FIX FLOATING BUTTON OVERLAP */
  .whatsapp-float {
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    transform: scale(0.9);
    z-index: 9999;
  }

}

/* PREVENT HORIZONTAL SCROLL BUG */
body {
  overflow-x: hidden;
}

/* PREVENT TEXT BREAKING */
h1, h2, h3 {
  word-break: break-word;
}

/* === FINAL FLOATING BUTTON FIX (WHATSAPP + CHAT) === */

/* WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 80px; /* pushes left of chat */
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Force ONLY pseudo icon */
.whatsapp-float * {
  display: none !important;
}

.whatsapp-float::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url("/assets/whatsapp.svg") no-repeat center;
  background-size: contain;
  display: block;
}

/* Chat button (keep on right) */
.chat-toggle {
  position: fixed !important;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 72px;
    bottom: 20px;
    width: 52px;
    height: 52px;
  }

  .chat-toggle {
    right: 16px;
    bottom: 20px;
  }
}

/* chat button (from JS) */
.chat-toggle {
  position: fixed !important;
  bottom: 16px !important;
  right: 16px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  z-index: 9999;
}

/* mobile adjustment */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 76px !important;
  }
}

/* === PREMIUM UI POLISH === */

/* safer global transition */
body * {
  transition: all 0.25s ease;
}

/* CTA upgrade */
.cta-button {
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.cta-button:active {
  transform: scale(0.97);
}

/* glow effect */
.cta-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent);
  opacity: 0;
}

.cta-button:hover::after {
  opacity: 1;
}

/* floating button hover */
.whatsapp-float:hover,
.chat-toggle:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* WhatsApp pulse */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float {
  animation: pulse 2.5s infinite;
}

/* card hover */
.service-card,
.case-card,
.system-card,
.example-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.case-card:hover,
.system-card:hover,
.example-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* section reveal */
section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === REMOVE ANY CHAT BAR UI === */
.chat-bar,
[class*="chat-bar"],
[class*="chatBar"] {
  display: none !important;
}

/* === TRUSTED SECTION (PREMIUM FIX) === */

.trusted-section {
  padding: 60px 20px;
  text-align: center;
}

.trusted-label {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  opacity: 0.7;
}

.trusted-logos img {
  height: 36px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.trusted-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ===== MODAL + FLOATING BUTTON OVERLAY FIXES ===== */
.whatsapp-float,
.chat-toggle {
  z-index: 9999 !important;
}

.modal,
.lead-modal {
  z-index: 10000 !important;
}

/* ===== CRO OPTIMIZATIONS ===== */

/* CTA Button Optimization */
.cta-button {
  min-height: 56px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(245, 196, 108, 0.4);
}

/* Checkbox Row Fix */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin: 1rem 0;
}

.checkbox-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  h1 {
    font-size: 30px;
    line-height: 1.2;
  }
  
  section {
    padding: 48px 16px;
  }
  
  .cta-button {
    width: 100%;
  }
  
  .cinematic-hero-title {
    font-size: 30px;
    line-height: 1.2;
  }
  
  .cinematic-hero-subtitle {
    font-size: 16px;
  }
  
  .cinematic-btn-primary,
  .cinematic-btn-secondary {
    min-height: 56px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    max-width: 100%;
  }
  
  .lead-modal-content {
    padding: 20px;
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .lead-modal-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .lead-modal-content input,
  .lead-modal-content select,
  .lead-modal-content textarea {
    font-size: 16px;
    min-height: 48px;
  }
}

/* Remove "Coming Soon" labels */
.coming-soon-badge {
  display: none !important;
}

.coming-soon .tool-description {
  opacity: 1 !important;
}

/* Hero Section CTA Improvements */
.cinematic-btn-primary {
  min-height: 56px;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cinematic-btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 40px rgba(245, 196, 108, 0.5);
}

/* Trust Boost Indicators */
.hero-trust {
  font-size: 14px;
  color: var(--cinematic-text-light);
  opacity: 0.8;
  margin-top: 0.5rem;
}

.cta-price {
  font-size: 14px;
  color: var(--cinematic-text-light);
  opacity: 0.8;
  margin-top: 0.5rem;
  font-weight: 600;
}

.hero-urgency {
  font-size: 14px;
  color: var(--cinematic-text-light);
  opacity: 0.8;
  margin-top: 1rem;
  font-weight: 500;
}

/* === PROBLEM / SOLUTION MOBILE FIX === */

@media (max-width: 768px) {
  .problem-solution {
    padding: 40px 0 !important;
  }
  
  .problem-solution .container {
    padding: 0 16px !important;
  }
  
  .problem-solution .container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  .problem-solution .container > div > div {
    width: 100% !important;
  }
  
  .problem-solution h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  
  .problem-solution p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}

/* ===== MOBILE POLISH ENHANCEMENTS ===== */

@media (max-width: 768px) {

  /* 1. Section spacing (safe) */
  section:not(.lead-modal):not(.modal) {
    padding: 48px 16px !important;
  }

  /* 2. Vertical rhythm (scoped) */
  section h1,
  section h2,
  section h3 {
    margin-bottom: 12px !important;
  }

  section p {
    margin-bottom: 16px !important;
  }

  /* 3. Hero readability */
  .hero h1 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  /* 4. CTA clarity */
  .cta-button {
    width: 100% !important;
    min-height: 56px !important;
    font-weight: 600 !important;
  }

  /* 5. Card spacing */
  .service-card,
  .case-card,
  .system-card {
    padding: 20px !important;
    margin-bottom: 16px !important;
  }

}

/* 6. Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* ===== TRUST LIST (PREMIUM ICON STYLE) ===== */
.trust-list {
  margin-top: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 8px;
  line-height: 1.4;
}

.trust-item .icon {
  width: 16px;
  height: 16px;
  fill: #22c55e;
  flex-shrink: 0;
}


/* ===== CHECKBOX FIX ===== */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.4;
  margin-top: 14px;
}

.checkbox-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-row span {
  display: inline-block;
}

.checkbox-row a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-row a:hover {
  text-decoration: underline;
}


/* ===== MOBILE HARDENING ===== */
@media (max-width: 768px) {

  .trust-item {
    font-size: 13px;
    gap: 8px;
  }

  .trust-item .icon {
    width: 14px;
    height: 14px;
  }

  .checkbox-row {
    font-size: 12.5px;
    gap: 8px;
  }

  .checkbox-row input {
    width: 15px;
    height: 15px;
  }

}


/* Urgency Banner for Lead Modal */
.urgency {
  background: #F4E5D9;
  color: #000;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

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