/* ================================================
   DuckDev LUSION STYLE - Ultra Minimal
   Inspired by Lusion.co & Zoox.com
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --black: #030303;
    --dark: #0a0a0a;
    --surface: #0f0f0f;
    --surface-elevated: #141414;
    --border: #1a1a1a;
    --border-hover: #2a2a2a;

    --white: #f0f0f0;
    --gray-100: #e0e0e0;
    --gray-300: #c0c0c0;
    --gray-400: #909090;
    --gray-500: #666666;
    --gray-600: #454545;

    --accent: #818cf8;
    --accent-glow: rgba(129, 140, 248, 0.25);
    --accent-soft: rgba(129, 140, 248, 0.1);
    --gold: #818cf8;
    --gold-soft: rgba(129, 140, 248, 0.1);
    --indigo: #6366f1;
    --rose: #f43f5e;

    /* Glow Colors */
    --glow-blue: rgba(99, 102, 241, 0.15);
    --glow-purple: rgba(168, 85, 247, 0.15);
    --glow-rose: rgba(244, 63, 94, 0.15);

    --font: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.25, 0.4, 0.25, 1);
    --ease-out: cubic-bezier(0.23, 0.86, 0.39, 0.96);

    /* Force browser to respect our dark theme */
    color-scheme: dark;
}

/* Prevent auto-inversion of images in forced dark mode */
img,
svg,
.logo__icon,
.preloader__logo {
    isolation: isolate;
    filter: none !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ================================================
   Background Patterns
   ================================================ */
.bg-grid {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.bg-dots {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ================================================
   Atmospheric Glows (Subtle Motion)
   ================================================ */

/* ================================================
   Atmospheric Glows (Organic Motion)
   ================================================ */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 10s infinite alternate ease-in-out;
}

.glow-bg--blue {
    background: var(--glow-blue);
    animation-delay: -5s;
}

.glow-bg--purple {
    background: var(--glow-purple);
    animation-delay: -2s;
}

.glow-bg--rose {
    background: var(--glow-rose);
    animation-delay: -8s;
}

@keyframes glowFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 20px) scale(0.9);
    }

    100% {
        transform: translate(20px, -30px) scale(1.05);
    }
}

/* ================================================
   Preloader
   ================================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader__logo {
    width: 70px;
    height: 70px;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out) 0.2s forwards;
}

.preloader__brand {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out) 0.5s forwards;
}

.preloader__brand span {
    color: var(--gold);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 1s var(--ease-out);
}

/* ================================================
   Header
   ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s var(--ease);
    pointer-events: none;
}

.header.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(20px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo__icon {
    width: 32px;
    height: 32px;
}

.logo__text {
    font-size: 1.1rem;
    font-weight: 600;
}

.logo__text span {
    color: var(--gold);
}

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-400);
    transition: color 0.3s;
}

.nav__link:hover {
    color: var(--white);
}

.nav__cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.nav__cta:hover {
    background: var(--white);
    color: var(--black);
}

/* ================================================
   Hero - Clean & Polished
   ================================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    /* Better for mobile browsers */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    padding-bottom: 8rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        /* Slightly smaller on mobile to show hint of next section */
        min-height: 90dvh;
        padding-bottom: 6rem;
    }
}

/* Subtle Gradient */
.hero__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(99, 102, 241, 0.18) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

/* Floating Shapes - Subtle */
.shape {
    position: absolute;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0;
    animation: shapeReveal 2s var(--ease-out) forwards;
}

.shape--1 {
    width: 500px;
    height: 140px;
    left: -10%;
    top: 20%;
    transform: rotate(15deg);
    animation-delay: 0.2s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, transparent 100%);
}

.shape--2 {
    width: 400px;
    height: 110px;
    right: -10%;
    bottom: 25%;
    transform: rotate(-12deg);
    animation-delay: 0.4s;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.05) 0%, transparent 100%);
}

.shape--3 {
    width: 280px;
    height: 80px;
    left: 5%;
    bottom: 15%;
    transform: rotate(-5deg);
    animation-delay: 0.3s;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
}

.shape--4 {
    width: 180px;
    height: 50px;
    right: 12%;
    top: 15%;
    transform: rotate(8deg);
    animation-delay: 0.5s;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
}

.shape--5 {
    display: none;
}

@keyframes shapeReveal {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Content */
.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.2s forwards;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.hero__title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero__title-line {
    display: block;
    opacity: 0;
    animation: fadeUp 1s var(--ease) forwards;
}

.hero__title-line:nth-child(1) {
    animation-delay: 0.4s;
    color: var(--white);
}

.hero__title-line:nth-child(2) {
    animation-delay: 0.55s;
}

.hero__title-line--gradient {
    background: linear-gradient(90deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.7s forwards;
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.9s forwards;
}



@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 1.2s forwards;
}

.hero__scroll-text {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray-600), transparent);
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        height: 50px;
    }

    50% {
        opacity: 0.5;
        height: 30px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.btn--primary {
    background: var(--white);
    color: var(--black);
    border: none;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

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

.btn--outline:hover {
    border-color: var(--gray-500);
}

/* Top/Bottom Gradient Fade */
.hero__fade {
    position: absolute;
    left: 0;
    right: 0;
    height: 200px;
    pointer-events: none;
}

.hero__fade--top {
    top: 0;
    background: linear-gradient(to bottom, var(--black) 0%, transparent 100%);
}

.hero__fade--bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--black) 0%, transparent 100%);
}

