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

:root {
    --red: #c41717;
    --red-dark: #9e1010;
    --black: #0a0a0a;
    --off-black: #111111;
    --charcoal: #1c1c1e;
    --gray-dark: #3a3a3c;
    --gray-mid: #6e6e73;
    --gray-light: #aeaeb2;
    --off-white: #d9d6cf;
    --white: #ffffff;
    --warm-bg: #383838;
    --warm-bg-light: #303030;
    --border: rgba(0, 0, 0, 0.08);
    --red-alpha: rgba(196, 23, 23, 0.12);

    --font:
        -apple-system, "SF Pro Display", "Helvetica Neue", Arial,
        sans-serif;
    --font-mono: "SF Mono", "Fira Code", monospace;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font);
    background: var(--warm-bg);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ─────────────────────────────────────────
NAVIGATION
───────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(212, 208, 200, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s var(--ease);
}

nav.dark {
    background: rgba(10, 10, 10, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
}
nav.dark .nav-logo {
    color: var(--white);
}
nav.dark .nav-logo-img {
    filter: brightness(0) invert(1);
}

.nav-logo-img {
    height: 110px;
    width: auto;
    flex-shrink: 0;
    display: block;
    position: relative;
    z-index: 101;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    /* Invert to white on the dark footer background */
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-dark);
    letter-spacing: -0.01em;
    transition: color 0.2s;
}
nav.dark .nav-links a {
    color: var(--gray-light);
}
.nav-links a:hover {
    color: var(--black);
}
nav.dark .nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    background: var(--red);
    color: #fff;
    border-radius: 980px;
    letter-spacing: -0.01em;
    transition:
        background 0.2s,
        transform 0.15s;
}
.nav-cta:hover {
    background: var(--red-dark);
    transform: scale(1.02);
}

/* ─────────────────────────────────────────
HERO
───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

/* Video background */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Dark overlay — keeps text readable over any video content */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.72) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Subtle red vignette on top of the overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 40%,
        rgba(196, 23, 23, 0.14) 0%,
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

/* Grid texture on top */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
    mask-image: radial-gradient(
        ellipse 90% 80% at 50% 50%,
        black 20%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    background: var(--red);
    opacity: 0.5;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
    max-width: 920px;
    position: relative;
    z-index: 3;
    margin-bottom: 28px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero h1 em {
    font-style: normal;
    color: var(--red);
    -webkit-text-fill-color: var(--red);
}

.hero-sub {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin-bottom: 44px;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 980px;
    letter-spacing: -0.01em;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(196, 23, 23, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 980px;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition:
        background 0.2s,
        border-color 0.2s;
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--gray-mid);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(
        to bottom,
        var(--gray-mid),
        transparent
    );
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ─────────────────────────────────────────
STATS TICKER
───────────────────────────────────────── */
.stats-bar {
    background: var(--off-black);
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    padding: 32px 48px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    flex: 1;
    min-width: 180px;
}
.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num span {
    color: var(--red);
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-mid);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────
SECTION UTILITY
───────────────────────────────────────── */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-full {
    padding: 100px 0;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: var(--black);
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--white);
}

.section-body {
    font-size: 18px;
    line-height: 1.65;
    color: var(--gray-mid);
    max-width: 560px;
}

.section-body.light {
    color: var(--gray-light);
}

/* ─────────────────────────────────────────
PRODUCTS SECTION
───────────────────────────────────────── */
.products-section {
    background: var(--off-black);
    padding: 100px 0;
}

.products-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
    padding: 0 40px;
}

.products-header h2 {
    color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-card {
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition:
        border-color 0.3s var(--ease),
        transform 0.3s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 280px;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: -6%;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(1.1);
    transform: scale(1.1);
    transition:
        transform 0.7s var(--ease),
        filter 0.7s var(--ease);
    z-index: -2;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.55) 0%,
        rgba(10, 10, 10, 0.88) 100%
    );
    z-index: -1;
    transition: background 0.3s var(--ease);
}

