/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
   :root {
    /* Brand Colors */
    --color-bg: #0b0b0b;
    --color-surface: #151515;
    --color-surface-hover: #1e1e1e;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    
    /* The Brand Gradient (Purple to Violet) */
    --gradient-primary: linear-gradient(135deg, #8A2BE2 0%, #4B0082 100%);
    --gradient-glow: rgba(138, 43, 226, 0.4);
    
    /* Typography */
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --color-bg: #eaedf2;
    --color-surface: #ffffff;
    --color-surface-hover: #f8fafc;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    
    --glass-bg: rgba(0, 0, 0, 0.04);
    --glass-border: rgba(0, 0, 0, 0.1);
    
    --gradient-primary: linear-gradient(135deg, #a020f0 0%, #660099 100%);
    --gradient-glow: rgba(160, 32, 240, 0.4);
}

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

html {
    scroll-behavior: initial; /* Lenis takes over */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    padding: 0;
    z-index: 1000;
    transition: top var(--transition-smooth), transform var(--transition-smooth), background-color var(--transition-smooth);
    border-radius: 16px; /* Boxed rounded edges */
    background-color: rgba(248, 249, 250, 0.85); /* Off-white */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    top: 15px;
    transform: translateX(-50%) scale(0.98);
    background-color: rgba(248, 249, 250, 0.95);
}

.nav-container {
    padding: 0 1.5rem 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    height: 100%;
    width: 140px;
}

.brand-logo img {
    height: 120px;
    animation: logo-glow 4s ease-in-out infinite alternate;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    transform-style: preserve-3d;
}

.brand-logo:hover img {
    transform: rotateY(180deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.8));
}

@keyframes logo-glow {
    0% { filter: drop-shadow(0 0 2px rgba(138, 43, 226, 0.2)); transform: translateY(0); }
    100% { filter: drop-shadow(0 0 12px rgba(138, 43, 226, 0.6)); transform: translateY(-2px); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: #111; /* Dark text for off-white background */
}

.theme-toggle {
    background: transparent;
    border: none;
    color: #111; /* Dark icon for off-white background */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

.theme-toggle:hover {
    background-color: var(--glass-bg);
    color: #8A2BE2;
}

[data-theme="light"] .navbar.scrolled {
    background-color: rgba(248, 250, 252, 0.8);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gradient-primary);
    transition: width var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 12px; /* Boxed rounded edges */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--gradient-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gradient-glow);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Social Sidebar
   ========================================================================== */
.social-sidebar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

/* Fixed WhatsApp Bottom Right */
.fixed-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.fixed-whatsapp .sidebar-link {
    background: #25D366; /* WhatsApp green */
    color: white;
    border-color: transparent;
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.fixed-whatsapp .sidebar-link:hover {
    background: #128C7E;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.sidebar-link {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.sidebar-link:hover {
    color: white;
    background: var(--gradient-primary);
    transform: scale(1.1) translateY(-2px);
    border-color: transparent;
    box-shadow: 0 5px 15px var(--gradient-glow);
}

@media (max-width: 1024px) {
    .social-sidebar {
        display: none;
    }
}

/* ==========================================================================
   Centered Hero Section (developios style)
   ========================================================================== */
.hero-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--spacing-xl);
    text-align: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    z-index: -1;
}

.glow-1 {
    top: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #8A2BE2;
}

.glow-2 {
    bottom: 10%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: #4B0082;
}

.hero-container-center {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Client Badge */
.client-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.client-avatars {
    display: flex;
    align-items: center;
}

.client-avatars .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    margin-left: -12px;
    object-fit: cover;
}

.client-avatars .avatar:first-child {
    margin-left: 0;
}

.icon-avatar {
    background: var(--color-surface-hover);
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-avatar img {
    width: 16px;
}

.client-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.client-badge-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-arrow {
    width: 24px;
}

.client-badge-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.client-badge-rating .stars {
    height: 14px;
}

/* Typography */
.hero-title-center {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.hero-title-center .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-center {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* CTA Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-book-call {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary); /* Purple background */
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    border-radius: 12px; /* Boxed rounded edges */
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4); /* Purple shadow */
}

.btn-book-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--gradient-glow);
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.btn-book-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px; /* Match boxed edges */
    background: rgba(255, 255, 255, 0.1); /* Slightly lighter for contrast on purple */
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
}

