/* ================================================
   TOWQUAD PRO — Commercial Construction Equipment
   Heavy industrial aesthetic. Hard edges. Equipment yellow.
   ================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
strong { font-weight: 600; }

/* --- Custom Properties --- */
:root {
    /* Warm blacks — no blue tint. Like soot, not screens. */
    --bg-deep: #0A0A08;
    --bg-primary: #0F0F0C;
    --bg-secondary: #161613;
    --bg-tertiary: #1E1E1A;
    --bg-card: #131311;
    --bg-card-hover: #1B1B18;

    /* Equipment yellow — warmer and harder than finance gold */
    --accent: #E8A817;
    --accent-bright: #FFB81C;
    --accent-dark: #C48E12;
    --accent-glow: rgba(232, 168, 23, 0.10);
    --accent-glow-strong: rgba(232, 168, 23, 0.25);

    /* Warm neutrals */
    --text-primary: #F0EFEA;
    --text-secondary: #B5B3A8;
    --text-muted: #8A8880;

    --border: #26261F;
    --border-light: #33332A;

    --success: #34D399;
    --danger: #EF4444;

    /* Industrial type stack */
    --font-display: 'Saira Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Texture Overlay: Steel Grain --- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: overlay;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

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

/* Section label — like a spec drawing callout */
.label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

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

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Layout --- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

/* Angled section transitions */
.section-alt::before {
    content: '';
    position: absolute;
    top: -2.5vw;
    left: 0;
    right: 0;
    height: 3vw;
    background: var(--bg-secondary);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-alt::after {
    content: '';
    position: absolute;
    bottom: -2.5vw;
    left: 0;
    right: 0;
    height: 3vw;
    background: var(--bg-secondary);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

/* --- Components: Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #0A0A0A;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-bright);
    box-shadow: 0 4px 24px var(--accent-glow-strong);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    background: var(--accent-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: #0A0A0A;
}

.btn-full {
    width: 100%;
}

/* --- Components: Badges (spec-plate style) --- */
.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid var(--accent);
    border-radius: 2px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(232, 168, 23, 0.06);
    transition: all 0.2s ease;
}

.badge:hover {
    background: rgba(232, 168, 23, 0.14);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 8, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s var(--ease-out-quart);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.78rem;
    padding: 0.55rem 1.4rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

/* Hazard stripe accent — left edge */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        var(--accent) 0,
        var(--accent) 3px,
        transparent 3px,
        transparent 9px
    );
    opacity: 0.4;
    z-index: 2;
}

/* Angular background shape */
.hero-accent {
    position: absolute;
    right: 0;
    top: 0;
    width: 48%;
    height: 100%;
    background: linear-gradient(160deg, rgba(232, 168, 23, 0.03) 0%, transparent 60%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.0;
    font-weight: 900;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.2rem;
}

/* Hero media */
.media-frame {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    aspect-ratio: 16 / 10;
}

/* Hazard stripe on media frame top edge */
.media-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0,
        var(--accent) 8px,
        var(--bg-deep) 8px,
        var(--bg-deep) 16px
    );
    z-index: 5;
}

.hero-video {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.media-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-deep) 100%);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

.fallback-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    z-index: 1;
    text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 36px;
    background: var(--accent);
    opacity: 0.5;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.15; transform: scaleY(0.5); }
    50% { opacity: 0.6; transform: scaleY(1); }
}

/* --- Product --- */
#product {
    text-align: center;
}

.function-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.function-item {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--border-light);
    border-radius: 2px;
    transition: all 0.2s ease;
    background: var(--bg-card);
}

.function-item:hover {
    border-color: var(--accent);
    background: rgba(232, 168, 23, 0.06);
}

.function-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.function-arrow {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    position: relative;
}

.function-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 9px;
    height: 9px;
    border-top: 2.5px solid var(--accent);
    border-right: 2.5px solid var(--accent);
    transform: rotate(45deg);
}