.product-card:hover {
    border-color: rgba(196, 23, 23, 0.45);
    transform: translateY(-4px);
}
.product-card:hover::before {
    transform: scale(1.24);
    filter: blur(6px) saturate(1.25) brightness(1.05);
}
.product-card:hover::after {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.78) 100%
    );
}

.product-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-bottom: 4px;
    transition:
        background 0.3s var(--ease),
        border-color 0.3s var(--ease);
}
.product-card:hover .product-icon {
    background: rgba(196, 23, 23, 0.35);
    border-color: rgba(196, 23, 23, 0.55);
}
.product-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.25;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.product-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    flex: 1;
}

.product-link {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition:
        gap 0.25s var(--ease),
        color 0.25s var(--ease);
    margin-top: 4px;
}
.product-link span {
    color: var(--red);
}
.product-card:hover .product-link {
    gap: 10px;
    color: var(--red);
}

/* ─────────────────────────────────────────
INDUSTRIES SECTION
───────────────────────────────────────── */
.industries-section {
    background: var(--black);
    padding: 100px 0;
}

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

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: var(--off-black);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s;
}
.industry-card:hover {
    background: #1a1a1a;
}

.industry-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
}

.industry-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.industry-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-mid);
}

/* ─────────────────────────────────────────
ABOUT SLIDER
───────────────────────────────────────── */
.about-slider {
    position: relative;
    overflow: hidden;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(0);
    pointer-events: none;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    display: flex;
    align-items: center;
}

.about-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Arrows */
.about-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition:
        background 0.25s,
        border-color 0.25s,
        color 0.25s,
        transform 0.25s;
}

.about-arrow:hover {
    background: rgba(196, 23, 23, 0.2);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
}

.about-arrow-left {
    left: 20px;
}

.about-arrow-right {
    right: 20px;
}

/* Dots */
.about-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition:
        background 0.3s,
        border-color 0.3s,
        transform 0.3s;
}

.about-dot:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.about-dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.2);
}

/* ─────────────────────────────────────────
ABOUT / STORY SECTION
───────────────────────────────────────── */
.about-section {
    padding: 48px 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    width: 100%;
}

.about-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    background: var(--off-black);
}

.about-visual-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #1a0a0a 0%,
        #2d1010 30%,
        #1c1c1e 70%,
        #0a0a0a 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 36px;
}

.about-badge {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.about-badge-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
}
.about-badge-num span {
    color: var(--red);
}
.about-badge-label {
    font-size: 12px;
    color: var(--gray-light);
    letter-spacing: 0.04em;
}

/* Red accent stripe on about visual */
.about-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    z-index: 1;
}

.about-visual-rp {
    background: linear-gradient(
        135deg,
        #1a0f0a 0%,
        #2d1f10 30%,
        #1c1c1e 70%,
        #0a0a0a 100%
    ) !important;
}

.about-visual-lh {
    background: linear-gradient(
        135deg,
        #0a0a1a 0%,
        #10182d 30%,
        #1c1c1e 70%,
        #0a0a0a 100%
    ) !important;
}

.about-visual-jd {
    background: linear-gradient(
        135deg,
        #0a1a0a 0%,
        #102d10 30%,
        #1c1c1e 70%,
        #0a0a0a 100%
    ) !important;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-content .eyebrow {
    color: var(--red);
}

.about-content .section-title {
    color: var(--off-white);
}

.about-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-light);
}

.about-content p strong {
    color: var(--white);
    font-weight: 700;
}

.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 24px;
}

.timeline-item {
    position: relative;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--off-black);
    border: 2px solid var(--red);
}

.timeline-year {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.08em;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 14px;
    color: var(--gray-mid);
    line-height: 1.5;
}