.btn-book-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.btn-play-video {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: color var(--transition-smooth);
}

.btn-play-video:hover {
    color: #8A2BE2;
}

.play-icon {
    width: 48px;
    height: 48px;
    transition: transform var(--transition-smooth);
}

.btn-play-video:hover .play-icon {
    transform: scale(1.1);
}

/* Trust Badges */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 12px;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.platform-badge img {
    height: 24px;
}

.badge-divider {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
}

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

/* ==========================================================================
   Sections General
   ========================================================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    text-transform: uppercase;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: var(--spacing-lg) auto 0;
    padding: var(--spacing-md) 0;
}

.process-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: var(--glass-border);
    border-radius: 4px;
    z-index: 1;
}

.process-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 0 15px var(--gradient-glow);
}

.process-step {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    z-index: 2;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-content {
    width: 45%;
}

.process-content.left {
    text-align: right;
}

.process-content.right {
    text-align: left;
}

.process-content:empty {
    display: none;
}

.process-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50px;
    height: 50px;
    background: var(--color-surface);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    transition: all 0.5s ease;
    z-index: 3;
}

.process-dot.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px var(--gradient-glow);
    transform: translate(-50%, 0) scale(1.1);
}

.process-card {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-card p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

/* Process Mockup Image Cards */
.process-image-card {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.process-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Mockup 1: Onboarding */
.mockup-onboarding {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-center-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 30px var(--gradient-glow);
    color: white;
}

.mockup-orbit {
    position: absolute;
    border: 1px dashed var(--glass-border);
    border-radius: 50%;
    animation: spin linear infinite;
}

.mockup-orbit.orbit-1 { width: 120px; height: 120px; animation-duration: 10s; }
.mockup-orbit.orbit-2 { width: 180px; height: 180px; animation-duration: 15s; animation-direction: reverse; }
.mockup-orbit.orbit-3 { width: 240px; height: 240px; animation-duration: 20s; }

.orbit-node {
    width: 16px;
    height: 16px;
    background: var(--color-surface);
    border: 2px solid #8A2BE2;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--gradient-glow);
}

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

/* Mockup 2: Design & Dev */
.mockup-design {
    display: flex;
    gap: 15px;
    width: 80%;
    height: 70%;
}

.mockup-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mockup-block.block-main {
    flex: 2;
}

.mockup-block.block-side {
    flex: 1;
    gap: 10px;
    padding: 10px;
}

.mockup-pulse-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px var(--gradient-glow);
    animation: pulse 2s infinite;
}

.mockup-line {
    width: 100%;
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
}

.mockup-line.short { width: 60%; }

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(138, 43, 226, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
}

/* Mockup 3: Launch */
.mockup-launch {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80%;
}

.mockup-list-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mockup-list-item.active {
    background: rgba(138, 43, 226, 0.1);
    border-color: #8A2BE2;
    color: white;
    box-shadow: 0 0 15px var(--gradient-glow);
    transform: scale(1.05);
    z-index: 2;
}

/* CTA Button */
.btn-book-call {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-book-call .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-book-call:hover .btn-bg {
    width: 100%;
}

.btn-book-call .btn-text {
    position: relative;
    z-index: 1;
    margin-right: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-book-call .btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-book-call:hover {
    border-color: transparent;
    box-shadow: 0 10px 30px var(--gradient-glow);
    transform: translateY(-3px);
    color: #ffffff;
}

.btn-book-call:hover .btn-icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .process-track {
        left: 20px;
    }
    
    .process-dot {
        left: 20px;
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: var(--spacing-md);
    }
    
    .process-content {
        width: 100%;
        padding-left: 60px;
    }
    
    .process-content:empty {
        display: none;
    }
    
    .process-content.left {
        text-align: left;
    }
    
    .process-content.right {
        text-align: left;
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-us {
    padding: var(--spacing-xl) 0;
}

.wcu-container {
    background: var(--color-surface);
    border-radius: 60px;
    padding: var(--spacing-xl) var(--spacing-lg);
    border: 1px solid var(--glass-border); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Lighter shadow for better performance */
    position: relative;
    overflow: hidden;
}

.wcu-container > * {
    position: relative;
    z-index: 1;
}

.wcu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.wcu-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: transform var(--transition-smooth);
    border-radius: 20px;
}

.wcu-card:hover {
    transform: translateY(-10px);
}

.wcu-card:hover .wcu-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 30px var(--gradient-glow);
    color: #ffffff;
}

.wcu-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: all var(--transition-smooth);
}

