@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    /* LIGHT MODE */
    --bg: #F7F7F8;
    --card: #FFFFFF;
    --dark: #000000;
    --blue: #2563EB;
    --blue-hover: #1D4ED8;
    --text: #09090B;
    --muted: #71717A;
    --border: #E4E4E7;
    --white: #FFFFFF;
    --invert: 0;
    --r: 24px;
}

/* DARK MODE */
body.dark-theme {
    --bg: #050505;
    --card: #111111;
    --dark: #FFFFFF;
    --blue: #3B82F6;
    --blue-hover: #2563EB;
    --text: #FAFAFA;
    --muted: #A1A1AA;
    --border: #222222;
    --white: #050505;
    --invert: 1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* HARDWARE ACCELERATION BASE */
body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
}

/* SCROLL LOCK FOR PRELOADER ONLY */
body.locked {
    overflow: hidden !important;
    height: 100vh !important;
}

.svc-card,
.ben-card,
.wk-card,
.pr-card,
.tc,
.fitem,
.clk,
.ct-form,
nav.sc,
.nl,
.hero-badge {
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Raleway', sans-serif;
}

/* ==================================================
   SPLIT-GATE PRELOADER 
   ================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-half {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50vh;
    background: #000000;
    will-change: transform;
}

.pl-top {
    top: 0;
}

.pl-bottom {
    bottom: 0;
}

.pl-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFF;
}

.pl-counter {
    font-family: 'syne', monospace;
    font-size: clamp(80px, 15vw, 220px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
}

/* .pl-brand {
    font-family: 'Syne', monospace;
    font-weight: 00;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: -10px;
} */

/* ==================================================
   MAGIC INVERTED CURSOR
   ================================================== */
#magic-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, width, height;
}

body.h #magic-cursor {
    width: 80px;
    height: 80px;
}

::-webkit-scrollbar {
    width: 3px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 2px
}

/* ==================================================
   NAV & CONTROLS
   ================================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 52px;
    transition: background .35s, backdrop-filter .35s, border-bottom .35s;
    transform: translateY(-100%);
    will-change: transform;
}

nav.sc {
    background: rgba(var(--bg), 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* border-bottom: 1px solid var(--border); */
}

.logo {
    font-family: 'syne', monospace;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: var(--border);
    border: 1px solid var(--border);
    color: var(--text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.08);
    background: var(--border);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.5s;
}

.mbtn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--text);
    color: var(--bg);
    border: none;
    /* padding: 12px; */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    border-radius: 100px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: none;
    transition: transform 0.2s;
}

.mbtn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s;
}

.mbtn:hover {
    transform: scale(1.05);
}

/* MENU OVERLAY */
.mover {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 900;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 40px 52px;
    transform: translateX(100%);
    transition: transform .55s cubic-bezier(.77, 0, .18, 1);
}

.mover.open {
    transform: translateX(0);
}

.mcls {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: none;
    margin-bottom: 30px;
    line-height: 1;
}

.mlinks {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 4px;
    flex: 1;
}

.mlinks a {
    font-family: "Syne", monospace;
    font-weight: 750;
    font-size: clamp(34px, 5.5vw, 68px);
    color: var(--white);
    text-decoration: none;
    line-height: 1.1;
    display: block;
    transition: color .2s, padding-left .25s;
    letter-spacing: -2px;
}

.mlinks a:hover {
    color: var(--blue);
    padding-left: 14px;
}

.mfoot {
    font-family: 'Geist', monospace;
    color: rgba(255, 255, 255, .35);
    font-size: 12px;
    margin-top: 40px;
}

/* MAIN WRAPPER */
#main-wrap {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

/* ==================================================
   CREATIVE PORTFOLIO HERO 
   ================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 52px 80px;
    overflow: hidden;
}
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto; /* Allows the mouse tracking to work */
}

/* Soft Premium Glow
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
} */

body.dark-theme .hero-glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

