/* ============================================
   FAESR Herald DSMO | Premium Research Aesthetic
   Deep Space + Precision Optics
   ============================================ */

:root {
    /* Deep Space Palette */
    --space-void: #050510;
    --space-deep: #0a0a1a;
    --space-mid: #12122a;
    --space-light: #1a1a3a;
    
    /* Text Hierarchy */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-tertiary: #6a6a80;
    
    /* Accent - Warm Gold (Premium, not neon) */
    --accent: #c9a55c;
    --accent-hover: #ddb86f;
    --accent-subtle: rgba(201, 165, 92, 0.1);
    --accent-glow: rgba(201, 165, 92, 0.2);
    
    /* Supporting Blues (Subtle, not neon) */
    --blue-subtle: rgba(100, 130, 180, 0.15);
    --blue-border: rgba(100, 130, 180, 0.2);
    
    /* Borders - softer for seamless look */
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-display: 'Source Serif 4', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --section-pad: 120px;
    --container-max: 1140px;
}

/* ============================================
   Reset & Base
   ============================================ */

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--space-void);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent);
    color: var(--space-void);
}

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

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

/* ============================================
   Deep Space Background
   ============================================ */

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Nebula layers */
.stars-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Deep blue nebula - top right */
        radial-gradient(ellipse 80% 50% at 85% 20%, rgba(40, 60, 120, 0.15) 0%, transparent 50%),
        /* Purple nebula - left side */
        radial-gradient(ellipse 60% 80% at 10% 60%, rgba(80, 50, 100, 0.12) 0%, transparent 45%),
        /* Warm dust cloud - bottom */
        radial-gradient(ellipse 100% 40% at 50% 100%, rgba(100, 60, 50, 0.08) 0%, transparent 50%),
        /* Subtle cyan wisp - center */
        radial-gradient(ellipse 50% 30% at 60% 45%, rgba(60, 100, 130, 0.06) 0%, transparent 50%);
    z-index: 1;
}

/* Milky way band */
.stars-container::after {
    content: '';
    position: absolute;
    top: 15%;
    left: -20%;
    width: 140%;
    height: 35%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(80, 70, 100, 0.03) 20%,
        rgba(100, 90, 120, 0.06) 35%,
        rgba(120, 110, 140, 0.08) 50%,
        rgba(100, 90, 120, 0.06) 65%,
        rgba(80, 70, 100, 0.03) 80%,
        transparent 100%
    );
    transform: rotate(-15deg);
    filter: blur(40px);
    z-index: 1;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-repeat: repeat;
}

/* Dense small stars */
.stars-1 {
    background-image: 
        radial-gradient(1px 1px at 100px 50px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 200px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 300px 250px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 400px 100px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 500px 300px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 50px 200px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 150px 350px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 250px 400px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 350px 50px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 450px 200px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 75px 320px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 175px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 425px 380px, rgba(255,255,255,0.45), transparent),
        radial-gradient(1px 1px at 525px 120px, rgba(255,255,255,0.55), transparent);
    background-size: 550px 450px;
    animation: stars-drift 200s linear infinite;
    opacity: 0.7;
    z-index: 2;
}

