/* ────────────────────────────────────────────────────────────
   Binaryhatch Tech – Corporate Website Stylesheet
   ──────────────────────────────────────────────────────────── */

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

:root {
    --bg: #050509;
    --bg-card: #0d0d16;
    --bg-card-2: #111120;
    --border: rgba(255, 255, 255, .07);
    --border-accent: rgba(99, 102, 241, .35);

    --text-primary: #f0f0ff;
    --text-secondary: #9090b0;
    --text-muted: #5f5f80;

    --accent: #6366f1;
    /* indigo */
    --accent-2: #a855f7;
    /* purple */
    --accent-glow: rgba(99, 102, 241, .25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-card: 0 4px 32px rgba(0, 0, 0, .45);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, .18);

    --font: 'Inter', system-ui, sans-serif;
    --nav-h: 72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ── Utility ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1180px;
    padding: 0 24px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(99, 102, 241, .1);
    border: 1px solid rgba(99, 102, 241, .25);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, .4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, .55);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .05);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ── Navigation ───────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}

.header.scrolled {
    background: rgba(5, 5, 9, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav__logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.logo-bracket {
    color: var(--accent);
}

.logo-accent {
    color: var(--accent-2);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}

.nav__link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, .05);
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff !important;
    padding: 9px 20px;
    box-shadow: 0 2px 12px rgba(99, 102, 241, .4);
}

.nav__link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, .55);
}

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

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all .3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: rgba(99, 102, 241, .15);
}

.hero__glow--2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    background: rgba(168, 85, 247, .12);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 820px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 28px;
}

.hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, .6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: .04em;
}

.stat__divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: .3;
        transform: scaleY(1)
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2)
    }
}

/* ── Services ─────────────────────────────────────────────── */
.services {
    background: var(--bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card--accent {
    background: linear-gradient(160deg, rgba(99, 102, 241, .08) 0%, rgba(168, 85, 247, .06) 100%);
    border-color: rgba(99, 102, 241, .2);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(168, 85, 247, .1));
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
}

.service-card__body {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.7;
    flex: 1;
}

.service-card__list {
    color: var(--text-secondary);
    font-size: .875rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li::before {
    content: '→ ';
    color: var(--accent);
    font-weight: 700;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.service-card__tags span {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 10px;
}

/* Process strip */
.process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
}

.process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
}

.process__num {
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process__label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.process__line {
    flex: 1;
    min-width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: .25;
}

/* ── Products ─────────────────────────────────────────────── */
.products {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    background: var(--bg-card-2);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, .12) 0%, transparent 70%);
    pointer-events: none;
}

.product-card__badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(52, 211, 153, .1);
    border: 1px solid rgba(52, 211, 153, .25);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 16px;
}

.product-card__title {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.product-card__tagline {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.product-card__body {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.product-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.product-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--text-secondary);
}

.product-card__features svg {
    width: 18px;
    height: 18px;
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Phone Mockup */
.product-card__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 260px;
    background: #0a0a14;
    border: 2px solid rgba(99, 102, 241, .3);
    border-radius: 36px;
    padding: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .04);
    position: relative;
}

.phone-mockup::before {
    content: '';
    display: block;
    width: 80px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 4px;
    margin: 0 auto 14px;
}

.phone-mockup__screen {
    background: #0e0e1e;
    border-radius: 22px;
    overflow: hidden;
    min-height: 380px;
}

.app-preview {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-preview__header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .85rem;
}

.app-preview__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.app-preview__search-bar {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: .75rem;
    color: var(--text-muted);
}

.app-preview__categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.chip {
    font-size: .7rem;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.chip--active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #fff;
}

.app-preview__card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
}

.artisan-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.artisan-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artisan-info strong {
    font-size: .78rem;
}

.artisan-info span {
    font-size: .68rem;
    color: var(--text-muted);
}

.btn-book {
    font-size: .68rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
}

.app-preview__map {
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .15);
    border-radius: 12px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-preview__map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, .15) 1px, transparent 1px);
    background-size: 16px 16px;
}

.map-pin {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 0 12px var(--accent);
    position: relative;
    z-index: 1;
}

/* ── Products grid (two-column) ──────────────────────────── */
.products__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.product-item {
    background: var(--bg-card-2);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-card);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(99, 102, 241, .1) 0%, transparent 70%);
    pointer-events: none;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.product-item__top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-item__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(99, 102, 241, .25);
}

