﻿:root {
    --bg-dark: #050000;
    --text-white: #ffffff;
    --text-offwhite: rgba(255, 255, 255, 0.75);
    --primary-orange: #ff5e00;
    --primary-gradient: linear-gradient(135deg, #ff7a00 0%, #ff3b00 100%);
    --glass-bg: rgba(60, 5, 5, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: clip;
}

/* Hero Main Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 850px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Background Image Layer */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right 15%; /* Shift portrait to the right */
    background-repeat: no-repeat;
    z-index: -2;
}

/* Overlays for contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12,0,0,0.85) 0%, rgba(12,0,0,0.4) 35%, rgba(12,0,0,0) 65%);
    z-index: -1;
}

/* Header & Navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-pill {
    display: flex;
    gap: 32px;
    background: rgba(20, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 32px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nav-pill a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-pill a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 64px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 120px;
}

.hero-content {
    max-width: 42%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--text-offwhite);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Typography Update: Teko */
.main-heading {
    font-family: 'Teko', sans-serif;
    font-size: clamp(60px, 6vw, 110px); /* Massive responsive scale */
    line-height: 0.85;
    font-weight: 400;
    letter-spacing: 0em;
    margin-bottom: 16px;
    text-transform: uppercase; 
}

.main-heading .line-1 {
    color: #ffffff;
    display: inline-block;
}

/* Faded Word Effect exactly matching reference */
.faded-word {
    display: inline-block;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.85) 35%,
        rgba(255,255,255,0.55) 65%,
        rgba(255,255,255,0.1) 90%,
        rgba(255,255,255,0) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

.description {
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--text-offwhite);
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 40px;
}

/* CTA Area */
.cta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 64px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.4);
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-offwhite);
}

.availability .dot {
    width: 8px;
    height: 8px;
    background-color: #ff9100; /* Warm subtle indicator */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 145, 0, 0.6);
}

/* Glassmorphism Stat Cards */
.stat-cards {
    display: flex;
    gap: 24px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 32px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

/* Soft highlight on top edge of card */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
}

.glass-card h2 {
    font-family: 'Teko', sans-serif;
    font-size: 44px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 4px;
    color: #fff;
}

.glass-card p {
    font-size: 13px;
    color: var(--text-offwhite);
}

/* Technology Logo Strip */
.tech-strip {
    position: absolute;
    bottom: 48px;
    right: 64px;
    display: flex;
    gap: 32px;
    align-items: center;
    opacity: 0.55; /* Subtle */
    z-index: 10;
}

.tech-strip svg {
    height: 24px;
    width: auto;
    fill: #ffffff;
    transition: opacity 0.3s ease;
}

.tech-strip svg:hover {
    opacity: 1;
}

/* Decorative grid lines */
.grid-lines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03; /* Extremely subtle */
}

.grid-lines .line {
    width: 1px;
    height: 100%;
    background: #ffffff;
}

/* Entry Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVENESS */

@media (max-width: 1440px) {
    .main-heading { font-size: clamp(70px, 7vw, 110px); }
    .hero-content { max-width: 48%; }
}

@media (max-width: 1200px) {
    .hero-content { max-width: 55%; }
    .tech-strip { right: 40px; gap: 24px; }
}

@media (max-width: 1024px) {
    .header { padding: 32px 40px; }
    .container { padding: 0 40px; padding-top: 100px; }
    .hero-background { background-position: center right 25%; }
}

@media (max-width: 768px) {
    .hero-section { min-height: 100vh; height: auto; }
    
    /* Adjust background and overlay for mobile portrait readability */
    .hero-background { background-position: 70% 30%; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(12,0,0,0.3) 0%, rgba(12,0,0,0.85) 60%, rgba(12,0,0,1) 100%);
    }

    .header { padding: 24px; }
    
    .nav-pill, .btn-outline { display: none; }
    .mobile-menu-btn { display: flex; z-index: 101; }
    
    .container {
        padding: 0 24px;
        padding-top: 100px;
        padding-bottom: 40px;
        justify-content: flex-end; /* Push content down on mobile so face is visible */
    }
    
    .hero-content {
        max-width: 100%;
        margin-top: 250px; /* Space for the portrait above */
    }
    
    .main-heading {
        font-size: clamp(56px, 12vw, 80px);
    }
    
    .description { max-width: 100%; font-size: 15px; }
    
    .cta-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
    
    .stat-cards { width: 100%; gap: 16px; }
    .glass-card { padding: 16px 20px; flex: 1; min-width: 0; }
    
    .tech-strip {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 48px;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
        gap: 20px;
    }
}