.product-statement {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3.5rem;
}

/* Spec label style */
.feature-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Callout card — industrial panel */
.callout-card {
    max-width: 580px;
    margin: 0 auto;
    padding: 2.8rem;
    border-radius: 3px;
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(232, 168, 23, 0.04) 0%, transparent 50%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hazard stripe on callout left edge */
.callout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        var(--accent) 0,
        var(--accent) 3px,
        transparent 3px,
        transparent 8px
    );
}

.callout-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--accent-bright);
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.callout-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.callout-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.8rem;
    padding: 0.5rem 1rem;
    background: var(--accent-glow);
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Quote — Full gold band. The signature move. --- */
.section-quote {
    background: var(--accent);
    padding: 5.5rem 0;
    position: relative;
    border: none;
}

/* Angled top edge */
.section-quote::before {
    content: '';
    position: absolute;
    top: -2vw;
    left: 0;
    right: 0;
    height: 3vw;
    background: var(--accent);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Angled bottom edge */
.section-quote::after {
    content: '';
    position: absolute;
    bottom: -2vw;
    left: 0;
    right: 0;
    height: 3vw;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

/* Subtle diagonal stripe pattern across quote band */
.section-quote .container {
    position: relative;
    z-index: 1;
}

.quote {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.quote-mark {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 900;
    color: rgba(10, 10, 8, 0.12);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.quote-text {
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: #0A0A08;
    margin-bottom: 1.5rem;
}

.quote-attr {
    font-size: 0.88rem;
    color: rgba(10, 10, 8, 0.6);
    font-weight: 500;
}

.quote-attr strong {
    color: #0A0A08;
    font-weight: 700;
}

/* --- Market --- */
#market {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border-radius: 2px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    transition: all 0.2s ease;
    position: relative;
}

.stat-card:hover {
    border-top-color: var(--accent-bright);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--accent-bright);
    line-height: 1;
    margin-bottom: 0.8rem;
    letter-spacing: 0.01em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.stat-featured .stat-number {
    font-size: clamp(3.2rem, 6vw, 5rem);
}

.market-insight {
    max-width: 740px;
    margin: 0 auto 3rem;
    padding: 2rem 2.5rem;
    background: var(--bg-card);
    border-radius: 2px;
    border-left: 4px solid var(--accent);
    text-align: left;
}

.market-insight p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-small {
    text-align: center;
}

.stat-small-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: 0.02em;
}

.stat-small-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.source {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Patent --- */
#patent {
    position: relative;
    z-index: 2;
}

.patent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 1rem;
}

.patent-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.patent-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.patent-features li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.4rem;
    position: relative;
}

/* Chevron bullet — industrial */
.patent-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--accent);
}

.patent-features li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.patent-card {
    padding: 2.5rem;
    border-radius: 2px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.patent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.patent-card .label {
    margin-bottom: 0.75rem;
}

.patent-card-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.patent-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.patent-id {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.patent-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    margin-top: 0.5rem;
}

.patent-link:hover {
    color: var(--accent-bright);
}

/* --- Timeline --- */
#timeline {
    text-align: center;
}

.timeline {
    max-width: 540px;
    margin: 0 auto 4rem;
    position: relative;
    text-align: left;
}

.timeline-track {
    position: absolute;
    left: 16px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border);
}

.milestone {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
    position: relative;
}

.milestone:last-child {
    padding-bottom: 0;
}

.milestone-node {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transform: rotate(0deg);
}

/* Completed: Solid gold square */
.milestone-done .milestone-node {
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow-strong);
}

.milestone-done .milestone-node::after {
    content: '';
    width: 12px;
    height: 7px;
    border-left: 2.5px solid #0A0A08;
    border-bottom: 2.5px solid #0A0A08;
    transform: rotate(-45deg) translateY(-1px);
}