.product-item__icon svg {
    width: 24px;
    height: 24px;
}

.product-item__icon--trade {
    background: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(168, 85, 247, .1));
    color: var(--accent);
}

.product-item__icon--tour {
    background: linear-gradient(135deg, rgba(20, 184, 166, .15), rgba(34, 211, 238, .1));
    color: #14b8a6;
    border-color: rgba(20, 184, 166, .25);
}

.product-item__badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(52, 211, 153, .1);
    border: 1px solid rgba(52, 211, 153, .25);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 4px;
}

.product-item__title {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.product-item__tagline {
    font-size: .95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: -6px;
}

.product-item__body {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.75;
}

.product-item__features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.product-item__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .875rem;
    color: var(--text-secondary);
}

.product-item__features svg {
    width: 17px;
    height: 17px;
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-item__stats {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pstat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    border-right: 1px solid var(--border);
}

.pstat:last-child {
    border-right: none;
}

.pstat span {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pstat small {
    font-size: .7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.product-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

/* ── About ────────────────────────────────────────────────── */
.about {
    background: var(--bg);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

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

.about__text .section-tag {
    align-self: flex-start;
}

.about__text p {
    color: var(--text-secondary);
    font-size: .975rem;
    line-height: 1.8;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color .3s;
}

.value-item:hover {
    border-color: var(--border-accent);
}

.value-item__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}

.value-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.value-item strong {
    font-size: .9rem;
    font-weight: 700;
}

.value-item span {
    font-size: .83rem;
    color: var(--text-secondary);
}

/* Code Window */
.code-window {
    background: #070710;
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 40px rgba(99, 102, 241, .1);
}

.code-window__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot--red {
    background: #ff5f57;
}

.dot--yellow {
    background: #febc2e;
}

.dot--green {
    background: #28c840;
}

.code-window__title {
    margin-left: auto;
    font-size: .75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.code-window__body {
    padding: 28px;
    overflow-x: auto;
}

code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: .85rem;
    line-height: 1.9;
    display: block;
    white-space: pre;
}

.c-keyword {
    color: #a78bfa;
}

.c-var {
    color: #60a5fa;
}

.c-key {
    color: #f9a8d4;
}

.c-str {
    color: #86efac;
}

.c-fn {
    color: #fde68a;
}

/* ── Why Us ───────────────────────────────────────────────── */
.why {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px 28px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .3s, transform .3s;
}

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

.why-card__num {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--accent);
    margin-bottom: 12px;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact {
    background: var(--bg);
}

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

.contact__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.contact__text .section-tag {
    align-self: flex-start;
}

.contact__text p {
    color: var(--text-secondary);
    font-size: .975rem;
    line-height: 1.8;
}

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

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 500;
    font-size: .9rem;
    transition: color .2s;
}

.contact__link:hover {
    color: var(--accent-2);
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: .825rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: .9rem;
    padding: 12px 16px;
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .18);
}

.form-group select option {
    background: #111120;
}

.form-note {
    text-align: center;
    font-size: .78rem;
    color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
    padding-bottom: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
}

.footer__brand p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer__nav {
    display: flex;
    gap: 56px;
}

.footer__col h5 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

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

.footer__col a {
    font-size: .875rem;
    color: var(--text-secondary);
    transition: color .2s;
}

.footer__col a:hover {
    color: var(--text-primary);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 22px 24px;
}

.footer__bottom p {
    font-size: .8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Scroll-reveal (driven by main.js) ───────────────────── */
.aos-init {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.aos-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .product-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .product-card__visual {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

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

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

    .nav__links {
        display: none;
        flex-direction: column;
        gap: 4px;
    }

    .nav__links.open {
        display: flex;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(5, 5, 9, .97);
        backdrop-filter: blur(16px);
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav__burger {
        display: flex;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__stats {
        gap: 16px;
    }

    .process {
        padding: 24px 20px;
    }

    .process__line {
        min-width: 16px;
    }

    .footer__nav {
        flex-direction: column;
        gap: 32px;
    }

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

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

    .contact-form {
        padding: 28px 24px;
    }

    .product-card {
        padding: 28px 24px;
    }

    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat__divider {
        width: 40px;
        height: 1px;
    }
}