@media (max-width: 430px) {
    .stat-cards { flex-direction: column; }
    .glass-card { width: 100%; }
}

/* --- IMPACT SECTION --- */

.page-wrapper {
    position: relative;
    width: 100%;
}

/* Sticky Hero for parallax */
.hero-section {
    position: sticky;
    top: 0;
    /* Height must be exactly 100vh to avoid layout jumps during sticky */
    height: 100vh;
    overflow: hidden;
}

.impact-section {
    position: relative;
    z-index: 10;
    background-color: #050505; /* Near black */
    min-height: 100vh;
    box-shadow: 0 -30px 80px rgba(0,0,0,0.35);
    padding: 140px 64px 80px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.impact-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.impact-top {
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.impact-label-top {
    position: absolute;
    left: 0;
    top: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-offwhite);
    line-height: 1.4;
}

.impact-heading-group {
    margin: 0 auto;
    text-align: left;
    max-width: 800px;
    padding-left: 120px;
}

.impact-heading {
    font-family: 'Teko', sans-serif;
    font-size: clamp(48px, 6vw, 90px);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 32px;
}

.impact-subtext {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--text-offwhite);
    line-height: 1.6;
    max-width: 380px;
}

.impact-bottom {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    flex: 1;
}

.impact-label-bottom {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding-bottom: 40px;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    flex: 1;
}

.metric-card {
    aspect-ratio: 0.82;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-metric {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 1;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.85;
}

/* Card 1: Orange Gradient */
.orange-bg {
    background-color: #3a0a00;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
}
.card-bg-gradient {
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(255,60,0,0.8) 0%, rgba(80,10,0,0.9) 40%, rgba(10,0,0,1) 70%);
    filter: blur(40px);
    z-index: 1;
    transition: transform 1s ease;
}
.orange-bg:hover .card-bg-gradient {
    transform: scale(1.1);
}

/* Card 2: Light Card */
.light-card {
    background-color: #f4ede4;
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
}
.light-card .card-metric {
    color: #111;
}

/* Card 3: Portrait / Dark Card */
.portrait-bg {
    background-color: #0c0202;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
}
.card-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('banner.png'); 
    background-size: cover;
    background-position: center left 20%;
    opacity: 0.35;
    z-index: 1;
    transition: transform 0.8s ease;
}
.portrait-bg:hover .card-bg-image {
    transform: scale(1.05);
}

/* Subtle background glow for the section */
.impact-bg-glow {
    position: absolute;
    top: 20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,60,0,0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .impact-heading-group { padding-left: 0; margin-top: 60px; text-align: center; }
    .impact-label-top { position: relative; top: 0; margin-bottom: 20px; text-align: center; }
    .impact-subtext { margin: 0 auto; text-align: center; }
    .impact-bottom { flex-direction: column; align-items: stretch; gap: 24px; }
    .impact-label-bottom { writing-mode: horizontal-tb; transform: none; padding-bottom: 0; text-align: center; }
    .impact-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .impact-cards { grid-template-columns: repeat(1, 1fr); gap: 16px; }
    .metric-card { aspect-ratio: auto; min-height: 280px; padding: 24px; }
    .impact-section { padding: 100px 40px 60px; }
}

@media (max-width: 768px) {
    .hero-section {
        position: relative; /* Disable sticky parallax on mobile */
        height: auto;
    }
    .impact-section { padding: 80px 24px 40px; box-shadow: none; }
    .impact-heading { font-size: clamp(32px, 8vw, 48px); }
}

