/* ══════════════════════════════════════════════════
   SYNAPSER V2 — Bold Minimalist Design System
   Electric Blue · Oversized Typography · Blueprint
   ══════════════════════════════════════════════════ */

/* ═══ CSS Custom Properties ═══ */
:root {
    --blue: #0019FF;
    --blue-light: #3344FF;
    --blue-dark: #000EBB;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --grey-100: #E8E8E8;
    --grey-200: #D0D0D0;
    --grey-400: #888888;
    --grey-600: #555555;
    --grey-800: #222222;
    --black: #0A0A0A;

    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --border: 1px solid rgba(0, 25, 255, 0.15);
    --border-strong: 1px solid var(--blue);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration: 0.35s;

    --px: 48px;
    --radius: 0px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: var(--font-display);
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ═══ Utility ═══ */
.mono-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ═══════════════════ NAVIGATION ═══════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--px);
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1001;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav__links {
    display: flex;
    gap: 48px;
}

.nav__col {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--grey-600);
    transition: color var(--duration) var(--ease);
}

.nav__link:hover {
    color: var(--blue);
}

.nav__cta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue);
    transition: all var(--duration) var(--ease);
    border: var(--border-strong);
    padding: 10px 20px;
}

.nav__cta:hover {
    background: var(--blue);
    color: var(--white);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__burger span {
    width: 28px;
    height: 2px;
    background: var(--black);
    transition: all var(--duration) var(--ease);
}

.nav__burger.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav__burger.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--px) 48px;
    overflow: hidden;
    background: url('white-background.png') center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 0;
}

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

.hero__halftone {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 25, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 25, 255, 0.04) 0%, transparent 50%),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(0, 25, 255, 0.08) 50%, transparent 50%);
    background-size: 100% 100%, 100% 100%, 12px 12px;
    opacity: 1;
}

.hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__label {
    margin-bottom: 32px;
    color: var(--blue);
}

.hero__title {
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--black);
}

.hero__title--accent {
    color: var(--blue);
    font-style: italic;
}

.hero__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 64px;
    padding-top: 32px;
    border-top: var(--border);
}

.hero__scroll-hint {
    color: var(--grey-400);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.hero__stats-row {
    display: flex;
    gap: 48px;
}

.hero__stat {
    text-align: right;
}

.hero__stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero__stat-plus {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--blue);
}

.hero__stat-label {
    display: block;
    color: var(--grey-400);
    margin-top: 4px;
    font-size: 0.65rem;
}

/* ═══════════════════ ABOUT ═══════════════════ */
.about {
    position: relative;
    background: url('blue-background.png') center / cover no-repeat;
    color: var(--white);
    padding: 120px var(--px);
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 0;
}

.about__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.about__label {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.about__text {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.about__text em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════ SERVICES ═══════════════════ */
.services {
    position: relative;
    padding: 120px 0;
    border-bottom: var(--border);
    background: url('white-background.png') center / cover no-repeat;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 0;
}

.services__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.services__left {
    padding: 0 var(--px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: sticky;
    top: 120px;
    align-self: start;
}

.services__label {
    color: var(--blue);
    margin-bottom: 32px;
}

.services__title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.services__right {
    border-left: var(--border);
}

/* Accordion */
.accordion {
    border-bottom: var(--border);
}

.accordion__head {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 32px var(--px);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    text-align: left;
    transition: background var(--duration) var(--ease);
}

.accordion__head:hover {
    background: var(--off-white);
}

.accordion__number {
    color: var(--blue);
    font-size: 0.75rem;
    min-width: 28px;
}

.accordion__name {
    flex: 1;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.accordion__toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--blue);
    transition: transform var(--duration) var(--ease);
    width: 28px;
    text-align: center;
}

.accordion.open .accordion__toggle {
    transform: rotate(45deg);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
    padding: 0 var(--px);
}

.accordion.open .accordion__body {
    max-height: 400px;
    padding: 0 var(--px) 32px;
}

.accordion__desc {
    font-size: 0.95rem;
    color: var(--grey-600);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 480px;
    padding-left: 52px;
}

.accordion__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-left: 52px;
}

.accordion__tags li {
    padding: 6px 14px;
    border: 1px solid var(--grey-200);
    font-size: 0.65rem;
    color: var(--grey-600);
    transition: all var(--duration) var(--ease);
}

.accordion__tags li:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.accordion__link {
    display: inline-block;
    color: var(--blue);
    font-size: 0.78rem;
    padding-left: 52px;
    transition: all var(--duration) var(--ease);
}

.accordion__link:hover {
    letter-spacing: 0.12em;
}

/* ═══════════════════ PROCESS ═══════════════════ */
.process {
    position: relative;
    background: url('blue-background.png') center / cover no-repeat;
    color: var(--white);
    padding: 100px var(--px);
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 0;
}

.process__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.process__header {
    margin-bottom: 64px;
}

.process__label {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.process__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--white);
}