.wcu-icon svg {
    transform-origin: center;
}

.bell-body { transform-origin: top center; }
.clock-hand { transform-origin: 12px 12px; }

.wcu-card h3 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
}

.wcu-card p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-surface-hover);
    color: var(--color-text-primary);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #ffffff;
}

.service-svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: inherit;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    flex-grow: 1;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* See details Pill Button */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a; /* Dark text */
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.service-card:hover .service-link {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-link:hover {
    transform: scale(1.05);
}

.link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.portfolio-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-smooth);
    background: #111;
}

.portfolio-card:hover .portfolio-image-wrapper img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: var(--spacing-sm) 0;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.portfolio-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Contact & Footer
   ========================================================================== */
.contact-box {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Lighter shadow for better performance */
    border-radius: 40px;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.contact-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: float 10s ease-in-out infinite alternate;
}

.contact-glow-orb.orb-1 {
    top: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
}

.contact-glow-orb.orb-2 {
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    animation-delay: -5s;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateZ(30px);
}

.contact-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin: var(--spacing-sm) 0;
    line-height: 1;
}

.contact-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.contact-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-book-call.btn-outline {
    background: transparent;
    border: 1px solid var(--color-text-primary);
    color: var(--color-text-primary);
}

.btn-book-call.btn-outline .btn-bg {
    background: var(--color-text-primary);
}

.btn-book-call.btn-outline:hover {
    color: var(--color-bg);
}

/* 
==========================================================================
   Creative Footer
========================================================================== */
.creative-footer {
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-card {
    background: #8a2be2; /* Solid brand color */
    width: 100%;
    max-width: 1200px;
    border-radius: 40px;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Left: Brand */
.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
}
.footer-logo img {
    height: 240px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white */
}
.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    font-weight: 500;
}

/* Center: Sticky Note & Socials */
.footer-center-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.sticky-note {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    position: relative;
    max-width: 320px;
    text-align: center;
    color: #111;
}

.note-clip {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: #222;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.note-clip::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 20px;
    border: 3px solid #222;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.note-content h4 {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #111;
    line-height: 1.2;
}

.note-content p {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #444;
}

.social-bubbles {
    display: flex;
    gap: 1rem;
}

.social-bubble {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #bef264; /* Lime green pop */
    border-radius: 16px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: rotate(-3deg);
}
.social-bubble:nth-child(2) {
    transform: rotate(2deg) translateY(-5px);
}
.social-bubble:nth-child(3) {
    transform: rotate(-1deg);
}

.social-bubble:hover {
    background: #bef264;
    color: #111;
    transform: scale(1.1) rotate(0);
}

/* Right: Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
    margin-top: 1rem;
}

.footer-newsletter h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: #bef264;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto var(--spacing-md);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: var(--spacing-md);
    }
    
    .contact-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
}

/* ==========================================================================
   Contact Page Form
   ========================================================================== */
.contact-page-header {
    background: transparent;
}

.custom-contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.custom-contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.custom-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.custom-contact-form .form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

.custom-contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gradient-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: var(--gradient-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.2);
}

.custom-contact-form select option {
    background: #111;
    color: #fff;
}

.custom-contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