/* --- IMAGE SCROLL ANIMATION SECTION --- */
.image-scroll-section {
    position: relative;
    height: 1200vh; /* Increased for long story read */
    background-color: #000;
}

.canvas-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#scroll-canvas {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
}

/* Story Overlays */
.story-overlays {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

/* Base Panel Styles */
.story-panel {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% + 60px)) scale(0.97);
    width: 600px;
    padding: 56px;
    background: rgba(15, 8, 6, 0.34);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.35);
    opacity: 0;
    will-change: transform, opacity;
}

.story-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -1px; bottom: 0; width: 1px;
    background: linear-gradient(180deg, rgba(255,100,0,0) 0%, rgba(255,100,0,0.5) 50%, rgba(255,100,0,0) 100%);
}

.story-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--primary-orange);
    margin-bottom: 24px;
}

.story-heading {
    font-family: 'Teko', sans-serif;
    font-size: 48px;
    text-transform: uppercase;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 32px;
}

.story-body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-highlight {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    line-height: 0.95;
    font-weight: 400;
    color: #fff;
    border-left: 2px solid var(--primary-orange);
    padding-left: 24px;
}

/* Positions */
.part-01 { left: 8%; }
.part-02 { left: 50%; }
.part-03 { left: 8%; }

/* Final Statement */
.story-final {
    position: absolute;
    top: 50%; left: 8%;
    transform: translateY(calc(-50% - 40px));
    text-align: left;
    font-family: 'Teko', sans-serif;
    font-size: clamp(40px, 6vw, 85px);
    text-transform: uppercase;
    line-height: 0.9;
    font-weight: 400;
    color: #fff;
    opacity: 0;
    max-width: 800px;
}

.story-final .orange-glow {
    color: transparent;
    background: linear-gradient(90deg, #ff9100, #ff3b00);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255,100,0,0.3));
}

/* Chapter Progress */
.chapter-progress {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.progress-dot {
    width: 2px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    transition: background 0.4s ease, height 0.4s ease;
}
.progress-dot.active {
    background: var(--primary-orange);
    height: 48px;
}

/* Micro Keywords */
.micro-keywords {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.08);
    letter-spacing: 0.2em;
    line-height: 2;
    opacity: 0;
    transition: opacity 1s ease;
}
.micro-1 { top: 20%; right: 15%; text-align: right; }
.micro-2 { bottom: 15%; left: 10%; }
.micro-3 { top: 30%; right: 20%; text-align: right; }

/* Mobile */
@media (max-width: 900px) {
    .story-panel { 
        width: 90vw; 
        padding: 32px; 
        left: 5vw !important; 
        margin-top: -40vh; /* Adjust center for mobile */
    }
    .chapter-progress { display: none; }
    .story-heading { font-size: 40px; }
    .story-final { transform: translate(-50%, -50%); padding: 0 20px; }
}

/* --- SERVICES HORIZONTAL SCROLL SECTION --- */
.services-scroll-wrapper {
    position: relative;
    background-color: #050505;
    height: 600vh; /* Will be overwritten by JS dynamically */
    overflow: clip; 
}

.services-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    perspective: 1200px;
}

