/* =============================================
   ATFI — STYLE SYSTEM
   ============================================= */

/* --- CUSTOM PROPERTIES --- */
:root {
    --bg:          #060608;
    --bg-2:        #0b0b12;
    --bg-card:     #0f1018;
    --bg-card-h:   #141520;
    --accent:      #00f5d4;
    --accent-2:    #7c5cfc;
    --accent-g:    linear-gradient(135deg, #00f5d4, #7c5cfc);
    --text:        #eaeaea;
    --text-2:      #9298a8;
    --border:      rgba(255,255,255,0.06);
    --border-h:    rgba(255,255,255,0.12);
    --radius:      12px;
    --radius-lg:   20px;
    --font-head:   'Space Grotesk', sans-serif;
    --font-body:   'Inter', sans-serif;
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
    scroll-behavior: auto; /* Lenis handles this */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { border: none; background: none; font: inherit; color: inherit; cursor: none; }
img { display: block; max-width: 100%; }

::selection {
    background: var(--accent);
    color: var(--bg);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.section {
    padding: clamp(80px, 12vw, 160px) 0;
}

/* --- NOISE OVERLAY --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.028;
    filter: url(#noiseFilter);
    width: 100%;
    height: 100%;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: width .2s var(--ease-out), height .2s var(--ease-out);
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s;
}

body.cursor-hover .cursor-dot {
    width: 16px;
    height: 16px;
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
    body, a, button { cursor: auto; }
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: clip-path 0.8s var(--ease-smooth);
    clip-path: inset(0 0 0 0);
}

.preloader.done {
    clip-path: inset(0 0 100% 0);
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-head);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    display: flex;
    gap: 2px;
    justify-content: center;
}

.pl-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(40deg);
    animation: charReveal 0.6s var(--ease-out) forwards;
}

.pl-char:nth-child(1) { animation-delay: 0.1s; }
.pl-char:nth-child(2) { animation-delay: 0.2s; }
.pl-char:nth-child(3) { animation-delay: 0.3s; }
.pl-char:nth-child(4) { animation-delay: 0.4s; }

.pl-dot {
    display: inline-block;
    color: var(--accent);
    opacity: 0;
    animation: dotReveal 0.4s var(--ease-out) 0.55s forwards;
}

@keyframes charReveal {
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes dotReveal {
    to { opacity: 1; }
}

.preloader-track {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 12px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-g);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.preloader-pct {
    font-family: var(--font-head);
    font-size: 0.85rem;
    color: var(--text-2);
    letter-spacing: 0.1em;
}

/* --- HEADER / NAV --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background .4s, backdrop-filter .4s, padding .4s;
}

.header.scrolled {
    background: rgba(6,6,8,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 10;
}

.dot { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-2);
    position: relative;
    transition: color .3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--accent);
    transition: width .3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all .3s var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-header {
    background: var(--bg-card);
    border: 1px solid var(--border-h);
    font-size: 0.85rem;
    padding: 10px 24px;
}

.btn-header:hover {
    background: var(--bg-card-h);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border: 1px solid var(--text);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 245, 212, 0.25);
}

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

.btn-outline:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

.btn-glow {
    background: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg), var(--bg)), var(--accent-g);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-size: 1.3rem;
    padding: 20px 48px;
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(0,245,212,0.2), 0 0 80px rgba(124,92,252,0.1);
    transform: translateY(-3px);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    z-index: 10;
    padding: 4px 0;
}

.mt-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease-out), opacity .3s;
    transform-origin: center;
}

.menu-toggle.active .mt-line:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active .mt-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-bg {
    position: absolute;
    inset: 0;
    background: var(--bg);
    opacity: 0;
    transition: opacity .4s;
}

.mobile-menu.active {
    pointer-events: all;
}

.mobile-menu.active .mm-bg {
    opacity: 0.98;
}

.mm-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.mm-link {
    font-family: var(--font-head);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color .3s;
}

.mobile-menu.active .mm-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mm-link:nth-child(1) { transition-delay: .1s; }
.mobile-menu.active .mm-link:nth-child(2) { transition-delay: .15s; }
.mobile-menu.active .mm-link:nth-child(3) { transition-delay: .2s; }
.mobile-menu.active .mm-link:nth-child(4) { transition-delay: .25s; }
.mobile-menu.active .mm-link:nth-child(5) { transition-delay: .3s; }

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

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0,245,212,0.12);
    top: -15%;
    right: -10%;
    animation: orbFloat1 25s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(124,92,252,0.1);
    bottom: -10%;
    left: -10%;
    animation: orbFloat2 30s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(0,245,212,0.06);
    top: 40%;
    left: 40%;
    animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 60px) scale(1.1); }
    66% { transform: translate(40px, -40px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -80px) scale(1.05); }
    66% { transform: translate(-50px, 30px) scale(1.1); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -60px) scale(1.15); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--text-2);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,245,212,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,245,212,0); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 4px;
}

.title-word {
    display: inline-block;
}

.gradient-text {
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.si-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-2);
}

.si-line {
    width: 1px;
    height: 50px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.si-dot {
    width: 100%;
    height: 12px;
    background: var(--accent);
    border-radius: 1px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(-12px); }
    100% { transform: translateY(50px); }
}

/* --- MARQUEE --- */
.marquee-section {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-row {
    display: flex;
    width: max-content;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: marqueeScroll 40s linear infinite;
    white-space: nowrap;
}

.marquee-forward .marquee-track {
    animation-direction: normal;
}

.marquee-item {
    font-family: var(--font-head);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-2);
    padding: 0 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-sep {
    color: var(--accent);
    font-size: 0.8rem;
    padding: 0 4px;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.section-tag {
    font-family: var(--font-head);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-tag::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.about-heading {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

.about-details p {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 520px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    transition: gap .3s var(--ease-out);
}

.link-arrow:hover {
    gap: 14px;
}

/* --- SECTION HEADER --- */
.section-header {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-top: 16px;
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 40px);
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--ease-out), border-color .4s, background .4s;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-h);
    background: var(--bg-card-h);
}

.bento-card:hover .bento-glow {
    opacity: 1;
}

.bento-lg {
    grid-column: span 2;
}

.bento-wide {
    grid-column: span 3;
}

.bento-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,245,212,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

.bento-num {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: block;
}

.bento-title {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.bento-desc {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 480px;
}

/* --- PROCESS — HORIZONTAL SCROLL --- */
.process {
    overflow: hidden;
}

.process-header {
    margin-bottom: 60px;
}

.process-scroll {
    overflow: hidden;
}

.process-track {
    display: flex;
    width: fit-content;
}

.process-step {
    width: 85vw;
    max-width: 700px;
    flex-shrink: 0;
    padding: 0 clamp(20px, 3vw, 40px);
}

.ps-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 56px);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ps-num {
    font-family: var(--font-head);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 700;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.3;
}

.ps-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ps-desc {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 440px;
}

.ps-visual {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--v-color);
    opacity: 0.06;
    filter: blur(60px);
}

/* --- STATS --- */
.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-2);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 40px);
    transition: transform .4s var(--ease-out), border-color .4s;
    transform-style: preserve-3d;
    perspective: 800px;
}

