/*
 * Rights Clearing House LLC — CONFIDENTIAL AND PROPRIETARY
 * Copyright © 2026 Rights Clearing House LLC. All rights reserved.
 * Unauthorized copying, distribution, or modification is strictly prohibited.
 * Patent pending.
 */

/* ==========================================================================
   TABLE OF CONTENTS
   1. Custom Properties
   2. Reset & Base
   3. Layout — Nav
   4. Layout — Hero
   5. Layout — Sections
   6. Components — Buttons
   7. Components — Product Cards
   8. Components — Dev Cards
   9. Section — How It Works
   10. Section — Creators
   11. Section — Investors
   12. Section — About
   13. Section — CTA
   14. Components — Discord Button
   15. Layout — Patent Banner
   16. Layout — Footer
   17. Utilities — Animations
   18. Utilities — Spectrum Line
   19. Responsive — Tablet (900px)
   20. Responsive — Mobile (600px)
   21. Responsive — Small Mobile (380px)
   22. Responsive — Touch / Accessibility
   23. Responsive — Landscape Phone
   24. Responsive — Reduced Motion
   ========================================================================== */

/* ==========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Brand colors */
    --color-bg:         #070B14;
    --color-white:      #fff;
    --color-blue:       #007AFF;
    --color-indigo:     #5856D6;
    --color-purple:     #AF52DE;
    --color-green:      #34C759;
    --color-orange:     #FF9500;
    --color-red:        #FF3B30;
    --color-yellow:     #FFCC00;
    --color-pink:       #FF2D55;
    --color-discord:    #5865F2;

    /* RGB triplets for rgba() usage */
    --rgb-blue:         0,122,255;
    --rgb-indigo:       88,86,214;
    --rgb-purple:       175,82,222;
    --rgb-green:        52,199,89;
    --rgb-orange:       255,149,0;
    --rgb-red:          255,59,48;
    --rgb-yellow:       255,204,0;
    --rgb-pink:         255,45,85;
    --rgb-white:        255,255,255;
    --rgb-discord:      88,101,242;

    /* Gradients */
    --gradient-spectrum: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-yellow), var(--color-green), var(--color-blue), var(--color-indigo), var(--color-purple));
    --gradient-cta:      linear-gradient(135deg, var(--color-blue) 0%, var(--color-indigo) 100%);
    --gradient-hero-text: linear-gradient(135deg, #FF3B30 0%, #FF9500 20%, #FFCC00 40%, #34C759 55%, #007AFF 70%, #5856D6 85%, #AF52DE 100%);

    /* Typography */
    --font-body:    'DM Sans', sans-serif;
    --font-heading: 'Instrument Sans', sans-serif;

    /* Surfaces */
    --surface-01:      rgba(255,255,255,0.02);
    --surface-015:     rgba(255,255,255,0.015);
    --surface-03:      rgba(255,255,255,0.03);
    --surface-04:      rgba(255,255,255,0.04);
    --surface-05:      rgba(255,255,255,0.05);
    --surface-06:      rgba(255,255,255,0.06);
    --surface-10:      rgba(255,255,255,0.1);

    /* Borders */
    --border-subtle:   1px solid rgba(255,255,255,0.06);
    --border-light:    1px solid rgba(255,255,255,0.1);

    /* Text opacity levels */
    --text-primary:    #fff;
    --text-80:         rgba(255,255,255,0.8);
    --text-70:         rgba(255,255,255,0.7);
    --text-55:         rgba(255,255,255,0.55);
    --text-50:         rgba(255,255,255,0.5);
    --text-45:         rgba(255,255,255,0.45);
    --text-40:         rgba(255,255,255,0.4);
    --text-35:         rgba(255,255,255,0.35);
    --text-30:         rgba(255,255,255,0.3);
    --text-25:         rgba(255,255,255,0.25);

    /* Layout */
    --max-width:       1280px;
    --section-padding: 120px clamp(24px, 5vw, 80px);
    --nav-height:      72px;

    /* Transitions */
    --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
}

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}
::selection { background: rgba(var(--rgb-blue), 0.3); color: var(--color-white); }

