/* =====================================================
   DaytoLabs - Futuristic Agency Website
   Premium Design with Glassmorphism & Animations
   ===================================================== */

/* ==================== CSS Variables ==================== */
:root {
    /* Colors */
    --primary: #FFFFFF;
    --primary-dark: #D9D9D9;
    --primary-light: #F5F5F5;
    --secondary: #BDBDBD;
    --accent: #1C1C1C;
    --accent-alt: #333333;

    /* Backgrounds */
    --bg-dark: #000000;
    --bg-darker: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    --gradient-glow: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-max: 1200px;
    --container-padding: clamp(16px, 4vw, 32px);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}

/* ==================== Animated Background ==================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.background-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Stronger constellation lines */
.particles-boost {
    filter: brightness(1.25) contrast(1.1);
}

.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* ==================== Container ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

/* ==================== Typography ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ==================== Glassmorphism Card ==================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glass {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ==================== Header & Navigation ==================== */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    width: min(1200px, calc(100% - 32px));
    transform: translateX(-50%);
    z-index: 1000;
    padding: 14px 20px;
    transition: all var(--transition-normal);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-accent {
    color: #FFFFFF;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    position: relative;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: calc(100% - 32px);
}

.nav-cta {
    margin-left: 24px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile Menu */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 24px;
    }

    .nav-cta {
        margin: 24px 0 0 0;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.partner-bubble {
    margin: 16px auto 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.partner-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.partner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.partner-title {
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
}

.partner-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.stat-number.counted {
    animation: countPop 0.4s ease;
}

@keyframes countPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        height: 60px;
    }

    50% {
        opacity: 0.5;
        height: 40px;
    }
}

/* ==================== Sections Common ==================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Services Section ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    color: #000000;
}

.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    transition: opacity var(--transition-normal);
}

.service-card:hover .icon-glow {
    opacity: 0.5;
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

.service-link svg {
    width: 16px;
    height: 16px;
}

/* ==================== Portfolio Section ==================== */
.portfolio-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.portfolio-item {
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.portfolio-overlay h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: var(--secondary);
}

/* ==================== Réalisations ==================== */
.realisations-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 8px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
}

.realisations-grid::-webkit-scrollbar {
    height: 0;
}

.realisations-grid::after {
    content: '';
    flex: 0 0 32px;
}

.realisation-card {
    overflow: hidden;
    flex: 0 0 calc((100% - 60px) / 4);
    scroll-snap-align: start;
}

.realisations-wrapper {
    position: relative;
    padding: 0 24px;
}

.realisations-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all var(--transition-fast);
}

.realisations-nav:hover {
    background: rgba(255, 255, 255, 0.12);
}

.realisations-nav:active,
.realisations-nav.is-pressed {
    transform: translateY(-50%) scale(0.92);
    background: rgba(255, 255, 255, 0.2);
}

.realisations-nav.prev {
    left: -14px;
}

.realisations-nav.next {
    right: -14px;
}

.realisations-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 900px) {
    .realisations-nav {
        display: none;
    }
    .realisation-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

.realisation-image {
    height: 200px;
    overflow: hidden;
    background: #0b0b0b;
}

.realisation-card {
    text-align: center;
}

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

.realisation-preview {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(100%) contrast(1.15) brightness(0.9);
}

.realisation-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.realisation-body h3 {
    font-size: 16px;
}

.realisation-body p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ==================== Before / After Slider ==================== */
.before-after-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: 320px;
}

.ba-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ba-before {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
        linear-gradient(120deg, #1A1A1A, #3A3A3A);
}

.ba-after {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05)),
        linear-gradient(120deg, #FFFFFF, #D9D9D9);
    clip-path: inset(0 0 0 50%);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
    transform: translateX(-1px);
    z-index: 2;
}

.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
}

.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
    touch-action: none;
}

.ba-caption {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
}

.ba-points {
    display: grid;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    justify-items: center;
}

.ba-point {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-align: center;
}

.ba-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}

