/* ============================================
   BrandsCircuit v2 — Awwwards-Quality Agency
   ============================================ */

:root {
    --black: #0b1120;
    --dark: #111827;
    --dark2: #1e293b;
    --dark3: #334155;
    --white: #f1f5f9;
    --gray: #94a3b8;
    --gray2: #64748b;
    --accent: #3b82f6;
    --accent2: #6366f1;
    --grad: linear-gradient(135deg, #3b82f6, #6366f1);
    --sans: 'DM Sans', 'Inter', sans-serif;
    --ui: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: italic; font-weight: 500; }

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

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

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

/* ============================================
   Cursor
   ============================================ */
.cursor-follow {
    display: none;
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease),
                border-color 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-follow.active {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follow { display: block; }
    * { cursor: none !important; }
}

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

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

.loader-logo img {
    height: 80px;
    width: auto;
    margin: 0 auto 32px;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
}

.loader-line {
    width: 180px;
    height: 2px;
    background: var(--dark3);
    border-radius: 4px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: var(--grad);
    border-radius: 4px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(0);
    transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.3s;
    will-change: transform;
    padding: 20px clamp(20px, 4vw, 60px);
    transition: background 0.4s, padding 0.4s;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 17, 32, 0.06);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-top: 14px;
    padding-bottom: 14px;
    box-shadow: 0 2px 12px rgba(11, 17, 32, 0.05);
}

.header.hidden {
    transform: translateY(-110%);
}

/* Keep header visible when mobile menu is open */
.header:has(.menu-btn.open),
body:has(.mobile-nav.open) .header {
    transform: translateY(0) !important;
}