@media (max-width: 768px) {
    .custom-contact-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Hamburger & Mobile Navigation
   ========================================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #000000;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Extensive Mobile Optimizations (Max 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Navbar spacing on mobile */
    .nav-container {
        padding-left: 0 !important;
    }
    
    .brand-logo {
        margin-left: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* Show Hamburger Menu */
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        display: none !important; /* Hide desktop links */
    }

    /* Reduce Global Section Padding */
    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .hero {
        padding-top: 8rem !important;
        padding-bottom: 4rem !important;
        min-height: auto !important;
    }
    
    .contact-page-header {
        padding-top: 6rem !important;
    }

    /* Typography scale down */
    .section-title {
        font-size: 2.5rem !important;
    }
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    /* Enforce 1-column grids */
    .services-grid, 
    .wcu-grid, 
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Fix process timeline layout */
    .process-steps {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .process-step {
        width: 100% !important;
        margin-bottom: 2rem !important;
        padding-left: 2rem !important;
    }
    .process-track {
        width: 4px !important;
        height: 100% !important;
        left: 10px !important;
        top: 0 !important;
        transform: none !important;
    }
    .process-dot {
        left: 10px !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
    }
    .process-step:nth-child(even) .process-content,
    .process-step:nth-child(odd) .process-content {
        margin-top: 0 !important;
        text-align: left !important;
    }

    /* Footer vertical stack */
    /* Mobile Footer Stack */
    .footer-card {
        grid-template-columns: 1fr !important;
        padding: 3rem 2rem !important;
        text-align: center;
        gap: 3rem !important;
    }
    
    .footer-brand-section {
        align-items: center;
    }
    
    .footer-newsletter {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    /* Hide 4th and 5th avatar circles in the client badge */
    .review-avatars > *:nth-child(n+4) {
        display: none !important;
    }
    
    /* Hide the stars and review text */
    .client-badge-rating {
        display: none !important;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    position: relative;
    background: var(--color-surface); 
    border-radius: 24px;
    padding: 2.5rem;
    padding-bottom: 7rem; /* Space for the user cutout */
    box-shadow: 0 4px 30px var(--glass-bg);
}

.quote-icon {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    font-weight: 500;
}

/* The cutout effect mask */
.testimonial-user {
    position: absolute;
    bottom: -1px;
    left: -1px;
    background: var(--color-bg); /* Match page background to "mask" the card */
    padding: 1.5rem 2rem 0 0;
    border-top-right-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Inner curved corner above the cutout */
.testimonial-user::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border-bottom-left-radius: 24px;
    box-shadow: -12px 12px 0 12px var(--color-bg);
}

/* Inner curved corner to the right of the cutout */
.testimonial-user::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 24px;
    height: 24px;
    background: transparent;
    border-bottom-left-radius: 24px;
    box-shadow: -12px 12px 0 12px var(--color-bg);
}

.testimonial-user .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user .user-details h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--color-text-primary);
}

.testimonial-user .user-details span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Responsive Styles for Testimonials */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0 !important;
    }
    .testimonials-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem !important;
        padding-bottom: 2rem;
        /* Hide scrollbar for a cleaner look */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    .testimonial-card {
        min-width: 85vw;
        scroll-snap-align: center;
    }
}

/* ==========================================================================
   Mobile Layout Fixes (Contact Form & Process Cards)
   ========================================================================== */
@media (max-width: 768px) {
    /* Fix contact form being too narrow */
    .custom-contact-form-wrap {
        padding: 2rem 1.5rem !important;
    }

    /* Evenly space the two cards in the process steps */
    .process-step {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    /* Ensure content inside doesn't have weird margins overriding the gap */
    .process-step .process-content {
        margin: 0 !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   Testimonial Pagination (Mobile)
   ========================================================================== */
.testimonial-pagination {
    display: none;
}

@media (max-width: 768px) {
    .testimonial-pagination {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .testimonial-pagination .dot {
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background-color: var(--color-text-secondary);
        border: none;
        cursor: pointer;
        opacity: 0.3;
        transition: all 0.3s ease;
        padding: 0;
    }
    
    .testimonial-pagination .dot.active {
        opacity: 1;
        width: 24px;
        background-color: var(--color-text-primary);
    }
}