.company-ids {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 34px 40px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.company-ids-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-right: 8px;
}
.company-id {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.company-id-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-mid);
}
.company-id-value {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
PARTNERS TICKER
───────────────────────────────────────── */
.partners-section {
    background: #0a0a0a;
    padding: 100px 0 0;
    position: relative;
    border-top: 1px solid rgba(196, 23, 23, 0.3);
}

/* faint red top glow */
.partners-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background: radial-gradient(
        ellipse 70% 100% at 50% 0%,
        rgba(196, 23, 23, 0.12) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.partners-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 24px;
    padding: 0 40px;
    position: relative;
}

.partners-header .section-title {
    color: var(--white);
}

.partners-header p {
    font-size: 17px;
    color: var(--off-white);
    margin-top: 14px;
    line-height: 1.65;
}

/* ── Partners stats strip ── */
.partners-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 36px auto 52px;
    padding: 0 40px;
}
.pstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.pstat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pstat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}
.pstat-div {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ── Partnership benefits row ── */
.partners-benefits {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 0 auto 64px;
    padding: 0 40px;
    position: relative;
}
.pb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 28px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.pb-item:last-child {
    border-right: none;
}
.pb-icon {
    font-size: 22px;
    margin-bottom: 2px;
}
.pb-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.pb-text p {
    font-size: 12px;
    color: var(--gray-mid);
    line-height: 1.55;
    margin: 0;
}

/* ── Partners editorial block ── */
.partners-editorial {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    max-width: 1080px;
    margin: 0 auto 80px;
    padding: 0 40px;
    position: relative;
}
.pe-left {
    padding: 0 56px 0 0;
    border-right: 1px solid rgba(196, 23, 23, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pe-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: 18px;
}
.pe-statement {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.03em;
}
.pe-statement em {
    font-style: normal;
    color: var(--red);
}
.pe-right {
    padding: 0 0 0 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.pe-right p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin: 0;
}
.pe-right p strong {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

/* ── Ticker ── */
.ticker-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    isolation: isolate; /* new stacking context so z-index:10 masks are definitely on top */
}

/* Fade masks — real elements so they sit above the GPU-composited ticker layer */
.ticker-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}
.ticker-fade-l {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}
.ticker-fade-r {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.ticker-row-inner {
    display: flex;
    width: max-content;
    padding: 16px 0;
    will-change: transform;
}

/* Row 1: 9 chips × 220px = 1980px  |  Row 2: 7 chips × 220px = 1540px */
.ticker-row-inner.left {
    animation: tl 32s linear infinite;
}
.ticker-row-inner.right {
    animation: tr 28s linear infinite;
}
.ticker-wrap:hover .ticker-row-inner {
    animation-play-state: paused;
}

@keyframes tl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-1760px);
    }
}
@keyframes tr {
    from {
        transform: translateX(-1760px);
    }
    to {
        transform: translateX(0);
    }
}

.brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 32px;
    height: 160px;
    width: 200px;
    flex-shrink: 0;
    flex-grow: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition:
        background 0.25s,
        border-color 0.25s,
        transform 0.25s;
    cursor: default;
    margin-right: 20px; /* trailing space on every chip — makes seam seamless */
}
.brand-chip:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(196, 23, 23, 0.4);
    transform: translateY(-3px);
}

.chip-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.45;
    transition: opacity 0.25s;
    flex-shrink: 0;
}
.brand-chip:hover .chip-logo {
    opacity: 1;
}

/* ─────────────────────────────────────────
CTA SECTION
───────────────────────────────────────── */
.cta-section {
    background: var(--red);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    mask-image: radial-gradient(
        ellipse 100% 100% at 50% 50%,
        black 0%,
        transparent 80%
    );
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: var(--red);
    font-size: 15px;
    font-weight: 700;
    border-radius: 980px;
    letter-spacing: -0.01em;
    transition:
        transform 0.15s,
        box-shadow 0.2s;
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 980px;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s;
    backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─────────────────────────────────────────
CONTACT STRIP
───────────────────────────────────────── */
.contact-strip {
    background: var(--off-black);
    padding: 56px 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
}

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

.contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-mid);
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color 0.2s;
}
.contact-value:hover {
    color: var(--red);
}