@media (max-width: 900px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== Why Us Section ==================== */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.why-us-text .section-tag {
    margin-bottom: 16px;
}

.why-us-text .section-title {
    text-align: left;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.why-us-description {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.why-us-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-card {
    padding: 28px;
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: #FFFFFF;
}

.why-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.why-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-text {
        text-align: center;
    }

    .why-us-text .section-title {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .why-us-cards {
        grid-template-columns: 1fr;
    }
}

/* ==================== Pricing Section ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}


.pricing-card {
    padding: 36px 32px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-5px);
}

.pricing-card .btn {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
}

.pricing-card .btn:hover {
    background: #EDEDED;
    border-color: #EDEDED;
    color: #000000;
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-label {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 8px;
}

.pricing-period {
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    stroke: #FFFFFF;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-note a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* ==================== Testimonials Section ==================== */
.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        min-width: calc(33.333% - 16px);
    }
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.testimonial-stars,
.testimonial-stars svg {
    color: #FFFFFF !important;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonials-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* ==================== Trustpilot Marquee ==================== */
.trustpilot-section {
    padding: 60px 0;
}

.trustpilot-marquee {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.trustpilot-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: trustpilot-scroll 28s linear infinite;
    padding: 20px;
    white-space: nowrap;
}

.trustpilot-item {
    min-width: 260px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
}

.trustpilot-item h4 {
    font-size: 14px;
    margin: 0 0 6px 0;
    color: #FFFFFF;
}

.trustpilot-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.trustpilot-stars {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 8px;
}

.trustpilot-stars svg {
    width: 16px;
    height: 16px;
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

/* ==================== Telegram Section ==================== */
.telegram-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
}

.telegram-text .section-tag {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .telegram-card {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes trustpilot-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==================== Contact Section ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: #FFFFFF;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span:not(.contact-label) {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #FFFFFF;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff50'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    grid-column: span 2;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .form-group.full-width,
    .contact-form .btn {
        grid-column: span 1;
    }
}

/* ==================== Footer ==================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--text-muted);
}

.footer-credit .heart {
    color: var(--accent);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-description {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==================== Animations ==================== */
.animate-fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}


/* ==================== Responsive Adjustments ==================== */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== Utility Classes ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== New Features Additions ==================== */

/* --- Video Play Button --- */
.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    color: white;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-play-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    transition: all var(--transition-fast);
}

.btn-video:hover .btn-play-icon {
    fill: var(--secondary);
    transform: scale(1.1);
}


/* --- Clients Logo Marquee --- */
.clients-marquee {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0) 10%,
            rgba(0, 0, 0, 0) 90%,
            rgba(0, 0, 0, 1) 100%);
    z-index: 2;
    margin-top: -60px;
    /* Overlap with hero slightly or adjust spacing */
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 60px;
}

.client-logo {
    opacity: 0.5;
    transition: opacity var(--transition-normal);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-placeholder {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: white;
    letter-spacing: -0.5px;
}

.logo-placeholder strong {
    font-weight: 800;
}

.clients-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* --- Trust Badges Section --- */
.trust-badges {
    padding: 60px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.badge-item {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform var(--transition-normal);
}

.badge-item:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

.badge-icon.shopify {
    color: #FFFFFF;
}

.badge-icon.verified {
    color: #FFFFFF;
}

.badge-icon.guarantee {
    color: #FFFFFF;
}

.badge-icon.support {
    color: #FFFFFF;
}

.badge-icon.secure {
    color: #FFFFFF;
}

.badge-icon svg {
    width: 24px;
    height: 24px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.badge-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}


/* --- Video Modal --- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 2001;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
}

.video-modal-close:hover {
    color: var(--accent);
}

.video-modal-close svg {
    width: 32px;
    height: 32px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: black;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.video-wrapper iframe,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Site Preview Modal --- */
.site-preview-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 2100;
}

.site-preview-modal.active {
    opacity: 1;
    pointer-events: all;
}

.site-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.site-preview-card {
    position: relative;
    z-index: 1;
    width: min(520px, 92vw);
    padding: 28px;
    text-align: center;
}

.site-preview-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.site-preview-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.site-preview-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A1A, #000000);
}

.video-placeholder-content {
    text-align: center;
    color: var(--text-muted);
}

.video-placeholder-content svg {
    margin-bottom: 24px;
    opacity: 0.5;
}

.video-placeholder-content p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* --- Promo Marquee Styles --- */
.promo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.promo-tag {
    background: #2B2B2B;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.4);
}

