/* --- VARIABLES --- */
:root {
    /* Palette Deep Blue & White */
    /* Violet Scheme */
    --bg-color: #0f172a;
    --bg-accent: #1e293b;
    --primary: #8B5CF6;
    /* Violet */
    --secondary: #3B82F6;
    /* Blue */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --card-glass: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    /* White subtle border */
    --accent-green: #34d399;
    /* For Reassurance checks */

    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --spacer-section: 120px;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* CUSTOM SELECTION COLOR (COOL EXTRA) */
::selection {
    background: var(--primary);
    color: #fff;
}

/* SCROLL PROGRESS BAR (COOL EXTRA) */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1001;
    transition: width 0.1s;
}

/* HEADER & NAV */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    /* Dark transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* BACK TO TOP BUTTON (COOL EXTRA) */
#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#btn-back-to-top:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- KEYFRAMES & ANIMATIONS --- */
@keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(56, 189, 248, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes lineDraw {
    to {
        height: 100%;
    }
}

@keyframes stepGlow {
    0% {
        box-shadow: 0 0 0 rgba(139, 92, 246, 0);
        border-color: transparent;
    }

    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
        border-color: var(--primary);
    }

    100% {
        box-shadow: 0 0 0 rgba(139, 92, 246, 0);
        border-color: transparent;
    }
}

/* --- UTILS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* WAVE SEPARATOR */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.wave-divider .shape-fill {
    fill: var(--bg-accent);
}

/* Apply to specific sections */
.section {
    padding: var(--spacer-section) 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* --- GLASSMORPHISM --- */
/* --- GLASSMORPHISM ENHANCED (Frosted Glass) --- */
.glass {
    background: rgba(30, 41, 59, 0.4);
    /* Lower opacity for more see-through */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner light ring */
    border-radius: 20px;
    transition: 0.3s ease;
}

.glass:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- GLASS FRAME (Stronger Border) --- */
.glass-frame {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary);
    /* Strong border */
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    transition: 0.3s ease;
}

.glass-frame:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

/* --- BACKGROUND CANVAS --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
    /* Hero Glow */
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    z-index: 1;
}

/* SHINE EFFECT (COOL EXTRA) */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    transition: 0.5s;
}

.btn-primary:hover::before {
    animation: shine 0.75s;
}

/* MICRO-INTERACTIONS (Specific Icons) */
.benefit-icon:hover {
    transform: scale(1.1) rotate(5deg);
    transition: 0.3s;
}

.check-icon {
    display: inline-block;
    transition: 0.3s;
}

.reassurance-micro span:hover .check-icon {
    transform: scale(1.3);
    color: var(--primary);
}

.glass:hover .benefit-icon {
    color: #fff;
    background: var(--primary);
}

/* STATS SECTION (PREMIUM) */
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* SPLASH SCREEN */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #020617;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-out, visibility 1s;
}

.splash-logo {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    animation: pulseSplash 1.5s infinite;
}

.splash-logo span {
    color: var(--primary);
}

@keyframes pulseSplash {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* CONFETTI CANVAS */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* LOGO MARQUEE */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 2rem;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    white-space: nowrap;
}

/* FILTERS */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* INTERACTIVE PROCESS STEPS */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: steps;
    position: relative;
}

/* Connector Line Background */
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    /* Alignment with step bubbles */
    left: 16%;
    right: 16%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

/* Connector Line Active (Animated) */
.process-steps.active::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 16%;
    width: 0%;
    /* Start empty */
    height: 4px;
    background: var(--primary);
    z-index: 1;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-steps.active.animate-line::after {
    width: 68%;
    /* Fill connecting line */
}

/* Step Cards */
.step-card {
    padding: 2rem;
    position: relative;
    z-index: 2;
    /* Above lines */
    transition: 0.3s;
}

.step-card.active-step {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    transform: translateY(-10px);
}

.step-card::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-muted);
    z-index: 20;
    transition: 0.3s;
}

/* Active Step Bubble */
.step-card.active-step::before {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-accent);
    box-shadow: 0 0 15px var(--primary);
}

/* MATRIX CANVAS */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9997;
    /* Behind splash (9999) and confetti (9998) */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    background: black;
}

#matrix-canvas.active {
    opacity: 1;
    pointer-events: all;
}


.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.5);
    animation: pulseGlow 3s infinite;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.reassurance-micro {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-green);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.check-icon {
    margin-right: 0.25rem;
}