/* Background Layer */
.services-bg-layer {
    position: absolute;
    top: -50%; left: -50%; width: 250vw; height: 200vh;
    background: radial-gradient(circle at 10% 50%, rgba(255, 60, 0, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 40% 60%, rgba(120, 10, 10, 0.08) 0%, transparent 25%),
                radial-gradient(circle at 80% 40%, rgba(255, 75, 0, 0.1) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* Persistent Header */
.services-header-persistent {
    position: absolute;
    top: 60px;
    left: 80px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #fff;
    line-height: 1.6;
    z-index: 10;
}
.services-header-persistent .muted {
    color: rgba(255,255,255,0.4);
}

/* Horizontal Track */
.services-horizontal-track {
    display: flex;
    height: 100vh;
    align-items: center;
    padding: 0 15vw;
    gap: 15vw;
    will-change: transform;
    z-index: 1;
}

/* Service Scene */
.service-scene {
    width: 75vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
    opacity: 0.2;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.service-scene.in-view {
    opacity: 1;
    transform: translateY(0);
}

.intro-scene {
    width: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    opacity: 1;
    transform: translateY(0);
}
.intro-heading {
    font-family: 'Teko', sans-serif;
    font-size: clamp(50px, 7vw, 100px);
    line-height: 0.9;
    font-weight: 400;
    color: #fff;
}
.intro-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Content Area */
.service-content {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.service-bg-number {
    position: absolute;
    top: -80px; left: -40px;
    font-family: 'Teko', sans-serif;
    font-size: 240px;
    line-height: 1;
    color: rgba(255, 60, 0, 0.05);
    z-index: -1;
    font-weight: 500;
}



.service-heading {
    font-family: 'Teko', sans-serif;
    font-size: 60px;
    line-height: 0.9;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 400;
}

.service-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.service-tags {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.1em;
    line-height: 2.2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.service-tags .dot {
    color: var(--primary-orange);
    opacity: 0.6;
}

/* Visual Area */
.service-visual {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
}
.visual-3d-tilt {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 3D Visuals: 01 WordPress */
.v-browser-stack {
    position: relative;
    width: 400px; height: 280px;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
}
.v-browser-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10, 5, 5, 0.4);
    backdrop-filter: blur(10px);
}
.b-back { transform: translateZ(-60px) scale(0.9); opacity: 0.3; }
.b-mid { transform: translateZ(-30px) scale(0.95); opacity: 0.6; }
.b-front { transform: translateZ(0); box-shadow: 0 20px 50px rgba(0,0,0,0.5); padding: 20px; border-color: rgba(255, 60, 0, 0.3); }
.b-dots { display: flex; gap: 6px; margin-bottom: 20px; }
.b-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.b-hero { height: 100px; background: rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 12px; }
.b-grid { display: flex; gap: 12px; }
.b-grid div { flex: 1; height: 60px; background: rgba(255,255,255,0.05); border-radius: 6px; }

/* 3D Visuals: 02 Speed */
.scene-alt { flex-direction: row-reverse; }
.v-gauge-container {
    position: relative; width: 300px; height: 300px;
}
.v-arc, .v-arc-active {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 70%);
}
.v-arc-active {
    border-color: var(--primary-orange);
    clip-path: polygon(0 0, 80% 0, 80% 70%, 0 70%);
    filter: drop-shadow(0 0 15px rgba(255,60,0,0.5));
}
.v-needle {
    position: absolute; top: 48%; left: 10%; width: 40%; height: 2px;
    background: #fff; transform-origin: right center;
    transform: rotate(30deg);
    box-shadow: 0 0 10px #fff;
}
.v-metric {
    position: absolute; bottom: 20%; left: 0; width: 100%; text-align: center;
    font-family: 'Teko', sans-serif; font-size: 60px; color: #fff; line-height: 1;
}
.v-metric span { display: block; font-family: 'Outfit', sans-serif; font-size: 10px; color: var(--primary-orange); letter-spacing: 0.2em; }

/* 3D Visuals: 03 Hosting */
.v-server-stack {
    position: relative; width: 300px; height: 400px;
    transform: rotateY(-20deg) rotateX(10deg);
    transform-style: preserve-3d;
}
.v-server {
    width: 100%; height: 60px; background: rgba(15,10,10,0.8);
    border: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px;
    position: relative; border-radius: 8px;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.02), 0 15px 30px rgba(0,0,0,0.5);
}
.v-server::after {
    content: ''; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; background: #0f0; box-shadow: 0 0 10px #0f0;
}
.v-transfer-path {
    position: absolute; top: 0; right: -80px; width: 2px; height: 100%;
    background: rgba(255,255,255,0.1);
}
.v-data-packet {
    width: 6px; height: 20px; background: var(--primary-orange);
    position: absolute; left: -2px; top: 20%;
    box-shadow: 0 0 15px var(--primary-orange);
    animation: flowDown 3s infinite;
}
@keyframes flowDown { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* 3D Visuals: 04 AI Web */
.v-ai-web { position: relative; width: 350px; height: 350px; transform: rotateX(20deg) rotateY(15deg); transform-style: preserve-3d; }
.v-ai-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; }
.l-ui { transform: translateZ(-40px); background: rgba(20,20,20,0.5); }
.l-nodes { transform: translateZ(40px); background: transparent; border: 1px dashed rgba(255,60,0,0.3); }
.v-orb {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(80px);
    width: 60px; height: 60px; border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--primary-orange));
    box-shadow: 0 0 40px var(--primary-orange);
}

/* 3D Visuals: 05 Creative */
.v-creative-frames { position: relative; width: 400px; height: 300px; transform: rotateY(-15deg); transform-style: preserve-3d; }
.v-frame {
    position: absolute; background: rgba(15,10,10,0.6); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.f-video { width: 200px; height: 280px; top: 10px; left: 0; transform: translateZ(-20px); }
.f-image { width: 240px; height: 160px; bottom: 20px; right: 0; transform: translateZ(40px); border-color: rgba(255,60,0,0.3); }
.f-post { width: 180px; height: 120px; top: 0; right: 40px; transform: translateZ(80px); flex-direction: column; gap: 8px; }
.play-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.play-icon::after { content: ''; border-left: 12px solid #000; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.img-mock { width: 80%; height: 80%; background: rgba(255,255,255,0.05); border-radius: 8px; }
.txt-line { width: 70%; height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; }
.txt-line.short { width: 40%; }

/* 3D Visuals: 06 N8N */
.v-n8n-nodes { position: relative; width: 350px; height: 300px; transform-style: preserve-3d; }
.n-node { position: absolute; width: 40px; height: 40px; border-radius: 8px; background: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.n1 { top: 20px; left: 20px; }
.n2 { top: 60px; left: 100px; background: var(--primary-orange); }
.n3 { top: 20px; left: 160px; }
.n4 { top: 80px; left: 240px; }
.n-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; stroke: rgba(255,255,255,0.2); stroke-width: 2; fill: none; }
.n-packet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-orange); box-shadow: 0 0 10px var(--primary-orange); }

/* 07 Outro Cards */
.next-cards { display: flex; flex-direction: column; gap: 24px; }
.next-card {
    width: 340px; padding: 40px; background: rgba(20,10,10,0.5);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
    backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 12px;
}
.next-card h4 { font-family: 'Outfit', sans-serif; font-size: 20px; color: #fff; font-weight: 500; }
.next-card .coming { font-family: 'Outfit', sans-serif; font-size: 10px; color: var(--primary-orange); letter-spacing: 0.15em; }

/* Progress Indicator */
.services-progress {
    position: absolute; bottom: 40px; left: 80px; right: 80px;
    display: flex; align-items: center; gap: 20px; z-index: 10;
}
.sp-label, .sp-count { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); }
.sp-count #s-current { color: #fff; }
.sp-track { flex: 1; height: 1px; background: rgba(255,255,255,0.15); position: relative; }
.sp-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--primary-orange); width: 0%; will-change: width; }