/* Floating Parallax Images */
.hero-tracker {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.trk-img {
    position: absolute;
    border-radius: 16px;
    object-fit: contain;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
    will-change: transform;
    filter: brightness(calc(1 - (var(--invert) * 0.2)));
}

.ti-1 {
    top: 12%;
    left: 8%;
    width: 200px;
    height: 200px;
    transform: rotate(-4deg);
}

.ti-2 {
    top: 20%;
    right: 10%;
    width: 260px;
    height: 160px;
    transform: rotate(3deg);
}

.ti-3 {
    bottom: 15%;
    left: 12%;
    width: 230px;
    height: 160px;
    transform: rotate(5deg);
}

.ti-4 {
    bottom: 10%;
    right: 12%;
    width: 180px;
    height: 240px;
    transform: rotate(-5deg);
}

/* Centered Text Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Lets mouse events pass through to canvas */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px 6px 6px;
    border-radius: 100px;
    background: var(--text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-family: 'Geist', monospace;
    font-size: 12px;
    color: var(--bg);
    font-weight: 500;
    gap: 12px;
    margin-bottom: 40px;
}


.badge-dark {
    background: var(--text);
    color: var(--bg);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MIXED TYPOGRAPHY & INLINE IMAGE */
.hero-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-line {
    overflow: hidden;
    padding-bottom: 8px;
    line-height: 1.05;
}

.hero-h {
    font-size: clamp(48px, 10vw, 130px);
    letter-spacing: -3px;
    margin: 0;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.fw-300 {
    font-weight: 300;
}

.fw-700 {
    font-weight: 700;
}

.text-blue {
    color: var(--blue);
}

/* The Inline Image (Awwwards Style) */
.inline-img-wrap {
    display: inline-block;
    width: 1.8em;
    height: 0.8em;
    border-radius: 100px;
    overflow: hidden;
    vertical-align: middle;
    margin: 0 0.2em;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.05em);
    /* Optical alignment */
}

.inline-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GSAP Fast Character Split wrapper */
.char-wrap {
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.char {
    display: inline-block;
    will-change: transform;
}

/* Subtext */
.hero-sub {
    font-size: 19px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 600px;
    font-weight: 400;
    margin: 30px 0 50px;
}

/* ANIMATED PREMIUM BUTTONS */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sweeping Fill Animation Button */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--text);
    color: var(--bg);
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
    cursor: none;
    pointer-events: all;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-premium:hover::before {
    transform: scaleX(1);
}

.btn-premium:hover {
    color: #FFF;
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium:hover .btn-icon {
    transform: translateX(4px) rotate(-45deg);
}

/* Outline Button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: none;
    background: var(--bg);
    pointer-events: all;
}

.btn-outline:hover {
    border-color: var(--muted);
    transform: translateY(-2px);
}

/* ==================================================
   ABOUT ME SECTION STYLES
   ================================================== */
.about-sec {
    position: relative;
    padding: 120px 52px;
    padding-top: 250px;
    overflow: hidden;
    background: var(--bg);
}

/* Giant Watermark Text */
.bg-text-massive {
    position: absolute;
    top: 10%;
    left: 10%;
    font-family: 'Geist', sans-serif;
    font-size: clamp(100px, 20vw, 300px);
    font-weight: 800;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    will-change: transform;
}

body.dark-theme .bg-text-massive {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.171);
}

/* Grid Layout */
.about-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Content */
.about-bio {
    margin-top: 40px;
    margin-bottom: 60px;
}

.about-bio p {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
}

.about-bio p:last-child {
    margin-bottom: 0;
}

/* Animated Stats */
.about-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--text);
    line-height: 1;
    display: flex;
    align-items: center;
}

.stat-label {
    font-family: 'Geist', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Signature Area */
.about-sig {
    display: flex;
    flex-direction: column;
}

.sig-name {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text);
}

.sig-role {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

/* Right Visual / Portrait */
.about-right {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

/* The Curtain Mask (Animated via GSAP) */
.about-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 700px;
    border-radius: 32px;
    /* Start hidden by clipping it to the bottom */
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    will-change: clip-path;
}

.av-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.av-img {
    width: 100%;
    height: 120%;
    /* Extra height for parallax panning */
    object-fit: cover;
    /* Pushed up initially for GSAP to pan down */
    transform: translateY(-10%);
    filter: brightness(calc(1 - (var(--invert) * 0.15)));
    will-change: transform;
}

.av-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
    z-index: 1;
}

/* Floating Glass Badge */
.av-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    /* Pulls it outside the image slightly */
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 16px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Geist', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-theme .av-badge {
    background: rgba(20, 20, 20, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.avb-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    /* Green available dot */
    border-radius: 50%;
    position: relative;
}

