/* 
    ═══════════════════════════════════════════════════════════════════════════════
    VERDANT - Luxury Organic Vegetables
    Awwwards-Level Landing Page - Complete Rewrite
    ═══════════════════════════════════════════════════════════════════════════════
*/

/* ═══════════════════════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════════ */
:root {
    /* Colors */
    --color-bg: #050505;
    --color-bg-elevated: #0c0c0c;
    --color-text: #f5f5f5;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-subtle: rgba(255, 255, 255, 0.4);

    /* Accent Colors */
    --color-accent: #3d7a3f;
    --color-accent-light: #5ba85d;
    --color-accent-glow: rgba(93, 168, 93, 0.4);
    --color-gold: #c9a962;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: transparent;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRELOADER - ENHANCED WITH PARTICLES & GLOW
   ═══════════════════════════════════════════════════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s ease, visibility 1s, transform 1s var(--ease-out-expo);
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

.preloader-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animated Glowing Rings */
.preloader::before,
.preloader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid transparent;
    animation: ringPulse 3s ease-in-out infinite;
}

.preloader::before {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    border-color: rgba(93, 168, 93, 0.3);
    animation-delay: 0s;
}

.preloader::after {
    width: 500px;
    height: 500px;
    margin: -250px 0 0 -250px;
    border-color: rgba(201, 169, 98, 0.2);
    animation-delay: 0.5s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    margin-bottom: var(--space-md);
    position: relative;
    text-align: center;
}

.preloader-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg);
    animation: letterReveal3D 0.8s var(--ease-out-expo) forwards, letterGlow 3s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(60, 120, 60, 1),
        0 0 20px rgba(60, 120, 60, 1),
        0 0 30px rgba(60, 120, 60, 0.9),
        0 0 40px rgba(60, 120, 60, 0.8),
        0 0 60px rgba(60, 120, 60, 0.7),
        0 0 80px rgba(60, 120, 60, 0.5),
        0 0 100px rgba(60, 120, 60, 0.3),
        0 0 120px rgba(60, 120, 60, 0.2);
    -webkit-text-stroke: 1px rgba(60, 120, 60, 0.3);
    filter: drop-shadow(0 0 15px rgba(60, 120, 60, 0.8));
}

@keyframes letterGlow {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(60, 120, 60, 1),
            0 0 20px rgba(60, 120, 60, 1),
            0 0 30px rgba(60, 120, 60, 0.9),
            0 0 40px rgba(60, 120, 60, 0.8),
            0 0 60px rgba(60, 120, 60, 0.7),
            0 0 80px rgba(60, 120, 60, 0.5),
            0 0 100px rgba(60, 120, 60, 0.3),
            0 0 120px rgba(60, 120, 60, 0.2);
        filter: drop-shadow(0 0 15px rgba(60, 120, 60, 0.8));
    }

    50% {
        text-shadow:
            0 0 15px rgba(60, 120, 60, 1),
            0 0 30px rgba(60, 120, 60, 1),
            0 0 45px rgba(60, 120, 60, 1),
            0 0 60px rgba(60, 120, 60, 0.9),
            0 0 90px rgba(60, 120, 60, 0.8),
            0 0 120px rgba(60, 120, 60, 0.7),
            0 0 150px rgba(60, 120, 60, 0.5),
            0 0 180px rgba(60, 120, 60, 0.3);
        filter: drop-shadow(0 0 25px rgba(60, 120, 60, 1));
    }
}

.preloader-letter:nth-child(1) {
    animation-delay: 0.1s;
}

.preloader-letter:nth-child(2) {
    animation-delay: 0.15s;
}

.preloader-letter:nth-child(3) {
    animation-delay: 0.2s;
}

.preloader-letter:nth-child(4) {
    animation-delay: 0.25s;
}

/* Farmer Image Section */
.preloader-farmer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInScale 0.8s var(--ease-out-expo) forwards 0.5s;
    position: relative;
}

.farmer-image {
    width: clamp(150px, 20vw, 200px);
    height: clamp(150px, 20vw, 200px);
    object-fit: cover;
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(93, 168, 93, 0.5),
        0 0 60px rgba(93, 168, 93, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
    animation: gentlePulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(150px, 20vw, 200px);
    height: clamp(150px, 20vw, 200px);
    border: 2px solid rgba(93, 168, 93, 0.4);
    border-radius: 50%;
    animation: rippleExpand 3s ease-out infinite;
}

.ripple:nth-child(1) {
    animation-delay: 0s;
}

.ripple:nth-child(2) {
    animation-delay: 1s;
}

.ripple:nth-child(3) {
    animation-delay: 2s;
}

@keyframes rippleExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 30px rgba(93, 168, 93, 0.5),
            0 0 60px rgba(93, 168, 93, 0.3),
            0 10px 30px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 40px rgba(93, 168, 93, 0.7),
            0 0 80px rgba(93, 168, 93, 0.5),
            0 15px 40px rgba(0, 0, 0, 0.4);
    }
}

@keyframes letterReveal3D {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes dotPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.preloader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--space-md) auto;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-gold));
    background-size: 200% 100%;
    animation:
        progressBar 1.8s ease forwards 0.3s,
        progressGlow 1s ease-in-out infinite;
    box-shadow: 0 0 20px var(--color-accent-glow);
}