/* ==========================================================================
   3. LAYOUT — NAV
   ========================================================================== */

nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.4s var(--ease-out-expo);
    padding: 0 clamp(24px, 5vw, 80px);
}
nav.scrolled {
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--surface-06);
}
.nav-inner {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: auto; min-height: var(--nav-height);
    padding: 10px 0;
    transition: all 0.4s var(--ease-out-expo);
}
nav.scrolled .nav-inner {
    height: var(--nav-height); min-height: auto;
    padding: 0;
}
.nav-logo { cursor: pointer; }
.nav-logo img {
    height: 200px; width: auto; object-fit: contain;
    transition: height 0.4s var(--ease-out-expo);
}
nav.scrolled .nav-logo img { height: 52px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    background: none; border: none; cursor: pointer;
    font-family: var(--font-body); font-size: 14px; font-weight: 500;
    color: var(--text-55); transition: color 0.2s; letter-spacing: 0.01em;
    text-decoration: none; padding: 4px 0;
    border-bottom: 1.5px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--color-white);
    border-bottom-color: rgba(var(--rgb-blue), 0.6);
}
.nav-cta {
    background: var(--gradient-cta) !important;
    border: none !important; border-radius: 8px !important; padding: 9px 22px !important;
    color: var(--color-white) !important; font-family: var(--font-body) !important;
    font-size: 14px !important; font-weight: 600 !important;
    cursor: pointer; letter-spacing: 0.01em;
    box-shadow: 0 2px 12px rgba(var(--rgb-blue), 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(var(--rgb-blue), 0.4);
}

.hamburger {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
    flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-white); }

/* ==========================================================================
   4. LAYOUT — HERO
   ========================================================================== */

.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 280px clamp(24px, 5vw, 80px) 80px;
    position: relative; overflow: hidden;
}
.hero-glow-1 {
    position: absolute; top: -30%; right: -20%; width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(var(--rgb-blue), 0.08) 0%, rgba(var(--rgb-indigo), 0.04) 40%, transparent 70%);
    border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-glow-2 {
    position: absolute; bottom: -10%; left: -15%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(var(--rgb-purple), 0.06) 0%, transparent 60%);
    border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.hero-content { max-width: 900px; text-align: center; position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(var(--rgb-blue), 0.08); border: 1px solid rgba(var(--rgb-blue), 0.15);
    border-radius: 100px; padding: 6px 16px 6px 12px; margin-bottom: 32px;
}
.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--color-green);
    box-shadow: 0 0 8px rgba(var(--rgb-green), 0.5); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero-badge span {
    font-family: var(--font-body); font-size: 13px; color: var(--text-70); font-weight: 500;
}

.hero h1 {
    font-family: var(--font-heading); font-size: clamp(42px, 6.5vw, 76px); font-weight: 700;
    line-height: 1.05; letter-spacing: -0.035em; color: var(--color-white); margin: 0 0 24px;
}
.hero h1 .gradient-text {
    background: var(--gradient-hero-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-family: var(--font-body); font-size: clamp(17px, 2vw, 20px); line-height: 1.65;
    color: var(--text-50); max-width: 620px; margin: 0 auto 44px; min-height: 90px;
}
.rotating-text {
    display: block; transition: opacity 0.6s ease, transform 0.6s ease;
}
.rotating-text.hidden { opacity: 0; transform: translateY(8px); }

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Stats bar */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    max-width: 900px; width: 100%; margin-top: 80px;
    background: var(--surface-04); border-radius: 16px;
    border: var(--border-subtle); overflow: hidden;
}
.stat-item {
    padding: 28px 24px; text-align: center;
    border-right: 1px solid var(--surface-06);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-family: var(--font-heading); font-size: 28px; font-weight: 700;
    color: var(--color-white); letter-spacing: -0.02em;
}
.stat-label {
    font-family: var(--font-body); font-size: 13px; color: var(--text-40);
    margin-top: 4px; font-weight: 500;
}

/* ==========================================================================
   5. LAYOUT — SECTIONS
   ========================================================================== */