.avb-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #10B981;
    border-radius: 50%;
    animation: pulsePulse 2s infinite;
}

@keyframes pulsePulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media(max-width: 1100px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        height: 500px;
        margin: 0 auto;
    }

    .av-badge {
        left: 20px;
        bottom: 20px;
    }

    .about-sec {
        padding: 100px 28px;
    }
}

@media(max-width: 640px) {
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .about-sec {
        padding: 80px 20px;
    }
}

/* ==================================================
   REST OF SITE
   ================================================== */
section {
    padding: 140px 52px;
    /* padding-top: 0; */
    overflow: hidden;
    background: var(--bg);
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text);
    border: 1px solid var(--border);
    color: var(--bg);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: 'Raleway', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.sec-badge .sl{
    color: #3B82F6;
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 20px
}

.sec-title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -2px;
    color: var(--text);
    opacity: 0;
}

.sec-desc {
    max-width: 380px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    align-self: flex-end;
    font-weight: 400;
}

/* SERVICES */
/* ==================================================
   AWWWARDS STYLE SERVICES CARDS
   ================================================== */
/* ==================================================
   ULTRA-PREMIUM SERVICES GRID
   ================================================== */
.svc-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1000px;
    /* Essential for 3D reveal */
}

.svc-lux-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: none;
    /* Hardware acceleration for smooth transitions */
    will-change: transform, border-color, box-shadow;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.5s ease;
}

/* The Background Sweep Animation */
.svc-sweep {
    position: absolute;
    inset: 0;
    background: var(--text);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
    /* Snappy easing */
    z-index: 0;
}

/* Massive Wireframe Number Background */
.svc-huge-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: 'Geist', sans-serif;
    font-size: 180px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke 0.4s;
}

body.dark-theme .svc-huge-num {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

/* Card Content Layer */
.svc-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.svc-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--text);
    transition: color 0.4s ease;
}

.svc-icon svg {
    width: 36px;
    height: 36px;
}

.svc-arrow {
    width: 32px;
    height: 32px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
}

.svc-bot-info {
    display: flex;
    flex-direction: column;
    /* Pushed down initially */
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.svc-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

/* Staggered Skills Box */
.svc-skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.s-pill {
    font-family: 'Geist', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Initially hidden and pushed down */
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, color 0.3s;
}

/* ==================================================
   THE HOVER MAGIC
   ================================================== */
.svc-lux-card:hover {
    transform: translateY(-10px);
    border-color: var(--text);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.15);
}

body.dark-theme .svc-lux-card:hover {
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.25);
}

/* Trigger Background Sweep */
.svc-lux-card:hover .svc-sweep {
    transform: scaleY(1);
}

/* Move Number and change stroke to white */
.svc-lux-card:hover .svc-huge-num {
    transform: translate(-15px, 15px) scale(1.1);
    -webkit-text-stroke: 1px rgba(255,255,255, 0.25);
}
body.dark-theme .svc-lux-card:hover .svc-huge-num {
    transform: translate(-15px, 15px) scale(1.1);
    -webkit-text-stroke: 1px rgba(0,0,0, 0.25);
}

/* Invert Text Colors to White */
.svc-lux-card:hover .svc-top-flex,
.svc-lux-card:hover .svc-title,
.svc-lux-card:hover .svc-desc {
    color: var(--bg);
}

/* Shoot Arrow */
.svc-lux-card:hover .svc-arrow {
    transform: translate(8px, -8px);
    stroke: var(--bg);
}

/* Slide content up */
.svc-lux-card:hover .svc-bot-info {
    transform: translateY(0);
}

/* Stagger the Skill Pills in */
.svc-lux-card:hover .s-pill {
    opacity: 1;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--bg);
    backdrop-filter: blur(5px);
}
body.dark-theme .svc-lux-card:hover .s-pill {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0,0,0, 0.2);
    color: var(--bg);
}
/* The Waterfall Stagger Timing */
.svc-lux-card:hover .s-pill:nth-child(1) {
    transition-delay: 0.1s;
}

.svc-lux-card:hover .s-pill:nth-child(2) {
    transition-delay: 0.15s;
}

.svc-lux-card:hover .s-pill:nth-child(3) {
    transition-delay: 0.2s;
}