/* Mobile Adaptations */
@media (max-width: 900px) {
    .services-horizontal-track { padding: 0 5vw; gap: 10vw; }
    .service-scene { width: 90vw; flex-direction: column; justify-content: center; height: 100vh; gap: 40px; }
    .scene-alt { flex-direction: column; }
    .service-content { max-width: 100%; text-align: center; }
    .service-bg-number { left: 50%; transform: translateX(-50%); top: -60px; font-size: 150px; }
    .service-heading { font-size: 50px; }
    .service-tags { justify-content: center; }
    .services-header-persistent, .services-progress { left: 24px; right: 24px; }
    .visual-3d-tilt { transform: scale(0.7); }
}

/* --- PRICING SECTION --- */
.pricing-section {
    position: relative;
    background-color: #050505;
    padding: 120px 0;
    overflow: hidden;
}

.pricing-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle at center, rgba(255,80,0,0.10) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.pricing-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-main-heading {
    font-family: 'Teko', sans-serif;
    font-size: clamp(50px, 6vw, 90px);
    line-height: 0.9;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 400;
}

.pricing-subtext {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    line-height: 1.6;
}

/* Pricing Cards */
.pricing-cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 100px;
}

.pricing-card {
    flex: 1;
    background: rgba(12,12,12,0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,90,0,0.20);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,90,0,0.4);
}