/* --- SECTIONS SPECIFIC --- */

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* spacing for header if needed */
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

/* PROBLEM & SOLUTION */
.problem-solution .content-box {
    padding: 3rem;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent);
}

/* --- SOCIAL BUBBLES --- */
.social-bubbles {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-bubble:hover {
    transform: scale(1.1);
    background: var(--primary);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.social-bubble img {
    width: 30px;
    height: 30px;
}

.social-bubble.whatsapp:hover {
    background: #25D366;
}

.social-bubble.instagram:hover {
    background: #E1306C;
}

/* WHY US */
.why-items p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0.5rem 0;
}

/* PREMIUM CONTENT BLOCKS */
.premium-subtitle {
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.premium-panels {
    margin-top: 2rem;
    text-align: left;
}

.premium-panel {
    padding: 1.4rem;
}

.premium-panel h3 {
    margin: 0.2rem 0 0.6rem 0;
    font-size: 1.15rem;
}

.premium-panel-compact h3 {
    margin: 0.2rem 0 0 0;
}

.premium-kicker {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    color: var(--primary);
    font-weight: 700;
}

.premium-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--text-muted);
}

.premium-list li {
    margin-bottom: 0.35rem;
}

.premium-chip-row {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.premium-chip {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.45);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--text-main);
    font-size: 0.92rem;
}

.premium-signature {
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.3rem;
}

/* BENEFITS (CARDS) */
.benefit-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(56, 189, 248, 0.1);
    padding: 1rem;
    border-radius: 50%;
    color: var(--primary);
    transition: 0.3s;
}

/* PORTFOLIO */
.project-card {
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-type {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

/* TESTIMONIALS */
.testimonial-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.client-info h4 {
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stars {
    color: #fbbf24;
    /* Amber 400 */
}

/* PROCESS container managed above with .process-steps */

/* PACKS */
.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
    transform: scale(1.05);
    z-index: 5;
}

.pack-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 0 10px var(--primary);
    z-index: 10;
    /* Ensure visibility */
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.05));
    position: relative;
}

/* Wave for Footer Top */
.wave-top {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-top svg {
    display: block;
    width: 100%;
    height: 50px;
}

.wave-top .shape-fill {
    fill: var(--bg-color);
    /* Match background */
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .step-card {
        margin-top: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .process-steps::before,
    .process-steps.active::after {
        display: none;
        /* Hide connector line on mobile */
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }
}

/* --- PACKS & CTA CUSTOMIZATION --- */
.pack-violet {
    border-top: 4px solid var(--primary) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
    position: relative;
}

.pack-violet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.pack-blue {
    border-top: 4px solid var(--secondary) !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.btn-violet {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.5);
    color: white;
    border: none;
}

.btn-violet:hover {
    box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.7);
    transform: scale(1.05);
}

.btn-blue {
    background: linear-gradient(135deg, var(--secondary), #2563eb);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.5);
    color: white;
    border: none;
}

.btn-blue:hover {
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.7);
    transform: scale(1.05);
}

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.4s ease-in-out;
    z-index: 1500;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* --- POPUP MODAL --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #1e293b;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
    max-width: 500px;
    width: 90%;
    transform: scale(0.8);
    transition: 0.3s;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.popup-close:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    /* Hidden initially */
    left: 0;
    width: 100%;
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    z-index: 10000;
    transition: bottom 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 600px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-deny {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
}

/* --- EXTRAS FOR OTHER PAGES --- */
.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: 0.3s;
}

.back-link:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.calendly-container {
    margin-top: 2rem;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-accent);
}

/* --- BEFORE/AFTER SLIDER --- */
.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

.c-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
}

.c-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.c-after {
    z-index: 1;
}