.svc-lux-card:hover .s-pill:nth-child(4) {
    transition-delay: 0.25s;
}

/* Responsive adjustments */
@media(max-width: 1100px) {
    .svc-premium-grid {
        grid-template-columns: 1fr;
    }

    .svc-lux-card {
        height: auto;
        min-height: 400px;
    }

    .svc-bot-info {
        transform: translateY(0);
    }

    /* Always visible on mobile */
    .s-pill {
        opacity: 1;
        transform: translateY(0);
    }

    /* Always visible on mobile */
}

/* BENEFITS */
/* ==================================================
   STICKY SCROLL BENEFITS STYLES
   ================================================== */
/* ==================================================
   STICKY SCROLL FIX
   ================================================== */
/* 1. Override the hidden overflow so sticky works */
section#benefits {
    overflow: visible !important;
}

/* 2. Ensure the grid tracks don't stretch */
.ben-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start !important;
    /* CRITICAL: If this defaults to stretch, sticky fails */
    position: relative;
}

/* 3. Lock the visual column in place */
.ben-visuals-col {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 140px !important;
    /* Distance from top of screen when it locks */
    height: calc(100vh - 200px);
    /* Keeps it within the viewport */
    max-height: 700px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    background: var(--card);
}

body.dark-theme .ben-visuals-col {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ben-sticky-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.ben-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    will-change: transform, opacity;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(calc(1 - (var(--invert) * 0.15)));
}

.ben-img.active {
    opacity: 1;
    transform: scale(1);
}

/* RIGHT: Scrollable Cards */
/* ==================================================
   MINIMALIST SCROLL CARDS (RIGHT COLUMN)
   ================================================== */
.ben-cards-col {
  display: flex;
  flex-direction: column;
  gap: 0; /* Removing the gap makes the left line look continuous */
  padding-top: 10vh;
  padding-bottom: 25vh; /* Extra padding so the last card reaches the center */
}

/* 1. The Base Card (Minimal & Flat) */
.ben-scroll-card {
  position: relative;
  background: transparent;
  padding: 60px 0 60px 50px; /* Pushed in to make room for the line */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 35vh;
  opacity: 0.25; /* Fades out heavily when inactive */
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

/* 2. The Continuous Faint Background Line */
.ben-scroll-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--border);
}

/* 3. The Active Blue Line Indicator */
.ben-scroll-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* THE ACTIVE STATE (No Scaling!) */
.ben-scroll-card.active {
  opacity: 1;
}

.ben-scroll-card.active::after {
  transform: scaleY(1); /* Draws the blue line down */
}

/* Top Row Alignments */
.bsc-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* Minimalist Icon */
.bsc-ico {
  font-size: 24px;
  color: var(--muted);
  transition: color 0.5s ease;
}

.ben-scroll-card.active .bsc-ico {
  color: var(--blue);
}

/* Typography Base */
.bsc-num {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.bsc-h {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500; /* Dropped from 700 to 500 for a cleaner, modern look */
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}

.bsc-p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 90%;
}

/* RESPONSIVE Adjustments */
@media(max-width: 1100px) {
  .ben-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ben-visuals-col {
    position: relative;
    top: 0 !important; 
    height: 40vh;
  }

  .ben-cards-col {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Force all text to look active on mobile */
  .ben-scroll-card {
    min-height: auto;
    opacity: 1;
    padding: 40px 0 40px 30px;
  }
  
  .ben-scroll-card::after {
    transform: scaleY(1);
    background: var(--border); /* Keep it grey on mobile to not overwhelm */
  }
}
/* RESPONSIVE */
@media(max-width: 1100px) {
    .ben-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ben-visuals-col {
        position: relative;
        top: 0;
        height: 40vh;
    }

    .ben-cards-col {
        padding-bottom: 0;
    }

    .ben-scroll-card {
        min-height: auto;
        opacity: 1;
        transform: scale(1);
    }

    /* Disable interactive states on mobile */
    .ben-scroll-card.active {
        transform: none;
    }
}

/* WORK */
/* ==================================================
   PREMIUM WORK CARDS (FLOATING PILL HOVER)
   ================================================== */
.work-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.work-lux-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Fixed height so images fill nicely */
    cursor: none;
    /* Hardware acceleration */
    will-change: transform, box-shadow;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.work-lux-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

body.dark-theme .work-lux-card:hover {
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.05);
}

