/* ====== DESIGN TOKENS ====== */
:root {
    /* Colors */
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-tertiary: #141432;
    --bg-card: rgba(20, 20, 50, 0.6);
    --bg-card-hover: rgba(30, 30, 70, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0ff;
    --text-secondary: #9494db;
    --text-muted: #6b6b8f;

    --accent-1: #006aff;
    /* Electric Blue */
    --accent-2: #3b82f6;
    /* Purple */
    --accent-3: #06b6d4;
    /* Cyan */
    --gradient-main: #006aff;
    --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(168, 85, 247, .15));
    --gradient-border: linear-gradient(135deg, rgba(99, 102, 241, .4), rgba(168, 85, 247, .4), rgba(236, 72, 153, .2));

    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, .5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, .15);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1280px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ====== LIGHT THEME — Cyber Arctic Redesign ====== */
[data-theme="light"] {
    /* Backgrounds: Ice white to cool grey */
    --bg-primary: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #cbd5e1;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(59, 130, 246, 0.04);
    --bg-glass-border: rgba(59, 130, 246, 0.12);

    /* Text: Deep Navy / Carbon */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Accents: Electric Blue / Silver Steel */
    --accent-1: #006aff;
    --accent-2: #3b82f6;
    --accent-3: #1d4ed8;
    --gradient-main: #006aff;
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(59, 130, 246, .08));

    /* Borders & Shadows: Deep Arctic Depth */
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, .04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 30px 60px rgba(15, 23, 42, .12);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, .15);
}

/* ====== RESET ====== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

h1 .gradient-text, h2 .gradient-text, h3 .gradient-text {
    color: var(--accent-1);
}

[data-theme="light"] h1,
[data-theme="light"] h1 .gradient-text,
[data-theme="light"] h2,
[data-theme="light"] h2 .gradient-text,
[data-theme="light"] h3,
[data-theme="light"] h3 .gradient-text,
[data-theme="light"] h4,
[data-theme="light"] h4 .gradient-text {
    color: #000000 !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}


/* ====== HIGHLIGHT TEXT ====== */
.gradient-text {
    color: var(--accent-1);
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, .35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, .5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-1);
    background: rgba(99, 102, 241, .08);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s var(--ease-out);
    padding: 16px 0;
}

[data-theme="light"] .navbar {
    background: rgb(0, 106, 255);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .navbar .logo-text,
[data-theme="light"] .navbar .nav-link,
[data-theme="light"] .navbar .theme-toggle {
    color: #ffffff !important;
}


.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    padding: 12px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(200, 0, 255, 0.964);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-only {
    display: flex;
}

.mobile-drawer {
    display: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, .05);
}

.mobile-cta-item {
    display: none;
}

/* Focus States for Accessibility */
.nav-link:focus-visible,
.nav-cta:focus-visible,
.theme-toggle:focus-visible,
.hamburger:focus-visible {
    outline: 2px solid var(--accent-1);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.nav-link svg {
    transition: transform 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, .15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gradient-main);
    color: #fff;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(99, 102, 241, .3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, .4);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s var(--ease-out);
}

.theme-toggle:hover {
    background: rgba(128, 128, 128, 0.1);
}

.sun-icon,
.moon-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

:root:not([data-theme="light"]) .sun-icon {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100002;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.2);
    top: -200px;
    left: -200px;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(168, 85, 247, 0.15);
    bottom: -200px;
    right: -200px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 15s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -30px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

@keyframes orbPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.2;
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-1);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-1);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2ch;
}

/* Typing Cursor Effect */
.bg-white {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: var(--text-primary);
    margin-left: 4px;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes cursor-blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: stretch;
    height: 620px;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 300px;
    }
}

[data-theme="light"] .hero-carousel {
    background: linear-gradient(145deg, rgba(240, 237, 249, 0.9), rgba(230, 222, 252, 0.7));
    border: 1px solid rgba(5, 150, 105, 0.12);
    box-shadow:
        0 4px 24px rgba(5, 150, 105, 0.08),
        0 20px 60px rgba(5, 150, 105, 0.1);
}

.slide-visual-bg {
    background: rgba(15, 15, 40, 0.6);
    border-radius: 16px;
}