/* Medium stars with subtle color variations */
.stars-2 {
    background-image:
        radial-gradient(1.5px 1.5px at 80px 120px, rgba(255,250,240,0.7), transparent),
        radial-gradient(1.5px 1.5px at 180px 220px, rgba(240,245,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 280px 80px, rgba(255,255,255,0.75), transparent),
        radial-gradient(1.5px 1.5px at 380px 320px, rgba(255,245,230,0.5), transparent),
        radial-gradient(1.5px 1.5px at 480px 180px, rgba(230,240,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 30px 280px, rgba(255,255,255,0.55), transparent),
        radial-gradient(1.5px 1.5px at 530px 350px, rgba(250,248,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 130px 30px, rgba(255,252,245,0.6), transparent);
    background-size: 580px 400px;
    animation: stars-drift 280s linear infinite reverse;
    opacity: 0.6;
    z-index: 2;
}

/* Bright feature stars with color tints */
.stars-3 {
    background-image:
        /* Blueish bright stars */
        radial-gradient(2.5px 2.5px at 120px 180px, rgba(180,200,255,0.8), rgba(180,200,255,0.1) 50%, transparent),
        radial-gradient(2px 2px at 420px 80px, rgba(200,220,255,0.7), transparent),
        /* Warm/golden stars */
        radial-gradient(2.5px 2.5px at 320px 320px, rgba(255,230,180,0.75), rgba(255,230,180,0.1) 50%, transparent),
        radial-gradient(2px 2px at 50px 400px, rgba(255,220,170,0.6), transparent),
        /* White bright stars */
        radial-gradient(3px 3px at 520px 250px, rgba(255,255,255,0.9), rgba(255,255,255,0.15) 40%, transparent),
        radial-gradient(2px 2px at 220px 50px, rgba(255,255,255,0.7), transparent),
        /* Subtle reddish star */
        radial-gradient(2px 2px at 380px 450px, rgba(255,200,180,0.5), transparent);
    background-size: 600px 520px;
    animation: stars-drift 350s linear infinite;
    opacity: 0.8;
    z-index: 3;
}

/* Twinkling bright stars */
.stars-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 200px 150px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 450px 350px, rgba(255,255,255,0.85), transparent),
        radial-gradient(1.5px 1.5px at 100px 400px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 350px 100px, rgba(255,255,255,0.75), transparent);
    background-size: 500px 480px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes stars-drift {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ============================================
   Container
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 500; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-decoration: none;
}

.btn i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    background: var(--accent);
    color: var(--space-void);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

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

.btn-secondary:hover {
    border-color: var(--text-tertiary);
    background-color: rgba(255,255,255,0.03);
    background: rgba(255,255,255,0.03);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
}

.logo-mark {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-sep {
    color: var(--border-light);
}

.logo-product {
    font-weight: 500;
    color: var(--accent);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #c9a55c;
    color: var(--accent);
    border: 1px solid #c9a55c;
    border: 1px solid var(--accent);
    border-radius: 5px;
    transition: all 0.3s ease;
    background: transparent;
    -webkit-text-fill-color: #c9a55c;
}

.nav-cta:hover {
    background: #c9a55c;
    background: var(--accent);
    color: #050510;
    color: var(--space-void);
    -webkit-text-fill-color: #050510;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   Hero
   ============================================ */

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

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--space-void) 100%);
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Main top glow */
        radial-gradient(ellipse 120% 60% at 50% 0%, 
            rgba(35, 50, 90, 0.5) 0%, 
            rgba(25, 35, 65, 0.3) 30%,
            transparent 60%),
        /* Left accent */
        radial-gradient(ellipse 40% 50% at 5% 30%, 
            rgba(70, 50, 100, 0.15) 0%, 
            transparent 50%),
        /* Right accent */
        radial-gradient(ellipse 50% 40% at 95% 60%, 
            rgba(50, 80, 110, 0.12) 0%, 
            transparent 50%),
        /* Warm bottom horizon */
        radial-gradient(ellipse 100% 30% at 50% 100%, 
            rgba(80, 50, 40, 0.08) 0%, 
            transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    margin-bottom: 28px;
    line-height: 1.15;
}

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

.hero-text {
    font-size: 1.1875rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.msr1-stats {
    justify-content: center;
    border-top: none;
    padding-top: 48px;
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--text-primary);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(180deg, 
        var(--space-deep) 0%, 
        var(--space-deep) 80%,
        var(--space-void) 100%);
}

/* Smooth fade-in at top of dark sections */
.section-dark::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--space-deep) 100%);
    pointer-events: none;
}