/* The Image & Overlay */
.wlc-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.wlc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scale image on hover */
.work-lux-card:hover .wlc-img {
    transform: scale(1.08);
}

/* Dark cinematic overlay that fades in on hover */
.wlc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.work-lux-card:hover .wlc-overlay {
    opacity: 1;
}

/* The Floating Pill Details Container */
.wlc-info-pill {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--card);
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

    /* Initial State: Hidden and pushed down */
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide up and fade in on hover */
.work-lux-card:hover .wlc-info-pill {
    opacity: 1;
    transform: translateY(0);
}

/* Text inside the pill */
.wlc-text h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 2px;
}

.wlc-text p {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* The Link Button (Dark background like reference image) */
.wlc-link {
    width: 52px;
    height: 52px;
    background: var(--text);
    /* Black in light mode, white in dark mode */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.wlc-link:hover {
    transform: scale(1.1) rotate(-10deg);
    background: var(--blue);
}

.wlc-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--bg);
    /* White in light mode, black in dark mode */
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke 0.3s ease;
}

/* Responsive */
@media(max-width: 1100px) {
    .work-premium-grid {
        grid-template-columns: 1fr;
    }

    .work-lux-card {
        height: 400px;
    }

    /* Show pill by default on touch screens */
    .wlc-info-pill {
        opacity: 1;
        transform: translateY(0);
    }

    .wlc-overlay {
        opacity: 1;
    }
}

/* PRICING */
.pr-grid {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 24px;
    align-items: start
}

.pr-flow {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.pf-item {
    background: var(--card);
    border-radius: var(--r);
    padding: 30px;
    border: 1px solid var(--border);
}

.pf-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px
}

.pf-ico {
    font-size: 20px;
    color: var(--text);
}

.pf-dots {
    display: flex;
    gap: 4px
}

.pfd {
    width: 6px;
    height: 6px;
    border-radius: 50%
}

.pf-h {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: var(--text)
}

.pf-s {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 400;
}

.pr-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.pr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.pr-card.feat {
    background: var(--text);
    color: var(--bg);
    border-color: transparent;
}

.pr-ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px
}

.pr-card.feat .pr-ico {
    background: rgba(255, 255, 255, .1)
}

.pr-card:not(.feat) .pr-ico {
    background: var(--bg);
    color: var(--text);
}

.pr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.pr-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -1px;
}

.pr-price {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -2px;
}

.pr-price span {
    font-family: 'Geist', monospace;
    font-size: 14px;
    font-weight: 400;
    opacity: .5;
    letter-spacing: 0;
}

.pr-desc {
    font-size: 15px;
    opacity: .6;
    line-height: 1.55;
    margin-bottom: 30px;
    font-weight: 400;
}

.pr-tog {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 500
}

.pr-card.feat .pr-tog {
    background: rgba(255, 255, 255, .08)
}

.pr-card:not(.feat) .pr-tog {
    background: var(--bg)
}

.tog {
    width: 36px;
    height: 20px;
    background: var(--border);
    border-radius: 12px;
    position: relative;
    cursor: none;
    flex-shrink: 0;
    transition: background 0.4s ease;
}

.tog::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: left .2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tog.on {
    background: var(--blue)
}

.tog.on::after {
    left: 19px
}

.pr-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    margin-bottom: 34px
}

.pr-feats li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    opacity: .85;
    font-weight: 400;
}

.pfi {
    color: var(--blue);
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.pr-card.feat .pfi {
    color: var(--bg);
}

.pr-cta {
    display: block;
    text-align: center;
    padding: 16px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
    background: var(--bg);
    color: var(--text);
}

.pr-cta:hover {
    transform: scale(1.02);
    opacity: .9
}

.pr-card.feat .pr-cta {
    background: var(--bg);
    color: var(--text)
}

.pr-card:not(.feat) .pr-cta {
    background: var(--text);
    color: var(--bg)
}

/* TESTIMONIALS */
/* ==================================================
   PREMIUM INFINITE MARQUEE REVIEWS 
   ================================================== */
.reviews-architect-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Base Review Card Styles */
.rev-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
    cursor: none;
    display: flex;
    flex-direction: column;
    /* Hardware acceleration */
    will-change: transform, border-color, box-shadow;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* 1. Featured Top Card */
.rc-featured {
    padding: 60px;
    min-height: 450px;
    justify-content: center;
}

.rc-bg-quote {
    position: absolute;
    top: -40px;
    right: 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 300px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--border);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke 0.4s ease;
}