.c-before {
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.c-before img {
    max-width: none !important;
}

.c-label {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    pointer-events: none;
    backdrop-filter: blur(5px);
}

.c-after .c-label {
    right: 20px;
}

.c-before .c-label {
    left: 20px;
}

.c-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    margin-left: -20px;
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-circle {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* --- LOGO MARQUEE IMGS --- */
.marquee-content {
    align-items: center;
}

.marquee-content img {
    height: 40px;
    /* Consistent height */
    opacity: 0.6;
    transition: 0.3s;
    filter: grayscale(100%);
    margin: 0 2rem;
}

.marquee-content img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* --- UPSELL HIGHLIGHT --- */
#upsell-section .glass {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(139, 92, 246, 0.2));
    border: 1px solid var(--primary);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

#upsell-section h2 {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    /* More space than 2rem */

    /* Header Fix Mobile */
    .nav-container {
        padding: 0 1rem;
    }
}

/* --- EARTH STEPS SECTION --- */
.earth-steps-section {
    position: relative;
    overflow: hidden;
}

.align-center {
    align-items: center;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Visual container */
.earth-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.earth-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earth-globe {
    position: absolute;
    right: -20%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 650px;
    height: auto;
    z-index: 1;
    opacity: 1;
    mix-blend-mode: lighten;
}

/* Floating Steps Stack */
.floating-steps {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-right: auto;
    margin-left: 0;
    padding-left: 2rem;
}

.step-float {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    border-radius: 16px;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(12px);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        text-align: center;
        /* Reset to center on mobile */
    }

    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
    }

    .hero-text-content h1,
    .hero-text-content p {
        text-align: center !important;
    }

    .hero-text-content .btn {
        margin-right: 0 !important;
    }

    .reassurance-micro {
        justify-content: center !important;
    }

    .earth-container-hero {
        height: auto;
        justify-content: center;
        margin-top: 2rem;
    }

    .earth-globe-hero {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 80%;
        margin-bottom: -20%;
    }

    .floating-steps-hero {
        margin: 0 auto;
        align-items: center;
    }
}

