/* ==========================================================================
   NEXORA — B2B Electronics Trading
   Design: Light theme, Navy + Cyan, Archivo + Manrope + Fira Code
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    /* Backgrounds */
    --bg-primary: #FAFCFE;
    --bg-alt: #F0F5FA;
    --bg-card: #FFFFFF;
    --bg-footer: #0B1D30;

    /* Text */
    --text-heading: #0F2B46;
    --text-body: #3D5A73;
    --text-muted: #8A9BB5;
    --text-dim: #B8C9DA;

    /* Accent — Cyan (from logo) */
    --accent: #00B8D4;
    --accent-hover: #0097AE;
    --accent-light: #E0F7FA;
    --accent-glow: rgba(0, 184, 212, 0.12);
    --accent-glow-strong: rgba(0, 184, 212, 0.25);

    /* Secondary — Navy (from logo) */
    --navy: #0F2B46;
    --navy-light: #1A3D5C;

    /* Gradient */
    --gradient-accent: linear-gradient(135deg, #00B8D4 0%, #0F2B46 100%);

    /* Borders */
    --border: rgba(15, 43, 70, 0.08);
    --border-hover: rgba(15, 43, 70, 0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 43, 70, 0.04);
    --shadow-md: 0 4px 24px rgba(15, 43, 70, 0.06);
    --shadow-lg: 0 8px 40px rgba(15, 43, 70, 0.08);
    --shadow-xl: 0 16px 64px rgba(15, 43, 70, 0.10);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 100px;

    /* Typography */
    --font-display: 'Archivo', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Spacing */
    --section-py: clamp(48px, 6vw, 80px);
    --container-max: 1180px;
    --container-px: clamp(20px, 4vw, 40px);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.35s;
    --duration-slow: 0.6s;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* ---------- 3. GRADIENT MESH ORBS ---------- */
.mesh-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 25s ease-in-out infinite;
}

.mesh-orb--cyan {
    width: clamp(300px, 40vw, 600px);
    height: clamp(300px, 40vw, 600px);
    background: radial-gradient(circle, var(--accent), transparent 70%);
    top: -5%;
    right: -8%;
}

.mesh-orb--amber {
    width: clamp(250px, 35vw, 500px);
    height: clamp(250px, 35vw, 500px);
    background: radial-gradient(circle, #F5A623, transparent 70%);
    bottom: 20%;
    left: -10%;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ---------- 4. LAYOUT ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 1;
}

/* ---------- 5. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-heading);
    line-height: 1.15;
    font-weight: 800;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    margin-bottom: clamp(32px, 4vw, 48px);
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label--center {
    display: block;
    text-align: center;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

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

/* ---------- 6. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    transition: all var(--duration-base) var(--ease-smooth);
    cursor: pointer;
    white-space: nowrap;
}

.btn--accent {
    background: var(--accent);
    color: #fff;
}

.btn--accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow-strong);
}

.btn--outline {
    border: 1.5px solid var(--border-hover);
    color: var(--text-heading);
    background: transparent;
}

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

.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
}

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

.btn svg {
    transition: transform var(--duration-fast) var(--ease-smooth);
}

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

/* ---------- 7. HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--duration-base) var(--ease-smooth);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(250, 252, 254, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo__img {
    height: 44px;
    width: auto;
    transition: height var(--duration-base) var(--ease-smooth);
}

.header.scrolled .logo__img {
    height: 36px;
}

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

.nav__link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    transition: color var(--duration-fast) var(--ease-smooth);
    padding: 4px 0;
}

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

.nav__slider {
    position: absolute;
    bottom: -4px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
    opacity: 0;
    transform-origin: left;
}

.nav:hover .nav__slider {
    opacity: 1;
}

.header__cta {
    font-size: 14px;
    padding: 10px 24px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
    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: 105;
    background: rgba(250, 252, 254, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out);
}

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

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

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 700;
    color: var(--text-heading);
    transform: translateX(30px);
    opacity: 0;
    transition: all var(--duration-slow) var(--ease-out);
}

.mobile-menu.open .mobile-menu__link {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }

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

/* ---------- 9. HERO ---------- */
.hero {
    padding-top: clamp(120px, 14vw, 160px);
    padding-bottom: clamp(40px, 5vw, 64px);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.hero__device {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 520px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hero__device-img {
    width: 100%;
    max-width: 380px;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: rotate(3deg);
    animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-14px); }
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ---------- 10. METRICS RIBBON ---------- */
.ribbon {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ribbon__track {
    display: flex;
    width: max-content;
    animation: ribbonScroll 30s linear infinite;
}

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

.ribbon__content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.ribbon__stat {
    font-family: var(--font-display);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
    padding: 0 20px;
}

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

.ribbon__diamond {
    color: var(--accent);
    font-size: 10px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ---------- 11. WHY NEXORA (NETWORK) ---------- */
.why {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.network {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.network__lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.network__line {
    stroke: var(--accent);
    stroke-width: 1;
    opacity: 0.15;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.network.animated .network__line {
    stroke-dashoffset: 0;
}

.network__dot {
    fill: var(--accent);
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth) 1s;
}

.network.animated .network__dot {
    opacity: 0.3;
}

.network__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.network__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 40px);
    transition: all var(--duration-base) var(--ease-smooth);
    box-shadow: var(--shadow-sm);
}

.network__card:hover {
    border-color: var(--accent-glow-strong);
    box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-glow);
    transform: translateY(-4px);
}

.network__card--top {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
}

.network__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.network__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.network__desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- 12. SOLUTIONS (ACCORDION) ---------- */
.solutions {
    padding: var(--section-py) 0;
}

.accordion__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}

.accordion__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion__item {
    border-bottom: 1px solid var(--border);
    position: relative;
}

.accordion__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    border-radius: 3px;
    transition: height var(--duration-slow) var(--ease-out);
}

.accordion__item.active::before {
    height: 100%;
}

.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0 20px 16px;
    text-align: left;
    transition: color var(--duration-fast) var(--ease-smooth);
}

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