body.dark-theme .rc-bg-quote {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
    opacity: 0.8;
}

.rc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rc-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
}

.rc-stars svg {
    width: 22px;
    height: 22px;
    fill: var(--blue);
}

.rc-quote-text {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 50px;
    max-width: 90%;
}

/* 2. Marquee Tracks & Small Cards */
.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    overflow: hidden;
    /* Cinematic Edge Fading Mask */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    /* Smooth Infinite Scroll Animation */
}

.track-left {
    animation: scrollLeft 50s linear infinite;
}

.track-right {
    animation: scrollRight 50s linear infinite;
}

/* Pause entire track when ANY card is hovered */
.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly halfway (1 set) */
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.rc-small {
    width: 450px;
    /* Fixed width for ticker */
    padding: 32px;
    justify-content: space-between;
    flex-shrink: 0;
}

.rc-quote-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 30px;
}

/* Author Info */
.rc-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.rc-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.rc-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    transition: color 0.4s;
}

.rc-role {
    font-family: 'Geist', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

/* Interactive Hover States (For both large and small cards) */
.rev-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    background: var(--text);
    /* Inverts background */
}

/* Invert colors on hover */
.rev-card:hover .rc-quote-text,
.rev-card:hover .rc-quote-sub,
.rev-card:hover .rc-name {
    color: var(--bg);
}

.rev-card:hover .rc-bg-quote {
    transform: translate(-20px, 10px) rotate(5deg);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
}

/* GSAP Custom Word Reveal Wrappers (For Featured Card) */
.quote-word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.quote-word {
    display: inline-block;
    will-change: transform;
}

/* Responsive */
@media(max-width: 1100px) {
    .rc-featured {
        padding: 40px;
    }

    .rc-bg-quote {
        right: 10px;
        font-size: 200px;
    }
}

@media(max-width: 640px) {
    .marquee-container {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .rc-small {
        width: 300px;
        padding: 24px;
    }

    .rc-quote-text {
        font-size: 24px;
    }
}

/* ==================================================
   FULL-WIDTH MODERN REVIEWS SECTION
   ================================================== */
.reviews-fw-sec {
    padding: 140px 52px;
    background: var(--bg);
    overflow: hidden;
    text-align: center;
}

/* 1. Centered Featured Review */
.rf-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 80px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rf-quote-mark {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Raleway', sans-serif;
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    color: var(--blue);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.rc-stars svg {
    width: 22px;
    height: 22px;
    fill: var(--blue);
}

.rf-text {
    position: relative;
    z-index: 2;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 40px;
}

.rf-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 2;
}

.rf-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.rf-info {
    text-align: left;
}

.rf-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.rf-role {
    font-family: 'Geist', monospace;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--muted);
}

/* GSAP Custom Word Reveal Wrappers */
.quote-word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.quote-word {
    display: inline-block;
    will-change: transform;
}

/* 2. Full-Width Marquee Viewport */
.rev-marquee-viewport {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 0;
    /* Mask to fade edges perfectly */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.fw-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.track-left {
    animation: scrollLeft 50s linear infinite;
}

.track-right {
    animation: scrollRight 50s linear infinite;
}

/* Pause on hover */
.fw-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* 3. Simple, Modern Cards */
.fw-card {
    width: 400px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
}

.fw-card p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 30px;
}

.fw-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fw-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.fw-role {
    font-family: 'Geist', monospace;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
}

/* Hover State */
.fw-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

body.dark-theme .fw-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

/* Responsive */
@media(max-width: 640px) {
    .rev-marquee-viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .rf-text {
        font-size: 26px;
    }

    .fw-card {
        width: 300px;
        padding: 24px;
    }
}

/* ==================================================
   FULL-WIDTH MODERN FAQ STYLES
   ================================================== */
.faq-fw-sec {
    padding: 0px 52px;
    background: var(--bg);
}

