/* ═══════════════════════════════════════
   IMAGINE SOFTWARE — DARK THEME
   Matching imaginesoftware.shop aesthetic
═══════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #6863F2;
    --cyan: #0BD9D9;
    --green: #66D96E;
    --bg: #020617;
    --bg-2: #0c0e1a;
    --surface: rgba(15, 23, 42, 0.6);
    --surface-2: rgba(30, 41, 59, 0.4);
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.12);
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --white: #ffffff;
    --grad: linear-gradient(135deg, #6863F2 0%, #0BD9D9 60%, #66D96E 100%);
    --grad-text: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
    --ff: 'Inter', 'DM Sans', system-ui, sans-serif;
    --ffs: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    --max-w: 1280px;
    --side: clamp(20px, 5vw, 80px);
    --radius-xl: 2.5rem;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff);
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--slate-950);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-800);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ── ANIMATIONS ── */
@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(60px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg)
    }
}

@keyframes spin-rev {
    to {
        transform: rotate(-360deg)
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: .08;
        transform: scale(1)
    }

    50% {
        opacity: .18;
        transform: scale(1.1)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0
    }
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-20px) rotate(4deg)
    }
}

@keyframes loading-bar {
    0% {
        width: 0%;
        left: 0
    }

    50% {
        width: 60%;
        left: 20%
    }

    100% {
        width: 100%;
        left: 0
    }
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.animate-spin-slow {
    animation: spin-slow 35s linear infinite;
}

.animate-spin-rev {
    animation: spin-rev 50s linear infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 6s ease-in-out infinite;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: .12s;
}

.reveal-delay-2 {
    transition-delay: .24s;
}

.reveal-delay-3 {
    transition-delay: .36s;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.05em;
    word-wrap: break-word;
    hyphens: auto;
}

.serif {
    font-family: var(--ffs);
    font-style: italic;
}

.grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-accent {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 2rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-family: var(--ff);
    font-weight: 900;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(104, 99, 242, .35);
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(255, 255, 255, .18), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: scale(1.04);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 2rem;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    border-radius: var(--radius-md);
    font-family: var(--ff);
    font-weight: 700;
    font-size: .9rem;
    border: 1px solid var(--border-2);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all .3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
}

/* ── NAV ── */
#nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem var(--side);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all .5s;
}

#nav.scrolled {
    background: rgba(2, 6, 23, .85);
    backdrop-filter: blur(20px);
    padding: 1rem var(--side);
    border-bottom: 1px solid var(--border);
}

.logo-navigation {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -.04em;
    text-transform: uppercase;
    margin-right: auto;
}

.nav-logo-mark {
    width: 2.2rem;
    height: 2.2rem;
    background: var(--grad);
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    box-shadow: 0 0 20px rgba(104, 99, 242, .5);
    transition: transform .3s;
}

.nav-logo:hover .nav-logo-mark {
    transform: rotate(12deg);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--slate-400);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3em;
    transition: color .3s;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -.4rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s;
    box-shadow: 0 0 8px rgba(104, 99, 242, .8);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
    padding: .6rem 1.4rem;
    background: var(--primary);
    color: #fff;
    border-radius: .75rem;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: all .3s;
    box-shadow: 0 0 20px rgba(104, 99, 242, .4);
}

.nav-cta:hover {
    transform: scale(1.05);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border-2);
    border-radius: .75rem;
    padding: .65rem;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media(min-width:1024px) {
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .hamburger {
        display: none;
    }
}

/* ── MOBILE MENU ── */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .97);
    backdrop-filter: blur(30px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: all .5s;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

#mobile-menu a {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -.04em;
    transition: color .3s;
    text-align: center;
}

#mobile-menu a:hover {
    color: var(--cyan);
}

/* ── DOT PATTERN ── */
.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, .12) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ── GLOW BLOBS ── */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
}

.glow-purple {
    background: rgba(104, 99, 242, .18);
    animation: pulse-slow 8s ease-in-out infinite;
}