.card-center {
    transform: translateY(-16px);
    border-color: rgba(255,90,0,0.3);
    box-shadow: 0 20px 60px rgba(255,80,0,0.08);
}
.card-center:hover {
    transform: translateY(-21px);
    box-shadow: 0 25px 70px rgba(255,80,0,0.12);
}

.popular-badge {
    position: absolute;
    top: 24px; right: 24px;
    background: rgba(255, 94, 0, 0.15);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 6px 12px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

/* Abstract Top Accents */
.card-bg-accent {
    position: absolute;
    top: 0; left: 0; right: 0; height: 180px;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}
.bg-website {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%),
                repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.01) 20px, rgba(255,255,255,0.01) 21px);
}
.bg-creative {
    background: radial-gradient(ellipse at center top, rgba(255, 60, 0, 0.4) 0%, transparent 70%);
    opacity: 0.8;
}
.bg-automation {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.05) 0%, transparent 50%);
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 16px 16px;
}

.card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.pkg-name {
    font-family: 'Teko', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.pkg-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 42px;
}

.pkg-price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pkg-price {
    font-family: 'Teko', sans-serif;
    font-size: 56px;
    line-height: 1;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.pkg-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: var(--primary-orange);
    letter-spacing: 0.1em;
    font-weight: 500;
}

.card-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0 0 32px 0;
}

.card-features {
    position: relative;
    z-index: 1;
    flex: 1; 
    margin-bottom: 40px;
}

.features-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.feature-list li i {
    flex-shrink: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
    position: relative;
    margin-top: 3px;
}
.feature-list li i::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
}

.card-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pkg-note {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
    margin-bottom: 8px;
}

.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-dark {
    background: rgba(10,5,5,0.6);
    color: #fff;
    border: 1px solid rgba(255, 94, 0, 0.3);
}
.btn-dark:hover {
    border-color: rgba(255, 94, 0, 0.6);
    box-shadow: 0 5px 20px rgba(255, 94, 0, 0.15);
    transform: translateY(-2px);
}

.btn-orange {
    background: linear-gradient(90deg, #ff6a00, #ff3b00);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}
.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.4);
}

.btn-pricing .arr {
    font-size: 16px;
    font-weight: 400;
}

/* Custom CTA */
.custom-project-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    padding-top: 20px;
}
.custom-project-cta h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.custom-project-cta p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Disclaimer */
.pricing-disclaimer {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .pricing-cards-wrapper { flex-wrap: wrap; }
    .pricing-card { min-width: 320px; flex: 1 1 calc(50% - 16px); }
    .card-center { transform: translateY(0); }
    .card-center:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .pricing-cards-wrapper { flex-direction: column; gap: 24px; }
    .pricing-card { min-width: 100%; flex: 1 1 auto; }
}

/* --- FOOTER SECTION --- */
.site-footer {
    position: relative;
    background-color: #030303;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 40px 0;
    z-index: 1;
}

/* Background Name */
.footer-bg-name {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(120px, 18vw, 340px);
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: #fff;
    opacity: 0.035;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    animation: driftName 25s ease-in-out infinite alternate;
}

@keyframes driftName {
    0% { transform: translate(-52%, -50%) scale(1); }
    100% { transform: translate(-48%, -50%) scale(1.02); }
}

/* Ambient Glows */
.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,75,0,0.08) 0%, transparent 60%);
    bottom: -200px; right: -100px;
    animation: floatOrb1 20s ease-in-out infinite alternate;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(120,15,0,0.1) 0%, transparent 60%);
    top: -100px; left: -100px;
    animation: floatOrb2 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -30px) scale(1.1); }
}
@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.05); }
}

/* Layout */
.footer-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    width: 100%;
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 64px;
    margin-top: auto;
    margin-bottom: 120px;
}

