/* ================================================================
   NEW SYSTEMS ELECTRONICS — Design System
   Aesthetic: Clean Modern Professional / White
   ================================================================ */

/* ========================= 1. DESIGN TOKENS ========================= */

:root {
    /* Colors — Light Palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8FA;
    --bg-tertiary: #F0F1F3;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F7F8FA;

    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --text-dim: #D1D5DB;

    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-dim: rgba(37, 99, 235, 0.08);
    --accent-glow: rgba(37, 99, 235, 0.06);

    --border: #E5E7EB;
    --border-hover: #D1D5DB;
    --border-accent: rgba(37, 99, 235, 0.30);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1180px;
    --container-pad: clamp(20px, 5vw, 40px);

    /* Radius — Softer edges */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.2s ease;
    --t-base: 0.35s var(--ease-out);
    --t-slow: 0.6s var(--ease-out);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --shadow-accent: 0 4px 20px rgba(37, 99, 235, 0.15);
}


/* ========================= 2. RESET & BASE ========================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    opacity: 0;
    animation: pageIn 0.7s ease 0.1s forwards;
}

@keyframes pageIn {
    to { opacity: 1; }
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: rgba(37, 99, 235, 0.15);
    color: #111827;
}


/* ========================= 3. NOISE OVERLAY ========================= */

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.015;
    background-repeat: repeat;
    background-size: 200px 200px;
}


/* ========================= 4. LAYOUT ========================= */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}


/* ========================= 5. TYPOGRAPHY UTILITIES ========================= */

.text-accent {
    color: var(--accent);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.section-label--center {
    justify-content: center;
}

.section-label--center::before {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-top: 16px;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 540px;
    margin-top: 16px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-desc {
    margin-left: auto;
    margin-right: auto;
}


/* ========================= 6. BUTTONS ========================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn--accent {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    font-weight: 600;
}

.btn--accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.btn--accent:active {
    transform: translateY(0);
}

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

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn--lg {
    padding: 15px 34px;
    font-size: 0.95rem;
}

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

.btn svg {
    transition: transform var(--t-fast);
}

.btn:hover svg {
    transform: translateX(3px);
}


/* ========================= 7. HEADER ========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: all var(--t-base);
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo__img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--t-fast);
}

.logo:hover .logo__img {
    opacity: 0.8;
}

.logo__img--footer {
    height: 48px;
    filter: brightness(10);
}

/* Text-based logo */
.logo__text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    transition: color var(--t-fast);
}

.logo__text-accent {
    color: var(--accent);
}

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

.logo--footer .logo__text {
    font-size: 1.1rem;
    color: #F0F0F0;
}

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

.nav__link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--t-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--t-base);
}

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

.nav__link:hover::after {
    width: 100%;
}

.header__cta {
    font-size: 0.85rem;
    padding: 10px 22px;
}

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

.menu-toggle span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--t-base);
    transform-origin: center;
}

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

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


/* ========================= 8. MOBILE MENU ========================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-menu__link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.26s; }

.mobile-menu__link:hover {
    color: var(--accent);
}


/* ========================= 9. HERO ========================= */

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

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.04) 1px,
        transparent 1px
    );
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(
        ellipse 65% 55% at 50% 50%,
        black 15%,
        transparent 65%
    );
    mask-image: radial-gradient(
        ellipse 65% 55% at 50% 50%,
        black 15%,
        transparent 65%
    );
}

.hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.025) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(37, 99, 235, 0.015) 0%, transparent 35%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    max-width: 760px;
}

/* Hero image */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease-out);
}

.hero__image-wrapper:hover {
    transform: scale(1.02);
}

/* Subtle shadow behind image */
.hero__image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(37, 99, 235, 0.08) 0%,
        rgba(37, 99, 235, 0.02) 50%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
}

.hero__image {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hero__image-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Decorative corner accents */
.hero__image-wrapper::after {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 65px;
    height: 65px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0 var(--radius-sm) 0 0;
    opacity: 0.4;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    margin-bottom: 32px;
}

.hero__badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.hero__title-line {
    display: block;
}

.hero__title-accent {
    color: var(--accent);
    text-shadow: 0 0 60px rgba(37, 99, 235, 0.15);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero entrance animations */
.hero-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: heroReveal 0.7s var(--ease-out) forwards;
}

.hero__badge { animation-delay: 0.2s; }
.hero__title .hero-reveal:nth-child(1) { animation-delay: 0.3s; }
.hero__title .hero-reveal:nth-child(2) { animation-delay: 0.4s; }
.hero__title .hero-reveal:nth-child(3) { animation-delay: 0.5s; }
.hero__subtitle.hero-reveal { animation-delay: 0.55s; }
.hero__actions.hero-reveal { animation-delay: 0.65s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.hero__scroll span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__scroll-track {
    width: 1px;
    height: 48px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.hero__scroll-dot {
    width: 1px;
    height: 18px;
    background: var(--accent);
    position: absolute;
    top: -18px;
    animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: -18px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}


/* ========================= 10. STATS ========================= */

.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 52px 0;
    background: var(--bg-secondary);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 55%;
    background: var(--border);
}

.stat__value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat__number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--accent);
    letter-spacing: -0.02em;
}