/* --- ANIMATED TEXT GRADIENT --- */
.text-gradient {
    background: linear-gradient(to right,
            #fff 20%,
            var(--primary) 40%,
            var(--secondary) 60%,
            #fff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* --- REALISATIONS SHOWCASE --- */
.realisations-showcase {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: 34px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(165deg, rgba(96, 165, 250, 0.2), rgba(15, 23, 42, 0.85));
    box-shadow: 0 25px 55px rgba(2, 6, 23, 0.55);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.showcase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(to top, rgba(2, 6, 23, 0.92) 25%, rgba(2, 6, 23, 0.28) 65%, rgba(2, 6, 23, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(125, 211, 252, 0.45);
    box-shadow: 0 35px 65px rgba(14, 116, 144, 0.25);
}

.showcase-card:hover img {
    transform: scale(1.04);
}

.showcase-content {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2.1rem;
    z-index: 2;
}

.showcase-content .project-type {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #8b9dff;
    font-weight: 500;
}

.showcase-content h3 {
    font-size: clamp(2rem, 2.4vw, 3rem);
    margin: 0;
    line-height: 1.06;
}

.showcase-content p {
    margin-top: 0.9rem;
    margin-bottom: 0;
    color: #dbe5f5;
    font-size: 1.12rem;
}

@media (max-width: 1150px) {
    .realisations-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .realisations-showcase {
        grid-template-columns: 1fr;
    }

    .showcase-card,
    .showcase-card img {
        min-height: 500px;
    }

    .showcase-content {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.6rem;
    }
}

/* --- METALLIC PACKS --- */
.pack-silver {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.1);
}

.pack-silver:hover {
    border-color: #e2e8f0;
    box-shadow: 0 0 30px rgba(226, 232, 240, 0.3);
}

.pack-silver h3 {
    background: linear-gradient(to right, #94a3b8, #f1f5f9, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.pack-gold {
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(251, 191, 36, 0.05));
    position: relative;
    overflow: hidden;
}

.pack-gold:hover {
    border-color: #fbbf24;
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.4);
}

.pack-gold h3 {
    background: linear-gradient(to right, #b45309, #fbbf24, #fff, #fbbf24, #b45309);
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.pack-gold .pack-badge {
    background: linear-gradient(135deg, #b45309, #fbbf24);
    color: #000;
    font-weight: bold;
    border: none;
}

.pack-platinum {
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(56, 189, 248, 0.05));
}

.pack-platinum:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
}

.pack-platinum h3 {
    background: linear-gradient(to right, #38bdf8, #e0f2fe, #fff, #e0f2fe, #38bdf8);
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- METALLIC PACKS (LUXE MINIMALIST) --- */
.pack-silver,
.pack-gold,
.pack-platinum {
    background: #020617;
    /* Deepest dark for contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: 0.4s ease;
}

/* Pack Silver */
/* Pack Silver */
.pack-silver {
    /* GLOWING SILVER NEON BORDER */
    border: 1px solid #cbd5e1;
    box-shadow:
        0 0 10px rgba(226, 232, 240, 0.4),
        0 0 20px rgba(226, 232, 240, 0.2),
        inset 0 0 20px rgba(226, 232, 240, 0.05);
    transition: 0.4s ease;
}

.pack-silver:hover {
    box-shadow:
        0 0 20px rgba(226, 232, 240, 0.6),
        0 0 40px rgba(226, 232, 240, 0.3);
    transform: translateY(-5px);
}

.pack-silver h3 {
    background: linear-gradient(to bottom, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Pack Gold (Featured) */
.pack-gold {
    /* GLOWING GOLD NEON BORDER - FORCE OVERRIDE */
    border: 2px solid #fbbf24 !important;
    /* Thick gold border */
    border-top: 2px solid #fbbf24 !important;
    /* Force top to match */
    outline: none !important;
    box-shadow:
        0 0 10px rgba(251, 191, 36, 0.5),
        0 0 20px rgba(251, 191, 36, 0.3),
        inset 0 0 20px rgba(251, 191, 36, 0.1) !important;
    background: linear-gradient(to bottom, #181205, #020617) !important;
    transform: scale(1.05);
    z-index: 100;
    /* Higher z-index to sit above everything */
    overflow: visible;
}

.pack-gold:hover {
    border-color: #fbbf24 !important;
    box-shadow:
        0 0 20px rgba(251, 191, 36, 0.8),
        0 0 40px rgba(251, 191, 36, 0.5) !important;
    transform: scale(1.08);
}

.pack-gold h3 {
    background: linear-gradient(to right, #bf8c2c, #fcf6ba, #bf8c2c, #fcf6ba, #bf8c2c);
    background-size: 200% auto;
    animation: shine 6s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.pack-gold .pack-badge {
    position: absolute;
    top: -16px;
    /* Moved higher to sit ON the border */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #b45309, #fbbf24);
    color: #000;
    font-weight: 800;
    border: 1px solid #fcd34d;
    /* Metallic border for badge */
    padding: 0.4rem 1.5rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.6);
    /* Stronger shadow */
    width: max-content;
    z-index: 20;
}

/* Pack Platinum */
.pack-platinum {
    /* GLOWING PLATINUM NEON BORDER */
    border: 1px solid #38bdf8;
    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.5),
        0 0 20px rgba(56, 189, 248, 0.3),
        inset 0 0 20px rgba(56, 189, 248, 0.1);
    transition: 0.4s ease;
}

.pack-platinum:hover {
    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.7),
        0 0 40px rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
}

.pack-platinum h3 {
    background: linear-gradient(to bottom, #e0f2fe, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Mobile Fixes */
@media (max-width: 992px) {
    .pack-gold {
        transform: scale(1);
        margin: 2rem 0;
        border-width: 1px;
    }
}

/* --- THEMED CHECKMARKS --- */
.features-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Specific Colors */
.pack-silver .features-list li::before {
    color: #94a3b8;
    /* Silver Gray */
}

.pack-gold .features-list li::before {
    color: #fbbf24;
    /* Amber Gold */
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.pack-platinum .features-list li::before {
    color: #38bdf8;
    /* Cyan Platinum */
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* --- LUMINOUS TIMELINE --- */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem 0;
}

/* Neon Center Line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(59, 130, 246, 0.1) 0%,
            var(--secondary) 50%,
            var(--primary) 100%);
    box-shadow: 0 0 15px var(--secondary);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 3rem;
}

/* Neon Dots */
.timeline-dot {
    position: absolute;
    top: 2.5rem;
    width: 16px;
    height: 16px;
    background: #0f172a;
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--primary);
}

.timeline-item.left .timeline-dot {
    right: -9px;
    /* Half of dot width + half of line width */
}

.timeline-item.right .timeline-dot {
    left: -9px;
}

/* Content Glass Cards */
.timeline-content {
    padding: 2rem;
    position: relative;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.timeline-item.left .timeline-content {
    border-right: 3px solid transparent;
    border-left: none;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.3);
}



/* Mobile Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 3.5rem;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
        padding-left: 3.5rem;
        padding-right: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 11px;
        /* Adjust to sit on line */
        right: auto;
    }



    .timeline-item.left .timeline-content {
        border-right: none;
        border-left: 3px solid transparent;
    }
}