/* Left Message */
.footer-message {
    flex: 1;
    min-width: 320px;
    max-width: 700px;
}

.footer-heading {
    font-family: 'Teko', sans-serif;
    font-size: clamp(56px, 7vw, 118px);
    line-height: 0.9;
    letter-spacing: 0;
    color: #fff;
    font-weight: 400;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.line-reveal {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.footer-subtext {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin-bottom: 40px;
}

/* Right Contacts */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 48px;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    min-width: 300px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.contact-link:hover {
    transform: translateX(5px);
}

.contact-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}
.contact-value {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    position: relative;
    display: inline-block;
    width: fit-content;
    transition: color 0.3s ease;
}
.contact-value::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}
.contact-link:hover .contact-label {
    color: rgba(255,255,255,0.6);
}
.contact-link:hover .contact-value {
    color: #fff;
}
.contact-link:hover .contact-value::after {
    width: 100%;
}

.wa-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-orange);
    background: rgba(255,90,0,0.1);
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,90,0,0.2);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fb-nav {
    display: flex;
    gap: 24px;
}
.fb-nav a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}
.fb-nav a:hover {
    color: #fff;
}

/* Mobile */
@media (max-width: 1024px) {
    .footer-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }
    .footer-contacts {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .footer-bg-name {
        font-size: clamp(60px, 18vw, 120px);
    }
    .footer-heading {
        font-size: 48px;
    }
    .site-footer {
        padding: 80px 0 32px 0;
        min-height: auto;
    }
}