.header-logo img {
    height: 80px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-family: var(--ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: #0b1120;
    letter-spacing: 0.03em;
    transition: color 0.3s;
    position: relative;
}

.header-nav a:not(.header-cta)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.header-nav a:hover { color: var(--accent); }
.header-nav a:not(.header-cta):hover::after { width: 100%; }

.header-cta {
    background: #0b1120 !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: transform 0.3s var(--ease), box-shadow 0.3s !important;
}

.header-cta:hover {
    transform: scale(1.05) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(11, 17, 32, 0.25) !important;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 9001;
}

.menu-btn span {
    width: 28px;
    height: 2px;
    background: #0b1120;
    transition: 0.3s var(--ease);
    display: block;
}

.menu-btn.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 8999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mob-link {
    font-family: var(--sans);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    color: var(--gray);
    transition: color 0.3s;
    transform: translateY(30px);
    opacity: 0;
}

.mobile-nav.open .mob-link {
    transform: translateY(0);
    opacity: 1;
    transition: color 0.3s, transform 0.5s var(--ease), opacity 0.5s;
}

.mobile-nav.open .mob-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open .mob-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open .mob-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open .mob-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.open .mob-link:nth-child(5) { transition-delay: 0.25s; }

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

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(59, 130, 246, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(99, 102, 241, 0.06), transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(139, 92, 246, 0.04), transparent 60%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(11,17,32,0.3), rgba(11,17,32,0.1) 50%, rgba(11,17,32,0.6));
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

.hero-heading {
    font-family: var(--sans);
    font-size: clamp(3rem, 8.5vw, 7.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.hero-heading .italic {
    font-style: italic;
    font-weight: 500;
}

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

.h-word {
    display: inline-block;
    transform: translateY(110%);
    margin-right: 0.18em;
}

.hero-sub {
    font-family: var(--ui);
    font-size: 1rem;
    color: var(--gray);
    letter-spacing: 0.08em;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ui);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 16px 36px;
    background: var(--white);
    color: var(--black);
    border-radius: 100px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.12);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    font-family: var(--ui);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 16px 36px;
    border: 1.5px solid var(--dark3);
    color: var(--white);
    border-radius: 100px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.btn-outline:hover {
    border-color: var(--gray2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.hero-scroll-hint span {
    font-family: var(--ui);
    font-size: 0.7rem;
    color: var(--gray2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-arrow {
    animation: bobArrow 2s ease-in-out infinite;
}

@keyframes bobArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   Tape / Marquee
   ============================================ */
.tape {
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid var(--dark2);
    border-bottom: 1px solid var(--dark2);
    background: var(--dark);
}

.tape-track {
    display: flex;
    gap: 0;
    animation: tapeScroll 25s linear infinite;
    width: max-content;
}

.tape-track span {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray2);
    white-space: nowrap;
    padding: 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tape-sep { color: var(--accent) !important; font-weight: 300; }

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

/* ============================================
   Section Basics
   ============================================ */
.section {
    padding: clamp(56px, 8vw, 100px) 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.eyebrow-num {
    font-family: var(--sans);
    font-size: 0.7rem;
    color: var(--gray2);
    font-weight: 500;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.big-heading {
    font-family: var(--sans);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 900px;
}

.body-lg {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
}

/* ============================================
   About
   ============================================ */
.sec-about {
    border-bottom: 1px solid var(--dark2);
}

.about-top {
    margin-bottom: 64px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-pillars {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-pillars li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--ui);
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.5;
}

.about-pillars li strong {
    color: var(--white);
    font-weight: 600;
}

.pillar-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--accent);
}

.pillar-icon svg {
    width: 18px;
    height: 18px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--dark2);
}

.stat-num {
    font-family: var(--sans);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--sans);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-lbl {
    display: block;
    font-family: var(--ui);
    font-size: 0.8rem;
    color: var(--gray2);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.about-compliance {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--dark3);
    border-radius: 14px;
    background: var(--dark2);
    flex: 1;
}

.compliance-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.compliance-iso { color: #3b82f6; }
.compliance-gdpr { color: #10b981; }

.compliance-logo svg {
    width: 100%;
    height: 100%;
}

.compliance-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compliance-text strong {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.compliance-text span {
    font-family: var(--ui);
    font-size: 0.72rem;
    color: var(--gray2);
    letter-spacing: 0.02em;
}

/* ============================================
   Founder
   ============================================ */
.sec-founder {
    background: var(--dark);
    border-bottom: 1px solid var(--dark2);
}

.founder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.founder-image-col {
    position: relative;
    align-self: stretch;
}

.founder-image-wrap {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
}

.founder-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.9);
    transition: filter 0.5s, transform 0.7s var(--ease);
}

.founder-image-wrap:hover .founder-photo {
    filter: brightness(1);
    transform: scale(1.03);
}

.founder-quote-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.5) 60%, transparent 100%);
}

.founder-quote-overlay blockquote {
    font-family: var(--sans);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--white);
    margin: 0;
}

.founder-name {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.founder-role {
    font-family: var(--sans);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--gray);
    margin-bottom: 28px;
    font-weight: 400;
}

.founder-role em {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

.founder-bio strong {
    color: var(--white);
    font-weight: 600;
}

.founder-expertise {
    margin-bottom: 20px;
}

.founder-expertise p {
    font-family: var(--ui);
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.founder-expertise ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.founder-expertise li {
    font-family: var(--ui);
    font-size: 0.9rem;
    color: var(--gray);
    padding-left: 24px;
    position: relative;
}

.founder-expertise li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.founder-personal-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray2);
    margin-bottom: 24px;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.founder-tags span {
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 8px 18px;
    border: 1px solid var(--dark3);
    border-radius: 100px;
    color: var(--gray);
    letter-spacing: 0.03em;
    transition: border-color 0.3s, color 0.3s;
}

.founder-tags span:hover {
    border-color: var(--accent);
    color: var(--white);
}

@media (max-width: 1024px) {
    .founder-layout { gap: 48px; }
}

@media (max-width: 768px) {
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .founder-image-col { align-self: auto; }
    .founder-image-wrap { position: relative; max-width: 400px; margin: 0 auto; }
    .founder-tags { justify-content: center; }
}

/* ============================================
   Services Grid
   ============================================ */
.sec-services {
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.svc-card {
    position: relative;
    background: var(--dark2);
    border: 1px solid var(--dark3);
    border-radius: 20px;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--svc-color);
    opacity: 0;
    transition: opacity 0.4s;
}

.svc-card:hover {
    border-color: var(--svc-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.svc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.svc-num {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--svc-color);
    opacity: 0.7;
}

.svc-icon {
    width: 40px;
    height: 40px;
    color: var(--gray2);
    transition: color 0.4s;
}

.svc-card:hover .svc-icon {
    color: var(--svc-color);
}

.svc-title {
    font-family: var(--sans);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.svc-card:hover .svc-title {
    color: var(--svc-color);
}

.svc-desc {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.7;
    flex: 1;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.svc-tags span {
    font-family: var(--ui);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 6px 14px;
    border: 1px solid var(--dark3);
    border-radius: 100px;
    color: var(--gray2);
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: border-color 0.3s, color 0.3s;
}

.svc-card:hover .svc-tags span {
    border-color: color-mix(in srgb, var(--svc-color) 40%, transparent);
    color: var(--gray);
}

/* ============================================
   Impact
   ============================================ */
.sec-impact {
    padding: clamp(48px, 7vw, 80px) 0;
    background: var(--black);
    border-top: 1px solid var(--dark2);
    border-bottom: 1px solid var(--dark2);
}

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

.impact-card {
    padding: 48px 24px;
    border: 1px solid var(--dark2);
    border-radius: 20px;
    background: var(--dark);
    transition: transform 0.4s var(--ease), border-color 0.3s;
}

.impact-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.impact-num {
    font-family: var(--sans);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.impact-pct {
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-lbl {
    display: block;
    font-family: var(--ui);
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 12px;
    line-height: 1.5;
}

/* ============================================
   Work
   ============================================ */
.sec-work {
    background: var(--dark);
}

.work-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.work-card {
    position: relative;
    overflow: hidden;
}

.work-card-visual {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.7s var(--ease);
    background: var(--dark2);
}

.work-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.7s var(--ease), opacity 0.5s;
}

.work-card:hover .work-card-visual img {
    transform: scale(1.06);
}

.work-card:hover .work-card-visual {
    transform: scale(1.04);
}


.work-card-info {
    padding: 24px clamp(16px, 3vw, 32px) 28px;
    background: var(--dark);
}

.work-card-info h3 {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.work-card-tags {
    font-family: var(--ui);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.work-card-desc {
    font-family: var(--ui);
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 14px;
}

.work-card-result {
    font-family: var(--ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    letter-spacing: 0.01em;
}

/* ============================================
   Big Text Marquee
   ============================================ */
.sec-bigtext {
    padding: 48px 0;
    overflow: hidden;
    background: var(--black);
}

.bigtext-row {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    will-change: transform;
}

.bigtext-row span {
    font-family: var(--sans);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    flex-shrink: 0;
}

.bigtext-outline {
    -webkit-text-stroke: 2px var(--accent);
    color: transparent !important;
}

/* ============================================
   Clients
   ============================================ */
.client-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 48px;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    border: 1px solid var(--dark2);
    transition: background 0.3s, border-color 0.3s;
}

.client-item span {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray2);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.client-item:hover {
    background: var(--dark);
    border-color: var(--dark3);
}

.client-item:hover span { color: var(--white); }

/* ============================================
   Testimonials
   ============================================ */
.sec-testimonials {
    background: var(--dark);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testi-card {
    background: var(--dark2);
    border: 1px solid var(--dark3);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.4s var(--ease), border-color 0.3s;
    position: relative;
}

.testi-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
}

.testi-quote {
    font-family: var(--sans);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    margin-bottom: -8px;
}

.testi-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 28px;
}

.testi-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ui);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testi-footer strong {
    font-family: var(--sans);
    font-size: 0.9rem;
}

.testi-footer span {
    font-family: var(--ui);
    font-size: 0.75rem;
    color: var(--gray2);
}

/* ============================================
   Process
   ============================================ */
.process-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
    align-items: center;
}

.process-timeline {
    position: relative;
    padding-left: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--dark3);
}

.process-item {
    position: relative;
    padding: 0 0 48px 40px;
}

.process-item:last-child { padding-bottom: 0; }

.process-dot {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--accent);
    z-index: 1;
}

.process-num {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.process-content h3 {
    font-family: var(--sans);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 500px;
}

.process-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-orbit-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    overflow: visible;
}

.process-node circle {
    transition: all 0.5s ease;
}

.process-node.active circle {
    filter: url(#nodeGlow);
}

.process-node[data-node="0"].active circle {
    stroke: #3b82f6;
    stroke-width: 2.5;
    fill: rgba(59, 130, 246, 0.12);
}

.process-node[data-node="1"].active circle {
    stroke: #6366f1;
    stroke-width: 2.5;
    fill: rgba(99, 102, 241, 0.12);
}

.process-node[data-node="2"].active circle {
    stroke: #8b5cf6;
    stroke-width: 2.5;
    fill: rgba(139, 92, 246, 0.12);
}

.process-node[data-node="3"].active circle {
    stroke: #0ea5e9;
    stroke-width: 2.5;
    fill: rgba(14, 165, 233, 0.12);
}

.process-node.active text {
    fill: rgba(255, 255, 255, 0.85);
}

.process-node.active svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.process-item.active .process-dot {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    transform: scale(1.3);
    transition: all 0.4s ease;
}

.process-item.active .process-content h3 {
    color: var(--white);
}

.process-arc {
    transition: opacity 0.5s ease;
}

/* ============================================
   CTA / Contact
   ============================================ */
.sec-cta {
    position: relative;
    padding: clamp(56px, 8vw, 100px) 0;
    background: var(--black);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(59, 130, 246, 0.1), transparent 60%);
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.cta-heading {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

.cta-heading em {
    font-family: var(--sans);
    font-weight: 500;
}

.cta-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ui);
    font-size: 0.95rem;
    color: var(--gray);
    transition: color 0.3s;
}

.cta-link svg { color: var(--accent); flex-shrink: 0; }
.cta-link:hover { color: var(--white); }

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 14px 18px;
    background: var(--dark);
    border: 1px solid var(--dark3);
    border-radius: 10px;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray2);
}

.form-field select {
    appearance: none;
    color: var(--gray2);
}

.form-field select:valid { color: var(--white); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--ui);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 16px 36px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 100px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.form-recaptcha-notice {
    font-family: var(--ui);
    font-size: 0.72rem;
    color: var(--gray2);
    line-height: 1.6;
    margin-bottom: 8px;
}

.form-recaptcha-notice a {
    color: var(--gray);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   Terms Modal
   ============================================ */
.terms-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 24px;
}

.terms-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.terms-modal {
    background: var(--dark);
    border: 1px solid var(--dark3);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s var(--ease);
}

.terms-modal-overlay.active .terms-modal {
    transform: translateY(0) scale(1);
}

.terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px 0;
}

.terms-heading {
    font-family: var(--sans);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.terms-close {
    background: none;
    border: 1px solid var(--dark3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    flex-shrink: 0;
}

.terms-close:hover {
    border-color: var(--white);
    color: var(--white);
}

.terms-modal-body {
    padding: 24px 32px 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.terms-block h4 {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.terms-block p {
    font-family: var(--ui);
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.7;
}

.terms-modal-footer {
    padding: 16px 32px 24px;
    border-top: 1px solid var(--dark3);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.btn-agree {
    font-family: var(--ui);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 32px;
    background: var(--grad);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-agree:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 0 0;
    background: #ffffff;
    border-top: 1px solid rgba(11, 17, 32, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(11, 17, 32, 0.08);
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-wrap img {
    height: 72px !important;
    width: auto !important;
    max-height: 72px;
    flex-shrink: 0;
    display: inline-block !important;
}

.footer-logo-text {
    font-family: var(--sans);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 17, 32, 0.15);
    border-radius: 50%;
    color: #4b5563;
    transition: color 0.3s, border-color 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Trust & Compliance strip (home page) */
.sec-trust {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(11, 17, 32, 0.06);
    border-bottom: 1px solid rgba(11, 17, 32, 0.06);
}
.trust-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}
.trust-eyebrow {
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.trust-headline {
    font-family: var(--sans);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: #0b1120;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}
.trust-headline em {
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}
.trust-desc {
    font-family: var(--ui);
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.65;
    max-width: 440px;
}
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.trust-badge {
    background: #ffffff;
    border: 1px solid rgba(11, 17, 32, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
    opacity: 0.85;
}
.trust-badge:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(11, 17, 32, 0.08);
}
.trust-badge-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #fef3f2 100%);
    color: var(--accent);
}
.trust-badge-info h4 {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b1120;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}
.trust-badge-tag {
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.trust-badge-desc {
    font-family: var(--ui);
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .trust-inner { grid-template-columns: 1fr; gap: 32px; }
    .trust-desc { max-width: none; }
}
@media (max-width: 560px) {
    .trust-badges { grid-template-columns: 1fr; }
    .sec-trust { padding: 50px 0; }
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(11, 17, 32, 0.12);
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.3s, background 0.3s;
}

.compliance-badge:hover {
    border-color: var(--accent);
    background: #fff;
}

.compliance-badge svg {
    flex-shrink: 0;
    color: var(--accent);
}

.compliance-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.compliance-badge-text strong {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 700;
    color: #0b1120;
    letter-spacing: 0.02em;
}

.compliance-badge-text span {
    font-family: var(--ui);
    font-size: 0.64rem;
    color: #4b5563;
    margin-top: 1px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0b1120;
}

.footer-col a {
    font-family: var(--ui);
    font-size: 0.85rem;
    color: #4b5563;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--accent); }

.footer-addr {
    font-family: var(--ui);
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-family: var(--ui);
    font-size: 0.8rem;
    color: #4b5563;
}

.footer-bottom a {
    color: #4b5563;
    transition: color 0.3s;
}

.footer-bottom a:hover { color: #0b1120; }

/* ============================================
   Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .process-layout { grid-template-columns: 1fr; gap: 40px; }
    .process-visual { max-width: 320px; margin: 0 auto; }
    .cta-layout { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .testi-grid { grid-template-columns: 1fr 1fr; }
}

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

    .services-grid { grid-template-columns: 1fr; }
    .svc-card { padding: 28px 24px 24px; }
    .work-showcase { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; gap: 16px; }
    .client-wall { grid-template-columns: repeat(3, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: repeat(3, 1fr); }
    .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .client-wall { grid-template-columns: repeat(2, 1fr); }
    .hero-btns { flex-direction: column; }
    .hero-btns a { justify-content: center; text-align: center; }
}