.contact-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* ─────────────────────────────────────────
FOOTER
───────────────────────────────────────── */
footer {
    background: var(--black);
    padding: 60px 40px 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: block;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-mid);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.social-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-light);
    transition:
        background 0.2s,
        color 0.2s;
}
.social-btn:hover {
    background: var(--red);
    color: #fff;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-mid);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li a {
    font-size: 14px;
    color: var(--gray-light);
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.footer-col li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: var(--gray-mid);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
}
.footer-legal a {
    font-size: 13px;
    color: var(--gray-mid);
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--white);
}

/* ─────────────────────────────────────────
ANIMATIONS
───────────────────────────────────────── */
[data-reveal] {
    transition:
        opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

/* Only hide elements once JS has confirmed it will drive the animation */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

[data-reveal].visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
[data-reveal][data-delay="1"] {
    transition-delay: 0.1s;
}
[data-reveal][data-delay="2"] {
    transition-delay: 0.2s;
}
[data-reveal][data-delay="3"] {
    transition-delay: 0.3s;
}
[data-reveal][data-delay="4"] {
    transition-delay: 0.4s;
}
[data-reveal][data-delay="5"] {
    transition-delay: 0.5s;
}

/* ─────────────────────────────────────────
CERTIFICATIONS STRIP
───────────────────────────────────────── */
.certs-strip {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
}

.certs-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 40px;
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

.cert-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.cert-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
}