/* --- PREMIUM HEADING REVEAL ANIMATION --- */
.heading-reveal-line {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.heading-reveal-inner {
    display: inline-block;
    transform: translateY(115%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* When the parent heading has .revealed class */
h1.revealed .heading-reveal-inner,
h2.revealed .heading-reveal-inner,
h3.revealed .heading-reveal-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Remove default animation overrides if any remain on the container */
h1.revealed, h2.revealed, h3.revealed {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Mobile Adjustments for Reveal */
@media (max-width: 768px) {
    .heading-reveal-inner {
        transform: translateY(105%);
        transition-duration: 0.8s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .heading-reveal-inner {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff8a00, #ff4d00);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 90, 0, 0.25);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff9d22, #ff5500);
    box-shadow: 0 0 15px rgba(255, 90, 0, 0.4);
}
html {
    scrollbar-width: thin;
    scrollbar-color: #ff8a00 rgba(255,255,255,0.03);
}
html, body {
    overflow-x: clip;
    width: 100%;
}

/* ==========================================================================
   COMPLETE RESPONSIVE OPTIMIZATION
   ========================================================================== */

/* 1200px - Small Desktop / Large Tablet */
@media (max-width: 1200px) {
    .impact-cards {
        gap: 16px;
    }
    .story-panel {
        width: 500px;
        padding: 40px;
    }
    .pricing-cards-wrapper {
        flex-wrap: wrap;
        gap: 24px;
    }
    .pricing-card {
        min-width: 380px;
        flex: 1 1 calc(50% - 12px);
    }
    .card-center {
        transform: translateY(0);
        box-shadow: none;
    }
    .card-center:hover {
        transform: translateY(-5px);
    }
    .footer-bg-name {
        font-size: clamp(100px, 15vw, 180px);
    }
}

/* 1024px - Tablet Portrait */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 70%;
    }
    .impact-heading-group {
        padding-left: 0;
        margin: 0 0 60px 0;
        text-align: center;
    }
    .impact-label-top {
        position: relative;
        top: 0;
        margin-bottom: 24px;
        text-align: center;
    }
    .impact-subtext {
        text-align: left;
        max-width: 100%;
    }
    .impact-subtext br {
        display: none; /* Prevent weird text breakdown on smaller screens */
    }
    .impact-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .impact-cards {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .story-panel {
        width: 440px;
        padding: 32px;
    }
    .story-heading {
        font-size: 40px;
    }
    .story-final {
        font-size: 80px;
        left: 5%;
    }
    .service-scene {
        width: 65vw;
    }
    .footer-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }
    .footer-contacts {
        width: 100%;
    }
}

/* 768px - Mobile Landscape */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
    }
    .main-heading {
        font-size: clamp(48px, 12vw, 76px);
    }
    .impact-section {
        padding: 80px 0;
    }
    .impact-heading {
        font-size: clamp(40px, 8vw, 60px);
    }
    .impact-cards {
        grid-template-columns: 1fr;
    }
    .story-panel {
        width: calc(100vw - 48px);
        left: 24px !important;
        right: auto !important;
        transform: translateY(-50%) scale(0.97) !important;
    }
    .story-final {
        font-size: clamp(48px, 12vw, 80px);
    }
    .service-scene {
        width: 85vw;
    }
    .intro-heading {
        font-size: clamp(42px, 8vw, 56px);
    }
    .visual-3d-tilt {
        transform: scale(0.7);
    }
    .pricing-section {
        padding: 80px 0;
    }
    .pricing-cards-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .pricing-card {
        min-width: 100%;
    }
    .footer-bg-name {
        font-size: clamp(60px, 18vw, 120px);
    }
    .footer-heading {
        font-size: clamp(44px, 8vw, 58px);
    }
    .site-footer {
        padding: 80px 0 32px 0;
        min-height: auto;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* 480px - Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    .main-heading {
        font-size: clamp(38px, 12vw, 52px);
    }
    .story-panel {
        width: calc(100vw - 40px);
        left: 20px !important;
        padding: 24px;
    }
    .story-heading {
        font-size: 32px;
    }
    .story-highlight {
        font-size: 24px;
    }
    .btn-pricing, .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .service-scene {
        width: 90vw;
    }
    .pricing-card {
        padding: 24px;
    }
    .pkg-price {
        font-size: 48px;
    }
    .footer-contacts {
        padding: 24px;
    }
}
.hide-on-desktop {
    display: none !important;
}

/* NEW MOBILE STORY SECTION */
.mobile-story-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-color: #050505;
}
.mobile-story-neon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vh;
    background: radial-gradient(ellipse at center, rgba(255, 138, 0, 0.12) 0%, rgba(138, 30, 0, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.mobile-story-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.mobile-story-card {
    width: calc(100% - 32px);
    max-width: 520px;
    background: rgba(12,12,12,0.62);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: left;
}
.mobile-story-card:nth-child(1) { transform: translateX(-12px); }
.mobile-story-card:nth-child(2) { transform: translateX(12px); }
.mobile-story-card:nth-child(3) { transform: translateX(-12px); }

.static-final { opacity: 1 !important; left: 0 !important; transform: none !important; text-align: center !important; width: 100%;
    position: relative;
    margin: 60px auto 20px auto;
    text-align: center;
    font-size: clamp(42px, 12vw, 60px);
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-white);
}

/* NEW MOBILE SERVICES SECTION */
.mobile-services-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #8a3100 0%, #4a1000 100%);
    overflow: hidden;
}
.mobile-services-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.mobile-services-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    margin-left: 27px;
}
.mobile-services-main-heading {
    font-size: clamp(38px, 10vw, 50px);
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 16px;
}
.mobile-services-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}
.mobile-service-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-service-card {
    position: relative;
    background: rgba(12, 12, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    overflow: hidden;
}
.mobile-service-card .service-bg-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 120px;
    font-family: 'Teko', sans-serif;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}
.mobile-service-card h3 { position: relative; z-index: 1; color: #ffffff; margin-bottom: 16px; font-size: 32px !important; line-height: 1.1; }
.mobile-service-card p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}
.mobile-service-card .service-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #ff5a00;
}
.mobile-service-card .service-tags .dot {
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .hide-on-desktop {
        display: block !important;
    }
    .hide-on-mobile {
        display: none !important;
    }
}





/* Tools Marquee */
.tools-marquee-section {
    background: #000;
    padding: 30px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
}
.marquee-track {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: scroll-left-tools 20s linear infinite;
}
.marquee-track img {
    height: 30px;
    width: auto;
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(100%);
}
.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}
@keyframes scroll-left-tools {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}