/* Active: Gold border square, pulsing */
.milestone-active .milestone-node {
    background: transparent;
    border: 2px solid var(--accent);
}

.pulse-ring {
    position: absolute;
    inset: -5px;
    border-radius: 3px;
    border: 1px solid var(--accent);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.25); }
}

/* Upcoming: Gray border square */
.milestone-upcoming .milestone-node {
    background: transparent;
    border: 2px solid var(--border-light);
}

.milestone-content {
    padding-top: 0.4rem;
}

.milestone-status {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--success);
    margin-bottom: 0.3rem;
}

.status-active {
    color: var(--accent);
}

.status-upcoming {
    color: var(--text-muted);
}

.milestone-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Protection card — urgency panel */
.protection-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 2px;
    text-align: center;
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    overflow: hidden;
}

/* Warning stripe on top */
.protection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0,
        var(--accent) 10px,
        #0A0A08 10px,
        #0A0A08 20px
    );
}

.protection-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--accent-bright);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.protection-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.protection-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto;
}

/* --- Contact --- */
#contact {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    padding: 2.5rem;
    border-radius: 2px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.contact-card .label {
    margin-bottom: 0.5rem;
}

.contact-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.6;
    flex: 1;
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2.5rem;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s var(--ease-out-expo);
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

/* Gold accent bar — top left */
.modal-accent {
    position: absolute;
    top: 1.5rem;
    left: 2.5rem;
    width: 48px;
    height: 3px;
    background: var(--accent);
}

.modal-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 2px;
    transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--border);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* --- Modal Form --- */
.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-form .form-group {
    margin-bottom: 1.2rem;
}

.modal-form .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.required {
    color: var(--danger);
    font-weight: 400;
}

.modal-form .form-group input,
.modal-form .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 3px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.modal-form .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23908E82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.modal-form .form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-form .form-group input:focus,
.modal-form .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.modal-form .form-group input.error,
.modal-form .form-group select.error {
    border-color: var(--danger);
}

/* Honeypot field — invisible to humans, bots fill it in */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.form-error-msg {
    font-size: 0.85rem;
    color: var(--danger);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.form-privacy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

/* Modal form success state */
.modal .form-success {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--success);
}

.modal .form-success svg {
    margin: 0 auto 1.2rem;
}

.modal .form-success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal .form-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer .label {
    font-size: 0.68rem;
}

.footer-name {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.footer-detail {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-detail a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.footer-highlight {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.logo-footer .logo-text {
    font-size: 0.75rem;
}

.footer-legal {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s var(--ease-out-expo),
        transform 0.7s var(--ease-out-expo);
}

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

/* Stagger */
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }
.reveal[data-delay="500"] { transition-delay: 0.5s; }

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-accent {
        display: none;
    }

    .media-frame {
        max-width: 580px;
        margin: 0 auto;
    }

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

    .patent-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-alt::before,
    .section-alt::after,
    .section-quote::before,
    .section-quote::after {
        display: none;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 8, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links .nav-link {
        font-size: 1.6rem;
        font-family: var(--font-display);
        font-weight: 700;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .function-flow {
        gap: 0.5rem;
    }

    .function-item {
        padding: 0.6rem 1.2rem;
    }

    .function-arrow {
        width: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-small {
        flex: 1 1 40%;
    }

    .callout-card {
        padding: 2rem;
    }

    .timeline {
        margin-bottom: 3rem;
    }

    .protection-card {
        padding: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .modal {
        padding: 2rem;
        max-height: 95vh;
    }

    .modal-accent {
        left: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

/* --- Responsive: Small Mobile --- */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

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

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

    .function-arrow {
        width: 2px;
        height: 18px;
        transform: rotate(90deg);
    }

    .market-insight {
        padding: 1.5rem;
    }

    .label::before {
        width: 16px;
    }
}

/* --- Focus & Accessibility --- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- Selection --- */
::selection {
    background: var(--accent);
    color: #0A0A08;
}
