/* 
 * LAHORE AUTO — Cinematic 3D Showroom Design System
 * Premium Dark Automotive Aesthetic
 */

/* ===== DESIGN TOKENS ===== */
:root {
    --color-bg: #0d0d12;
    --color-bg-secondary: #111116;
    --color-bg-tertiary: #16161c;
    --color-surface: #1a1a22;
    --color-text: #ffffff;
    --color-text-muted: #aaaaaa;
    --color-text-dim: #606068;
    --color-primary: #d6ff00;
    --color-primary-soft: #e2ff4d;
    --color-primary-glow: rgba(214, 255, 0, 0.3);
    --color-accent: #00e5ff;
    --color-accent-glow: rgba(0, 229, 255, 0.35);
    --color-gold: #d4a853;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-glass: rgba(10, 10, 12, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.18);
    --shadow-premium: 0 25px 60px rgba(0, 0, 0, 0.9);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow-red: 0 0 30px rgba(214, 255, 0, 0.2), 0 0 60px rgba(214, 255, 0, 0.1);
    --shadow-glow-cyan: 0 0 40px rgba(0, 229, 255, 0.2);

    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, sans-serif;

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-smooth: 0.45s var(--ease-out-expo);
    --transition-slow: 0.7s var(--ease-out-expo);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

a {
    color: var(--color-primary-soft);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-text); }

img { max-width: 100%; display: block; }

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #ff4455 40%, #fff 80%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shineGradient 8s linear infinite;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #fff 0%, #00e5ff 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #d4a853 0%, #f5d89a 50%, #d4a853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shineGradient {
    to { background-position: 250% center; }
}

/* ===== PREMIUM HEADER ===== */
.hero-2d-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    transition: all 0.3s ease;
}

.hero-2d-header.scrolled {
    padding: 1rem 3rem;
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand-logo-2d {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-2d-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0,0,0,0.4);
    padding: 0.6rem 2rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.nav-indicator {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--color-primary);
    border-radius: 999px;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1), height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.menu-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
    padding: 0.5rem 1.2rem;
    margin: -0.5rem -1.2rem;
    border-radius: 999px;
}

.menu-link.active {
    color: #fff !important;
}

.menu-link:hover {
    color: #000 !important;
}

.menu-btn-primary {
    background: var(--color-primary);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.menu-btn-primary:hover {
    background: var(--color-primary-soft);
    box-shadow: 0 0 25px var(--color-primary);
    filter: brightness(1.1);
}

/* ===== CINEMATIC HERO SECTION ===== */
.hero-cinema {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 120%, rgba(232, 18, 36, 0.06) 0%, transparent 60%),
                var(--color-bg);
}

.hero-3d-viewport {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-3d-viewport canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
}

.hero-3d-viewport canvas:active {
    cursor: grabbing;
}

/* Cinematic vignette overlay */
.hero-vignette {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(3, 3, 5, 0.7) 100%),
        linear-gradient(to bottom, rgba(3, 3, 5, 0.3) 0%, transparent 25%, transparent 75%, rgba(3, 3, 5, 0.95) 100%);
}

/* HUD Overlay Content */
.hero-hud {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 4rem 5rem 4rem;
}