.glow-cyan {
    background: rgba(11, 217, 217, .12);
    animation: pulse-slow 8s ease-in-out infinite 2s;
}

.glow-green {
    background: rgba(102, 217, 110, .08);
    animation: pulse-slow 10s ease-in-out infinite 4s;
}

/* ── SECTION EYEBROW ── */
.section-tag {
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5em;
    font-size: .65rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-tag.center {
    justify-content: center;
}

.tag-line {
    height: 1px;
    width: 2.5rem;
    background: rgba(104, 99, 242, .5);
}

.section-tag.light {
    color: rgba(255, 255, 255, .5);
}

/* ══════════════ HERO ══════════════ */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--side) 5rem;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
}

@media(min-width:1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem 1.25rem;
    border-radius: 9999px;
    background: rgba(104, 99, 242, .07);
    border: 1px solid rgba(104, 99, 242, .22);
    color: #a8a5ff;
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4em;
    backdrop-filter: blur(20px);
    width: fit-content;
    margin-bottom: 1rem;
}

.badge-dot {
    width: .5rem;
    height: .5rem;
    background: var(--primary);
    border-radius: 50%;
    animation: ping 1.2s cubic-bezier(0, 0, .2, 1) infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 9vw, 8.5rem);
    color: #fff;
    line-height: .85;
    letter-spacing: -.05em;
    margin-bottom: 2rem;
}

.hero-title em {
    font-family: var(--ffs);
    background: linear-gradient(to right, #a8a5ff, #6ce8e8, #85f08a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(104, 99, 242, .3));
    padding: .3rem 0;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--slate-400);
    max-width: 38rem;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: -.01em;
    margin-bottom: 2.5rem;
}

@media(min-width:1024px) {
    .hero-desc {
        font-size: 1.3rem;
    }
}

.hero-form-wrap {
    margin-bottom: 2rem;
}

.hero-input-row {
    display: flex;
    align-items: stretch;
    gap: .5rem;
    background: rgba(15, 23, 42, .8);
    border: 1px solid var(--border-2);
    border-radius: .875rem;
    padding: .4rem;
    backdrop-filter: blur(20px);
    max-width: 480px;
    width: 100%;
}

@media(max-width: 480px) {
    .hero-input-row {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.75rem;
    }

    .hero-input-row input {
        background: rgba(15, 23, 42, .8);
        border: 1px solid var(--border-2);
        border-radius: .875rem;
    }
}

.hero-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: .75rem 1rem;
    font-family: var(--ff);
    font-size: .95rem;
    color: #fff;
    min-width: 0;
}

.hero-input-row input::placeholder {
    color: var(--slate-500);
}

.hero-input-row button {
    padding: .75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: .625rem;
    border: none;
    font-family: var(--ff);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(104, 99, 242, .4);
}

.hero-input-row button:hover {
    transform: scale(1.04);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 3vw, 1.5rem);
    flex-wrap: wrap;
    width: 100%;
}

.hero-stat {
    font-size: .7rem;
    font-weight: 900;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .2em;
}

.stat-divider {
    width: 1px;
    height: 1rem;
    background: var(--slate-700);
}

/* ── HERO VISUAL (browser frame + orbital) ── */
.hero-visual {
    position: relative;
    display: none;
}

@media(min-width:1024px) {
    .hero-visual {
        display: block;
    }
}

.browser-frame {
    position: relative;
    z-index: 10;
    padding: 3px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04), transparent);
    border-radius: 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5);
}

.browser-frame>div {
    background: var(--slate-900);
    border-radius: 2.4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .6s;
}

.browser-frame:hover>div {
    transform: scale(.98);
}