.faq-fw-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.faq-fw-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Base Item: Minimalist Line */
.faq-fw-item {
    border-bottom: 1px solid var(--border);
    background: transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

/* Top border for the very first item to cap it off */
.faq-fw-item:first-child {
    border-top: 1px solid var(--border);
}

/* THE ACTIVE STATE: Expands into a floating card */
.faq-fw-item.is-open {
    background: var(--card);
    border-color: transparent;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: scale(1.02);
    margin: 20px 0;
    /* Creates space around the active card */
    z-index: 10;
    position: relative;
}

body.dark-theme .faq-fw-item.is-open {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.02);
}

/* Remove adjacent borders when a card is floating to keep it clean */
.faq-fw-item.is-open+.faq-fw-item {
    border-top-color: transparent;
}

/* The Trigger Button */
.faq-fw-trigger {
    width: 100%;
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: none;
    text-align: left;
}

/* Question Text */
.faq-fw-q {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--text);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.faq-fw-trigger:hover .faq-fw-q {
    transform: translateX(15px);
    color: var(--blue);
}

.faq-fw-item.is-open .faq-fw-q {
    color: var(--blue);
    font-weight: 500;
}

/* Plus / Minus Icon */
.faq-fw-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.fw-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    transform: translateY(-50%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.fw-vert {
    transform: translateY(-50%) rotate(90deg);
}

.faq-fw-item.is-open .fw-line {
    transform: translateY(-50%) rotate(135deg);
    background: var(--blue);
}

.faq-fw-item.is-open .fw-vert {
    transform: translateY(-50%) rotate(45deg);
    background: var(--blue);
}

/* The Answer Body (CSS Grid trick for smooth open/close) */
.faq-fw-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-fw-item.is-open .faq-fw-answer-wrap {
    grid-template-rows: 1fr;
}

.faq-fw-answer-inner {
    overflow: hidden;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, padding 0.4s;
}

.faq-fw-item.is-open .faq-fw-answer-inner {
    opacity: 1;
    transform: translateY(0);
    padding: 0 24px 40px 24px;
}

.faq-fw-answer-inner p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    max-width: 800px;
}

/* Responsive */
@media(max-width: 640px) {
    .faq-fw-sec {
        padding: 100px 20px;
    }

    .faq-fw-trigger {
        padding: 30px 16px;
    }

    .faq-fw-item.is-open {
        transform: scale(1);
        margin: 10px 0;
    }

    .faq-fw-item.is-open .faq-fw-answer-inner {
        padding: 0 16px 30px 16px;
    }

    .faq-fw-answer-inner p {
        font-size: 16px;
    }
}

/* ==================================================
   ULTRA-CREATIVE CONTACT STYLES
   ================================================== */
.contact-ultra-sec {
    padding: 160px 52px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-ultra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* LEFT SIDE: Spinning Badge & Huge Text */
.cu-title {
    font-size: clamp(60px, 7vw, 110px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -3px;
    color: var(--text);
    margin-bottom: 40px;
}

.cu-spin-badge {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    animation: spinBadge 12s linear infinite;
}

.cu-spin-badge svg {
    width: 100%;
    height: 100%;
    fill: var(--text);
    font-family: 'Geist', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.cu-spin-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--blue);
    border-radius: 50%;
}

@keyframes spinBadge {
    100% {
        transform: rotate(360deg);
    }
}

.cu-info p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 400px;
}

.cu-email-link {
    display: inline-block;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -1px;
    text-decoration: none;
    position: relative;
    margin-top: 30px;
    padding-bottom: 8px;
    transition: 200ms ease;
}

.cu-email-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cu-email-link:hover {
    color: var(--blue);
}

.cu-email-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* RIGHT SIDE: Typography Form */
.cu-form {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-top: 20px;
}