/* ================================================
   Clients
   ================================================ */
.clients {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.clients__label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.clients__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.clients__logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: color 0.3s;
}

.clients__logo:hover {
    color: var(--gray-400);
}

/* ================================================
   Why Section
   ================================================ */
.why {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    perspective: 1000px;
}

.why-card {
    padding: 2.5rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
}

.why-card:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.why-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.why-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.why-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-card__desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ================================================
   Products - Lusion Style
   ================================================ */
.products {
    padding: 10rem 0;
    position: relative;
}

.products__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 6rem;
}

.products__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.products__title span {
    background: linear-gradient(90deg, #a5b4fc 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products__intro {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 400px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    perspective: 1000px;
}

.product-card {
    position: relative;
    padding: 3rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-soft) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.product-card:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card__number {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.product-card__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.product-card__desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.product-card__tag {
    padding: 0.4rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--gray-400);
    transition: all 0.3s;
}

.product-card:hover .product-card__tag {
    border-color: rgba(255, 255, 255, 0.1);
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    transition: gap 0.3s;
}

.product-card__link:hover {
    gap: 1rem;
}

.product-card__link svg {
    transition: transform 0.3s;
}

.product-card__link:hover svg {
    transform: translateX(4px);
}

/* ================================================
   Flip Cards (Enhanced)
   ================================================ */
.flip-card {
    height: 420px;
    perspective: 2000px;
    --card-color: var(--indigo);
    --card-glow: rgba(99, 102, 241, 0.4);
}

.flip-card:nth-child(2) {
    --card-color: var(--rose);
    --card-glow: rgba(244, 63, 94, 0.4);
}

.flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card:hover .flip-card__inner {
    transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

/* Front Face - Enhanced */
.flip-card__front {
    background:
        linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

/* Gradient Border Effect */
.flip-card__front::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 40%,
            transparent 60%,
            rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Hover Glow Overlay */
.flip-card__front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%,
            var(--card-glow) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.flip-card:hover .flip-card__front::after {
    opacity: 0.3;
}

/* Shine Effect */
.flip-card__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.8s;
    pointer-events: none;
}

.flip-card:hover .flip-card__shine {
    left: 150%;
}

/* Floating Orbs Background */
.flip-card__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.flip-card__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
    /* Removed continuous animation for better performance */
}

.flip-card__orb--1 {
    width: 120px;
    height: 120px;
    background: var(--card-color);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.flip-card__orb--2 {
    width: 80px;
    height: 80px;
    background: var(--gold);
    bottom: 20%;
    left: -10%;
    animation-delay: -2s;
}

/* Removed orbFloat animation - using static orbs for better performance */

.flip-card__visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flip-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--indigo) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.flip-card:hover .flip-card__icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.flip-card__icon--rose {
    background: linear-gradient(135deg, var(--rose) 0%, #fb7185 100%);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3);
}

.flip-card:hover .flip-card__icon--rose {
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.4);
}

/* Removed iconPulse animation for better performance */

/* Animated lines behind icon */
.flip-card__lines {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 180px;
}

.flip-card__lines span {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.08), transparent);
    opacity: 0.6;
    /* Removed continuous animation for better performance */
}

.flip-card__lines span:nth-child(1) {
    width: 70%;
    animation-delay: 0s;
}

.flip-card__lines span:nth-child(2) {
    width: 90%;
    animation-delay: 0.2s;
    margin-left: 10%;
}

.flip-card__lines span:nth-child(3) {
    width: 60%;
    animation-delay: 0.4s;
    margin-left: 5%;
}

.flip-card__lines span:nth-child(4) {
    width: 80%;
    animation-delay: 0.6s;
}

.flip-card__lines--rose span {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.3), rgba(244, 63, 94, 0.1), transparent);
}

/* Removed lineSlide animation for better performance */

.flip-card__info {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flip-card__number {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.flip-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
    transition: transform 0.5s;
}

.flip-card:hover .flip-card__title {
    transform: translateY(-2px);
}

.flip-card__subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Back Face */
.flip-card__back {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.flip-card__back-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.flip-card__back-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--indigo) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.flip-card__back-icon--rose {
    background: linear-gradient(135deg, var(--rose) 0%, #fb7185 100%);
}

.flip-card__back-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.flip-card__back-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.flip-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.flip-card__features li {
    font-size: 0.875rem;
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flip-card__feature-icon {
    font-size: 1rem;
}

.flip-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s;
    margin-top: 1rem;
}

.flip-card__cta:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--gold);
}

.flip-card__cta svg {
    transition: transform 0.3s;
}

.flip-card__cta:hover svg {
    transform: translateX(4px);
}

/* ================================================
   Testimonial
   ================================================ */
.testimonial {
    padding: 8rem 0;
}

