/* Devhelix Custom CSS & Keyframe Animations */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0F17;
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Background Radial Glow */
.bg-radial-glow {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

/* Slow Bounce Animation for Floating Badges */
@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
.animate-bounce-slow {
    animation: bounceSlow 4s ease-in-out infinite;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(18, 24, 36, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Active Nav Indicator */
nav a.active-link {
    color: #818CF8;
    position: relative;
}
nav a.active-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366F1;
    border-radius: 2px;
}

/* Custom Range Slider */
input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366F1;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Smooth transition for portfolio track */
#portfolioTrack {
    will-change: transform;
}

/* ============================================================
   GOLD / BLACK LUXURY HERO
   ============================================================ */

/* Dark luxury backdrop with warm gold bokeh glow */
.hero-luxe {
    background-color: #080604;
    background-image:
        radial-gradient(circle at 78% 42%, rgba(212, 169, 84, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 92% 18%, rgba(245, 223, 160, 0.14) 0%, transparent 35%),
        radial-gradient(circle at 12% 88%, rgba(138, 106, 47, 0.18) 0%, transparent 45%),
        linear-gradient(160deg, #0d0a06 0%, #080604 55%, #0a0805 100%);
}

/* Soft gold vignette used on section edges */
.gold-vignette::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(120deg, #F7E8B8 0%, #E7C374 25%, #C99B45 55%, #F5DFA0 80%, #B4863A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Animated shine sweeping across the gold headline */
.text-gold-shine {
    background: linear-gradient(100deg, #B4863A 0%, #E7C374 20%, #FFF4D6 38%, #E7C374 55%, #C99B45 75%, #B4863A 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: goldShine 6s linear infinite;
}
@keyframes goldShine {
    0%   { background-position: 200% 0; }
    100% { background-position: -50% 0; }
}

/* Gold solid button with subtle sheen sweep */
.btn-gold {
    background: linear-gradient(120deg, #E7C374 0%, #D4A954 40%, #B4863A 100%);
    color: #1a1206;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -8px rgba(212, 169, 84, 0.55);
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
}
.btn-gold:hover::after { left: 130%; }

.border-gold {
    border-color: rgba(212, 169, 84, 0.55);
}

/* Handwriting gold accents around the laptop */
.handwrite-gold {
    color: #E7C374;
    text-shadow: 0 0 18px rgba(212, 169, 84, 0.35);
}

/* Laptop bezel gold sheen */
.laptop-glow {
    box-shadow:
        0 0 0 1px rgba(212, 169, 84, 0.25),
        0 30px 80px -20px rgba(0, 0, 0, 0.9),
        0 0 90px -20px rgba(212, 169, 84, 0.35);
}

/* Slow, gentle float for accent labels */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50%      { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}
.float-soft { animation: floatSoft 5s ease-in-out infinite; }

/* Fade + rise entrance for hero content */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-rise {
    opacity: 0;
    animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-rise.d1 { animation-delay: 0.1s; }
.hero-rise.d2 { animation-delay: 0.25s; }
.hero-rise.d3 { animation-delay: 0.4s; }
.hero-rise.d4 { animation-delay: 0.55s; }
.hero-rise.d5 { animation-delay: 0.7s; }
.hero-rise.d6 { animation-delay: 0.85s; }

/* Marquee-friendly trust logos row */
.trust-logo {
    filter: grayscale(1) brightness(0) invert(0.75);
    opacity: 0.55;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.trust-logo:hover {
    opacity: 1;
    filter: none;
}

/* ============================================================
   TRUSTED-BY MARQUEE CAROUSEL
   ============================================================ */
.marquee {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    min-width: 100%;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
    will-change: transform;
}
/* Pause on hover */
.marquee:hover .marquee-track {
    animation-play-state: paused;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin: 0 2.5rem;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
    opacity: 0.55;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.marquee-item:hover {
    opacity: 1;
    color: #F5DFA0;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ============================================================
   SERVICES CARDS (cream theme)
   ============================================================ */
.svc-card {
    position: relative;
    background: #FBF7EE;
    border: 1px solid rgba(28, 26, 22, 0.08);
    border-radius: 18px;
    padding: 1.6rem 1.4rem 3.4rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -18px rgba(138, 106, 47, 0.45);
    border-color: rgba(201, 155, 69, 0.55);
}
.svc-icon {
    width: 42px;
    height: 42px;
    color: #1c1a16;
    margin-bottom: 1.5rem;
}
.svc-icon svg { width: 100%; height: 100%; }
.svc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1c1a16;
    margin-bottom: 0.5rem;
}
.svc-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6f6a5f;
}
.svc-arrow {
    position: absolute;
    left: 1.4rem;
    bottom: 1.3rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(28, 26, 22, 0.25);
    color: #1c1a16;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.svc-card:hover .svc-arrow {
    background: #C99B45;
    border-color: #C99B45;
    color: #fff;
    transform: translateX(3px);
}

/* Detailed service cards (icon left, title + desc right) */
.svc2-card {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 1.1rem;
    row-gap: 0.4rem;
    align-items: start;
    background: #FBF8F0;
    border: 1px solid rgba(28, 26, 22, 0.06);
    border-radius: 20px;
    padding: 1.7rem 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 18px -12px rgba(80, 60, 20, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -22px rgba(138, 106, 47, 0.45);
    border-color: rgba(201, 155, 69, 0.5);
}
.svc2-num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c9b78d;
}
.svc2-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A6A2F;
    /* soft embossed tile */
    background: linear-gradient(145deg, #fdfbf5, #efe6d3);
    box-shadow: 4px 4px 10px rgba(150, 120, 70, 0.18), -4px -4px 10px rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.svc2-icon svg { width: 26px; height: 26px; }
.svc2-card:hover .svc2-icon {
    color: #fff;
    background: linear-gradient(145deg, #d9a94e, #b4863a);
    box-shadow: 4px 4px 12px rgba(150, 120, 70, 0.35), inset 0 0 0 1px rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.svc2-title { grid-column: 2; grid-row: 1; font-size: 1.15rem; font-weight: 700; color: #1c1a16; align-self: center; padding-right: 2.2rem; }
.svc2-desc { grid-column: 2; grid-row: 2; font-size: 0.82rem; line-height: 1.55; color: #6f6a5f; }
.svc2-foot {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.2rem;
}
.svc2-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc2-tags span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #8a8067;
    background: #F1E9D8;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    white-space: nowrap;
}
.svc2-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28,26,22,0.18);
    color: #1c1a16;
    transition: all 0.3s ease;
}
.svc2-card:hover .svc2-arrow { background: #C99B45; border-color: #C99B45; color: #fff; transform: translateX(3px); }

/* ============================================================
   FEATURED WORK — COVERFLOW CAROUSEL
   ============================================================ */
.wc-stage {
    perspective: 1500px;
    transform-style: preserve-3d;
}
.wc-slide {
    position: absolute;
    top: 8px;
    left: 50%;
    width: clamp(190px, 40vw, 258px);
    height: clamp(258px, 54vw, 330px);
    transform: translateX(-50%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.7s ease,
                filter 0.7s ease;
    will-change: transform, opacity, filter;
    cursor: pointer;
}
.wc-screen {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 169, 84, 0.3);
    background: #0e0b07;
    box-shadow: 0 24px 55px -18px rgba(0, 0, 0, 0.85);
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
}
.wc-screen img { display: block; }
/* Centered slide gets the prominent gold glow + slow float */
.wc-slide.is-center .wc-screen {
    border: 1.5px solid rgba(212, 169, 84, 0.65);
    box-shadow:
        0 0 0 1px rgba(212, 169, 84, 0.25),
        0 34px 80px -22px rgba(0, 0, 0, 0.92),
        0 0 80px -16px rgba(212, 169, 84, 0.5);
    animation: wcFloat 4s ease-in-out infinite;
}
@keyframes wcFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
    .wc-slide.is-center .wc-screen { animation: none; }
    .wc-slide { transition: none; }
}

/* ============================================================
   WHY CHOOSE DEVHELIX
   ============================================================ */
.brand-card {
    background:
        radial-gradient(circle at 50% 35%, rgba(212,169,84,0.28) 0%, transparent 55%),
        linear-gradient(160deg, #1a140b 0%, #0a0705 60%, #100b06 100%);
    border: 1px solid rgba(212, 169, 84, 0.25);
    box-shadow: 0 30px 70px -25px rgba(0,0,0,0.8), inset 0 0 60px -20px rgba(212,169,84,0.25);
}
.brand-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(212,169,84,0.35) 0%, transparent 55%);
    pointer-events: none;
}
.why-feat { text-align: left; }
.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 84, 0.12);
    border: 1px solid rgba(212, 169, 84, 0.4);
    color: #9c7b3f;
    margin-bottom: 0.9rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.why-icon svg { width: 20px; height: 20px; }
.why-feat:hover .why-icon {
    transform: translateY(-3px);
    background: #C99B45;
    color: #fff;
}
.why-title { font-size: 0.9rem; font-weight: 700; color: #1c1a16; margin-bottom: 0.3rem; }
.why-desc { font-size: 0.78rem; line-height: 1.5; color: #6f6a5f; }

/* 2x2 feature cards (new layout) */
.why-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: #FBF7EE;
    border: 1px solid rgba(28, 26, 22, 0.08);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -18px rgba(138, 106, 47, 0.4);
    border-color: rgba(201, 155, 69, 0.5);
}
.why-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 155, 69, 0.14);
    border: 1px solid rgba(201, 155, 69, 0.35);
    color: #8A6A2F;
    transition: background 0.3s ease, color 0.3s ease;
}
.why-card-icon svg { width: 20px; height: 20px; }
.why-card:hover .why-card-icon { background: #C99B45; color: #fff; }
.why-card-title { font-size: 0.9rem; font-weight: 700; color: #1c1a16; margin-bottom: 0.2rem; }
.why-card-desc { font-size: 0.72rem; line-height: 1.45; color: #6f6a5f; }
.why-card-num {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #b9a878;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.why-card-arrow { color: #C99B45; font-size: 0.85rem; transition: transform 0.3s ease; }
.why-card:hover .why-card-arrow { transform: translate(2px, -2px); }

/* ============================================================
   OUR PROCESS — FROM IDEA TO IMPACT
   ============================================================ */
.proc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}
.proc-step { position: relative; padding-right: 0.5rem; }
.proc-node {
    display: flex;
    align-items: center;
    margin-bottom: 1.4rem;
}
.proc-ring {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E7C374;
    border: 1px solid rgba(212, 169, 84, 0.45);
    background: radial-gradient(circle at 50% 40%, rgba(212,169,84,0.12), transparent 70%);
    box-shadow: 0 0 22px -6px rgba(212,169,84,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.proc-ring svg { width: 24px; height: 24px; }
.proc-step:hover .proc-ring {
    transform: scale(1.08);
    border-color: rgba(212,169,84,0.9);
    box-shadow: 0 0 34px -4px rgba(212,169,84,0.6);
}
.proc-arrow {
    flex: 1;
    text-align: center;
    color: rgba(212, 169, 84, 0.5);
    font-size: 1rem;
}
.proc-num { font-size: 0.8rem; font-weight: 700; color: #9c7b3f; margin-bottom: 0.25rem; }
.proc-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.proc-desc { font-size: 0.75rem; line-height: 1.5; color: #94a3b8; padding-right: 0.75rem; }

@media (max-width: 1023px) {
    .proc-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .proc-arrow { display: none; }
}
@media (max-width: 520px) {
    .proc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Circular nav arrows (dark theme) */
.tm-arrow {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 169, 84, 0.45);
    color: #E7C374;
    background: rgba(12, 10, 7, 0.6);
    backdrop-filter: blur(6px);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.tm-arrow:hover { background: #C99B45; color: #1a1206; border-color: #C99B45; }

/* Review card */
.tm-review-card {
    position: relative;
    background: linear-gradient(160deg, rgba(24, 19, 11, 0.9), rgba(10, 8, 5, 0.92));
    border: 1px solid rgba(212, 169, 84, 0.4);
    border-radius: 22px;
    padding: 2.6rem 2.4rem;
    box-shadow: 0 0 0 1px rgba(212, 169, 84, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 70px -30px rgba(212, 169, 84, 0.5);
}
.tm-quote-mark {
    display: block;
    font-size: 3.2rem;
    line-height: 0.5;
    font-family: Georgia, serif;
    color: #E7C374;
    margin-bottom: 1.2rem;
}
.tm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 169, 84, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.tm-dot.active { width: 24px; border-radius: 4px; background: #D4A954; }

/* ============================================================
   FINAL CTA — INTO REALITY
   ============================================================ */
.cta-luxe {
    background-color: #080604;
    background-image: linear-gradient(160deg, #0d0a06 0%, #080604 60%);
}
.cta-mountain {
    background-image:
        radial-gradient(circle at 78% 25%, rgba(212,169,84,0.35) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(212,169,84,0.18) 0%, transparent 45%),
        linear-gradient(120deg, transparent 0%, #1a130a 55%, #080604 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

/* Final CTA (cream) — feature items */
.cta-feat { text-align: left; }
.cta-feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A6A2F;
    background: linear-gradient(145deg, #fdfbf5, #efe6d3);
    box-shadow: 4px 4px 10px rgba(150,120,70,0.16), -4px -4px 10px rgba(255,255,255,0.9);
    margin-bottom: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.cta-feat-icon svg { width: 22px; height: 22px; }
.cta-feat:hover .cta-feat-icon { transform: translateY(-3px); color: #fff; background: linear-gradient(145deg, #d9a94e, #b4863a); }
.cta-feat-title { font-size: 0.95rem; font-weight: 700; color: #1c1a16; margin-bottom: 0.25rem; }
.cta-feat-desc { font-size: 0.75rem; line-height: 1.45; color: #6f6a5f; }
.cta-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(201,155,69,0.6);
    color: #8A6A2F;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: #161009;
    border: 1px solid rgba(212, 169, 84, 0.25);
    transition: all 0.3s ease;
}
.foot-social:hover {
    color: #fff;
    background: #C99B45;
    border-color: #C99B45;
    transform: translateY(-3px);
}

/* ============================================================
   SCROLL REVEAL + AMBIENT ANIMATIONS
   ============================================================ */

/* Base reveal state — elements start hidden/offset, then animate in */
[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(0.92); }
[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
/* Stagger children when the container reveals */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-reveal-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.13s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.21s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.29s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.37s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.45s; }

/* Ambient drifting gold glow orbs */
@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, -30px) scale(1.12); }
}
@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-50px, 30px) scale(1.15); }
}
.orb-drift-1 { animation: drift1 14s ease-in-out infinite; }
.orb-drift-2 { animation: drift2 18s ease-in-out infinite; }

/* Slow shimmer sweep for section eyebrows */
@keyframes lineGrow {
    from { width: 0; opacity: 0; }
    to   { width: 2rem; opacity: 1; }
}

/* Gentle pulse for the gold star rating / accents */
@keyframes softPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.65; }
}

/* Animated gradient underline shimmer on hover for nav links */
nav a { position: relative; }

/* Count-up numbers subtle rise handled by hero-rise; add shimmer to gold stats */
.text-gold-gradient, .text-gold-shine { background-size: 200% auto; }

/* Buttons: gold glow pulse on the primary CTAs */
@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 10px 30px -8px rgba(212,169,84,0.45); }
    50%      { box-shadow: 0 10px 40px -6px rgba(212,169,84,0.75); }
}
.btn-gold { animation: ctaGlow 3.5s ease-in-out infinite; }

/* Respect reduced-motion for all of the above */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .orb-drift-1, .orb-drift-2, .btn-gold { animation: none; }
}

/* ============================================================
   MOUSE-MOVE INTERACTIONS
   ============================================================ */
/* 3D tilt card (brand/founder card) */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.25s ease-out;
    will-change: transform;
}
.tilt-card > * { pointer-events: none; }

/* Parallax glow orbs follow the cursor slightly (set via JS custom props) */
.parallax-orb {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Magnetic buttons nudge toward cursor (JS sets --mx/--my) */
.magnetic {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    .tilt-card { transform: none !important; }
    .parallax-orb, .magnetic { transform: none !important; }
}

/* ============================================================
   MOBILE POLISH
   ============================================================ */
@media (max-width: 640px) {
    /* Tighter hero headline + keep video readable */
    #home h1 { font-size: 3rem; line-height: 1; }
    /* Testimonial arrows wrap gracefully */
    #testimonials .tm-nav { width: 40px; height: 40px; }
    /* Founder card name tag a touch smaller */
    .brand-card { aspect-ratio: 4 / 5; }
    /* Process rings a bit smaller on phones */
    .proc-ring { width: 54px; height: 54px; }
    .proc-ring svg { width: 20px; height: 20px; }
    /* Featured work carousel: pull stats bar in */
    .wc-stage { height: 340px; }
}

/* Prevent any horizontal overflow on small screens */
html, body { max-width: 100%; overflow-x: hidden; }

/* ============================================================
   PRICING CARDS (cream theme)
   ============================================================ */
.price-card {
    position: relative;
    background: #FBF7EE;
    border: 1px solid rgba(28, 26, 22, 0.08);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -20px rgba(138, 106, 47, 0.4);
    border-color: rgba(201, 155, 69, 0.5);
}
.price-card--popular {
    border: 2px solid #C99B45;
    box-shadow: 0 22px 50px -20px rgba(201, 155, 69, 0.5);
}
.price-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: linear-gradient(120deg, #E7C374, #C99B45);
    color: #1a1206;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 6px 16px -4px rgba(201, 155, 69, 0.6);
}
.price-name { font-size: 1.05rem; font-weight: 700; color: #1c1a16; }
.price-amount { font-size: 2rem; font-weight: 800; color: #1c1a16; }
.price-card--custom .price-amount {
    background: linear-gradient(120deg, #E7C374 0%, #C99B45 55%, #8A6A2F 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-cycle { font-size: 0.75rem; color: #8a8375; font-weight: 500; }
.price-sub { font-size: 0.78rem; line-height: 1.5; color: #6f6a5f; min-height: 2.4em; margin-bottom: 1.1rem; }
.price-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.82rem;
    color: #4f4a40;
    border-top: 1px solid rgba(28,26,22,0.08);
    padding-top: 1.1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}
.price-list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.price-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(201, 155, 69, 0.18);
    color: #8A6A2F;
    font-size: 9px;
    font-weight: 700;
}
.price-btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(28,26,22,0.25);
    color: #1c1a16;
    background: transparent;
    transition: all 0.3s ease;
}
.price-btn:not(.btn-gold):hover { background: #1c1a16; color: #fff; border-color: #1c1a16; }

/* Active gold nav link */
nav a.nav-active {
    color: #E7C374;
    position: relative;
}
nav a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #E7C374, #B4863A);
    border-radius: 2px;
}