.process__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.process-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.process-card__num {
    display: inline-block;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    align-self: flex-start;
}

.process-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    color: var(--white);
}

.process-card__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    flex: 1;
}

/* ═══════════════════ CONTACT ═══════════════════ */
.contact {
    position: relative;
    padding: 120px 0;
    border-top: var(--border);
    background: url('white-background.png') center / cover no-repeat;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 0;
}

.contact__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.contact__left {
    padding: 0 var(--px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact__label {
    color: var(--blue);
    margin-bottom: 32px;
}

.contact__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 48px;
}

.contact__title--accent {
    color: var(--blue);
}

.contact__perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--grey-600);
}

.contact__perk-icon {
    color: var(--blue);
    font-size: 0.75rem;
}

.contact__right {
    padding: 0 var(--px);
    border-left: var(--border);
}

/* ═══ Form ═══ */
.form__group {
    margin-bottom: 24px;
    position: relative;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__label {
    display: block;
    font-size: 0.7rem;
    color: var(--grey-400);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.form__input {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--black);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--grey-200);
    outline: none;
    transition: border-color var(--duration) var(--ease);
}

.form__input::placeholder {
    color: var(--grey-200);
}

.form__input:focus {
    border-color: var(--blue);
}

.form__input.error {
    border-color: #e53e3e;
}

.form__textarea {
    resize: vertical;
    min-height: 80px;
    border: 1px solid var(--grey-200);
    padding: 14px 16px;
}

.form__textarea:focus {
    border-color: var(--blue);
}

.form__error {
    display: none;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #e53e3e;
    margin-top: 6px;
}

.form__input.error~.form__error {
    display: block;
}

.form__submit {
    width: 100%;
    padding: 20px;
    background: var(--blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all var(--duration) var(--ease);
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.form__submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.form__submit:hover {
    background: var(--blue-dark);
}

.form__submit:hover::before {
    opacity: 1;
}

.form__submit-loader {
    display: none;
    color: var(--white);
}

.form__submit--loading .form__submit-text {
    display: none;
}

.form__submit--loading .form__submit-loader {
    display: inline-flex;
}

.form__success {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: var(--blue);
}

.form__success span {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.form__success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.form__success p {
    color: var(--grey-600);
    font-size: 0.95rem;
}

.form.success .form__group,
.form.success .form__row,
.form.success .form__submit {
    display: none;
}

.form.success .form__success {
    display: block;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
    background: var(--blue);
    color: var(--white);
    padding: 80px var(--px) 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-bottom: 80px;
}

.footer__logo {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    line-height: 1.6;
}

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

.footer__heading {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration) var(--ease);
}

.footer__link:hover {
    color: var(--white);
}

.footer__bottom {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom p {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

/* ═══════════════════ GSAP REVEAL ═══════════════════ */
.gs-reveal {
    opacity: 0;
    visibility: hidden;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */

/* ── Tablet ── */
@media (max-width: 1024px) {
    :root {
        --px: 32px;
    }

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

    .services__left {
        position: relative;
        top: 0;
        padding-bottom: 48px;
    }

    .services__right {
        border-left: none;
        border-top: var(--border);
    }

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

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

    .contact__right {
        border-left: none;
        border-top: var(--border);
        padding-top: 48px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    :root {
        --px: 20px;
    }

    /* Mobile Nav */
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: right 0.4s var(--ease);
        z-index: 999;
    }

    .nav__links.open {
        right: 0;
    }

    .nav__col {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .nav__link {
        font-size: 1rem;
    }

    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 100px var(--px) 40px;
    }

    .hero__bottom {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .hero__stats-row {
        gap: 32px;
    }

    .hero__stat {
        text-align: left;
    }

    .hero__stat-num {
        font-size: 1.8rem;
    }

    .hero__stat-plus {
        font-size: 1.8rem;
    }

    /* About */
    .about {
        padding: 80px var(--px);
    }

    .about__text {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    /* Services */
    .services {
        padding: 80px 0;
    }

    .services__title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    /* Process */
    .process {
        padding: 80px var(--px);
    }

    .process__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

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

    .process-card {
        padding: 24px 20px;
    }

    .process-card__title {
        font-size: 1.1rem;
    }

    .process-card__desc {
        font-size: 0.82rem;
    }

    /* Contact */
    .contact {
        padding: 80px 0;
    }

    .contact__title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 32px;
    }

    /* Footer */
    .footer {
        padding: 60px var(--px) 0;
    }

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

    .footer__logo {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ── Small phones ── */
@media (max-width: 480px) {
    :root {
        --px: 16px;
    }

    .hero__title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero__stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .about__text {
        font-size: 1.3rem;
    }

    .services__title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .accordion__name {
        font-size: 1.1rem;
    }

    .accordion__head {
        padding: 24px var(--px);
        gap: 16px;
    }

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

    .process-card {
        padding: 28px 20px;
    }

    .contact__title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

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

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