.browser-header {
    background: rgba(2, 6, 23, .8);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.browser-dots {
    display: flex;
    gap: .5rem;
}

.browser-dots span {
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
}

.dot-red {
    background: rgba(244, 63, 94, .45);
    box-shadow: 0 0 10px rgba(244, 63, 94, .3);
}

.dot-yellow {
    background: rgba(245, 158, 11, .45);
    box-shadow: 0 0 10px rgba(245, 158, 11, .3);
}

.dot-green {
    background: rgba(16, 185, 129, .45);
    box-shadow: 0 0 10px rgba(16, 185, 129, .3);
}

.browser-title {
    font-size: .55rem;
    color: #a8a5ff;
    font-family: monospace;
    letter-spacing: .4em;
    text-transform: uppercase;
    font-weight: 900;
    opacity: .8;
}

.browser-content {
    padding: 3rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--slate-950);
}

.browser-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(104, 99, 242, .08);
    animation: pulse-slow 8s ease-in-out infinite;
}

.engine-display {
    position: relative;
    z-index: 20;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(15, 23, 42, .4);
    backdrop-filter: blur(30px);
}

.engine-icon {
    position: relative;
}

.engine-icon svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    animation: bounce-slow 6s ease-in-out infinite;
}

.engine-icon::after {
    content: '';
    position: absolute;
    inset: -1rem;
    background: rgba(104, 99, 242, .2);
    filter: blur(20px);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    height: 5px;
    width: 10rem;
    background: rgba(255, 255, 255, .05);
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--cyan), var(--primary));
    animation: loading-bar 3s cubic-bezier(.4, 0, .2, 1) infinite;
    box-shadow: 0 0 12px var(--primary);
}

.engine-text {
    font-size: .6rem;
    color: #a8a5ff;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: .5em;
    font-weight: 900;
    animation: pulse 2s ease-in-out infinite;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(104, 99, 242, .15);
    border-radius: 50%;
}

.orbit-1 {
    top: -3rem;
    left: -3rem;
    width: 12rem;
    height: 12rem;
    animation: spin-slow 35s linear infinite;
}

.orbit-2 {
    bottom: -5rem;
    right: -5rem;
    width: 28rem;
    height: 28rem;
    border-color: rgba(255, 255, 255, .04);
    animation: spin-rev 50s linear infinite;
}

/* ═══ MARQUEE ═══ */
.marquee-wrap {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--slate-500);
    white-space: nowrap;
}

.marquee-item span {
    color: var(--primary);
}

/* ═══ SERVICES ═══ */
#services {
    padding: 8rem var(--side);
    background: var(--slate-950);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: -20rem;
    right: -10rem;
    width: 40rem;
    height: 40rem;
    background: rgba(104, 99, 242, .06);
    border-radius: 50%;
    filter: blur(100px);
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media(min-width:1024px) {
    .services-header {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

.services-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-top: .75rem;
}

.services-intro {
    font-size: 1.1rem;
    color: var(--slate-400);
    line-height: 1.7;
    font-weight: 300;
    max-width: 36rem;
    align-self: end;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media(min-width:640px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width:1280px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.service-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface-2);
    backdrop-filter: blur(20px);
    transition: all .4s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(104, 99, 242, .06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .4s;
}

.service-card:hover {
    border-color: rgba(104, 99, 242, .3);
    transform: translateY(-4px);
    background: rgba(15, 23, 42, .7);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(104, 99, 242, .25);
    background: rgba(104, 99, 242, .08);
}

.service-num {
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .4em;
    color: var(--slate-600);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.03em;
    margin-bottom: .75rem;
}

.service-desc {
    font-size: .875rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.service-arrow {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 900;
    transition: transform .3s;
}

.service-card:hover .service-arrow {
    transform: translateX(4px);
}

/* ═══ WORK ═══ */
#work {
    padding: 8rem var(--side);
    background: var(--bg-2);
    overflow: hidden;
}

.work-header {
    max-width: var(--max-w);
    margin: 0 auto 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.work-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-top: .5rem;
}

.work-link {
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--slate-400);
    transition: color .3s;
}

.work-link:hover {
    color: #fff;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

@media(min-width:1024px) {
    .work-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.work-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all .4s;
}

.work-card:hover {
    border-color: rgba(255, 255, 255, .12);
    transform: translateY(-4px);
}

.work-thumb {
    aspect-ratio: 4/3;
    position: relative;
    background: linear-gradient(135deg, rgba(104, 99, 242, .15) 0%, rgba(11, 217, 217, .08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.work-thumb.medium {
    aspect-ratio: 4/3;
}

.work-thumb-num {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .04);
    letter-spacing: -.05em;
    position: absolute;
}

.work-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(104, 99, 242, .12);
    opacity: 0;
    transition: opacity .4s;
}

.work-thumb-cta {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: #fff;
    opacity: 0;
    transition: opacity .4s;
}

.work-card:hover .work-thumb-overlay,
.work-card:hover .work-thumb-cta {
    opacity: 1;
}

.work-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, .8);
}

.work-tags {
    display: flex;
    gap: .5rem;
    margin-bottom: .75rem;
    flex-wrap: wrap;
}

.tag {
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 9999px;
    background: rgba(104, 99, 242, .1);
    color: #a8a5ff;
    border: 1px solid rgba(104, 99, 242, .2);
}

.work-name {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: .5rem;
}

.work-meta {
    font-size: .7rem;
    color: var(--slate-500);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.work-stat-pill {
    text-align: right;
    flex-shrink: 0;
}

.work-stat-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: -.03em;
}

.work-stat-label {
    font-size: .6rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-weight: 700;
}

/* ═══ PROCESS ═══ */
#process {
    padding: 8rem var(--side);
    background: var(--slate-950);
    position: relative;
    overflow: hidden;
}