.promo-msg {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.promo-separator {
    color: var(--secondary);
    font-size: 20px;
    line-height: 1;
}

.clients-label {
    display: none;
    /* Hide old label */
}

/* ==================== Feature Updates ==================== */

/* --- Tech Stack Section --- */
.tech-stack {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stack-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stack-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stack-icon svg {
    width: 40px;
    height: 40px;
}

.stack-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.stack-item:hover .stack-icon {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.floating {
    animation: floating 3s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* --- 3D Cube Hero Element --- */
.hero-3d-container {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
    z-index: 0;
    pointer-events: none;
    /* Let text be clickable */
}

@media (max-width: 900px) {
    .hero-3d-container {
        display: none;
        /* Hide on mobile for performance/space */
    }
}

.cube-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-20deg);
    animation: rotateCube 20s linear infinite;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

/* Face positioning */
.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}


/* --- Chatbot Widget --- */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-primary);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-icon {
    color: white;
}

.chatbot-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.chatbot-toggle .chatbot-icon {
    opacity: 0;
}

.chatbot-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #3B3B3B;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--bg-dark);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 450px;
    background: var(--bg-card-hover);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
}

.chatbot-widget.active .chatbot-window {
    transform: scale(1);
    opacity: 1;
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    position: relative;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2a2 2 0 0 1 2 2c0 .74-.4 1.39-1 1.73V7h1a7 7 0 0 1 7 7h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v1a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-1H2a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h1a7 7 0 0 1 7-7h1V5.73c-.6-.34-1-.99-1-1.73a2 2 0 0 1 2-2zM4 12H2v3h2v-3zm18 0h-2v3h2v-3zM5 9a5 5 0 0 0-5 5v5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-5a5 5 0 0 0-5-5H5z"/></svg>');
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.bot-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #9E9E9E;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.chatbot-header h4 {
    font-size: 16px;
    margin: 0;
    color: #000000;
}

.chatbot-header span {
    font-size: 12px;
    opacity: 0.8;
    color: #000000;
}

.chatbot-close {
    background: none;
    border: none;
    color: #000000;
    margin-left: auto;
    cursor: pointer;
    opacity: 0.7;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.message.bot {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input {
    padding: 16px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
    background: transparent;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    font-family: inherit;
    font-size: 14px;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent);
}

.chatbot-input button {
    background: var(--accent);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

.chatbot-input svg {
    width: 18px;
    height: 18px;
}

/* ==================== Liquid Sphere Animation ==================== */
.liquid-sphere-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.liquid-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    box-shadow:
        inset 10px 10px 20px rgba(255, 255, 255, 0.2),
        inset -10px -10px 20px rgba(0, 0, 0, 0.1),
        0 0 50px rgba(255, 255, 255, 0.3);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: liquid-morph 8s ease-in-out infinite alternate;
    z-index: 2;
    transition: transform 0.1s ease-out;
}

.liquid-sphere::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.6;
}

.liquid-sphere-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    animation: liquid-pulse 5s ease-in-out infinite alternate;
}

@keyframes liquid-morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(10px, -20px) rotate(120deg);
    }

    66% {
        border-radius: 70% 30% 50% 50% / 40% 40% 60% 60%;
        transform: translate(-10px, 10px) rotate(240deg);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes liquid-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* ==================== Brand Marquee Section ==================== */
.marquee-section {
    background: var(--glass-bg);
    /* Reverted to elegant glass/dark style */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    gap: 40px;
    padding-left: 20px;
}

.marquee-item {
    color: #FFFFFF;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==================== Liquid Sphere Animation ==================== */
.liquid-sphere-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.liquid-sphere {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    box-shadow:
        inset 20px 20px 60px rgba(255, 255, 255, 0.2),
        inset -20px -20px 60px rgba(0, 0, 0, 0.2),
        0 0 100px rgba(255, 255, 255, 0.4);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: liquid-morph 8s ease-in-out infinite alternate;
    z-index: 1;
}

.liquid-sphere::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.7;
}

.liquid-sphere-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    animation: liquid-pulse 6s ease-in-out infinite alternate;
}

@keyframes liquid-morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(20px, -30px) rotate(120deg);
    }

    66% {
        border-radius: 70% 30% 50% 50% / 40% 40% 60% 60%;
        transform: translate(-20px, 20px) rotate(240deg);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes liquid-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.25;
    }
}

/* ==================== Connected Globe Animation ==================== */
.globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.75;
}

.globe {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: globe-spin 20s linear infinite;
}

.globe-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.16);
}

/* Create the sphere shape by rotating rings */
.globe-ring:nth-child(1) {
    transform: rotateY(0deg);
}