.section {
    max-width: var(--max-width); margin: 0 auto;
    padding: var(--section-padding); position: relative;
}
.section-header { max-width: 600px; margin-bottom: 64px; }
.section-header.centered {
    max-width: 700px; margin-left: auto; margin-right: auto; text-align: center;
}
.section h2 {
    font-family: var(--font-heading); font-size: clamp(32px, 4vw, 48px);
    font-weight: 700; color: var(--color-white); letter-spacing: -0.03em;
    margin: 20px 0 16px; line-height: 1.1;
}
.section .section-desc {
    font-family: var(--font-body); font-size: 17px; line-height: 1.65;
    color: var(--text-45);
}

/* ==========================================================================
   6. COMPONENTS — BUTTONS
   ========================================================================== */

.btn-primary {
    background: var(--color-white); border: none; border-radius: 10px; padding: 14px 32px;
    color: var(--color-bg); font-family: var(--font-body); font-size: 16px; font-weight: 600;
    cursor: pointer; letter-spacing: -0.01em; text-decoration: none;
    box-shadow: 0 2px 20px rgba(var(--rgb-white), 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(var(--rgb-white), 0.2);
}
.btn-ghost {
    background: var(--surface-06); border: var(--border-light);
    border-radius: 10px; padding: 14px 32px;
    color: var(--text-80); font-family: var(--font-body); font-size: 16px; font-weight: 500;
    cursor: pointer; letter-spacing: -0.01em; text-decoration: none;
    transition: all 0.2s;
}
.btn-ghost:hover {
    background: var(--surface-10);
    border-color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   7. COMPONENTS — PRODUCT CARDS
   ========================================================================== */

.products-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; margin-bottom: 20px;
}
.product-card {
    background: var(--surface-01); border: 1px solid var(--surface-06);
    border-radius: 20px; padding: 40px 36px; position: relative; overflow: hidden;
    transition: all 0.4s var(--ease-out-expo); cursor: default;
}
.product-card:hover { background: var(--surface-05); }
.product-card .card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; font-size: 24px;
    background: rgba(var(--card-rgb), 0.08);
    border: 1px solid rgba(var(--card-rgb), 0.13);
}
.product-card .card-label {
    font-family: var(--font-body); font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
    color: var(--card-color);
}
.product-card h3 {
    font-family: var(--font-heading); font-size: 24px; font-weight: 700;
    color: var(--color-white); letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.2;
}
.product-card .card-desc {
    font-family: var(--font-body); font-size: 15px; line-height: 1.65;
    color: var(--text-45); margin: 0 0 28px;
}
.product-card .feature-item {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.product-card .feature-dot {
    width: 5px; height: 5px; border-radius: 50%; opacity: 0.7; flex-shrink: 0;
    background: var(--card-color);
}
.product-card .feature-text {
    font-family: var(--font-body); font-size: 13.5px; color: var(--text-55); font-weight: 450;
}

/* Product card hover — border color via CSS */
.product-card:hover { border-color: rgba(var(--card-rgb), 0.33); }

/* Product card color variants */
.product-card--cataloging { --card-color: var(--color-indigo); --card-rgb: var(--rgb-indigo); }
.product-card--pricing    { --card-color: var(--color-blue);   --card-rgb: var(--rgb-blue); }
.product-card--licensing  { --card-color: var(--color-green);  --card-rgb: var(--rgb-green); }
.product-card--protect    { --card-color: var(--color-orange); --card-rgb: var(--rgb-orange); }
.product-card--ip-protect { --card-color: var(--color-pink);   --card-rgb: var(--rgb-pink); }

/* ==========================================================================
   8. COMPONENTS — DEV CARDS
   ========================================================================== */

.dev-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.dev-card {
    background: var(--surface-015); border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 20px; padding: 28px 36px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.dev-card-inner { display: flex; align-items: center; gap: 16px; width: 100%; }
.dev-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
    background: rgba(var(--dev-rgb), 0.06);
    border: 1px solid rgba(var(--dev-rgb), 0.09);
}
.dev-card-title {
    font-family: var(--font-heading); font-size: 17px; font-weight: 700;
    color: var(--text-50); margin-bottom: 4px;
}
.dev-card-desc {
    font-family: var(--font-body); font-size: 14px; color: var(--text-35); line-height: 1.5;
}
.dev-badge {
    font-family: var(--font-body); font-size: 11px; font-weight: 600;
    border-radius: 100px; padding: 3px 14px; letter-spacing: 0.04em; white-space: nowrap;
    color: var(--dev-color);
    background: rgba(var(--dev-rgb), 0.07);
    border: 1px solid rgba(var(--dev-rgb), 0.15);
}

/* Dev card color variants */
.dev-card--visum     { --dev-color: var(--color-blue);   --dev-rgb: var(--rgb-blue); }
.dev-card--ipex      { --dev-color: var(--color-purple); --dev-rgb: var(--rgb-purple); }
.dev-card--ai-detect { --dev-color: var(--color-yellow); --dev-rgb: var(--rgb-yellow); }

/* ==========================================================================
   9. SECTION — HOW IT WORKS
   ========================================================================== */

.how-section {
    padding: 100px clamp(24px, 5vw, 80px);
    max-width: var(--max-width); margin: 0 auto;
}
.how-section h2 {
    font-family: var(--font-heading); font-size: clamp(32px, 4vw, 44px);
    font-weight: 700; color: var(--color-white); letter-spacing: -0.03em;
    margin: 0 0 16px; text-align: center;
}
.steps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    position: relative; margin-top: 64px;
}
.steps-line {
    position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-indigo), var(--color-purple), var(--color-orange));
    opacity: 0.3;
}
.step-item { text-align: center; padding: 0 20px; position: relative; }
.step-circle {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; position: relative; z-index: 1;
    background: rgba(var(--step-rgb), 0.08);
    border: 2px solid rgba(var(--step-rgb), 0.25);
}
.step-circle span {
    font-family: var(--font-heading); font-weight: 700; font-size: 16px;
    color: var(--step-color);
}
.step-item h3 {
    font-family: var(--font-heading); font-size: 20px; font-weight: 700;
    color: var(--color-white); margin: 0 0 10px; letter-spacing: -0.01em;
}
.step-item p {
    font-family: var(--font-body); font-size: 14px; line-height: 1.65;
    color: var(--text-40); margin: 0;
}