@keyframes progressBar {
    to {
        width: 100%;
    }
}

@keyframes progressGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Loading Text Animation */
.preloader-text {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.8s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Floating Particles */
.preloader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.preloader-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    border-radius: 50%;
    animation: modernParticleFloat 5s ease-in-out infinite;
    box-shadow:
        0 0 20px var(--color-accent-light),
        0 0 40px rgba(93, 168, 93, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    filter: blur(0.5px);
}

.preloader-particle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: innerGlow 2s ease-in-out infinite alternate;
}

.preloader-particle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(93, 168, 93, 0.3), transparent 70%);
    border-radius: 50%;
    animation: outerPulse 3s ease-in-out infinite;
}

@keyframes innerGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes outerPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.6;
    }
}

.preloader-particle:nth-child(1) {
    left: 15%;
    top: 25%;
    animation-delay: 0s;
    width: 10px;
    height: 10px;
}

.preloader-particle:nth-child(2) {
    left: 85%;
    top: 15%;
    animation-delay: 1s;
    width: 14px;
    height: 14px;
}

.preloader-particle:nth-child(3) {
    left: 70%;
    top: 75%;
    animation-delay: 2s;
    width: 8px;
    height: 8px;
}

.preloader-particle:nth-child(4) {
    left: 10%;
    top: 65%;
    animation-delay: 3s;
    width: 12px;
    height: 12px;
}

.preloader-particle:nth-child(5) {
    left: 90%;
    top: 45%;
    animation-delay: 4s;
    width: 16px;
    height: 16px;
}

@keyframes modernParticleFloat {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    20% {
        transform: translate(30px, -50px) scale(1.2) rotate(90deg);
    }

    40% {
        transform: translate(-20px, -100px) scale(1) rotate(180deg);
    }

    60% {
        transform: translate(40px, -140px) scale(1.3) rotate(270deg);
    }

    80% {
        transform: translate(-30px, -180px) scale(0.8) rotate(360deg);
        opacity: 1;
    }

    100% {
        transform: translate(0, -220px) scale(0) rotate(450deg);
        opacity: 0;
    }
}

/* Floating Vegetables */
.preloader-vegetables {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    display: none;
    /* Hidden */
}

.floating-veg {
    position: absolute;
    width: clamp(40px, 5vw, 60px);
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(93, 168, 93, 0.3));
    animation: vegetableFloat 8s ease-in-out infinite;
}

.veg-1 {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.veg-2 {
    right: 15%;
    top: 30%;
    animation-delay: 1.3s;
}

.veg-3 {
    left: 20%;
    bottom: 25%;
    animation-delay: 2.6s;
}

.veg-4 {
    right: 10%;
    bottom: 35%;
    animation-delay: 4s;
}

.veg-5 {
    left: 25%;
    top: 50%;
    animation-delay: 5.3s;
}

.veg-6 {
    right: 20%;
    top: 60%;
    animation-delay: 6.6s;
}

@keyframes vegetableFloat {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.8);
    }

    10% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
        transform: translateY(-80px) rotate(180deg) scale(1.1);
    }

    90% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: translateY(-160px) rotate(360deg) scale(0.8);
    }
}

/* Rotating Orbits */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(93, 168, 93, 0.2);
    border-radius: 50%;
    animation: orbitRotate 20s linear infinite;
}

.orbit-1 {
    width: 350px;
    height: 350px;
    animation-duration: 25s;
}

.orbit-2 {
    width: 450px;
    height: 450px;
    animation-duration: 35s;
    animation-direction: reverse;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════════════════════ */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-follower.active {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
}

.cursor-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.cursor-follower.view-mode {
    width: 100px;
    height: 100px;
    background: var(--color-accent);
}

.cursor-follower.view-mode .cursor-text {
    opacity: 1;
}

/* Hide on touch devices */
@media (hover: none) {

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    a,
    button {
        cursor: pointer;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FLOATING ORBS
   ═══════════════════════════════════════════════════════════════════════════════ */
.floating-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-accent);
    top: -150px;
    right: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-gold);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
    opacity: 0.15;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-light);
    top: 60%;
    right: 10%;
    animation-delay: -14s;
    opacity: 0.1;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION - LIQUID GLASS MORPHISM
   ═══════════════════════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    /* Liquid Glass Effect */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);

    transition: all 0.5s var(--ease-out-expo);
    animation: navFloat 6s ease-in-out infinite;
}