.stat__suffix {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--accent);
}

.stat__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
}


/* ========================= 11. APPROACH ========================= */

.approach {
    padding: var(--section-padding) 0;
}

/* Approach section image banner */
.approach__visual {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    border: 1px solid var(--border);
}

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

.pillar {
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all var(--t-slow);
}

.pillar:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-3px);
}

.pillar__number {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
}

.pillar__line {
    width: 36px;
    height: 1px;
    background: var(--border-hover);
    margin: 22px 0;
    transition: all var(--t-base);
}

.pillar:hover .pillar__line {
    width: 56px;
    background: var(--accent);
}

.pillar__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.pillar__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}


/* ========================= 11b. SHOWCASE ========================= */

.showcase {
    position: relative;
    height: clamp(320px, 45vw, 480px);
    overflow: hidden;
}

.showcase__image-wrap {
    position: absolute;
    inset: 0;
}

.showcase__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.showcase__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.45) 50%,
        rgba(10, 10, 10, 0.25) 100%
    );
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(40px, 6vw, 70px);
}

.showcase__label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93C5FD;
    display: block;
    margin-bottom: 14px;
}

.showcase__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.showcase__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 460px;
}


/* ========================= 12. SOLUTIONS ========================= */

.solutions {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.solutions__list {
    margin-top: 0;
}

.solution-row {
    display: grid;
    grid-template-columns: 50px 1fr 40px;
    gap: 0 28px;
    padding: 38px 0;
    padding-left: 0;
    border-bottom: 1px solid var(--border);
    cursor: default;
    transition: all var(--t-base);
}

.solution-row:first-child {
    border-top: 1px solid var(--border);
}

.solution-row:hover {
    padding-left: 16px;
    border-bottom-color: var(--border-accent);
}

.solution-row__num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    padding-top: 5px;
    transition: color var(--t-fast);
}

.solution-row:hover .solution-row__num {
    color: var(--accent);
}

.solution-row__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.solution-row__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 580px;
}

.solution-row__arrow {
    font-size: 1.4rem;
    color: var(--text-dim);
    transition: all var(--t-base);
    padding-top: 4px;
    justify-self: end;
}

.solution-row:hover .solution-row__arrow {
    color: var(--accent);
    transform: translateX(5px);
}


/* ========================= 13. PARTNERS / MARQUEE ========================= */

.partners {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.marquee {
    margin-top: 50px;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
}

.marquee__track:hover {
    animation-play-state: paused;
}

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

.marquee__content {
    display: flex;
    gap: 14px;
    padding-right: 14px;
}

.marquee__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all var(--t-fast);
    background: transparent;
}

.marquee__chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}


/* ========================= 14. MANIFESTO ========================= */

.manifesto {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.manifesto__bg {
    position: absolute;
    inset: 0;
}

.manifesto__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.12;
    filter: grayscale(0.4);
}

.manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-secondary) 0%, rgba(247, 248, 250, 0.7) 50%, var(--bg-secondary) 100%);
    pointer-events: none;
    z-index: 1;
}

.manifesto__content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.manifesto__quote {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 800;
    line-height: 1;
    color: var(--border);
    pointer-events: none;
    user-select: none;
}

.manifesto__text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.4;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    border: none;
    quotes: none;
}

.manifesto__attribution {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 36px;
    position: relative;
    z-index: 1;
}


/* ========================= 15. CTA ========================= */

.cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.025) 0%, transparent 50%);
    pointer-events: none;
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.cta__content {
    position: relative;
}

.cta__visual {
    display: flex;
    justify-content: center;
}

.cta__image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border);
}

.cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta__desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ========================= 16. CONTACT ========================= */

.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

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

/* Contact section accent image */
.contact__image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.contact__intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 400px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 44px;
}

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

.contact__detail-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact__detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--t-fast);
}

a.contact__detail-value:hover {
    color: var(--accent);
}

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-hover);
    padding: 14px 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--text-dim);
}

.form-input:focus {
    border-bottom-color: var(--accent);
    box-shadow: 0 1px 0 0 var(--accent);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-status {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    padding: 12px 0;
    display: none;
}

.form-status--success {
    display: block;
    color: #059669;
}

.form-status--error {
    display: block;
    color: #FF6B6B;
}


/* ========================= 17. FOOTER ========================= */

.footer {
    padding: 60px 0 40px;
    border-top: none;
    background: #111827;
    color: #D1D5DB;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__tagline {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-top: 14px;
    line-height: 1.5;
}

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

.footer__col-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 4px;
}