/* Step color variants */
.step-item--create  { --step-color: var(--color-blue);   --step-rgb: var(--rgb-blue); }
.step-item--catalog { --step-color: var(--color-indigo); --step-rgb: var(--rgb-indigo); }
.step-item--license { --step-color: var(--color-purple); --step-rgb: var(--rgb-purple); }
.step-item--earn    { --step-color: var(--color-orange); --step-rgb: var(--rgb-orange); }

/* ==========================================================================
   10. SECTION — CREATORS
   ========================================================================== */

.section-content { position: relative; }

.section-bg-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--rgb-blue), 0.03) 50%, transparent 100%);
}

.creators-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.creator-benefit { display: flex; gap: 16px; margin-bottom: 24px; }
.creator-check {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; margin-top: 2px;
    background: rgba(var(--rgb-green), 0.1); border: 1px solid rgba(var(--rgb-green), 0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--color-green);
}
.creator-benefit-title {
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    color: var(--color-white); margin-bottom: 3px;
}
.creator-benefit-desc {
    font-family: var(--font-body); font-size: 14px; color: var(--text-40); line-height: 1.5;
}
.creator-types {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.creator-type {
    background: var(--surface-03); border: var(--border-subtle);
    border-radius: 14px; padding: 24px 20px; text-align: center;
    transition: all 0.3s; cursor: default;
}
.creator-type:hover { background: var(--surface-06); }
.creator-type .emoji { font-size: 32px; margin-bottom: 10px; }
.creator-type .type-name {
    font-family: var(--font-body); font-size: 14px; font-weight: 600;
    color: var(--text-70);
}

/* Creators section-specific spacing */
.creators-section-desc {
    margin: 0 0 36px;
}

/* ==========================================================================
   11. SECTION — INVESTORS
   ========================================================================== */

.investor-metrics {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px;
}
.metric-card {
    background: var(--surface-01); border: var(--border-subtle);
    border-radius: 16px; padding: 36px 32px; text-align: center;
}
.metric-value {
    font-family: var(--font-heading); font-size: 32px; font-weight: 700;
    letter-spacing: -0.02em; margin-bottom: 8px;
}
.metric-value--blue   { color: var(--color-blue); }
.metric-value--indigo { color: var(--color-indigo); }
.metric-value--purple { color: var(--color-purple); }

.metric-label {
    font-family: var(--font-body); font-size: 14px; color: var(--text-40); font-weight: 500;
}
.regulatory-box {
    background: var(--surface-01); border: var(--border-subtle);
    border-radius: 20px; padding: 48px 44px;
}
.regulatory-box h3 {
    font-family: var(--font-heading); font-size: 24px; font-weight: 700;
    color: var(--color-white); letter-spacing: -0.02em; margin: 0 0 32px;
}
.regulatory-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.reg-flag { font-size: 28px; margin-bottom: 12px; }
.reg-name {
    font-family: var(--font-body); font-size: 16px; font-weight: 600;
    color: var(--color-white); margin-bottom: 8px;
}
.reg-desc {
    font-family: var(--font-body); font-size: 14px; line-height: 1.65; color: var(--text-40);
}

/* ==========================================================================
   12. SECTION — ABOUT
   ========================================================================== */

.section--about { padding-bottom: 80px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-quote {
    background: var(--surface-03); border: var(--border-subtle);
    border-radius: 14px; padding: 24px 28px; margin-top: 32px;
    font-family: var(--font-body); font-size: 16px; font-style: italic;
    color: var(--text-55); line-height: 1.7;
    border-left: 3px solid var(--color-blue);
}
.diff-label {
    font-family: var(--font-body); font-size: 12px; font-weight: 600;
    color: var(--color-blue); letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 24px;
}
.diff-card {
    display: flex; gap: 18px; margin-bottom: 28px; padding: 18px 20px; border-radius: 14px;
    background: var(--surface-01); border: 1px solid var(--surface-04);
    transition: all 0.3s;
}
.diff-card:hover {
    background: var(--surface-04);
    border-color: rgba(255,255,255,0.08);
}
.diff-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.diff-title {
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    color: var(--color-white); margin-bottom: 4px;
}
.diff-desc {
    font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--text-40);
}

/* About section-specific spacing */
.about-desc {
    margin: 0 0 24px;
}

/* ==========================================================================
   13. SECTION — CTA
   ========================================================================== */

.section-cta {
    padding: 80px clamp(24px, 5vw, 80px) 120px;
}
.cta-box {
    max-width: 900px; margin: 0 auto; text-align: center;
    background: linear-gradient(135deg, rgba(var(--rgb-blue), 0.08) 0%, rgba(var(--rgb-indigo), 0.08) 50%, rgba(var(--rgb-purple), 0.08) 100%);
    border: 1px solid rgba(var(--rgb-blue), 0.12); border-radius: 24px; padding: 72px 48px;
    position: relative; overflow: hidden;
}
.cta-glow {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(var(--rgb-blue), 0.1) 0%, transparent 60%);
    border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.cta-box h2 {
    font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700; color: var(--color-white); letter-spacing: -0.03em;
    margin: 0 0 16px; position: relative;
}
.cta-box .cta-desc {
    font-family: var(--font-body); font-size: 17px; color: var(--text-50);
    line-height: 1.65; margin: 0 auto 36px; max-width: 520px; position: relative;
}
.cta-buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative;
}