[data-theme="light"] .slide-visual-bg {
    background: linear-gradient(135deg, rgba(240, 237, 249, 0.6), rgba(224, 218, 255, 0.4));
    border-radius: 16px;
    border: 1px solid rgba(5, 150, 105, 0.08);
}

.hero-slider {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    padding: 20px 60px;
    gap: 40px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide-content {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-visual {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-height: 85%;
    max-width: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    display: block;
    margin: 0 auto;
    mix-blend-mode: lighten;
}

[data-theme="light"] .hero-image {
    filter: drop-shadow(0 16px 32px rgba(5, 150, 105, 0.15));
    mix-blend-mode: normal;
}

/* Product screenshot card - intentionally styled as a product mockup display */
.slide-visual .has-bg {
    border-radius: 20px;
    overflow: hidden;
    width: 88%;
    height: auto;
    max-height: 82%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    /* Premium shadow layering */
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .slide-visual .has-bg {
    background: #ffffff;
    box-shadow:
        0 0 0 1px rgba(5, 150, 105, 0.15),
        0 8px 24px rgba(5, 150, 105, 0.12),
        0 24px 60px rgba(5, 150, 105, 0.08);
}

/* Glowing top border accent */
.slide-visual .has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #06b6d4);
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

/* Bottom label or shimmer overlay */
.slide-visual .has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg,
            transparent 60%,
            rgba(10, 10, 26, 0.08) 100%);
    pointer-events: none;
}

[data-theme="light"] .slide-visual .has-bg::after {
    background: linear-gradient(180deg,
            transparent 60%,
            rgba(255, 255, 255, 0.08) 100%);
}

.slide-visual .has-bg .hero-image {
    mix-blend-mode: normal;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    filter: none;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

[data-theme="light"] .carousel-nav {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.15);
    color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
}

[data-theme="light"] .carousel-nav:hover {
    background: #059669;
    border-color: #059669;
    color: white;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.carousel-nav.prev-slide {
    left: 20px;
}

.carousel-nav.next-slide {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--accent-1);
    transform: scale(1.3);
}

[data-theme="light"] .dot {
    background: rgba(5, 150, 105, 0.2);
}

[data-theme="light"] .dot:hover {
    background: rgba(5, 150, 105, 0.5);
}

.hero-glow {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, .3), transparent 70%);
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(20, 20, 50, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: floatCard 6s ease-in-out infinite;
    transition: opacity 0.4s var(--ease-out), background 0.3s ease, border 0.3s ease;
}

[data-theme="light"] .floating-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.floating-card .fc-icon {
    font-size: 1.5rem;
}

.floating-card .fc-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.floating-card .fc-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ====== SECTIONS ====== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(99, 102, 241, .15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ====== ABOUT SECTION ====== */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}




.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, .2);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--accent-1);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About intro text */
.about-intro {
    max-width: 1000px;
    margin: 0 auto 56px;
    text-align: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-lead strong {
    color: var(--accent-1);
    font-weight: 600;
}

.about-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 3-column grid for 6 cards */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Vision statement bar */
.about-vision {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin: 32px auto 0;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.about-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
}

.about-vision::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.vision-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 16px;
    color: var(--accent-1);
}

.vision-text {
    flex: 1;
}

.vision-text h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.vision-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.vision-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ====== SPLIT SECTIONS ====== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse>* {
    direction: ltr;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 26, .5), transparent);
    pointer-events: none;
}

[data-theme="light"] .image-overlay {
    background: linear-gradient(to top, rgba(5, 150, 105, 0.15), transparent);
}

.split-content .section-tag {
    margin-bottom: 16px;
}

.split-content .section-title {
    text-align: left;
    margin-bottom: 32px;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.content-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .content-card {
    background: #ffffff;
    border: 1px solid rgba(0, 106, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow);
}

[data-theme="light"] .content-card:hover {
    background: #ffffff;
    border-color: var(--accent-1);
    box-shadow: 0 10px 30px rgba(0, 106, 255, 0.1);
}

/* Generic List Item (Previous Style) */
.content-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.item-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--bg-glass-border);
    border-radius: 50%;
    color: var(--accent-1);
    transition: all 0.3s ease;
}