.process-glow {
    position: absolute;
    bottom: -15rem;
    left: -10rem;
    width: 40rem;
    height: 40rem;
    background: rgba(11, 217, 217, .06);
    border-radius: 50%;
    filter: blur(120px);
}

.process-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-bottom: 4rem;
    margin-top: .5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media(min-width:1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface-2);
    backdrop-filter: blur(20px);
    position: relative;
}

.step-num {
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .4em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.step-time {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 1.25rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: .75rem;
}

.step-desc {
    font-size: .875rem;
    color: var(--slate-400);
    line-height: 1.7;
    font-weight: 300;
}

.step-connector {
    display: none;
    position: absolute;
    right: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 900;
    z-index: 2;
}

@media(min-width:1024px) {
    .step-connector {
        display: block;
    }
}

.process-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* ═══ TESTIMONIALS ═══ */
#testimonials {
    padding: 8rem var(--side);
    background: var(--bg-2);
    overflow: hidden;
    position: relative;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: -10rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    height: 40rem;
    background: rgba(104, 99, 242, .07);
    border-radius: 50%;
    filter: blur(100px);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-title {
    font-size: clamp(2rem, 5vw, 5rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-top: .5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

@media(min-width:1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(20px);
    position: relative;
    transition: all .4s;
}

.testimonial-card:hover {
    border-color: rgba(104, 99, 242, .25);
    transform: translateY(-4px);
}

.stars {
    color: var(--primary);
    font-size: .85rem;
    margin-bottom: 1rem;
    letter-spacing: .1em;
}

.testimonial-quote {
    font-size: 4rem;
    font-family: var(--ffs);
    color: rgba(104, 99, 242, .2);
    line-height: .6;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: .95rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .875rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.author-name {
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
}

.author-role {
    font-size: .75rem;
    color: var(--slate-500);
    margin-top: .1rem;
}

/* ═══ INSIGHTS ═══ */
#insights {
    padding: 8rem var(--side);
    background: var(--slate-950);
}

.insights-header {
    max-width: var(--max-w);
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.insights-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-top: .5rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

@media(min-width:1024px) {
    .insights-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.insight-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all .4s;
}

.insight-card:hover {
    border-color: rgba(104, 99, 242, .25);
    transform: translateY(-4px);
}

.insight-img {
    height: 160px;
    background: linear-gradient(135deg, rgba(104, 99, 242, .2) 0%, rgba(11, 217, 217, .1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.insight-card.featured .insight-img {
    height: 220px;
}

.insight-img-text {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .07);
    letter-spacing: -.05em;
}

.insight-body {
    padding: 1.75rem;
}

.insight-category {
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--primary);
    margin-bottom: .875rem;
}

.insight-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: .75rem;
}

.insight-excerpt {
    font-size: .875rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.insight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
    color: var(--slate-500);
    font-weight: 600;
}

.insight-read {
    color: var(--primary);
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ═══ ABOUT ═══ */
#about {
    padding: 8rem var(--side);
    background: var(--bg-2);
    overflow: hidden;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    align-items: center;
}

@media(min-width:1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-bottom: 1.5rem;
    margin-top: .5rem;
}

.about-body {
    font-size: 1.05rem;
    color: var(--slate-400);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-weight: 300;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.about-stat-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}

.about-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: .25rem;
}

.about-stat-label {
    font-size: .7rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .2em;
}

.about-card-stack {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.about-card-bg {
    position: absolute;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface);
}

.about-card-bg:nth-child(1) {
    inset: 1.5rem -1.5rem -1.5rem 1.5rem;
    opacity: .4;
}

.about-card-bg:nth-child(2) {
    inset: .75rem -.75rem -.75rem .75rem;
    opacity: .6;
}

.about-main-card {
    position: relative;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-2);
    background: rgba(15, 23, 42, .9);
    backdrop-filter: blur(30px);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.about-card-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: .875rem;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-card-name {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .2rem;
}

.about-card-role {
    font-size: .72rem;
    color: var(--slate-500);
    font-weight: 600;
}

.team-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.team-member:last-child {
    border-bottom: none;
}

.team-member-left {
    display: flex;
    align-items: center;
    gap: .875rem;
}

.team-dot {
    font-size: 1.25rem;
}

.team-name {
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .15rem;
}

.team-skill {
    font-size: .72rem;
    color: var(--slate-500);
}

.team-badge {
    font-size: .6rem;
    font-weight: 900;
    color: var(--primary);
    background: rgba(104, 99, 242, .1);
    border: 1px solid rgba(104, 99, 242, .2);
    padding: .2rem .625rem;
    border-radius: 9999px;
    letter-spacing: .1em;
}

/* ═══ CONTACT ═══ */
#contact {
    padding: 8rem var(--side);
    background: var(--slate-950);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -10rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50rem;
    height: 50rem;
    background: rgba(104, 99, 242, .08);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.contact-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-bottom: 1rem;
    margin-top: .5rem;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-select-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media(max-width:640px) {

    .form-row,
    .form-select-row {
        grid-template-columns: 1fr;
    }

    .logo-navigation {
        height: 40px;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-label {
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--slate-500);
}

.form-input {
    padding: .875rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: .875rem;
    font-family: var(--ff);
    font-size: .95rem;
    color: #fff;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}

.form-input::placeholder {
    color: var(--slate-600);
}

.form-input:focus {
    border-color: rgba(104, 99, 242, .5);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: .875rem;
    font-family: var(--ff);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    margin-top: .5rem;
    box-shadow: 0 10px 30px rgba(104, 99, 242, .4);
}

.form-submit:hover {
    transform: scale(1.02);
}

.contact-note {
    margin-top: 1.25rem;
    font-size: .8rem;
    color: var(--slate-600);
    font-weight: 600;
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
    padding: 8rem var(--side);
    background: rgba(104, 99, 242, .85);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4f4bc9 0%, #6863F2 50%, #0BD9D9 100%);
}

.cta-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23000' fill-opacity='0.15' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    opacity: .3;
}

.cta-banner-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-banner-title {
    font-size: clamp(2.5rem, 6vw, 7rem);
    color: #fff;
    letter-spacing: -.05em;
    line-height: .9;
}

.cta-banner-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 300;
}

.cta-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══ FOOTER ═══ */
footer {
    background: var(--slate-950);
    border-top: 1px solid var(--border);
    padding: 5rem var(--side) 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media(min-width:768px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-brand-mark {
    width: 1.9rem;
    height: 1.9rem;
    background: var(--grad);
    border-radius: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    flex-shrink: 0;
}

.footer-tagline {
    font-size: .875rem;
    color: var(--slate-500);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: .75rem;
}

.social-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .75rem;
    border: 1px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--slate-400);
    background: var(--surface);
    transition: all .3s;
}

.social-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
}

.footer-col-title {
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--slate-500);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: .75rem;
}

.footer-links a {
    font-size: .875rem;
    color: var(--slate-500);
    transition: color .3s;
    font-weight: 400;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact-item {
    font-size: .875rem;
    color: var(--slate-500);
    margin-bottom: .5rem;
    font-weight: 400;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .72rem;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 600;
}

.footer-bottom a {
    color: var(--slate-600);
    transition: color .3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ═══ PAGE HEADER (subpages) ═══ */
.page-header {
    padding: 10rem var(--side) 6rem;
    background: var(--slate-950);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-header-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-header-blob-1 {
    position: absolute;
    top: -10rem;
    left: 10%;
    width: 35rem;
    height: 35rem;
    background: rgba(104, 99, 242, .1);
    border-radius: 50%;
    filter: blur(100px);
}

.page-header-blob-2 {
    position: absolute;
    bottom: -8rem;
    right: 5%;
    width: 25rem;
    height: 25rem;
    background: rgba(11, 217, 217, .06);
    border-radius: 50%;
    filter: blur(80px);
}

.page-header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header-title {
    font-size: clamp(3rem, 8vw, 8rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-bottom: 1.5rem;
    margin-top: .5rem;
}

.page-header-sub {
    font-size: 1.15rem;
    color: var(--slate-400);
    max-width: 44rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ═══ SERVICE DETAIL (services.html) ═══ */
.service-detail-section {
    padding: 6rem var(--side);
    border-bottom: 1px solid var(--border);
}

.service-detail-section:nth-child(even) {
    background: var(--bg-2);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: var(--max-w);
    margin: 0 auto;
    align-items: center;
}

@media(min-width:1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}


.service-detail-num {
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .4em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.service-detail-name {
    font-size: clamp(2rem, 5vw, 4.5rem);
    color: #fff;
    letter-spacing: -.05em;
    margin-bottom: 1.5rem;
}

.service-detail-desc {
    font-size: 1.05rem;
    color: var(--slate-400);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-weight: 300;
}

.service-detail-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

.service-detail-features li {
    font-size: .9rem;
    color: var(--slate-400);
    padding-left: 1.5rem;
    position: relative;
    font-weight: 300;
}

.service-detail-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

.service-detail-visual {
    font-size: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    aspect-ratio: 1;
    max-width: 320px;
    margin: 0 auto;
}

@media(max-width:1023px) {
    .service-detail-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .service-detail-visual {
        display: none;
    }
}

/* ═══ LEGAL PAGES ═══ */
.legal-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem var(--side);
}

.legal-body h2 {
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: -.03em;
    margin: 3rem 0 1rem;
}

.legal-body h3 {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    margin: 2rem 0 .75rem;
}

.legal-body p,
.legal-body li {
    font-size: .95rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.legal-body ul {
    padding-left: 1.5rem;
}

/* ═══ SUCCESS OVERLAY ═══ */
#success-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(2, 6, 23, .92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

#success-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.success-card {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    text-align: center;
    max-width: 460px;
    width: 100%;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(104, 99, 242, .4);
}

.success-title {
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: .75rem;
}

.success-text {
    color: var(--slate-400);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:639px) {
    #home {
        padding: 7rem 1.25rem 4rem;
    }

    #services,
    #work,
    #process,
    #testimonials,
    #insights,
    #about,
    #contact {
        padding: 5rem 1.25rem;
    }

    .footer-top {
        padding: 0 1.25rem;
    }

    footer {
        padding: 4rem 1.25rem 2rem;
    }
}