.hero-hud > * {
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 18, 36, 0.08);
    border: 1px solid rgba(232, 18, 36, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    color: var(--color-primary-soft);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    backdrop-filter: blur(12px);
    width: fit-content;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.65rem;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 550px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.hero-subtitle strong {
    color: var(--color-text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Drag hint indicator */
.drag-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dim);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: hintPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.drag-hint i {
    font-size: 1rem;
    animation: hintSlide 2s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes hintSlide {
    0%, 100% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
}

/* HUD Stats on hero - floating badges */
.hero-stats {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.hero-stat-badge {
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 130px;
}

.hero-stat-badge .stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-badge .stat-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===== SECTION SYSTEM ===== */
.section-cinematic {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.section-cinematic.section-alt {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary-soft);
    margin-bottom: 1.25rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== METRICS RIBBON ===== */
.metrics-ribbon {
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.9) 0%, rgba(3, 3, 5, 0.95) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 5;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-item {
    position: relative;
}

.metric-item strong {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    display: block;
    line-height: 1;
}

.metric-item span {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-top: 0.5rem;
    display: block;
}

/* ===== PREMIUM CARDS ===== */
.grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.card-premium {
    background: var(--color-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.8s var(--ease-out-expo);
    z-index: 1;
}

.card-premium:hover::before {
    left: 100%;
}

.card-premium:hover {
    border-color: rgba(232, 18, 36, 0.4);
    box-shadow: var(--shadow-glow-red);
    transform: translateY(-6px);
}

.card-premium-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-premium-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-premium:hover .card-premium-image img {
    transform: scale(1.06);
}

.card-premium-image .card-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(10px);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.card-premium-body {
    padding: 1.75rem 2rem;
}

.card-premium-body h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.65rem;
}

.card-premium-body p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.card-premium-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-premium-footer .price-label {
    font-size: 0.68rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.card-premium-footer .price-value {
    color: var(--color-primary-soft);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== 3D TILT CARDS (Services etc.) ===== */
.card-3d-wrap {
    perspective: 1200px;
}

.card-3d {
    background: var(--color-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.12s ease-out, border-color 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.7s ease;
}

.card-3d:hover::before {
    left: 100%;
}

.card-3d:hover {
    border-color: rgba(232, 18, 36, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(232, 18, 36, 0.2);
}

.card-3d-content {
    transform: translateZ(25px);
}

/* ===== BEFORE / AFTER SLIDER ===== */
.ba-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    user-select: none;
    cursor: ew-resize;
}

.ba-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-after {
    z-index: 1;
}

.ba-before {
    z-index: 2;
}

.ba-slider-line {
    position: absolute;
    top: -500px;
    bottom: -500px;
    left: 50%;
    width: 3px;
    background: var(--color-primary);
    transform: translateX(-50%);
    z-index: -1;
    box-shadow: 0 0 15px rgba(214, 255, 0, 0.5);
    pointer-events: none;
}

.ba-slider-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--color-primary-glow), 0 0 40px rgba(214, 255, 0, 0.2);
    cursor: ew-resize;
    z-index: 20;
    transition: transform 0.15s ease;
}

.ba-slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(3, 3, 5, 0.88);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
    z-index: 15;
}

/* ===== PROCESS TIMELINE ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary-glow), var(--color-accent-glow), transparent);
    z-index: 0;
}

.process-card {
    background: var(--color-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: all var(--transition-smooth);
}

.process-card:hover {
    border-color: rgba(232, 18, 36, 0.4);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-red);
}

.process-num {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.12;
    color: var(--color-primary-soft);
}

.process-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.process-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.65rem;
}

.process-card p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(232, 18, 36, 0.08);
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(232, 18, 36, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #ffb703;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.testimonial-car {
    font-size: 0.78rem;
    color: var(--color-primary-soft);
    margin-top: 2px;
}

/* ===== CTA SECTION ===== */
.cta-cinematic {
    background: linear-gradient(135deg, rgba(232, 18, 36, 0.15) 0%, rgba(3, 3, 5, 0.98) 70%);
    border: 1px solid rgba(232, 18, 36, 0.2);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-cinematic::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(232, 18, 36, 0.06) 0%, transparent 50%);
    animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.cta-cinematic h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-cinematic p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    z-index: 1;
}

/* ===== BUTTONS ===== */
.btn-premium {
    position: relative;
    background: var(--color-primary);
    color: #000000;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    box-shadow: 0 0 15px rgba(214, 255, 0, 0.2);
    overflow: hidden;
    z-index: 1;
    font-family: var(--font-primary);
}

.btn-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(214, 255, 0, 0.4);
    background: #ffffff;
    color: #000000;
}

.btn-premium:active {
    transform: translateY(0) scale(0.99);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: none;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.75rem;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== FLOATING ANIMATIONS ===== */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: floatSlow 6s ease-in-out infinite;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
    background: #1e1e30;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 5rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(3, 3, 5, 0.98);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 2.5rem;
}

.footer-copy {
    color: var(--color-text-dim);
    font-size: 0.8rem;
}

/* ===== ALERT CONTAINER ===== */
.alert-container {
    max-width: 1200px;
    margin: 5.5rem auto 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 999;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

/* ===== MOBILE NAV ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    border-color: var(--color-primary);
    background: rgba(232, 18, 36, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-stats {
        display: none;
    }

    .hero-hud {
        padding: 0 2.5rem 4rem 2.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-2d-header .hero-2d-nav {
        display: none;
    }

    .hero-2d-header {
        padding: 1rem 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-cinema {
        min-height: 100vh;
    }

    .hero-hud {
        padding: 0 1.5rem 3rem 1.5rem;
        justify-content: flex-end;
    }

    .hero-title {
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-premium {
        width: 100%;
        justify-content: center;
    }

    .section-cinematic {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .grid-premium {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .ba-container {
        height: 300px;
    }

    .cta-cinematic {
        padding: 3rem 1.5rem;
    }

    .metrics-grid {
        gap: 1.5rem;
    }

    .metric-item strong {
        font-size: 2.25rem;
    }

    .drag-hint {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    background-color: #1ebe57;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