[data-theme="light"] .item-icon {
    background: rgba(0, 106, 255, 0.05);
    border: 1px solid rgba(0, 106, 255, 0.1);
}

.content-item:hover .item-icon {
    background: var(--accent-1);
    color: #ffffff;
    transform: scale(1.05);
}

.item-text h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--accent-1);
}

.item-text p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

[data-theme="light"] .item-text p {
    color: var(--text-secondary);
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.15);
    top: -100px;
    right: -100px;
}

.cta-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(168, 85, 247, 0.1);
    bottom: -100px;
    left: -100px;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ====== CONTACT SECTION ====== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, .2);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-card a,
.contact-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-card a:hover {
    color: var(--accent-1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    color: var(--text-muted);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b6b8f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: #fff;
    transform: translateY(-3px);
}

[data-theme="light"] .social-link {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(5, 150, 105, 0.15);
    color: #059669;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-links-group a:hover {
    color: var(--accent-1);
    transform: translateX(4px);
}

.footer-links-group li {
    transition: transform 0.2s ease;
}

.footer-links-group li:hover {
    transform: translateX(4px);
}

.footer-contact li {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .floating-card.card-1 {
        right: -5%;
    }

    .floating-card.card-2 {
        left: -5%;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-section.reverse {
        direction: ltr;
    }

    .split-content .section-title {
        text-align: center;
    }

    .split-content {
        text-align: center;
    }

    .split-content .content-list {
        text-align: left;
    }

    .split-content .content-card {
        text-align: left;
    }

    .split-content .item-text {
        text-align: left;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Mobile-Drawer Architecture Fix */
    .desktop-only {
        display: none !important;
    }

    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: auto !important;
        width: 300px;
        max-width: 85%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98) !important;
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        z-index: 1000001;
        padding: 90px 32px 60px;
        transform: translateX(-101%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
        visibility: visible;
        align-items: flex-start;
        text-align: left;
    }

    .mobile-drawer.mobile-open {
        transform: translateX(0);
    }

    [data-theme="light"] .mobile-drawer {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    /* Backdrop Overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(4px);
        z-index: 1000000;
        /* Above all site content */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .hamburger {
        display: flex;
        z-index: 1000002;
        /* Always on top to allow closing */
        order: -1;
    }

    .nav-logo {
        order: 0;
    }

    .nav-actions {
        order: 1;
        margin-left: auto;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.mobile-open li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered entry */
    .nav-links.mobile-open li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.mobile-open li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.mobile-open li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.mobile-open li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.mobile-open li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.mobile-open li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        padding: 16px 0;
        /* Slightly tighter for no-scroll fit */
        color: var(--text-primary) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        width: 100%;
        transition: all 0.3s ease;
    }

    [data-theme="light"] .nav-link {
        color: var(--text-primary) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:hover {
        color: var(--accent-1) !important;
        transform: translateX(10px);
    }

    .mobile-cta-item {
        display: block;
        width: 100%;
        margin-top: 24px;
    }

    .nav-actions {
        gap: 8px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0;
        min-width: auto;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
        min-height: auto;
    }

    /* Fix text shadow smudge on mobile headers */
    .section-header h2,
    .hero-title,
    .content-item h2 {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        letter-spacing: -0.5px;
    }

    .section-header p {
        padding: 0 10px;
    }

    /* Hero Carousel Mobile Fixes */
    .slider-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0 10px;
        pointer-events: none;
    }

    .prev-slide,
    .next-slide {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        pointer-events: auto;
    }

    .slider-dots {
        bottom: 15px;
    }

    .hero-actions {
        margin-top: 24px;
        gap: 12px;
    }

    .carousel-nav {
        top: auto !important;
        bottom: 20px !important;
        transform: scale(0.9) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .carousel-nav.prev-slide {
        left: 20px !important;
    }

    .carousel-nav.next-slide {
        right: 20px !important;
    }

    .slider-dots {
        bottom: 28px !important;
    }

    .slide:not(.slide-video) {
        padding: 40px 16px 60px !important;
        flex-direction: column-reverse !important;
        justify-content: flex-start;
        text-align: center;
        height: auto !important;
        min-height: 600px;
    }

    .slide-visual {
        height: 280px !important;
        flex: none !important;
        width: 100% !important;
    }





    .image-frame img {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }
}

/* ====== PRODUCTS ====== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}


.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, .2);
    box-shadow: var(--shadow-glow);
}

.product-image {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 32px 24px;
}

.product-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================================
   ✦ PREMIUM 3D EXPERIENCE SYSTEM
   ====================================================== */

/* ── 1. Global perspective foundation ── */
#page-wrapper {
    perspective: 1200px;
    perspective-origin: 50% 30%;
    width: 100%;
}


/* ── 2. Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-main);
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

/* ── 3. Feature Cards — powerful 3D tilt + depth glow ── */
.feature-card {
    transform-style: preserve-3d;
    transform: perspective(800px) rotateX(0deg) rotateY(0deg);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease !important;
    will-change: transform;
    cursor: default;
}

.feature-card:hover {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.25),
        0 20px 60px rgba(99, 102, 241, 0.2),
        0 40px 80px rgba(168, 85, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(99, 102, 241, 0.08) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

[data-theme="light"] .feature-card:hover {
    box-shadow:
        0 0 0 1px rgba(91, 33, 182, 0.2),
        0 20px 60px rgba(91, 33, 182, 0.15),
        0 40px 80px rgba(13, 148, 136, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* ── 4. Product Cards — 3D lift + floating shadow ── */
.product-card {
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease !important;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-16px) rotateX(2deg) !important;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(99, 102, 241, 0.18),
        0 64px 80px rgba(168, 85, 247, 0.08) !important;
}

/* Product image glow on hover */
.product-card:hover .product-image {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
}

/* ── 5. Contact Cards — slide + 3D depth ── */
.contact-card {
    transform-style: preserve-3d;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, background 0.3s ease !important;
}

.contact-card:hover {
    transform: translateX(8px) translateZ(10px) !important;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15) !important;
}

/* ── 6. Animated Gradient Border — feature cards ── */
@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.feature-card.animate-border {
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.feature-card.animate-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--border-angle),
            #6366f1, #a855f7, #ec4899, #06b6d4, #6366f1);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card.animate-border:hover::before {
    opacity: 1;
}

@keyframes rotateBorder {
    to {
        --border-angle: 360deg;
    }
}

/* ── 7. Hero section — 3D depth layering ── */
.hero-orb {
    transform-style: preserve-3d;
    animation: orbFloat 20s ease-in-out infinite, orbDepth 8s ease-in-out infinite alternate;
}

@keyframes orbDepth {
    0% {
        filter: blur(100px);
        opacity: 0.35;
    }

    100% {
        filter: blur(130px);
        opacity: 0.55;
    }
}

/* ── 8. Hero Carousel — 3D entrance + depth ── */
.hero-carousel {
    transform-style: preserve-3d;
}

.slide {
    transform-origin: 50% 50%;
}

.slide.active {
    animation: slideEnter 0.7s var(--ease-out) forwards;
}

@keyframes slideEnter {
    from {
        opacity: 0;
        transform: perspective(800px) translateZ(-40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: perspective(800px) translateZ(0px) scale(1);
    }
}

/* ── 9. Image frames — premium 3D depth ── */
.image-frame {
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s ease !important;
}

.image-frame:hover {
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateZ(12px) !important;
    box-shadow:
        8px 8px 30px rgba(0, 0, 0, 0.3),
        -4px -4px 20px rgba(99, 102, 241, 0.15),
        0 40px 80px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .image-frame:hover {
    box-shadow:
        8px 8px 30px rgba(91, 33, 182, 0.12),
        -4px -4px 20px rgba(13, 148, 136, 0.1),
        0 40px 80px rgba(91, 33, 182, 0.1) !important;
}

/* ── 10. Floating cards — layered 3D depth ── */
.floating-card {
    transform-style: preserve-3d;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

/* ── 11. Navbar — rich 3D frosted glass ── */
.navbar.scrolled {
    background: rgba(10, 10, 26, 0.7) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(99, 102, 241, 0.1) !important;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(10, 10, 26, 0.95) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(99, 102, 241, 0.1) !important;
}


/* ── 12. CTA Section — 3D perspective depth orbs ── */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}

[data-theme="light"] .cta-section::before {
    background: radial-gradient(ellipse, rgba(91, 33, 182, 0.08) 0%, transparent 70%);
}

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* ── 13. Section tags — animated shimmer ── */
.section-tag {
    position: relative;
    overflow: hidden;
}

.section-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: shimmer 3s ease-in-out infinite 1s;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    60%,
    100% {
        left: 200%;
    }
}

/* ── 14. Buttons — 3D press effect + glow ── */
.btn {
    transition: all 0.3s var(--ease-out), box-shadow 0.2s ease !important;
    transform-style: preserve-3d;
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3) !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 8px 32px rgba(99, 102, 241, 0.5),
        0 0 60px rgba(168, 85, 247, 0.2) !important;
}

/* ── 15. Animate-on-scroll — staggered 3D entry ── */
.animate-on-scroll {
    opacity: 0;
    transform: perspective(800px) translateY(50px) rotateX(8deg);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out) !important;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: perspective(800px) translateY(0) rotateX(0deg) !important;
}

/* ── 16. About vision bar — glowing 3D panel ── */
.about-vision {
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}

.about-vision:hover {
    transform: perspective(1000px) translateZ(8px);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 20px 60px rgba(99, 102, 241, 0.15) !important;
}

/* ── 17. Hero Badge — micro pulse ring ── */
.hero-badge {
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    background: var(--gradient-main);
    opacity: 0;
    z-index: -1;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.04);
    }
}