.testimonial__card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__quote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
}

.testimonial__quote strong {
    color: var(--white);
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 52px;
    height: 52px;
    background: var(--gold-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
}

.testimonial__info {
    text-align: left;
}

.testimonial__name {
    font-size: 1rem;
    font-weight: 500;
}

.testimonial__role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ================================================
   Stats - Lusion Style
   ================================================ */
.stats {
    padding: 8rem 0;
}

.stats__header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    perspective: 1000px;
}

.stat {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
}

.stat:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat__value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

/* ================================================
   Contact - Enhanced
   ================================================ */
.contact {
    padding: 10rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact__content {
    max-width: 400px;
}

.contact__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.contact__desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--gray-300);
    transition: all 0.3s var(--ease);
}

.contact__info-item:hover {
    background: var(--surface-elevated);
    border-color: var(--border-hover);
}

.contact__info-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--white);
    transition: all 0.3s var(--ease);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-elevated);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-600);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact__submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ================================================
   Footer - Enhanced
   ================================================ */
.footer {
    padding: 5rem 0 2.5rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.footer__brand-logo img {
    width: 24px;
    height: 24px;
}

.footer__brand-logo span {
    font-size: 1rem;
    font-weight: 600;
}

.footer__brand-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer__social {
    display: flex;
    gap: 0.5rem;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--gray-500);
    transition: all 0.3s;
}

.footer__social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer__col-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer__link {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color 0.3s;
}

.footer__link:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal-link {
    font-size: 0.75rem;
    color: var(--gray-600);
    transition: color 0.3s;
}

.footer__legal-link:hover {
    color: var(--white);
}

/* ================================================
   Legal Pages (Terms, Privacy)
   ================================================ */
.legal-page {
    padding: 8rem 0 5rem;
    min-height: 100vh;
}

.legal-page__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.legal-page__update {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-page__section {
    margin-bottom: 2.5rem;
}

.legal-page__section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.legal-page__section p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.legal-page__section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.legal-page__section ul li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--gray-400);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.legal-page__section ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.legal-page__section a {
    color: var(--gold);
    transition: opacity 0.3s;
}

.legal-page__section a:hover {
    opacity: 0.8;
}

.legal-page__back {
    margin-top: 3rem;
    display: inline-flex;
}

/* ================================================
   Animations
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Responsive - Tablet
   ================================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .why__grid {
        grid-template-columns: 1fr 1fr;
    }

    .products__header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products__intro {
        max-width: 100%;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* ================================================
   Responsive - Mobile
   ================================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 0 1.5rem;
        padding-bottom: 6rem;
    }

    .hero__badge {
        font-size: 0.6875rem;
        padding: 0.4rem 0.875rem;
    }

    .hero__title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .hero__desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .hero__scroll {
        bottom: 2rem;
    }

    .shape {
        display: none;
    }

    .why {
        padding: 5rem 0;
    }

    .why__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-card {
        padding: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .products {
        padding: 5rem 0;
    }

    .products__header {
        margin-bottom: 3rem;
    }

    .products__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card {
        padding: 2rem;
    }

    .stats {
        padding: 5rem 0;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .stat__value {
        font-size: 1.75rem;
    }

    .contact {
        padding: 5rem 0;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact__content {
        max-width: 100%;
    }

    .contact__form {
        padding: 1.5rem;
    }

    .contact__info-item {
        padding: 0.875rem 1rem;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer__brand-desc {
        max-width: 100%;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .bg-grid,
    .bg-dots {
        opacity: 0.5;
    }
}

/* ================================================
   Responsive - Small Mobile
   ================================================ */
@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .footer__legal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Smoother Pulse Animation */
@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* ================================================
   Links Page (Premium Linktree)
   ================================================ */
.links-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.links-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Profile Header */
.profile-header {
    margin-bottom: 2rem;
}

.profile-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--indigo) 0%, var(--rose) 100%);
    opacity: 0.6;
}

.profile-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: contain;
}

.profile-identity {
    flex: 1;
    text-align: left;
}

.profile-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
    line-height: 1;
}

.profile-title span {
    color: var(--indigo);
}

.profile-tagline {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    font-weight: 500;
}

.profile-bio {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* Link Cards */
.links-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle border */
    border-radius: 16px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    /* Hardware accel */
}

/* Hover Effects */
.link-card:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(129, 140, 248, 0.3);
    /* Accent border on hover */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.link-card:active {
    transform: scale(0.98);
}

.link-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-right: 1rem;
    font-size: 1.125rem;
    color: var(--gray-400);
    transition: all 0.3s;
}

.link-card:hover .link-card__icon {
    background: var(--indigo);
    color: white;
    transform: rotate(-10deg);
}

.link-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-card__title {
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.link-card__arrow {
    color: var(--gray-600);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.link-card:hover .link-card__arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--indigo);
}

/* Footer Icons */
.links-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--gray-400);
    font-size: 1.125rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
}

.links-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: -1rem;
    opacity: 0.6;
}

/* Stagger Animation for Reveals */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
}

.reveal[style*="--delay"] {
    animation-delay: var(--delay);
}