.testimonial-card:hover {
    border-color: var(--border-h);
}

.tc-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 28px;
    font-style: italic;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg);
    flex-shrink: 0;
}

.tc-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.tc-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-2);
    margin-top: 2px;
}

/* --- CTA --- */
.cta {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.orb-cta-1 {
    width: 500px;
    height: 500px;
    background: rgba(0,245,212,0.08);
    top: 20%;
    left: -5%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-cta-2 {
    width: 400px;
    height: 400px;
    background: rgba(124,92,252,0.06);
    bottom: 10%;
    right: -5%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--text-2);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-2);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.95rem;
    color: var(--text-2);
    padding: 6px 0;
    transition: color .3s, padding-left .3s var(--ease-out);
}

.footer-col a:hover {
    color: var(--text);
    padding-left: 6px;
}

.footer-bar {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-2);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-2);
    transition: color .3s;
}

.footer-legal a:hover {
    color: var(--text);
}

/* =============================================
   ANIMATIONS (scroll-triggered via JS classes)
   ============================================= */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-up"].in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="word"] {
    transform: translateY(100%);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate="word"].in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="bento"] {
    transform: translateY(60px) scale(0.97);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate="bento"].in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-animate="line-reveal"] {
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.8s var(--ease-out), clip-path 0.8s var(--ease-out);
}

[data-animate="line-reveal"].in-view {
    opacity: 1;
    clip-path: inset(0 0 0% 0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-lg { grid-column: span 2; }
    .bento-wide { grid-column: span 2; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links, .btn-header { display: none; }

    .menu-toggle { display: flex; }

    .hero {
        padding-top: 80px;
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }

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

    .bento-lg, .bento-wide { grid-column: span 1; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 90vw;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}