/* ── 18. Form inputs — 3D focus lift ── */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.35s var(--ease-out), box-shadow 0.3s ease !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 2px rgba(99, 102, 241, 0.2),
        0 8px 20px rgba(99, 102, 241, 0.12) !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    box-shadow:
        0 0 0 2px rgba(91, 33, 182, 0.2),
        0 8px 20px rgba(91, 33, 182, 0.1) !important;
}

/* ── 19. Footer — subtle 3D depth line ── */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.4), transparent);
}

/* ── 20. THEME TOGGLE — 3D flip animation ── */
.theme-toggle {
    transition: all 0.4s var(--ease-spring) !important;
}

.theme-toggle:active {
    transform: scale(0.85) rotateY(180deg) !important;
}

/* ── 21. Dropdown menu — 3D popout ── */
.dropdown-menu {
    transform-origin: top center;
    transition: all 0.3s var(--ease-out), transform 0.3s var(--ease-spring) !important;
}

.dropdown:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0) perspective(400px) rotateX(0deg) !important;
}

/* ── 22. Grid background grid shimmer in hero ── */
.grid-overlay {
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ── 23. Nav logo – hover lift ── */
.nav-logo:hover .logo-icon {
    transform: scale(1.15) rotate(-8deg);
    transition: transform 0.4s var(--ease-spring);
    display: inline-block;
}

/* ── 24. Section entrance with depth ── */
.section-header {
    transform-origin: center top;
}

/* ── 25. Product card glossy top edge ── */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    z-index: 1;
}