.cert-sub {
    font-size: 12px;
    color: var(--gray-mid);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

.cert-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────
RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-section {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-visual {
        aspect-ratio: 16/9;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding: 100px 24px 72px;
    }
    .section {
        padding: 72px 24px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-inner {
        flex-direction: column;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 24px 40px;
    }
    .contact-strip {
        flex-direction: column;
        gap: 28px;
    }
    .contact-divider {
        display: none;
    }
    .certs-inner {
        flex-direction: column;
    }
    .cert-divider {
        display: none;
    }
    .cert-item {
        padding: 18px 24px;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────
THEME TOGGLE + LIGHT MODE
───────────────────────────────────────── */
.theme-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0 4px 0 0;
    cursor: pointer;
    color: var(--gray-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition:
        color 0.2s,
        transform 0.2s;
}
.theme-toggle:hover {
    color: var(--white);
    transform: scale(1.1);
}
.theme-toggle svg {
    width: 16px;
    height: 16px;
}
.theme-toggle .icon-sun {
    display: none;
}
html.light .theme-toggle .icon-moon {
    display: none;
}
html.light .theme-toggle .icon-sun {
    display: block;
}

/* Global light-mode surface + text */
html.light body {
    background: #ffffff;
    color: #1c1c1e;
}

/* Nav */
html.light nav,
html.light nav.dark {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
html.light nav .nav-logo,
html.light nav.dark .nav-logo {
    color: #0a0a0a;
}
html.light nav .nav-logo-img,
html.light nav.dark .nav-logo-img {
    filter: none;
}
html.light .nav-links a,
html.light nav.dark .nav-links a {
    color: var(--gray-dark);
}
html.light .nav-links a:hover,
html.light nav.dark .nav-links a:hover {
    color: #0a0a0a;
}

/* Stats bar */
html.light .stats-bar {
    background: #f5f5f7;
    border-top-color: rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.light .stat-item {
    border-right-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
html.light .stat-num {
    color: #0a0a0a;
}

/* Products section */
html.light .products-section {
    background: #ffffff;
}
html.light .products-header h2 {
    color: #0a0a0a;
}

/* Industries section */
html.light .industries-section {
    background: #f5f5f7;
}
html.light .section-title.light {
    color: #0a0a0a;
}
html.light .section-body.light {
    color: var(--gray-mid);
}
html.light .industries-grid {
    background: rgba(0, 0, 0, 0.08);
}
html.light .industry-card {
    background: #ffffff;
}
html.light .industry-card:hover {
    background: #fafafa;
}
html.light .industry-name {
    color: #0a0a0a;
}

/* About section (overrides inline style) */
html.light #about {
    background: #ffffff !important;
}
html.light .about-content .section-title {
    color: #0a0a0a;
}
html.light .about-content p {
    color: var(--gray-dark);
}
html.light .about-content p strong {
    color: #0a0a0a;
}
html.light .about-timeline {
    border-left-color: rgba(0, 0, 0, 0.1);
}
html.light .timeline-item {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.light .timeline-item::before {
    background: #ffffff;
}
html.light .timeline-text {
    color: var(--gray-mid);
}
html.light .company-ids {
    border-top-color: rgba(0, 0, 0, 0.1);
}
html.light .company-id-value {
    color: #0a0a0a;
}
html.light .about-arrow {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
    color: var(--gray-dark);
}
html.light .about-arrow:hover {
    color: #ffffff;
}
html.light .about-dot {
    border-color: rgba(0, 0, 0, 0.25);
}

/* Partners section */
html.light .partners-section {
    background: #ffffff;
}
html.light .partners-header .section-title {
    color: #0a0a0a;
}
html.light .partners-header p {
    color: var(--gray-dark);
}
html.light .pstat-div {
    background: rgba(0, 0, 0, 0.1);
}
html.light .pb-item {
    border-right-color: rgba(0, 0, 0, 0.08);
}
html.light .pb-text strong {
    color: #0a0a0a;
}
html.light .pe-statement {
    color: #0a0a0a;
}
html.light .pe-right p {
    color: rgba(0, 0, 0, 0.65);
}
html.light .pe-right p strong {
    color: rgba(0, 0, 0, 0.9);
}
html.light .ticker-wrap {
    border-top-color: rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.light .ticker-fade-l {
    background: linear-gradient(to right, #ffffff, transparent);
}
html.light .ticker-fade-r {
    background: linear-gradient(to left, #ffffff, transparent);
}
html.light .brand-chip {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}
html.light .brand-chip:hover {
    background: rgba(0, 0, 0, 0.06);
}
html.light .chip-logo {
    filter: brightness(0);
    opacity: 0.55;
}

/* Contact strip */
html.light .contact-strip {
    background: #f5f5f7;
}
html.light .contact-value {
    color: #0a0a0a;
}
html.light .contact-divider {
    background: rgba(0, 0, 0, 0.1);
}

/* Certs strip */
html.light .certs-strip {
    background: #ffffff;
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Footer */
html.light footer {
    background: #f5f5f7;
}
html.light .footer-logo-img {
    filter: none;
}
html.light .footer-tagline {
    color: var(--gray-dark);
}
html.light .social-btn {
    background: rgba(0, 0, 0, 0.06);
    color: var(--gray-dark);
}
html.light .social-btn:hover {
    color: #fff;
}
html.light .footer-col li a {
    color: var(--gray-dark);
}
html.light .footer-col li a:hover {
    color: #0a0a0a;
}
html.light .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}
html.light .footer-legal a:hover {
    color: #0a0a0a;
}
html.light .theme-toggle:hover {
    color: #0a0a0a;
}

/* ─────────────────────────────────────────
SIGN UP MODAL
───────────────────────────────────────── */

/* Reset nav-cta button appearance since it's now a <button> */
button.nav-cta {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

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

.nav-signin {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-dark);
    letter-spacing: -0.01em;
    padding: 7px 14px;
    cursor: pointer;
    border-radius: 980px;
    transition:
        color 0.2s,
        background 0.2s;
}
.nav-signin:hover {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
}
nav.dark .nav-signin {
    color: var(--gray-light);
}
nav.dark .nav-signin:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
html.light .nav-signin,
html.light nav.dark .nav-signin {
    color: var(--gray-dark);
}
html.light .nav-signin:hover,
html.light nav.dark .nav-signin:hover {
    color: #0a0a0a;
    background: rgba(0, 0, 0, 0.04);
}

.signup-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.75s;
}
.signup-modal.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s linear 0s;
}

.signup-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            ellipse 80% 60% at 50% 40%,
            rgba(196, 23, 23, 0) 0%,
            transparent 65%
        ),
        rgba(6, 6, 8, 0);
    backdrop-filter: blur(0px) saturate(100%);
    -webkit-backdrop-filter: blur(0px) saturate(100%);
    cursor: pointer;
    transition:
        background 0.65s var(--ease-out),
        backdrop-filter 0.75s var(--ease-out),
        -webkit-backdrop-filter 0.75s var(--ease-out);
}
.signup-modal.is-open .signup-backdrop {
    background: radial-gradient(
            ellipse 80% 60% at 50% 40%,
            rgba(196, 23, 23, 0.18) 0%,
            transparent 65%
        ),
        rgba(6, 6, 8, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.signup-dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    width: 100%;
    max-width: 1040px;
    max-height: calc(100vh - 48px);
    background: var(--off-black);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 20px 40px -10px rgba(196, 23, 23, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.45s var(--ease-out),
        opacity 0.35s var(--ease-out);
}
.signup-modal.is-open .signup-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.signup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.15s,
        border-color 0.2s;
}
.signup-close:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: rotate(90deg);
}

/* ── Brand (left) panel ── */
.signup-brand {
    position: relative;
    padding: 44px 40px;
    background:
        linear-gradient(
            155deg,
            #1a0707 0%,
            #0f0606 40%,
            #080808 100%
        );
    color: #fff;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.signup-brand-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 44px 44px;
    mask-image: radial-gradient(
        ellipse 80% 70% at 30% 30%,
        black 10%,
        transparent 90%
    );
    pointer-events: none;
}

.signup-brand-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(
        circle,
        rgba(196, 23, 23, 0.4) 0%,
        transparent 60%
    );
    filter: blur(40px);
    pointer-events: none;
}

.signup-brand-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 540px;
}

.signup-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 44px;
}
.signup-brand-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}
.signup-brand-wordmark {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: #fff;
}
.signup-brand-wordmark span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.signup-brand-headline {
    flex: 1;
}
.signup-brand-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    padding: 6px 12px;
    background: rgba(196, 23, 23, 0.14);
    border: 1px solid rgba(196, 23, 23, 0.3);
    border-radius: 980px;
    margin-bottom: 20px;
}
.signup-brand-headline h3 {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 14px;
}
.signup-brand-headline h3 em {
    font-style: normal;
    color: var(--red);
    position: relative;
}
.signup-brand-headline p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    max-width: 340px;
}