/* Subtle atmospheric glow - alternating sides */
.section:nth-child(odd)::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 20%;
    background: radial-gradient(ellipse 80% 50% at 15% 50%, rgba(60, 50, 90, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.section:nth-child(even)::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 20%;
    background: radial-gradient(ellipse 70% 60% at 85% 50%, rgba(50, 70, 100, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.section-intro {
    margin-bottom: 64px;
}

.section-intro-center {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ============================================
   Principles
   ============================================ */

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

/* Reduce top padding since it flows from hero */
#principles {
    padding-top: 60px;
}

.principle-card {
    padding: 36px;
    background: var(--space-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.4s ease;
}

.principle-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.principle-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.principle-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.principle-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
}

/* ============================================
   System Visual
   ============================================ */

.system-visual {
    position: relative;
    height: 420px;
    margin-bottom: 64px;
}

.system-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, 
        rgba(201, 165, 92, 0.06) 0%, 
        rgba(100, 80, 140, 0.04) 30%,
        transparent 60%);
    pointer-events: none;
}

.system-diagram {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.diagram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    animation: ring-rotate 60s linear infinite;
}

.diagram-ring-1 {
    width: 160px;
    height: 160px;
    border-color: rgba(201, 165, 92, 0.3);
}

.diagram-ring-2 {
    width: 230px;
    height: 230px;
    animation-direction: reverse;
    animation-duration: 80s;
}

.diagram-ring-3 {
    width: 300px;
    height: 300px;
    animation-duration: 100s;
    border-style: dashed;
    opacity: 0.5;
}

@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--space-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-center i {
    font-size: 2rem;
    color: var(--accent);
}

.system-features {
    position: absolute;
    inset: 0;
}

.feature {
    position: absolute;
    padding: 12px 18px;
    background: var(--space-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-1 { top: 20px; left: 10%; }
.feature-2 { top: 40%; right: 5%; }
.feature-3 { bottom: 30px; left: 15%; }
.feature-4 { bottom: 60px; right: 12%; }

.feature-tag {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.system-advantage {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--accent-subtle);
    border: 1px solid rgba(201, 165, 92, 0.2);
    border-radius: 8px;
}

.advantage-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--space-void);
}

.advantage-content h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   Applications
   ============================================ */

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

.app-card {
    padding: 32px;
    background: var(--space-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.4s ease;
}

.app-card:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.app-header i {
    font-size: 1.75rem;
    color: var(--accent);
}

.app-number {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

.app-card h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.app-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.app-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-orgs span {
    padding: 4px 10px;
    background: var(--space-light);
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Specifications
   ============================================ */

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

.spec-group {
    padding: 32px;
    background: var(--space-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.spec-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-group-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.spec-group-header h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.spec-row dt {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.spec-row dd {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
}

.spec-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(201, 165, 92, 0.08);
    border: 1px solid rgba(201, 165, 92, 0.2);
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.spec-note i {
    color: var(--accent);
    margin-right: 8px;
}

.spec-note strong {
    color: var(--text-primary);
}

.spec-group-highlight {
    background: linear-gradient(135deg, rgba(201, 165, 92, 0.12) 0%, rgba(201, 165, 92, 0.04) 100%);
    border: 1px solid rgba(201, 165, 92, 0.3);
    grid-column: 1 / -1;
}

.spec-group-highlight .spec-group-header {
    border-bottom-color: rgba(201, 165, 92, 0.2);
}

.spec-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   Pricing
   ============================================ */

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

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--space-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
}

.pricing-card-featured {
    background: linear-gradient(180deg, var(--space-light), var(--space-deep));
    border-color: var(--accent);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent);
    color: var(--space-void);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-audience {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.price-value {
    font-family: var(--font-display);
    font-size: 3.25rem;
    color: var(--text-primary);
    line-height: 1;
}

.price-plus {
    font-size: 1.5rem;
    color: var(--text-tertiary);
}

.pricing-includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-includes i {
    font-size: 1.125rem;
    color: var(--accent);
}

.pricing-notes {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.pricing-notes .note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.pricing-notes .note i {
    font-size: 1.25rem;
    color: var(--accent);
}

/* ============================================
   Community
   ============================================ */

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

.community-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--space-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.community-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.community-card > i:first-child {
    font-size: 2rem;
    color: var(--accent);
}

.community-info {
    flex: 1;
}

.community-info h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.community-info p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.community-card > i:last-child {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all 0.3s ease;
}

.community-card:hover > i:last-child {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--accent);
}

.initiative-banner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--space-light), var(--space-mid));
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.initiative-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, 
        rgba(80, 100, 150, 0.08) 0%, 
        transparent 60%);
    pointer-events: none;
}

.initiative-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.initiative-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.initiative-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
}

.initiative-stats {
    display: flex;
    gap: 48px;
}

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

.init-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.init-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   Reserve Section
   ============================================ */

.section-reserve {
    padding: 60px 0 100px;
    position: relative;
}

.section-reserve::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, 
        rgba(201, 165, 92, 0.03) 0%, 
        transparent 50%);
    pointer-events: none;
}

.reserve-card {
    position: relative;
    padding: 64px;
    background: linear-gradient(135deg, var(--space-light), var(--space-mid));
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
}

.reserve-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 30%, 
        rgba(100, 80, 140, 0.06) 0%, 
        transparent 40%);
    pointer-events: none;
}