.product-card:hover::before {
    transform: scaleX(1);
}

/* ── 26. Vision icon – 3D spin on hover ── */
.vision-icon {
    transition: transform 0.5s var(--ease-spring) !important;
}

.about-vision:hover .vision-icon {
    transform: perspective(300px) rotateY(15deg) scale(1.1);
}

/* ── 27. Light theme body – subtle grid ── */
[data-theme="light"] body {
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(91, 33, 182, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(13, 148, 136, 0.05) 0%, transparent 60%);
    background-attachment: fixed;
}

/* ── 28. Carousel nav 3D rotation hint ── */
.carousel-nav:hover {
    transform: translateY(-50%) scale(1.15) !important;
    transition: all 0.3s var(--ease-spring) !important;
}

/* ── 29. Feature icon 3D spin on card hover ── */
.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
    transition: transform 0.7s var(--ease-out);
}

/* ── 30. Smooth color transitions everywhere ── */
*,
*::before,
*::after {
    transition: background-color 0.4s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Exception: keep transform-heavy elements from conflicting */
.btn,
.feature-card,
.product-card,
.contact-card,
.floating-card,
.image-frame,
.about-vision,
.carousel-nav,
.theme-toggle {
    transition: all 0.4s var(--ease-out) !important;
}

/* ===========================================================
   ✦ ULTRA IMMERSIVE 3D — MAXIMUM DEPTH SYSTEM (ARCTIC)
   =========================================================== */

/* ── 3D Text Extrusion for Headers ── */
.hero-title,
.section-header h2 {
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0, 0, 0, .1),
        0 0 5px rgba(0, 0, 0, .1),
        0 1px 3px rgba(0, 0, 0, .3),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .25),
        0 10px 10px rgba(0, 0, 0, .2),
        0 20px 20px rgba(0, 0, 0, .15);
}