@keyframes navFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    animation: liquidShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes liquidShine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.nav.scrolled {
    padding: 10px 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-farmer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 0 15px rgba(60, 120, 60, 0.6),
        0 0 25px rgba(60, 120, 60, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-farmer:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 20px rgba(60, 120, 60, 0.8),
        0 0 35px rgba(60, 120, 60, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow:
        0 0 20px rgba(93, 168, 93, 0.8),
        0 0 40px rgba(93, 168, 93, 0.5),
        0 0 60px rgba(93, 168, 93, 0.3);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    position: relative;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;

    /* Liquid Glass Button */
    background: linear-gradient(135deg,
            rgba(93, 168, 93, 0.3) 0%,
            rgba(93, 168, 93, 0.1) 100%);
    border: 1px solid rgba(93, 168, 93, 0.4);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 15px rgba(93, 168, 93, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--ease-out-expo);
}

.nav-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

.nav-cart:hover::before {
    left: 100%;
}

.nav-cart:hover {
    background: linear-gradient(135deg,
            rgba(93, 168, 93, 0.5) 0%,
            rgba(93, 168, 93, 0.3) 100%);
    border-color: rgba(93, 168, 93, 0.6);
    box-shadow:
        0 8px 25px rgba(93, 168, 93, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(93, 168, 93, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Mobile Menu Toggle */
.nav-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-xs);
}

.menu-line {
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-menu-toggle.active .menu-line:first-child {
    transform: rotate(45deg) translateY(4px);
}

.nav-menu-toggle.active .menu-line:last-child {
    transform: rotate(-45deg) translateY(-4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s var(--ease-out-expo);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANCHOR TARGETS
   ═══════════════════════════════════════════════════════════════════════════════ */
#collection,
#philosophy,
#features,
#contact {
    scroll-margin-top: 100px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-xl) var(--space-lg);
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 80%),
        linear-gradient(180deg, transparent 60%, var(--color-bg) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) forwards 0.5s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em;
}

.reveal-text {
    display: inline-block;
    transform: translateY(110%);
    animation: textReveal 1.2s var(--ease-out-expo) forwards;
}

.reveal-text[data-delay="1"] {
    animation-delay: 0.2s;
}

@keyframes textReveal {
    to {
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) forwards 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) forwards 1s;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LIQUID GLASS BUTTONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 16px 32px;
    position: relative;
    overflow: hidden;

    /* Animated Gradient Background */
    background: linear-gradient(135deg,
            var(--color-accent) 0%,
            var(--color-accent-light) 50%,
            var(--color-accent) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;

    color: #fff;
    border: none;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    /* Glass Overlay */
    box-shadow:
        0 10px 40px rgba(93, 168, 93, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 -3px 10px rgba(0, 0, 0, 0.2) inset;

    transition: all 0.5s var(--ease-out-expo);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.7s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    width: 80%;
    height: 40%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 100%);
    border-radius: 50px;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(93, 168, 93, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 30px rgba(93, 168, 93, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary .btn-icon {
    transition: transform 0.4s var(--ease-out-expo);
    display: inline-block;
}

.btn-primary:hover .btn-icon {
    transform: translateX(8px);
    animation: arrowBounce 1s ease infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(8px);
    }

    50% {
        transform: translateX(12px);
    }
}

/* Hero Badges - Play Store & Trust */
.hero-badges {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.play-store-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.1rem;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.play-store-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(93, 168, 93, 0.3);
    transform: translateY(-2px);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 8px;
    font-size: 12px;
    color: white;
}

.badge-stars {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.badge-rating {
    color: var(--color-text);
    font-weight: 600;
}

.badge-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.badge-downloads {
    color: var(--color-accent-light);
    font-weight: 500;
}

.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: linear-gradient(135deg, rgba(93, 168, 93, 0.1), rgba(93, 168, 93, 0.15));
    border-color: rgba(93, 168, 93, 0.3);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .play-store-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .trust-badges {
        gap: 8px;
    }

    .trust-badge {
        font-size: 0.78rem;
        padding: 8px 14px;
    }
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: #22c55e;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-outline .btn-arrow {
    transition: transform 0.3s;
}

.btn-outline:hover .btn-arrow {
    transform: translateX(5px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0.6;
    animation: fadeUp 1s var(--ease-out-expo) forwards 1.5s;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 1px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: currentColor;
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Hero Decorative */
.hero-deco {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
    animation: rotate 30s linear infinite;
}

.hero-deco-1 {
    top: 10%;
    right: 5%;
}

.hero-deco-2 {
    bottom: 15%;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3D FLOATING SHAPES
   ═══════════════════════════════════════════════════════════════════════════════ */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    perspective: 500px;
}

.shape-3d {
    transform-style: preserve-3d;
    animation: shapeFloat 8s ease-in-out infinite, shapeRotate 12s linear infinite;
}

/* Diamond Shape */
.shape-1 {
    top: 15%;
    right: 10%;
}

.diamond {
    width: 60px;
    height: 60px;
    position: relative;
}

.diamond::before,
.diamond::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    transform: translateX(-50%);
}

.diamond::before {
    top: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 35px solid rgba(93, 168, 93, 0.4);
    filter: drop-shadow(0 0 15px rgba(93, 168, 93, 0.5));
}

.diamond::after {
    bottom: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 35px solid rgba(93, 168, 93, 0.6);
    filter: drop-shadow(0 0 15px rgba(93, 168, 93, 0.5));
}

/* Sphere Shape */
.shape-2 {
    top: 60%;
    left: 8%;
}

.sphere {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%,
            rgba(201, 169, 98, 0.8) 0%,
            rgba(201, 169, 98, 0.4) 50%,
            rgba(201, 169, 98, 0.1) 100%);
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(201, 169, 98, 0.5),
        inset 0 -10px 20px rgba(0, 0, 0, 0.3),
        inset 0 10px 20px rgba(255, 255, 255, 0.3);
    animation-delay: -2s;
}

/* Torus (Ring) Shape */
.shape-3 {
    bottom: 25%;
    right: 15%;
}

.torus {
    width: 70px;
    height: 70px;
    border: 8px solid rgba(93, 168, 93, 0.5);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(93, 168, 93, 0.4),
        inset 0 0 20px rgba(93, 168, 93, 0.2);
    animation-delay: -4s;
}

/* Pyramid Shape */
.shape-4 {
    top: 35%;
    left: 5%;
}

.pyramid {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid rgba(201, 169, 98, 0.5);
    position: relative;
    filter: drop-shadow(0 0 15px rgba(201, 169, 98, 0.5));
    animation-delay: -6s;
}

.pyramid::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 35px solid rgba(201, 169, 98, 0.3);
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-5px);
    }

    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

@keyframes shapeRotate {
    from {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS - SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════════════════════ */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-element[data-delay="1"] {
    transition-delay: 0.1s;
}

.reveal-element[data-delay="2"] {
    transition-delay: 0.2s;
}

.reveal-element[data-delay="3"] {
    transition-delay: 0.3s;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════════════════════════ */
.section-header {
    max-width: 600px;
    margin-bottom: 10px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-accent);
    border-radius: 999px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SHOWCASE / COLLECTION SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS - TABBED SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.how-it-works-section {
    padding: var(--space-xl) var(--space-lg);
    position: relative;
}

.how-it-works-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-section .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

/* Tab Navigation */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.tab-btn {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.tab-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5);
}

.tab-icon {
    font-size: 1.5rem;
}

/* Tab Content */
.tab-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* Step Card */
.step-card {
    background: var(--glass-background);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.step-card:hover {
    border-color: #22c55e;
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.3);
    transform: translateY(-8px);
}

.step-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 280px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #0a0a0a;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.step-card:hover .step-image {
    transform: scale(1.1);
}

.step-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 30px 15px 30px;
}

.step-content {
    padding: 20px;
}

.step-number {
    display: inline;
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: 1.3rem;
}

.step-icon {
    display: none;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.step-title .step-number {
    color: var(--color-accent-light);
    font-weight: 700;
    margin-right: 6px;
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
        gap: 12px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════════════════════════════════ */

.cube-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cube:hover .cube-face img {
    transform: scale(1.1);
    opacity: 1;
}

/* Face Transforms */
.cube-front {
    transform: translateZ(125px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(125px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(125px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(125px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(125px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(125px);
}

/* Cube Glow Effect */
.cube-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(93, 168, 93, 0.4) 0%,
            rgba(93, 168, 93, 0.1) 40%,
            transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Cube Shadow */
.cube-shadow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 200px;
    height: 40px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse,
            rgba(0, 0, 0, 0.4) 0%,
            transparent 70%);
    filter: blur(15px);
    animation: shadowPulse 15s ease-in-out infinite;
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 0.4;
    }

    25% {
        transform: translateX(-50%) scaleX(0.8);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) scaleX(1.1);
        opacity: 0.3;
    }

    75% {
        transform: translateX(-50%) scaleX(0.9);
        opacity: 0.5;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-card {
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s var(--ease-out-expo);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: cardFloat 6s ease-in-out infinite;
}

.product-card:nth-child(1) {
    transition-delay: 0s;
    animation-delay: 0s;
}

.product-card:nth-child(2) {
    transition-delay: 0.15s;
    animation-delay: -2s;
}

.product-card:nth-child(3) {
    transition-delay: 0.3s;
    animation-delay: -4s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);

    /* Glowing Border */
    border: 1px solid transparent;
    background-clip: padding-box;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(93, 168, 93, 0.1);
    transition: all 0.5s var(--ease-out-expo);
}

.product-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg,
            rgba(93, 168, 93, 0.5) 0%,
            transparent 50%,
            rgba(201, 169, 98, 0.5) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-image-wrapper::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

.product-card:hover .product-image-wrapper {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(93, 168, 93, 0.2);
}

.product-image-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease-out-expo);
}

.product-card:hover .product-image-inner {
    transform: scale(1.08);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, var(--color-accent-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.product-card:hover .product-glow {
    opacity: 0.5;
}

.product-label {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-md) 0;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.product-origin {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
}

.product-price {
    text-align: right;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.price-unit {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
}

.product-add {
    position: absolute;
    bottom: 100px;
    right: var(--space-md);
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.product-card:hover .product-add {
    opacity: 1;
    transform: translateY(0);
}

.product-add:hover {
    background: var(--color-accent-light);
    transform: scale(1.1) !important;
}

.showcase-cta {
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LIVE LISTINGS SECTION - Smaller Cards for Real Data
   ═══════════════════════════════════════════════════════════════════════════════ */
.listings-section {
    padding: var(--space-xl) var(--space-lg);
    position: relative;
}

.listings-section .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.listings-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxl) 0;
    gap: var(--space-md);
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(93, 168, 93, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.listing-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}

.listing-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.1);
}

.listing-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.listing-negotiable {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    background: rgba(93, 168, 93, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-accent);
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--color-accent);
}

.listing-info {
    padding: var(--space-sm);
}

.listing-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-location {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.listing-quantity {
    font-size: 0.7rem;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 500;
}

.listing-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 500;
}

.listing-unit {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    font-weight: 400;
}

.listings-cta {
    text-align: center;
    padding-top: var(--space-lg);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.features {
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, var(--color-accent-glow) 0%, transparent 50%);
    opacity: 0.3;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: var(--space-lg);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) {
    transition-delay: 0s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    color: var(--color-accent-light);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PHILOSOPHY SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.philosophy {
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.philosophy-visual {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    pointer-events: none;
}

.philosophy-circle {
    width: 400px;
    height: 400px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    animation: rotate 40s linear infinite;
}

.philosophy-circle::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.philosophy-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.big-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.big-text em {
    font-style: italic;
    color: var(--color-accent-light);
}

.philosophy-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat:nth-child(1) {
    transition-delay: 0s;
}

.stat:nth-child(2) {
    transition-delay: 0.15s;
}

.stat:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-gold);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   APP SCREENSHOTS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.app-screenshots {
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.app-screenshots .section-header {
    text-align: center;
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-screenshots .section-header .section-title {
    white-space: nowrap;
}

.screenshots-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshots-scroll {
    display: flex;
    gap: 24px;
    padding: 0 var(--space-lg);
    width: max-content;
}

.phone-mockup {
    flex-shrink: 0;
    width: 220px;
    height: auto;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 28px;
    padding: 8px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(93, 168, 93, 0.3),
        0 0 30px rgba(93, 168, 93, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.screenshots-cta {
    text-align: center;
    margin-top: var(--space-lg);
    padding: 0 var(--space-lg);
}

.cta-note {
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .phone-mockup {
        width: 180px;
        border-radius: 24px;
        padding: 6px;
    }

    .phone-mockup img {
        border-radius: 18px;
    }

    .screenshots-scroll {
        gap: 16px;
        padding: 0 var(--space-md);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.testimonials {
    padding: var(--space-xl) var(--space-lg);
}

.testimonials .section-header {
    text-align: center;
    max-width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    padding: var(--space-lg);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--ease-out-expo);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:nth-child(1) {
    transition-delay: 0s;
}

.testimonial-card:nth-child(2) {
    transition-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
    transition-delay: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent-light);
    opacity: 0.5;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    font-size: 1rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.faq-section {
    padding: var(--space-xl) var(--space-lg);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    margin-left: auto;
    margin-right: auto;
}

.faq-section .section-title {
    white-space: nowrap;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active {
    border-color: var(--color-accent);
    background: rgba(93, 168, 93, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 20px 16px 20px;
        font-size: 0.9rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NEWSLETTER SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.newsletter {
    padding: var(--space-xl) var(--space-lg);
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl);
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-sm);
}

.newsletter-desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: var(--space-sm);
    background: var(--color-bg);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
}

.form-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.form-input::placeholder {
    color: var(--color-text-subtle);
}

.form-submit {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.8rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 500;
    transition: background 0.3s;
}

.form-submit:hover {
    background: var(--color-accent-light);
}

.submit-arrow {
    transition: transform 0.3s;
}

.form-submit:hover .submit-arrow {
    transform: translateX(3px);
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-subtle);
    margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    background: linear-gradient(180deg, #080808 0%, #0a0a0a 100%);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--color-accent), transparent) 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow), 0 0 40px var(--color-accent-glow);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.footer-logo-text {
    color: var(--color-text);
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(93, 168, 93, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(93, 168, 93, 0.5);
}

.footer-tagline {
    color: var(--color-text-muted);
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.footer-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: var(--space-xs);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.footer-col {
    min-width: 120px;
    flex: 1;
}

.footer-heading {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-md);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

.footer-link {
    display: block;
    position: relative;
    margin-bottom: var(--space-sm);
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    padding: 4px 0;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--color-text);
    padding-left: 8px;
}

.footer-link:hover::before {
    width: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
    color: var(--color-text-subtle);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--color-text-subtle);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-legal a:hover {
    color: var(--color-accent-light);
    background: rgba(93, 168, 93, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Cube responsive */
    .showcase-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cube-container {
        width: 200px;
        height: 200px;
        margin: var(--space-lg) auto;
    }

    .cube-face {
        width: 200px;
        height: 200px;
    }

    .cube-front {
        transform: translateZ(100px);
    }

    .cube-back {
        transform: rotateY(180deg) translateZ(100px);
    }

    .cube-right {
        transform: rotateY(90deg) translateZ(100px);
    }

    .cube-left {
        transform: rotateY(-90deg) translateZ(100px);
    }

    .cube-top {
        transform: rotateX(90deg) translateZ(100px);
    }

    .cube-bottom {
        transform: rotateX(-90deg) translateZ(100px);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 4rem;
    }

    .nav {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-menu-toggle {
        display: flex;
    }

    .hero-content {
        padding-top: 80px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .philosophy-visual {
        display: none;
    }

    .philosophy-stats {
        gap: var(--space-lg);
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
        border-radius: 16px;
        padding: var(--space-sm);
    }

    .form-submit {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   KEYBOARD NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */
body.keyboard-nav a:focus,
body.keyboard-nav button:focus {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LIVE LISTINGS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

#listingsGrid,
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.listing-card {
    background: var(--glass-background);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #22c55e;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {

    0%,
    100% {
        border-color: #22c55e;
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    }

    50% {
        border-color: #16a34a;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    }
}

.listing-card:hover {
    transform: translateY(-6px);
    border-color: #16a34a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(34, 197, 94, 0.6);
    animation: none;
}

.listing-card .listing-image {
    position: relative;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-negotiable {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.7rem;
}

.listing-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.listing-title {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.4 !important;
    max-height: 3.1em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal !important;
    width: 100%;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.listing-location span:first-child {
    font-size: 1rem;
}

.listing-quantity {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin: 8px auto;
    display: inline-block;
    text-align: center;
    align-self: center;
}

.listing-price {
    font-size: 1.4rem;
    font-weight: 700;
    font-style: normal;
    font-family: inherit;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid #22c55e;
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: auto;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    letter-spacing: 0;
    align-self: center;
    justify-self: center;
}

.listing-unit {
    font-size: 1.1rem;
    font-weight: 500;
    font-style: normal;
    color: #22c55e;
}

/* Listings Loading State */
.listings-loading {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.listings-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SKELETON LOADING ANIMATION
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Skeleton shimmer animation */
@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Base skeleton style */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* Per-card skeleton overlay (shows until image loads) */
.listing-card {
    position: relative;
}

.listing-card .card-skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: var(--glass-background);
    border-radius: 16px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.listing-card .card-content {
    transition: opacity 0.3s ease;
}

.listing-card.loading .card-content {
    opacity: 0;
}

.listing-card:not(.loading) .card-skeleton-overlay {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Card skeleton overlay image */
.card-skeleton-overlay .skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 12px 12px 0 0;
}

/* Card skeleton overlay content */
.card-skeleton-overlay .skeleton-content {
    padding: 16px;
}

.card-skeleton-overlay .skeleton-title {
    height: 44px;
    width: 85%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}

.card-skeleton-overlay .skeleton-location {
    height: 18px;
    width: 65%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    animation-delay: 0.1s;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-skeleton-overlay .skeleton-quantity {
    height: 28px;
    width: 50%;
    background: linear-gradient(90deg,
            rgba(74, 222, 128, 0.05) 25%,
            rgba(74, 222, 128, 0.1) 50%,
            rgba(74, 222, 128, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    animation-delay: 0.15s;
    border-radius: 20px;
    margin-bottom: 12px;
}

.card-skeleton-overlay .skeleton-price {
    height: 32px;
    width: 45%;
    background: linear-gradient(90deg,
            rgba(93, 168, 93, 0.1) 25%,
            rgba(93, 168, 93, 0.2) 50%,
            rgba(93, 168, 93, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
    border-radius: 6px;
    margin-top: 12px;
}

/* Skeleton card (initial loading placeholders) and loading state cards */
.listing-card.skeleton-card,
.listing-card.loading {
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    animation: none !important;
    box-shadow: none !important;
}

.listing-card.skeleton-card:hover,
.listing-card.loading:hover {
    transform: none !important;
    box-shadow: none !important;
}

.skeleton-card .skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 12px 12px 0 0;
}

.skeleton-card .skeleton-content {
    padding: 16px;
}

.skeleton-card .skeleton-title {
    height: 44px;
    width: 85%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}

.skeleton-card .skeleton-location {
    height: 18px;
    width: 65%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    animation-delay: 0.1s;
    border-radius: 4px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-card .skeleton-quantity {
    height: 28px;
    width: 50%;
    background: linear-gradient(90deg,
            rgba(74, 222, 128, 0.05) 25%,
            rgba(74, 222, 128, 0.1) 50%,
            rgba(74, 222, 128, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    animation-delay: 0.15s;
    border-radius: 20px;
    margin-bottom: 12px;
}

.skeleton-card .skeleton-price {
    height: 32px;
    width: 45%;
    background: linear-gradient(90deg,
            rgba(93, 168, 93, 0.1) 25%,
            rgba(93, 168, 93, 0.2) 50%,
            rgba(93, 168, 93, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
    border-radius: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Skeleton pulse variation */
.skeleton-card:nth-child(2) .skeleton-image,
.skeleton-card:nth-child(2) .skeleton-title,
.skeleton-card:nth-child(2) .skeleton-location,
.skeleton-card:nth-child(2) .skeleton-price {
    animation-delay: 0.15s;
}

.skeleton-card:nth-child(3) .skeleton-image,
.skeleton-card:nth-child(3) .skeleton-title,
.skeleton-card:nth-child(3) .skeleton-location,
.skeleton-card:nth-child(3) .skeleton-price {
    animation-delay: 0.3s;
}

.skeleton-card:nth-child(4) .skeleton-image,
.skeleton-card:nth-child(4) .skeleton-title,
.skeleton-card:nth-child(4) .skeleton-location,
.skeleton-card:nth-child(4) .skeleton-price {
    animation-delay: 0.45s;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MEET THE DEVELOPER SECTION - PREMIUM REDESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */
.developer-section {
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

/* Floating Background Elements */
.developer-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.dev-particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
    opacity: 0.1;
    animation: floatParticle 20s ease-in-out infinite;
}

.dev-particle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.dev-particle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.dev-particle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: -14s;
}

.dev-glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(93, 168, 93, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(30px) rotate(270deg);
    }
}

.developer-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Team Subsection Styling */
.team-subsection {
    margin-bottom: var(--space-xl);
}

.team-subsection-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.team-subsection-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent-light) 60%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s ease-in-out infinite;
}

.team-subsection-title::before,
.team-subsection-title::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 168, 93, 0.5), transparent);
    -webkit-text-fill-color: initial;
}

.subsection-icon {
    font-size: 1.3rem;
    -webkit-text-fill-color: initial;
}

.team-subsection-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
    font-style: italic;
}

/* Single card grid — centers one card */
.developers-grid.developers-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
}

.developers-grid-single .developer-card {
    max-width: 420px;
    width: 100%;
}


.developer-card {
    padding: var(--space-lg);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 30px -5px rgba(93, 168, 93, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: floatCard 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating animation */
@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Staggered animation for second card */
.developers-grid .developer-card:nth-child(2) {
    animation-delay: -3s;
}

/* Enhanced hover state */
.developer-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 50px -5px rgba(93, 168, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(93, 168, 93, 0.3);
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--color-accent),
            var(--color-gold),
            var(--color-accent-light),
            var(--color-accent));
    background-size: 200% 100%;
    animation: shimmerGradient 3s linear infinite;
}

@keyframes shimmerGradient {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Hero Profile Area */
.developer-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.developer-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-accent), var(--color-gold)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateRing 8s linear infinite;
}

.avatar-ring-2 {
    inset: -14px;
    opacity: 0.5;
    animation: rotateRing 12s linear infinite reverse;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.developer-avatar {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.developer-card:hover .avatar-photo {
    transform: scale(1.05);
}

.avatar-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.85);
    }
}

.developer-identity {
    text-align: center;
}

.developer-name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent-light) 50%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s ease-in-out infinite;
}

@keyframes textShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.developer-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(93, 168, 93, 0.25), rgba(93, 168, 93, 0.1));
    border: 1px solid rgba(93, 168, 93, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent-light);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    cursor: default;
}

.developer-title-badge:hover {
    background: linear-gradient(135deg, rgba(93, 168, 93, 0.35), rgba(93, 168, 93, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 168, 93, 0.25);
}

.badge-icon {
    font-size: 1rem;
}

.developer-education {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-subtle);
}

.edu-icon {
    font-size: 1rem;
}

/* Story Section with Timeline */
.developer-story {
    margin-bottom: var(--space-lg);
    text-align: left;
}

.story-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.story-icon {
    font-size: 1.5rem;
}

.story-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-gold);
    margin: 0;
}

.story-timeline {
    position: relative;
    padding-left: 40px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            var(--color-accent),
            var(--color-gold),
            var(--color-accent-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--glass-bg);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.marker-icon {
    font-size: 0.9rem;
}

.timeline-content h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Tech Stack Section */
.developer-tech {
    margin-bottom: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
}

.tech-icon {
    font-size: 1.25rem;
}

.tech-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-subtle);
    margin: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-badge-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge-enhanced:hover {
    background: linear-gradient(135deg, rgba(93, 168, 93, 0.2), rgba(93, 168, 93, 0.1));
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(93, 168, 93, 0.2);
}

.tech-emoji {
    font-size: 1rem;
}

/* Social Links */
.developer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.social-link-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.15), rgba(0, 119, 181, 0.05));
    border: 1px solid rgba(0, 119, 181, 0.4);
    border-radius: 50px;
    color: #58a6ff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.social-link-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link-enhanced:hover .social-link-bg {
    opacity: 1;
}

.social-link-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 119, 181, 0.35);
    border-color: #58a6ff;
}

/* Buy Me a Coffee Button */
.coffee-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #FFDD00, #FBB034);
    border-radius: 50px;
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 15px rgba(251, 176, 52, 0.3);
}

.coffee-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.coffee-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(251, 176, 52, 0.5);
}

.coffee-link:hover .coffee-icon {
    transform: rotate(-15deg) scale(1.1);
}

/* Support Section - Below Developer Cards */
.support-section {
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-lg);
}

.support-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

/* Large Coffee Button */
.coffee-link-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FFDD00, #FBB034);
    border-radius: 50px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow:
        0 8px 25px rgba(251, 176, 52, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: coffeeGlow 2s ease-in-out infinite;
}

@keyframes coffeeGlow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(251, 176, 52, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 8px 35px rgba(251, 176, 52, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.coffee-link-large .coffee-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.coffee-link-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(251, 176, 52, 0.6);
}

.coffee-link-large:hover .coffee-icon {
    transform: rotate(-15deg) scale(1.2);
}

.social-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.social-link-enhanced span {
    position: relative;
    z-index: 1;
}

.link-arrow {
    transition: transform 0.3s ease;
}

.social-link-enhanced:hover .link-arrow {
    transform: translateX(4px);
}

/* ========== Developers Grid (Two Cards) ========== */
.developers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Origin Story Card (Shared) - Premium Design */
.origin-story-card {
    max-width: 900px;
    margin: var(--space-sm) auto var(--space-lg);
    padding: var(--space-md) var(--space-xl) var(--space-lg);
    border-radius: 28px;
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg,
            rgba(20, 30, 20, 0.9) 0%,
            rgba(10, 15, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(93, 168, 93, 0.2);
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.5),
        0 0 40px -10px rgba(93, 168, 93, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Animated gradient border */
.origin-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--color-accent),
            var(--color-gold),
            var(--color-accent-light),
            transparent);
    background-size: 200% 100%;
    animation: shimmerBorder 4s ease-in-out infinite;
}

@keyframes shimmerBorder {

    0%,
    100% {
        background-position: -200% 0;
    }

    50% {
        background-position: 200% 0;
    }
}

/* Corner accent */
.origin-story-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(93, 168, 93, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.origin-story-card .story-header {
    justify-content: center;
    margin-bottom: var(--space-md);
}

.origin-story-card .story-title {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.origin-story-card .story-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(255, 200, 50, 0.5));
}

.origin-story-card .story-timeline {
    max-width: 650px;
    margin: 0 auto;
}

/* Enhanced timeline items with hover effects */
.origin-story-card .timeline-item {
    transition: transform 0.3s ease, background 0.3s ease;
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    margin-left: -var(--space-md);
}

.origin-story-card .timeline-item:hover {
    background: rgba(93, 168, 93, 0.08);
    transform: translateX(5px);
}

/* Glowing timeline markers */
.origin-story-card .timeline-marker {
    box-shadow: 0 0 20px rgba(93, 168, 93, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.origin-story-card .timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(93, 168, 93, 0.6);
}

/* Developer Skills Section */
.developer-skills {
    margin-bottom: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: var(--space-xs);
}

.skills-icon {
    font-size: 1rem;
}

.skills-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-subtle);
    margin: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(93, 168, 93, 0.15), rgba(93, 168, 93, 0.05));
    border: 1px solid rgba(93, 168, 93, 0.25);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent-light);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(93, 168, 93, 0.25), rgba(93, 168, 93, 0.15));
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .developer-section {
        padding: var(--space-lg) var(--space-md);
    }

    .developer-card {
        padding: var(--space-md);
    }

    .developer-avatar-wrapper {
        width: 120px;
        height: 120px;
    }

    .developer-avatar {
        width: 104px;
        height: 104px;
    }

    .avatar-ring {
        inset: -6px;
    }

    .avatar-ring-2 {
        inset: -12px;
    }

    .story-timeline {
        padding-left: 35px;
    }

    .story-timeline::before {
        left: 12px;
    }

    .timeline-marker {
        left: -35px;
        width: 28px;
        height: 28px;
    }

    .marker-icon {
        font-size: 0.8rem;
    }

    .timeline-content h5 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .tech-badge-enhanced {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .social-link-enhanced {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Stack developers grid on mobile */
    .developers-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .origin-story-card {
        padding: var(--space-md);
    }

    .developer-name {
        font-size: 1.5rem;
    }

    .developer-title-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Sinhala font family for the entire page when in Sinhala mode */
html[lang="si"] body {
    font-family: 'Noto Sans Sinhala', var(--font-body);
}

html[lang="si"] .hero-title,
html[lang="si"] .section-title,
html[lang="si"] .big-text,
html[lang="si"] .newsletter-title,
html[lang="si"] .footer-cta-title {
    font-family: 'Noto Sans Sinhala', var(--font-display);
}

.lang-toggle {
    position: fixed;
    top: 24px;
    right: 20px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg,
            rgba(10, 18, 10, 0.85) 0%,
            rgba(15, 25, 15, 0.75) 100%);
    border: 1px solid rgba(93, 168, 93, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lang-toggle:hover {
    background: linear-gradient(135deg,
            rgba(10, 18, 10, 0.95) 0%,
            rgba(20, 35, 20, 0.85) 100%);
    border-color: rgba(93, 168, 93, 0.5);
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(93, 168, 93, 0.15);
    transform: translateY(-1px);
}

.lang-label {
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Active language label styling */
html[lang="si"] .lang-label.lang-si {
    color: var(--color-accent-light);
    background: rgba(93, 168, 93, 0.2);
}

html[lang="si"] .lang-label.lang-en {
    color: var(--color-text-subtle);
}

html[lang="en"] .lang-label.lang-en {
    color: var(--color-accent-light);
    background: rgba(93, 168, 93, 0.2);
}

html[lang="en"] .lang-label.lang-si {
    color: var(--color-text-subtle);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lang-toggle {
        padding: 5px 10px;
        font-size: 0.8rem;
        gap: 4px;
    }
}

/* Disable uppercase for Sinhala mode (Sinhala script has no uppercase) */
html[lang="si"] .nav-link,
html[lang="si"] .nav-cart,
html[lang="si"] .section-tag,
html[lang="si"] .tech-title,
html[lang="si"] .skills-title,
html[lang="si"] .preloader-text {
    text-transform: none;
}

/* Sinhala text needs more vertical space (taller ascenders/diacritics) */
html[lang="si"] .hero-title {
    line-height: 1.2;
    font-size: clamp(2rem, 6vw, 4.7rem);
}

html[lang="si"] .title-line {
    overflow: visible;
    padding-top: 0.08em;
    padding-bottom: 0.05em;
}

html[lang="si"] .section-title,
html[lang="si"] .big-text {
    line-height: 1.3;
}