.signup-brand-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.signup-brand-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -0.005em;
}
.signup-brand-bullet {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(196, 23, 23, 0.35);
}

.signup-brand-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.signup-brand-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

/* ── Form (right) panel ── */
.signup-form-panel {
    padding: 48px 44px;
    background: #fafafa;
    color: var(--black);
    overflow-y: auto;
    max-height: calc(100vh - 48px);
}

.signup-form-header {
    margin-bottom: 28px;
}
.signup-form-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}
.signup-form-header h2 {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--black);
    margin-bottom: 10px;
}
.signup-form-header p {
    font-size: 13px;
    color: var(--gray-mid);
}

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

.signup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.signup-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.signup-field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--gray-dark);
}
.signup-field input,
.signup-select select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--black);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}
.signup-field input::placeholder {
    color: var(--gray-light);
}
.signup-field input:hover,
.signup-select select:hover {
    border-color: rgba(0, 0, 0, 0.2);
}
.signup-field input:focus,
.signup-select select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(196, 23, 23, 0.12);
    background: #fff;
}

.signup-select {
    position: relative;
}
.signup-select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    cursor: pointer;
}
.signup-select-caret {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--gray-mid);
    pointer-events: none;
}

.signup-hint {
    font-size: 11px;
    color: var(--gray-mid);
    margin-top: 2px;
    line-height: 1.4;
}