.cu-form-alert {
    display: none;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.cu-form-alert.is-visible {
    display: block;
}

.cu-form-alert.is-error {
    border-left-color: #DC2626;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cu-input-box {
    position: relative;
    width: 100%;
}

.cu-input-box input,
.cu-input-box textarea {
    width: 100%;
    background: transparent;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    color: var(--text);
    padding: 10px 0;
    outline: none;
    resize: none;
    position: relative;
    z-index: 2;
}

.cu-input-box label {
    position: absolute;
    top: 10px;
    left: 0;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    color: var(--muted);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.cu-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.cu-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--blue);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Focus & Valid States */
.cu-input-box input:focus~label,
.cu-input-box input:valid~label,
.cu-input-box textarea:focus~label,
.cu-input-box textarea:valid~label {
    top: -24px;
    font-size: 13px;
    font-family: 'Geist', monospace;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cu-input-box input:focus~.cu-line::after,
.cu-input-box textarea:focus~.cu-line::after {
    width: 100%;
}

/* Submit Button */
.cu-submit-btn {
    width: 100%;
    padding: 32px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 500;
    cursor: none;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.4s;
}

.cu-submit-btn .cu-btn-bg {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text);
    transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.cu-submit-btn .cu-btn-txt {
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.cu-submit-btn:disabled {
    cursor: wait;
    opacity: 0.8;
}

.cu-submit-btn:hover {
    border-color: var(--text);
}

.cu-submit-btn:hover .cu-btn-bg {
    top: 0;
}

.cu-submit-btn:hover .cu-btn-txt {
    color: var(--bg);
}

/* Responsive */
@media(max-width: 1100px) {
    .contact-ultra-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-ultra-sec {
        padding: 120px 28px;
    }
}

@media(max-width: 640px) {
    .contact-ultra-sec {
        padding: 80px 20px;
    }

    .cu-spin-badge {
        width: 90px;
        height: 90px;
        margin-bottom: 24px;
    }

    .cu-form {
        gap: 40px;
    }
}

/* FOOTER */
footer {
    padding: 72px 52px 36px;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.ft {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 56px
}

.fn h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 7px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.fn p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 18px;
    font-weight: 300;
}

.nl {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: 100px;
    padding: 6px 6px 6px 20px;
    gap: 7px;
    border: 1px solid var(--border);
}

.nl input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text);
    font-family: 'Raleway', sans-serif
}

.nl input::placeholder {
    color: var(--muted)
}

.nl-btn {
    width: 40px;
    height: 40px;
    background: var(--blue);
    border-radius: 50%;
    border: none;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s
}

.nl-btn:hover {
    transform: scale(1.1)
}

.nl-btn svg {
    width: 15px;
    height: 15px;
    stroke: white;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round
}

.fc h5 {
    font-family: 'Geist', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px
}

.fc a {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color .2s, padding-left .2s
}

.fc a:hover {
    color: var(--blue);
    padding-left: 4px
}

.fw {
    font-family: "Raleway", sans-serif;
    font-size: clamp(72px, 13vw, 200px);
    font-weight: 700;
    letter-spacing: -6px;
    line-height: .85;
    text-align: center;
    margin-bottom: 28px;
    overflow: hidden;
    user-select: none;
    opacity: 0.05;
}

.fb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 22px;
    font-weight: 400;
}

/* RESPONSIVE */
@media(max-width:1100px) {
    .hero-tracker {
        opacity: 0.3;
    }

    .inline-img-wrap {
        width: 1.2em;
    }

    section {
        padding: 80px 28px
    }
    .ben-visuals-col{
        display: none;
    }

    .svc-grid,
    .ben-grid,
    .work-grid,
    .pr-grid,
    .test-grid,
    .ct-grid {
        grid-template-columns: 1fr
    }

    .test-cards {
        grid-template-columns: 1fr 1fr
    }

    .pr-flow {
        flex-direction: row;
        flex-wrap: wrap
    }

    .pf-item {
        flex: 1;
        min-width: 130px
    }

    .ct-links {
        flex-direction: column;
    }
}

@media(max-width:640px) {
    body{
        cursor: auto;
    }
    #magic-cursor{
        display: none;
    }
    nav {
        padding: 14px 20px
    }

    .hero {
        padding: 140px 20px 60px;
    }

    .hero-tracker {
        display: none;
    }

    .inline-img-wrap {
        width: 1em;
        height: 0.6em;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        align-items: stretch;
    }

    .btn-premium,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 64px 20px
    }

    .sec-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sec-desc {
        max-width: 100%
    }

    .test-cards {
        grid-template-columns: 1fr
    }

    .ft {
        grid-template-columns: 1fr
    }

    .fw {
        font-size: 13vw;
        letter-spacing: -3px
    }

    .fradio {
        grid-template-columns: 1fr
    }

    footer {
        padding: 56px 20px 28px
    }
}