/* ==========================================================================
   14. COMPONENTS — DISCORD BUTTON
   ========================================================================== */

.btn-discord {
    background: var(--color-discord); border: none; border-radius: 10px; padding: 14px 32px;
    color: var(--color-white); font-family: var(--font-body); font-size: 16px; font-weight: 600;
    cursor: pointer; letter-spacing: -0.01em; text-decoration: none;
    box-shadow: 0 2px 16px rgba(var(--rgb-discord), 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-discord-icon { vertical-align: middle; margin-right: 8px; }
.btn-discord:hover {
    transform: translateY(-2px); background: #4752C4;
    box-shadow: 0 6px 24px rgba(var(--rgb-discord), 0.45);
}

/* ==========================================================================
   15. LAYOUT — PATENT BANNER
   ========================================================================== */

.patent-banner {
    width: 100%; padding: 14px 24px;
    background: rgba(var(--rgb-blue), 0.04);
    border-top: 1px solid rgba(var(--rgb-blue), 0.08);
    border-bottom: 1px solid rgba(var(--rgb-blue), 0.08);
    text-align: center;
}
.patent-banner span {
    font-family: var(--font-body); font-size: 12.5px; font-weight: 500;
    color: var(--text-40); letter-spacing: 0.04em;
}

/* ==========================================================================
   16. LAYOUT — FOOTER
   ========================================================================== */

footer {
    padding: 48px clamp(24px, 5vw, 80px);
    border-top: 1px solid var(--surface-06);
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-logo-wrap {
    display: flex; justify-content: center; margin-top: 32px; margin-bottom: 24px;
}
.footer-logo-bg {
    background: rgba(255,255,255,0.95); border-radius: 16px; padding: 10px;
    display: flex; align-items: center; justify-content: center;
}
.footer-logo-bg img { height: 64px; width: auto; object-fit: contain; }
.footer-text {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-company {
    font-family: var(--font-heading); font-weight: 700; font-size: 16px;
    color: var(--color-white); margin-bottom: 8px;
}
.footer-loc { font-family: var(--font-body); font-size: 13px; color: var(--text-30); }
.footer-copy { font-family: var(--font-body); font-size: 13px; color: var(--text-25); }

.footer-discord-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
    color: var(--text-40); font-family: var(--font-body); font-size: 13px;
    text-decoration: none; transition: color 0.2s;
}
.footer-discord-link:hover { color: var(--color-discord); }

/* ==========================================================================
   17. UTILITIES — ANIMATIONS
   ========================================================================== */

.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ==========================================================================
   18. UTILITIES — SPECTRUM LINE
   ========================================================================== */

.spectrum-line {
    height: 3px; border-radius: 3px;
    background: var(--gradient-spectrum);
    opacity: 0.85;
}
.spectrum-line--short { width: 48px; }
.spectrum-line--short.centered { margin: 0 auto; }

.spectrum-line-thin {
    height: 1px; width: 100%;
    background: var(--gradient-spectrum);
    opacity: 0.85;
}

/* ==========================================================================
   19. RESPONSIVE — TABLET (max 900px)
   ========================================================================== */

@media (max-width: 900px) {
    /* Nav: hamburger */
    .nav-links { display: none !important; }
    .hamburger { display: flex !important; }
    .nav-links.open {
        display: flex !important; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(7,11,20,0.98); flex-direction: column; padding: 24px; gap: 16px;
        border-bottom: 1px solid var(--surface-06);
    }
    .nav-links.open a {
        font-size: 16px; padding: 12px 0;
        min-height: 44px; display: flex; align-items: center;
    }
    .nav-links.open .nav-cta {
        justify-content: center; width: 100%; padding: 14px 22px !important;
        margin-top: 8px;
    }

    /* Stats: 2-col */
    .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
    .stat-item:nth-child(2) { border-right: none; }

    /* Grids collapse */
    .products-grid, .dev-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .steps-line { display: none; }
    .creators-grid { grid-template-columns: 1fr; gap: 48px; }
    .investor-metrics { grid-template-columns: 1fr; }
    .regulatory-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }

    /* Section padding tighter */
    .section { padding: 80px clamp(20px, 4vw, 40px); }
    .how-section { padding: 80px clamp(20px, 4vw, 40px); }

    /* Product cards tighter */
    .product-card { padding: 32px 28px; }

    /* CTA box */
    .cta-box { padding: 56px 32px; }

    /* Regulatory box */
    .regulatory-box { padding: 36px 28px; }

    /* Logo: scale down for tablets */
    .nav-logo img { height: 120px; }
    nav.scrolled .nav-logo img { height: 52px; }

    /* Hero */
    .hero { min-height: auto; padding: 200px 20px 60px; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .btn-primary, .btn-ghost { width: 100%; max-width: 340px; text-align: center; }
}

/* ==========================================================================
   20. RESPONSIVE — MOBILE (max 600px)
   ========================================================================== */

@media (max-width: 600px) {
    /* Stats: single col */
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; border-bottom: 1px solid var(--surface-06); }
    .stat-item:last-child { border-bottom: none; }

    /* Steps: single col */
    .steps-grid { grid-template-columns: 1fr; gap: 36px; }

    /* Creator types: 2-col stays, tighter */
    .creator-types { grid-template-columns: 1fr 1fr; gap: 12px; }
    .creator-type { padding: 18px 14px; }

    /* Hero font scale */
    .hero h1 { font-size: 32px; letter-spacing: -0.03em; }
    .hero-subtitle { font-size: 16px; min-height: 80px; }
    .hero-badge span { font-size: 12px; }

    /* Section headers */
    .section h2 { font-size: 28px; }
    .section .section-desc { font-size: 15px; }
    .how-section h2 { font-size: 28px; }

    /* Stat values */
    .stat-value { font-size: 22px; }
    .stat-label { font-size: 12px; }

    /* Product cards */
    .product-card { padding: 28px 22px; border-radius: 16px; }
    .product-card h3 { font-size: 20px; }
    .product-card .card-desc { font-size: 14px; }
    .product-card .feature-text { font-size: 13px; }

    /* Dev cards */
    .dev-card { padding: 22px 20px 16px; border-radius: 16px; }
    .dev-card-inner { gap: 12px; }

    /* Investor metrics */
    .metric-card { padding: 28px 24px; }
    .metric-value { font-size: 26px; }

    /* About */
    .about-quote { padding: 20px 22px; font-size: 15px; }
    .diff-card { padding: 14px 16px; gap: 14px; }
    .diff-desc { font-size: 13px; }

    /* CTA */
    .cta-box { padding: 48px 20px; border-radius: 18px; }
    .cta-box h2 { font-size: 24px; }
    .cta-box .cta-desc { font-size: 15px; }

    /* Footer */
    .footer-logo-bg img { height: 48px; }
    .footer-company { font-size: 15px; }

    /* Buttons: touch-friendly (min 44px) */
    .btn-primary, .btn-ghost { padding: 16px 32px; font-size: 16px; min-height: 48px; }

    /* Creator benefits */
    .creator-benefit { gap: 12px; }
    .creator-check { width: 36px; height: 36px; font-size: 16px; }

    /* Patent banner */
    .patent-banner { padding: 12px 16px; }
    .patent-banner span { font-size: 11px; letter-spacing: 0.02em; }
}

/* ==========================================================================
   21. RESPONSIVE — SMALL MOBILE (max 380px)
   ========================================================================== */

@media (max-width: 380px) {
    .hero h1 { font-size: 28px; }
    .hero { padding: 160px 16px 48px; }
    .section { padding: 60px 16px; }
    .how-section { padding: 60px 16px; }
    .stats-bar { border-radius: 12px; }
    .stat-item { padding: 20px 16px; }
    .product-card { padding: 24px 18px; }
    .cta-box { padding: 40px 16px; }
    .regulatory-box { padding: 28px 20px; }
    .creator-types { grid-template-columns: 1fr; }
    .hero-badge { padding: 5px 12px 5px 10px; }
    .hero-badge span { font-size: 11px; }
}

/* ==========================================================================
   22. RESPONSIVE — TOUCH / ACCESSIBILITY
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
    .nav-links a, .btn-primary, .btn-ghost, .nav-cta { min-height: 44px; }
    .product-card, .diff-card, .creator-type { cursor: default; }
    /* Disable hover effects on touch — rely on tap */
    .product-card:hover {
        background: var(--surface-01);
        border-color: var(--surface-06);
    }
    .diff-card:hover {
        background: var(--surface-01);
        border-color: var(--surface-04);
    }
}

/* ==========================================================================
   23. RESPONSIVE — LANDSCAPE PHONE
   ========================================================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 160px 24px 40px; }
    .stats-bar { margin-top: 32px; }
}

/* ==========================================================================
   24. RESPONSIVE — REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    .rotating-text { transition: none; }
    .hero-badge .dot { animation: none; }
    .nav-inner, .nav-logo img { transition: none; }
}