.signup-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin-top: 4px;
}
.signup-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.signup-check-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.signup-check-box svg {
    opacity: 0;
    transform: scale(0.6);
    transition:
        opacity 0.15s,
        transform 0.15s;
}
.signup-check input:checked + .signup-check-box {
    background: var(--red);
    border-color: var(--red);
}
.signup-check input:checked + .signup-check-box svg {
    opacity: 1;
    transform: scale(1);
}
.signup-check input:focus-visible + .signup-check-box {
    box-shadow: 0 0 0 4px rgba(196, 23, 23, 0.2);
}
.signup-check-text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--gray-dark);
}
.signup-check-text a {
    color: var(--black);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transition: border-color 0.15s;
}
.signup-check-text a:hover {
    border-bottom-color: var(--red);
    color: var(--red);
}

.signup-error {
    margin-top: 4px;
    padding: 10px 12px;
    background: rgba(196, 23, 23, 0.08);
    border: 1px solid rgba(196, 23, 23, 0.28);
    border-radius: 9px;
    font-size: 13px;
    color: var(--red-dark);
    line-height: 1.4;
}
.signup-error[hidden] {
    display: none;
}

.signup-submit {
    margin-top: 8px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow:
        0 6px 16px -4px rgba(196, 23, 23, 0.45),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}
.signup-submit:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px -6px rgba(196, 23, 23, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}
.signup-submit:active {
    transform: translateY(0);
}
.signup-submit svg {
    transition: transform 0.2s;
}
.signup-submit:hover svg {
    transform: translateX(3px);
}

.signup-alt {
    text-align: center;
    font-size: 13px;
    color: var(--gray-mid);
    margin-top: 4px;
}
.signup-alt a,
.signup-link-btn {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: var(--black);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transition:
        color 0.15s,
        border-color 0.15s;
}
.signup-alt a:hover,
.signup-link-btn:hover {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* ── Sign In form additions ── */
.signup-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.signup-forgot {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--gray-mid);
    transition: color 0.15s;
}
.signup-forgot:hover {
    color: var(--red);
}

.signup-password {
    position: relative;
}
.signup-password input {
    padding-right: 44px;
}
.signup-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--gray-mid);
    cursor: pointer;
    border-radius: 8px;
    transition:
        color 0.15s,
        background 0.15s;
}
.signup-password-toggle:hover {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
}
.signup-password-toggle .icon-eye-off {
    display: none;
}
.signup-password-toggle.is-visible .icon-eye {
    display: none;
}
.signup-password-toggle.is-visible .icon-eye-off {
    display: block;
}

.signup-check-small .signup-check-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}
.signup-check-small .signup-check-text {
    font-size: 12px;
    color: var(--gray-mid);
}

.signup-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-light);
}
.signup-divider::before,
.signup-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.signup-sso {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: var(--black);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.15s;
}
.signup-sso:hover {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}
.signup-sso:active {
    transform: translateY(0);
}

/* Lock background scroll when open */
body.signup-open {
    overflow: hidden;
}

/* ── Light mode tweaks (dialog chrome stays dark for brand impact) ── */
html.light .signup-form-panel {
    background: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .signup-modal {
        padding: 0;
        align-items: flex-end;
    }
    .signup-dialog {
        grid-template-columns: 1fr;
        max-width: 100%;
        max-height: 94vh;
        border-radius: 24px 24px 0 0;
        overflow-y: auto;
    }
    .signup-brand {
        padding: 32px 28px;
    }
    .signup-brand-inner {
        min-height: auto;
    }
    .signup-brand-top {
        margin-bottom: 28px;
    }
    .signup-brand-headline h3 {
        font-size: 26px;
    }
    .signup-brand-list {
        margin: 24px 0 20px;
    }
    .signup-form-panel {
        padding: 36px 28px 40px;
        max-height: none;
    }
    .signup-form-header h2 {
        font-size: 24px;
    }
}

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

/* ─────────────────────────────────────────
ACCOUNT / ADMIN HAMBURGER MENU
───────────────────────────────────────── */
.nav-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu-btn {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-dark);
    transition:
        background 0.18s var(--ease),
        color 0.18s var(--ease),
        transform 0.18s var(--ease);
    position: relative;
    z-index: 102;
}
.nav-menu-btn[hidden] {
    display: none;
}
.nav-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--black);
}
.nav-menu-btn:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
nav.dark .nav-menu-btn {
    color: var(--gray-light);
}
nav.dark .nav-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
html.light .nav-menu-btn,
html.light nav.dark .nav-menu-btn {
    color: var(--gray-dark);
}
html.light .nav-menu-btn:hover,
html.light nav.dark .nav-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0a0a0a;
}

