@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --ink: #f8fbff;
    --muted: #aab4c7;
    --soft: #dce4f3;
    --bg: #07080f;
    --bg-2: #0d1020;
    --panel: rgba(255, 255, 255, 0.07);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --line: rgba(255, 255, 255, 0.14);
    --magenta: #ff2bd6;
    --orchid: #9a5cff;
    --cyan: #28e7ff;
    --lime: #b8ff5c;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(255, 43, 214, 0.22), transparent 30rem),
        radial-gradient(circle at 88% 10%, rgba(40, 231, 255, 0.16), transparent 28rem),
        linear-gradient(145deg, var(--bg) 0%, #101326 45%, #07080f 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100%;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 70%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

a:visited {
    color: #d9b6ff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 24px;
    transition: background 220ms ease, border 220ms ease, padding 220ms ease;
}

.site-header.scrolled {
    padding: 10px 24px;
    background: rgba(7, 8, 15, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(var(--max), calc(100% - 12px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 0 22px rgba(255, 43, 214, 0.35);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
}

.nav-menu a {
    display: inline-flex;
    padding: 9px 14px;
    color: var(--soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 999px;
    transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.nav-social,
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-social a,
.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(255, 43, 214, 0.92), rgba(40, 231, 255, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(255, 43, 214, 0.23);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.nav-social a:hover,
.social-links a:hover,
.nav-social a:focus-visible,
.social-links a:focus-visible {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 42px rgba(40, 231, 255, 0.28);
    filter: saturate(1.15);
    outline: none;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.section-shell {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 56px;
    padding: 144px 0 86px;
    overflow: hidden;
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--magenta), var(--cyan));
}

.hero-title,
.section-title {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.hero-title {
    max-width: 850px;
    font-size: clamp(3.25rem, 8vw, 7.7rem);
    margin-bottom: 26px;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    max-width: 700px;
    color: var(--soft);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
    color: #06070d;
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    box-shadow: 0 16px 38px rgba(40, 231, 255, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(184, 255, 92, 0.24);
    outline: none;
}

.btn-secondary {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.proof-strip div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.055);
}

.proof-strip dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.proof-strip dd {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.94rem;
}

.hero-panel {
    min-height: 600px;
    position: relative;
    display: grid;
    align-content: center;
}

.panel-glow {
    position: absolute;
    inset: 9% 0 8% 6%;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(255, 43, 214, 0.2), rgba(40, 231, 255, 0.12));
    filter: blur(8px);
    transform: rotate(-4deg);
}

.brand-card,
.dashboard-card {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.055));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.brand-card {
    width: min(460px, 100%);
    margin-left: auto;
    border-radius: 36px;
    padding: 18px;
    overflow: hidden;
}

.brand-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 26px;
}

.dashboard-card {
    width: min(310px, 74%);
    padding: 20px;
    border-radius: 22px;
}

.calendar-card {
    margin-top: -86px;
}

.pulse-card {
    margin: 18px 0 0 auto;
}

.mini-label,
.card-number,
.process-list span {
    color: var(--cyan);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}

.dashboard-card strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.dashboard-card p {
    color: var(--muted);
    margin-top: 5px;
    font-size: 0.92rem;
}

.pulse-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 8px;
    height: 58px;
    margin-top: 18px;
}

.pulse-bars span {
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, var(--magenta), var(--cyan));
}

.pulse-bars span:nth-child(1) { height: 34%; }
.pulse-bars span:nth-child(2) { height: 64%; }
.pulse-bars span:nth-child(3) { height: 46%; }
.pulse-bars span:nth-child(4) { height: 82%; }

.services,
.process,
.fit,
.contact {
    padding: 92px 0;
}

.section-heading {
    max-width: 790px;
    margin-bottom: 36px;
}

.section-heading.split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 40px;
    align-items: end;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    margin-bottom: 18px;
}

.section-heading p,
.contact-intro p,
.fit-columns p {
    color: var(--soft);
    font-size: 1.06rem;
}

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

.feature-card {
    min-height: 248px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(40, 231, 255, 0.34);
}

.feature-card h3,
.process-list h3,
.contact-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.feature-card p,
.process-list p,
.contact-note p {
    color: var(--muted);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.process-list article {
    padding: 28px;
    border-right: 1px solid var(--line);
}

.process-list article:last-child {
    border-right: 0;
}

.fit-card {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 40px;
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 38px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255,43,214,0.18), transparent 24rem),
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    box-shadow: var(--shadow);
}

.fit-columns {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.fit-columns ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.fit-columns li {
    position: relative;
    padding-left: 24px;
    color: var(--ink);
    font-weight: 700;
}

.fit-columns li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 18px rgba(184,255,92,0.55);
}

.contact {
    padding-bottom: 116px;
}

.contact-intro {
    max-width: 780px;
    margin-bottom: 34px;
}

.contact-content {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 18px;
}

.contact-info,
.contact-form {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 30px;
}