.accordion__num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    min-width: 28px;
}

.accordion__label {
    font-family: var(--font-display);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;
    color: var(--text-heading);
    flex: 1;
}

.accordion__chevron {
    color: var(--text-muted);
    transition: transform var(--duration-base) var(--ease-out);
    flex-shrink: 0;
}

.accordion__item.active .accordion__chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out),
                padding var(--duration-slow) var(--ease-out);
    padding: 0 16px 0 60px;
}

.accordion__item.active .accordion__body {
    max-height: 200px;
    padding: 0 16px 24px 60px;
}

.accordion__body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion__visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}

.accordion__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-smooth);
}

.accordion__image.active {
    opacity: 1;
}

/* ---------- 13. BRANDS (CONSTELLATION) ---------- */
.brands {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.constellation {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 16px 0;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.constellation__star {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-heading);
    cursor: default;
    transition: all var(--duration-base) var(--ease-smooth);
    text-align: center;
    padding: 12px 4px;
    font-size: calc(var(--size, 1) * clamp(16px, 2vw, 22px));
    opacity: var(--base-opacity, 0.5);
    grid-row: var(--row);
    grid-column: var(--col) / span 2;
}

.constellation__star:hover {
    opacity: 1 !important;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow-strong);
    transform: scale(1.08);
}

.constellation.dimmed .constellation__star {
    opacity: 0.15;
}

.constellation.dimmed .constellation__star:hover {
    opacity: 1 !important;
}

/* ---------- 14. INFRASTRUCTURE ---------- */
.infra {
    position: relative;
    min-height: clamp(400px, 60vw, 600px);
    overflow: hidden;
}

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

.infra__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.infra__overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(15, 27, 48, 0.92) 0%,
        rgba(15, 27, 48, 0.7) 50%,
        rgba(15, 27, 48, 0.3) 100%
    );
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding: clamp(32px, 5vw, 64px) 0;
}

.infra__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.infra__title {
    font-size: clamp(24px, 4vw, 40px);
    color: #fff;
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.2;
}

.infra__stats {
    display: flex;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
}

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

.infra__stat-value {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--accent);
}

.infra__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- 15. TEAM ---------- */
.team {
    padding: var(--section-py) 0;
}

.team__wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team__image {
    width: 100%;
    height: clamp(300px, 40vw, 480px);
    object-fit: cover;
    display: block;
}

.team__card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

.team__title {
    font-size: clamp(20px, 2.5vw, 24px);
    margin-bottom: 12px;
}

.team__desc {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ---------- 16. CTA ---------- */
.cta {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.cta__title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.cta__desc {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 440px;
}

.cta__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta__visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta__image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ---------- 17. CONTACT ---------- */
.contact {
    padding: var(--section-py) 0;
}

.contact__center {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact__intro {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact__details {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.contact__detail-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.contact__detail-value {
    font-size: 15px;
    color: var(--text-heading);
    font-weight: 500;
}

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

.contact__form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-heading);
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid var(--border-hover);
    background: transparent;
    transition: border-color var(--duration-base) var(--ease-smooth);
    outline: none;
}

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

.form-input:focus {
    border-bottom-color: var(--accent);
}

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

.form-status {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    min-height: 24px;
}

.form-status--success {
    color: #10B981;
}

.form-status--error {
    color: #EF4444;
}

/* ---------- 18. FOOTER ---------- */
.footer {
    background: var(--bg-footer);
    padding: clamp(40px, 5vw, 60px) 0 24px;
    color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    margin-bottom: 48px;
}

.logo__img--footer {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.4);
}

.footer__col-title {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.footer__link {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: color var(--duration-fast) var(--ease-smooth);
}

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

.footer__link--static {
    cursor: default;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- 19. SCROLL ANIMATIONS ---------- */
.clip-reveal {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s var(--ease-out);
}

.clip-reveal.visible {
    clip-path: inset(0 0 0 0);
}

.fade-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

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

/* Stagger support */
.fade-reveal[style*="--delay: 1"] { transition-delay: 0.1s; }
.fade-reveal[style*="--delay: 2"] { transition-delay: 0.2s; }
.fade-reveal[style*="--delay: 3"] { transition-delay: 0.3s; }

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

    .clip-reveal,
    .fade-reveal {
        clip-path: none;
        opacity: 1;
        transform: none;
    }

    .ribbon__track {
        animation: none;
    }
}

/* ---------- 21. RESPONSIVE ---------- */

/* Tablets */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__device {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .accordion__visual {
        order: -1;
        aspect-ratio: 16 / 9;
    }

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

    .network__card--top {
        max-width: 100%;
    }

    .network__lines {
        display: none;
    }

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

    .cta__visual {
        order: -1;
    }

    .cta__image {
        clip-path: none;
        min-height: 300px;
    }

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

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
    }

    .hero__scroll {
        display: none;
    }

    .constellation {
        grid-template-columns: repeat(3, 1fr);
    }

    .constellation__star {
        grid-column: auto;
        grid-row: auto;
    }

    .infra__stats {
        flex-direction: column;
    }

    .team__card {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }

    .team__wrap {
        border-radius: var(--radius-xl);
    }

    .contact__details {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: 36px;
    }

    .hero__device-img {
        max-width: 260px;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 15px;
    }

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