.globe-ring:nth-child(2) {
    transform: rotateY(60deg);
}

.globe-ring:nth-child(3) {
    transform: rotateY(120deg);
}

.globe-ring:nth-child(4) {
    transform: rotateX(60deg);
}

.globe-ring:nth-child(5) {
    transform: rotateX(120deg);
}

/* Glowing Dots (Cities) */
.globe-dots span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: dot-pulse 2s infinite alternate;
}

.globe-dots span:nth-child(1) {
    top: 20%;
    left: 20%;
    transform: translateZ(100px);
}

.globe-dots span:nth-child(2) {
    top: 60%;
    left: 80%;
    transform: translateZ(140px);
}

.globe-dots span:nth-child(3) {
    top: 40%;
    left: 40%;
    transform: translateZ(-50px);
}

.globe-dots span:nth-child(4) {
    top: 80%;
    left: 30%;
    transform: translateZ(80px);
}

.globe-dots span:nth-child(5) {
    top: 30%;
    left: 70%;
    transform: translateZ(-80px);
}

@keyframes globe-spin {
    0% {
        transform: rotateY(0deg) rotateX(20deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(20deg);
    }
}

@keyframes dot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Responsiveness */
@media (max-width: 900px) {
    .globe-container {
        width: 100%;
        height: 100%;
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

/* ==================== Comparison Section ==================== */
.comparison-table-wrapper {
    overflow-x: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 24px;
}

.competitor-col {
    color: var(--text-muted);
}

.dayto-col {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.comparison-table td {
    color: var(--text-secondary);
}

.rating-stars {
    color: #FFFFFF;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-size: inherit;
    letter-spacing: normal;
    line-height: inherit;
    vertical-align: middle;
}

.rating-stars svg {
    width: 18px;
    height: 18px;
    fill: #FFFFFF;
    stroke: #FFFFFF;
    display: block;
    vertical-align: middle;
}

.comparison-table .highlight {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==================== Founder Section ==================== */
.founder-card {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
}

.founder-image {
    flex-shrink: 0;
    position: relative;
}

.founder-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.founder-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.founder-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--bg-dark);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.founder-content h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.founder-bio {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 24px;
}

.founder-signature {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--primary-light);
}

/* ==================== FAQ Section ==================== */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #FFFFFF;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsiveness for new sections */
@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        gap: 32px;
    }

    .founder-bio {
        border-left: none;
        padding-left: 0;
    }

    .comparison-table th {
        font-size: 14px;
    }
}

/* ==================== Mobile Optimization ==================== */
@media (max-width: 768px) {
    .header {
        top: 8px;
        width: calc(100% - 16px);
        padding: 10px 12px;
        border-radius: 14px;
    }

    .header.scrolled {
        padding: 10px 12px;
    }

    .header-container {
        justify-content: center;
        position: relative;
    }

    .nav-logo {
        margin: 0 auto;
    }

    .nav-toggle {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 42px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 14px;
    }

    .partner-bubble {
        gap: 8px;
        padding: 8px 12px;
    }

    .partner-avatar {
        width: 36px;
        height: 36px;
    }

    .globe-container {
        width: 360px;
        height: 360px;
        opacity: 0.5;
    }

    .globe {
        width: 260px;
        height: 260px;
    }

    .why-us-content {
        gap: 28px;
    }

    .why-us-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .why-us-cards {
        gap: 12px;
    }

    .why-card {
        padding: 20px;
    }

    .why-card h4 {
        font-size: 16px;
    }

    .why-card p {
        font-size: 13px;
    }

    .why-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .comparison-table {
        min-width: 520px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 13px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 36px);
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .badges-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    .realisations-grid {
        gap: 16px;
        padding: 0 8px;
        scroll-snap-type: x mandatory;
    }

    .realisation-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }

    .ba-handle {
        width: 3px;
    }

    .ba-handle::before {
        width: 56px;
        height: 56px;
    }

    .chatbot-widget {
        right: 16px;
        bottom: 16px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
    }

    .chatbot-window {
        width: min(92vw, 360px);
        height: 70vh;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body::before {
        background-size: 160px 160px;
        opacity: 0.06;
    }

    #particles-canvas {
        opacity: 0.2;
    }

    .particles-boost {
        filter: none;
    }

    .orb {
        display: none;
    }
}

/* Update Pricing Grid for 5 items */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