.nav-menu-bars {
    position: relative;
    width: 18px;
    height: 12px;
    display: inline-block;
}
.nav-menu-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition:
        transform 0.25s var(--ease),
        opacity 0.2s var(--ease),
        top 0.25s var(--ease);
}
.nav-menu-bars span:nth-child(1) { top: 0; }
.nav-menu-bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-menu-bars span:nth-child(3) { top: 100%; transform: translateY(-100%); }

.nav-menu-btn[aria-expanded="true"] .nav-menu-bars span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-bars span:nth-child(2) {
    opacity: 0;
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-bars span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.nav-menu-panel {
    position: fixed;
    top: 60px;
    left: 16px;
    z-index: 99;
    width: 260px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 12px 40px -12px rgba(0, 0, 0, 0.25),
        0 2px 8px -2px rgba(0, 0, 0, 0.08);
    transform-origin: top left;
    transform: translateY(-6px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.22s var(--ease),
        opacity 0.18s var(--ease);
}
.nav-menu-panel[hidden] {
    display: none;
}
.nav-menu-panel.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
nav.dark ~ .nav-menu-panel,
.nav-menu-panel.theme-dark {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}
html.light .nav-menu-panel {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 0, 0, 0.08);
}

.nav-menu-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 6px;
}
nav.dark ~ .nav-menu-panel .nav-menu-header,
.nav-menu-panel.theme-dark .nav-menu-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
html.light .nav-menu-panel .nav-menu-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-menu-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-mid);
}
.nav-menu-role {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--black);
}
nav.dark ~ .nav-menu-panel .nav-menu-role,
.nav-menu-panel.theme-dark .nav-menu-role {
    color: #fff;
}
html.light .nav-menu-panel .nav-menu-role {
    color: #0a0a0a;
}

.nav-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--gray-dark);
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.15s var(--ease),
        color 0.15s var(--ease);
}
.nav-menu-item:hover,
.nav-menu-item:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    color: var(--black);
    outline: none;
}
nav.dark ~ .nav-menu-panel .nav-menu-item,
.nav-menu-panel.theme-dark .nav-menu-item {
    color: var(--gray-light);
}
nav.dark ~ .nav-menu-panel .nav-menu-item:hover,
nav.dark ~ .nav-menu-panel .nav-menu-item:focus-visible,
.nav-menu-panel.theme-dark .nav-menu-item:hover,
.nav-menu-panel.theme-dark .nav-menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
html.light .nav-menu-panel .nav-menu-item {
    color: var(--gray-dark);
}
html.light .nav-menu-panel .nav-menu-item:hover,
html.light .nav-menu-panel .nav-menu-item:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    color: #0a0a0a;
}

.nav-menu-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--gray-mid);
}
.nav-menu-item:hover .nav-menu-icon,
.nav-menu-item:focus-visible .nav-menu-icon {
    color: var(--red);
}

.nav-menu-item--danger {
    color: var(--red);
}
.nav-menu-item--danger:hover,
.nav-menu-item--danger:focus-visible {
    background: rgba(196, 23, 23, 0.08);
    color: var(--red);
}
.nav-menu-item--danger .nav-menu-icon {
    color: var(--red);
}

.nav-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 6px 4px;
    border: none;
    list-style: none;
}
nav.dark ~ .nav-menu-panel .nav-menu-divider,
.nav-menu-panel.theme-dark .nav-menu-divider {
    background: rgba(255, 255, 255, 0.08);
}
html.light .nav-menu-panel .nav-menu-divider {
    background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
    .nav-menu-panel {
        left: 12px;
        right: 12px;
        width: auto;
    }
}