[data-theme="light"] .hero-title,
[data-theme="light"] .section-header h2 {
    text-shadow:
        0 1px 0 #cbd5e1,
        0 2px 0 #94a3b8,
        0 10px 20px rgba(15, 23, 42, 0.1);
}

/* ── Canvas particle field ── */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

/* ── Depth fog at bottom of hero ── */
.hero-fog-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 2;
}

/* ── Extreme depth on hero carousel ── */
.hero-carousel {
    transform-style: preserve-3d;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 80px 160px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .hero-carousel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.8)) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow:
        0 40px 100px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* ── Arctic Light theme element overrides ── */
[data-theme="light"] .slide-visual-bg {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.8), rgba(203, 213, 225, 0.5)) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
}

[data-theme="light"] .hero-image {
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.15)) !important;
}

[data-theme="light"] .feature-card:hover {
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.3),
        0 30px 70px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .social-link {
    background: #fff !important;
    color: #2563eb !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

[data-theme="light"] .footer::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent) !important;
}

/* ── Ultra 3D card perspective ── */
.feature-card,
.product-card {
    transform-style: preserve-3d;
}

/* ── 3D Depth Scale on section entries ── */
.section-header {
    transform-style: preserve-3d;
}

/* ── Mega depth hero glow pulse ── */
.hero-orb-1 {
    animation: orbFloat 18s ease-in-out infinite, orbPulse 10s ease-in-out infinite;
}

.hero-orb-2 {
    animation: orbFloat 22s ease-in-out infinite reverse, orbPulse 14s ease-in-out infinite 2s;
}

.hero-orb-3 {
    animation: orbFloat 15s ease-in-out infinite 5s, orbPulse 8s ease-in-out infinite 4s;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1) translateZ(0);
    }

    50% {
        transform: scale(1.15) translateZ(50px);
    }
}

/* ── Grid overlay animated ── */
.grid-overlay {
    animation: gridPulse 8s ease-in-out infinite !important;
    opacity: 0.15;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.05);
    }
}

/* ── Cursor Glow Layer ── */
#cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

[data-theme="light"] #cursor-glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

/* ====== LOGO — Always White ====== */
.logo-text-white {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
}

.logo-accent-white {
    color: #ffffff !important;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====== HERO TITLES — White in dark, Dark in light ====== */
.hero-title {
    color: #ffffff;
}

[data-theme="light"] .hero-title {
    color: #0f172a;
}

.slide-title-forced {
    color: #ffffff !important;
}

/* ====== VIDEO SLIDES ====== */
.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex;
    align-items: center;
    padding: 20px 60px;
    gap: 0;
}

.slide-video.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.slide-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-video-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: none;
}


.slide-content-video {
    display: none;
}

@media (max-width: 768px) {
    .slide-content-video {
        flex: 1;
        max-width: 100%;
    }

    .slide-video {
        padding: 20px 24px;
    }
}

/* ====== WHATSAPP FLOAT BUTTON ====== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;

    z-index: 99999;
    width: 62px;
    height: 62px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.65);
}

.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.4;
    animation: waPulse 2.5s ease-out infinite;
}

.wa-pulse-2 {
    animation-delay: 1.25s;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

.wa-label {
    position: absolute;
    right: 64px;

    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #25d366;
    color: #fff;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    font-family: var(--font-primary);
}

.wa-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 8px solid #25d366;
}

.whatsapp-float:hover .wa-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}