.footer__link {
    font-size: 0.9rem;
    color: #9CA3AF;
    text-decoration: none;
    transition: color var(--t-fast);
    line-height: 1.4;
}

.footer__link:hover {
    color: #FFFFFF;
}

.footer__link--static {
    cursor: default;
}

.footer__link--static:hover {
    color: #9CA3AF;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 0.78rem;
    color: #6B7280;
}


/* ========================= 17b. SCROLLBAR ========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}


/* ========================= 18. SCROLL REVEAL ========================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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


/* ========================= 19. RESPONSIVE ========================= */

/* Tablet */
@media (max-width: 1024px) {
    .logo__img {
        height: 56px;
    }

    .logo__img--footer {
        height: 42px;
    }

    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero__visual {
        justify-content: flex-start;
    }

    .hero__image {
        max-width: 360px;
    }

    .approach__visual {
        max-height: 260px;
    }

    .approach__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .cta__visual {
        justify-content: flex-start;
    }

    .cta__image {
        max-width: 320px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .manifesto__quote {
        font-size: 10rem;
        top: -40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Reduce section spacing globally */
    .approach,
    .solutions,
    .partners,
    .manifesto,
    .cta-section,
    .contact {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Header */
    .logo__img {
        height: 48px;
    }

    .logo__img--footer {
        height: 38px;
    }

    .header {
        padding: 14px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    /* Hero — full viewport on mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 90px 0 40px;
        display: flex;
        align-items: center;
    }

    .hero__title {
        font-size: clamp(2rem, 9vw, 3rem);
        margin-bottom: 20px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 24px;
    }

    .hero__scroll {
        display: none;
    }

    .hero__visual {
        display: none;
    }

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

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

    /* Stats */
    .stats {
        padding: 40px 0;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0;
    }

    .stat:not(:last-child)::after {
        display: none;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    /* Section headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }

    /* Approach */
    .approach__visual {
        max-height: 200px;
        margin-bottom: 40px;
    }

    /* Showcase */
    .showcase {
        height: clamp(220px, 55vw, 320px);
    }

    .showcase__title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    /* Solutions */
    .solution-row {
        grid-template-columns: 36px 1fr;
        gap: 0 14px;
        padding: 28px 0;
    }

    .solution-row__arrow {
        display: none;
    }

    .solution-row:hover {
        padding-left: 8px;
    }

    .solution-row__title {
        font-size: 1.15rem;
    }

    .solution-row__desc {
        font-size: 0.9rem;
    }

    /* Marquee */
    .marquee::before,
    .marquee::after {
        width: 30px;
    }

    /* Manifesto — <br> become spaces on mobile */
    .manifesto__text br {
        display: none;
    }

    .manifesto__text {
        font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    }

    .manifesto__quote {
        font-size: 6rem;
        top: -20px;
    }

    /* CTA — <br> become spaces on mobile */
    .cta__title br {
        display: none;
    }

    .cta__title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .cta__visual {
        display: none;
    }

    .cta__content {
        text-align: center;
    }

    .cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta__actions .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    /* Contact */
    .contact__image {
        max-height: 160px;
    }

    .contact__detail-value {
        font-size: 0.92rem;
        word-break: break-word;
    }

    .contact__details {
        margin-top: 32px;
        gap: 20px;
    }

    .form-input {
        font-size: 16px; /* Prevent iOS zoom */
    }

    /* Mobile menu */
    .mobile-menu__link {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer {
        padding: 48px 0 32px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

/* Small mobile (iPhone SE, etc.) */
@media (max-width: 480px) {
    .logo__img {
        height: 42px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 80px 0 30px;
    }

    .hero__title {
        font-size: clamp(1.7rem, 8.5vw, 2.4rem);
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat {
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .approach__visual {
        max-height: 160px;
        margin-bottom: 30px;
    }

    .marquee__chip {
        padding: 8px 16px;
        font-size: 0.72rem;
    }

    .manifesto__quote {
        font-size: 4.5rem;
        top: -14px;
    }

    .mobile-menu__link {
        font-size: 1.5rem;
        gap: 28px;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .pillar {
        padding: 28px 22px;
    }

    .btn--lg {
        padding: 13px 26px;
        font-size: 0.88rem;
    }
}

/* Safe area support (notch devices) */
@supports (padding: env(safe-area-inset-bottom)) {
    .header__inner {
        padding-left: max(var(--container-pad), env(safe-area-inset-left));
        padding-right: max(var(--container-pad), env(safe-area-inset-right));
    }

    .footer__bottom {
        padding-bottom: calc(28px + env(safe-area-inset-bottom));
    }

    .mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}