.reserve-content h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.reserve-content > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.reserve-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 20px;
}

.reserve-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--space-deep);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

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

.reserve-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.reserve-form button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #c9a55c;
    background: #c9a55c;
    flex-shrink: 0;
}

.reserve-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.reserve-note i {
    color: var(--text-tertiary);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 80px 0 40px;
    background: var(--space-void);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--space-void) 100%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--space-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-tertiary);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

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

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }
    
    .principles-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .initiative-banner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .system-features {
        display: none;
    }
    
    .system-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .msr1-stats {
        justify-content: flex-start;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    /* Ensure buttons render correctly on mobile */
    .btn {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn-primary {
        background-color: #c9a55c;
        color: #050510;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .reserve-form {
        flex-direction: column;
    }
    
    .pricing-notes {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .initiative-stats {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .reserve-card {
        padding: 40px 24px;
    }
}

/* ============================================
   Herald DSMO Specific Styles
   ============================================ */

/* Single wide pricing card */
.pricing-grid-single {
    display: flex;
    justify-content: center;
}

/* Three-column pricing grid */
.pricing-grid-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .pricing-grid-three {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

.pricing-card-wide {
    max-width: 720px;
    width: 100%;
}

.pricing-card-wide .pricing-header {
    text-align: center;
}

.pricing-card-wide .pricing-amount {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-card-wide .pricing-includes {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .pricing-columns {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .pricing-card-wide {
        max-width: 100%;
    }
}

/* Community card non-link variant */
.community-card:not(a) {
    cursor: default;
}

.community-card:not(a):hover {
    border-color: var(--border-light);
    transform: none;
}

/* ============================================
   Software Architecture
   ============================================ */

.architecture-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.arch-block {
    padding: 32px;
    background: var(--space-light);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.arch-block:hover {
    border-color: var(--border-light);
}

.arch-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.arch-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.arch-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.arch-block p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.arch-block p strong {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .architecture-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .arch-block {
        padding: 24px;
    }
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--space-light);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-item[open] {
    border-color: var(--accent);
}

.faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Herald Render Image
   ============================================ */

.herald-render {
    margin: 48px auto;
    max-width: 900px;
    text-align: center;
}

.herald-render img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px var(--border-subtle);
}

.herald-render figcaption {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-style: normal;
}

.herald-render figcaption em {
    display: block;
    margin-top: 4px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .herald-render {
        margin: 32px auto;
    }
}

/* ============================================
   Mobile Collapsible Sections
   ============================================ */

/* Mobile-only collapsible toggle indicator */
.section-collapse-toggle {
    display: none;
}

@media (max-width: 768px) {
    /* Make section intros clickable on mobile */
    .section[data-collapsible] .section-intro {
        cursor: pointer;
        position: relative;
        padding-right: 40px;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Show chevron on mobile */
    .section[data-collapsible] .section-collapse-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        color: var(--accent);
        font-size: 1.25rem;
        transition: transform 0.3s ease;
    }
    
    /* Centered section intro adjustments */
    .section[data-collapsible] .section-intro-center {
        padding-right: 0;
    }
    
    .section[data-collapsible] .section-intro-center .section-collapse-toggle {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 16px auto 0;
    }
    
    /* Rotate chevron when collapsed */
    .section[data-collapsible].collapsed .section-collapse-toggle {
        transform: translateY(-50%) rotate(-90deg);
    }
    
    .section[data-collapsible].collapsed .section-intro-center .section-collapse-toggle {
        transform: rotate(-90deg);
    }
    
    /* Hide section content when collapsed */
    .section[data-collapsible] .section-content {
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
        max-height: 3000px; /* Large enough for any content */
        opacity: 1;
    }
    
    .section[data-collapsible].collapsed .section-content {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Visual feedback on tap */
    .section[data-collapsible] .section-intro:active {
        opacity: 0.8;
    }
    
    /* Collapse indicator hint */
    .section[data-collapsible] .section-label::after {
        content: ' • Tap to expand';
        font-size: 0.7rem;
        opacity: 0.6;
        display: none;
    }
    
    .section[data-collapsible].collapsed .section-label::after {
        display: inline;
    }
    
    /* Reduce section padding when collapsed */
    .section[data-collapsible].collapsed {
        padding-bottom: 40px;
    }
}