.contact-item {
    display: grid;
    gap: 3px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item strong {
    color: var(--cyan);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.contact-item a,
.contact-item span {
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.hidden-contact {
    display: none;
}

.contact-note {
    margin-top: 20px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(184, 255, 92, 0.08);
    border: 1px solid rgba(184, 255, 92, 0.16);
}

.contact-form {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--soft);
    font-size: 0.92rem;
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    background: rgba(4, 5, 10, 0.56);
    color: var(--ink);
    padding: 14px 16px;
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(40, 231, 255, 0.12);
    background: rgba(4, 5, 10, 0.72);
}

.footer {
    border-top: 1px solid var(--line);
    background: rgba(4, 5, 10, 0.84);
    padding: 44px 20px 24px;
}

.footer-shell {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr 0.55fr;
    gap: 28px;
}

.footer-brand img {
    width: 140px;
    height: 82px;
    object-fit: cover;
    object-position: left center;
    border-radius: 18px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
}

.footer-brand p,
.footer-links a {
    color: var(--muted);
}

.footer-links,
.footer-social {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer h4 {
    color: var(--ink);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 6px;
}

.footer-links a {
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--cyan);
    outline: none;
}

.footer-bottom {
    width: min(var(--max), 100%);
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.reveal,
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .nav-menu,
    .nav-social {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu.active {
        display: grid;
        position: absolute;
        top: 72px;
        left: 20px;
        right: 20px;
        gap: 6px;
        border-radius: 22px;
        padding: 12px;
        background: rgba(7, 8, 15, 0.96);
        backdrop-filter: blur(18px);
    }

    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero,
    .section-heading.split,
    .fit-card,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 24px;
        padding-top: 122px;
    }

    .hero-panel {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-bottom: 64px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list article:nth-child(2) {
        border-right: 0;
    }

    .process-list article:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .fit-columns,
    .footer-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 12px;
    }

    .section-shell {
        width: auto;
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
    }

    .hero,
    .hero-copy,
    .hero-actions,
    .proof-strip,
    .contact-content,
    .services-grid,
    .process-list,
    .fit-card,
    .contact-form,
    .contact-info {
        min-width: 0;
        max-width: 100%;
    }

    .brand span {
        display: none;
    }

    .nav {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2.18rem, 9.5vw, 2.85rem);
        letter-spacing: -0.055em;
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(1.85rem, 7.4vw, 2.35rem);
        line-height: 1.12;
        letter-spacing: -0.04em;
    }

    .hero-subtitle {
        width: min(31ch, calc(100vw - 44px));
        max-width: calc(100vw - 44px);
        font-size: 0.98rem;
    }

    .hero-actions,
    .proof-strip {
        width: calc(100% - 12px);
        max-width: calc(100% - 12px);
    }

    .hero-panel {
        width: 100%;
        max-width: 100%;
    }

    .hero-actions,
    .proof-strip,
    .services-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .btn {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        text-align: center;
    }

    .proof-strip {
        display: grid;
    }

    .eyebrow {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.66rem;
        letter-spacing: 0.1em;
        line-height: 1.45;
    }

    .eyebrow::before {
        width: 22px;
        flex: 0 0 22px;
    }

    .process-list article,
    .process-list article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-list article:last-child {
        border-bottom: 0;
    }

    .services,
    .process,
    .fit,
    .contact {
        padding: 68px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* Mobile polish pass after Playwright visual QA */
@media (max-width: 640px) {
    body {
        background:
            radial-gradient(circle at 10% 0%, rgba(255, 43, 214, 0.18), transparent 18rem),
            linear-gradient(160deg, #090914 0%, #07111b 58%, #07080f 100%);
    }

    .site-header,
    .site-header.scrolled {
        position: absolute;
        padding: 12px 14px;
        background: transparent;
        border-bottom: 0;
    }

    .brand img {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(12px);
    }

    .hero {
        padding-top: 104px;
        padding-bottom: 48px;
        min-height: auto;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .hero-title {
        font-size: clamp(2.12rem, 9vw, 2.55rem);
        line-height: 1.03;
        margin-bottom: 22px;
    }

    .hero-subtitle {
        width: 100%;
        max-width: 34ch;
        font-size: 1rem;
        line-height: 1.62;
        margin-bottom: 28px;
    }

    .hero-actions {
        gap: 12px;
        margin-bottom: 30px;
    }

    .btn {
        min-height: 56px;
        font-size: 0.98rem;
    }

    .proof-strip {
        gap: 12px;
    }

    .proof-strip div {
        padding: 18px 16px;
    }

    .proof-strip dd {
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .services,
    .process,
    .fit,
    .contact {
        padding: 54px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(1.82rem, 7vw, 2.18rem);
        line-height: 1.13;
        letter-spacing: -0.035em;
        margin-bottom: 14px;
    }

    .section-heading p,
    .contact-intro p,
    .fit-columns p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .feature-card {
        min-height: auto;
        padding: 24px 22px;
        border-radius: 22px;
    }

    .feature-card h3,
    .process-list h3,
    .contact-info h3 {
        font-size: 1.3rem;
    }

    .fit-card,
    .contact-info,
    .contact-form {
        border-radius: 24px;
    }
}

/* Social icon cleanup: inline SVGs, no icon-font square artifacts */
.nav-social a,
.social-links a {
    line-height: 0;
}

.social-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: #ffffff;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

.footer .social-icon {
    width: 17px;
    height: 17px;
}
