/* ==========================================================================
   SimpleNexon Landing Page Design System & Stylesheet
   ========================================================================== */

/* Design Variables */
:root {
    --bg-primary: #08090d;
    --bg-secondary: #0e111a;
    --bg-card: rgba(17, 20, 32, 0.6);
    --bg-card-hover: rgba(22, 27, 43, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    /* Accents & Gradients */
    --indigo-accent: #6366f1;
    --purple-accent: #8b5cf6;
    --teal-accent: #10b981;
    --rose-accent: #f43f5e;
    --amber-accent: #f59e0b;
    --info-accent: #0ea5e9;
    
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --teal-gradient: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
    --orange-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --rose-gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    
    /* Typography colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow-indigo: 0 0 30px rgba(99, 102, 241, 0.25);
    --shadow-glow-teal: 0 0 30px rgba(16, 185, 129, 0.2);
    
    /* Grid & Container */
    --container-max-width: 1200px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background Glowing Accents */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--indigo-accent) 0%, transparent 70%);
    animation: drift 20s infinite alternate;
}

.bg-glow-2 {
    top: 50%;
    left: -200px;
    background: radial-gradient(circle, var(--purple-accent) 0%, transparent 70%);
}

.bg-glow-3 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--teal-accent) 0%, transparent 70%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 50px) scale(1.1); }
}

/* Container */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow-indigo);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-md {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon {
    transition: transform var(--transition-speed) ease;
}

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

/* Header & Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.85rem 0;
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(12px);
    border-color: var(--border-color);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

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

.logo-icon {
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
    animation: pulseLogo 3s infinite alternate;
}

@keyframes pulseLogo {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-gradient);
    transition: width var(--transition-speed) ease;
}

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

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

.nav-link.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

/* Mobile Menu Opened State */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 95;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-primary);
    padding-left: 5px;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

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

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background-color: var(--indigo-accent);
    border-radius: 50%;
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: inherit;
    animation: ringPulse 1.8s infinite ease-out;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-divider {
    height: 40px;
    width: 1px;
    background-color: var(--border-color);
}

/* Dashboard Mockup Visual */
.hero-visual {
    perspective: 1000px;
}

.dashboard-wrapper {
    background: #0b0d19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.dashboard-header-bar {
    background: #111424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-address {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.status-indicator {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.status-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--teal-accent);
    border-radius: 50%;
}

.dashboard-img-container {
    position: relative;
    width: 100%;
    background-color: #0c0e18;
    overflow: hidden;
}

.dashboard-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.social-proof-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 2rem;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
    cursor: default;
    user-select: none;
}

.brand-logo:hover {
    color: var(--text-secondary);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Grid Section */
.features-section {
    padding: 5rem 0 8rem;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.f-grad-primary { background: var(--primary-gradient); }
.f-grad-teal { background: var(--teal-gradient); }
.f-grad-orange { background: var(--orange-gradient); }
.f-grad-indigo { background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%); }

.feature-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* How It Works Architecture Section */
.how-it-works {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

/* Interactive Routing Flow Layout */
.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 9, 13, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
    backdrop-filter: blur(8px);
    position: relative;
}

.arch-node {
    width: 220px;
    background: rgba(17, 20, 32, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

.arch-node:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.node-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--border-color);
    border: 1px solid var(--border-color);
    padding: 0.15rem 0.6rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all var(--transition-speed) ease;
}

.node-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.node-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.node-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Active Highlight proxy state */
.arch-node.proxy-node.alert-active {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-glow-indigo);
}

.arch-node.proxy-node.alert-active .node-badge {
    background: var(--indigo-accent);
    color: var(--text-primary);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Flow Line Connectors */
.flow-arrow {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    margin: 0 1rem;
}

.flow-arrow.active {
    background: var(--primary-gradient);
}

.dot-signal {
    width: 6px;
    height: 6px;
    background-color: var(--indigo-accent);
    border-radius: 50%;
    position: absolute;
    top: -2px;
    left: 0;
    box-shadow: 0 0 10px var(--indigo-accent);
}

.flow-arrow.active .dot-signal {
    animation: traverse 2s infinite linear;
}

@keyframes traverse {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border-top: 2px solid var(--border-color);
    padding: 2rem 0;
    transition: all var(--transition-speed) ease;
}

.step-card:hover {
    border-top-color: var(--indigo-accent);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--indigo-accent);
    margin-bottom: 0.75rem;
}

.step-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Sandbox Playground Section */
.playground-section {
    padding: 8rem 0;
    position: relative;
}

.playground-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Sidebar list */
.playground-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.scenario-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.scenario-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.scenario-btn.active {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.scenario-btn-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.scenario-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.tag-rose { background: rgba(244, 63, 94, 0.1); color: var(--rose-accent); }
.tag-warning { background: rgba(245, 158, 11, 0.1); color: var(--amber-accent); }
.tag-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.tag-info { background: rgba(14, 165, 233, 0.1); color: var(--info-accent); }

.scenario-latency {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.scenario-btn h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.scenario-btn p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Terminal Console Panel */
.playground-terminal {
    background: #05060b;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.terminal-header {
    background: #0d0f17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.tdot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.t-red { background-color: #f43f5e; }
.t-yellow { background-color: #fbbf24; }
.t-green { background-color: #10b981; }

.terminal-title {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-status {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-green {
    width: 6px;
    height: 6px;
    background-color: var(--teal-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--teal-accent);
}

.terminal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 620px;
    overflow-y: auto;
}

.terminal-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sect-tag {
    font-family: var(--font-code);
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.sect-user,
.sect-status,
.sect-latency-badge {
    font-family: var(--font-code);
    font-size: 0.725rem;
}

.sect-user { color: var(--text-muted); }
.sect-status { font-weight: 600; }
.text-danger { color: var(--rose-accent); }
.text-success { color: var(--teal-accent); }

.code-box {
    background: #0b0c13;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.prompt-box {
    color: #e2e8f0;
    border-left: 3px solid var(--info-accent);
}

.raw-box {
    color: rgba(244, 63, 94, 0.8);
    border-left: 3px solid var(--rose-accent);
    text-decoration: line-through;
    opacity: 0.65;
    transition: opacity 0.5s ease;
}

.guarded-box {
    color: #f8fafc;
    border-left: 3px solid var(--teal-accent);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.03);
}

/* Logs console styles */
.logs-container {
    background: #07080e;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 130px;
    overflow-y: auto;
}

.log-line {
    font-family: var(--font-code);
    font-size: 0.775rem;
    line-height: 1.4;
}

.log-info { color: var(--text-muted); }
.log-warn { color: var(--amber-accent); }
.log-danger { color: var(--rose-accent); }
.log-success { color: var(--teal-accent); }

/* Waitlist Signup Section */
.waitlist-section {
    padding: 8rem 0;
    position: relative;
}

.waitlist-container {
    background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.04) 0%, transparent 60%),
                var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
}

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

.waitlist-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.waitlist-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.waitlist-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.waitlist-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.benefit-check {
    color: var(--teal-accent);
    flex-shrink: 0;
}

/* Waitlist Form Card */
.waitlist-form-card {
    background: rgba(8, 9, 13, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: var(--indigo-accent);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2rem;
}

/* Option custom styles (supported in some browsers) */
option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.consent-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.consent-group input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--indigo-accent);
}

.consent-group label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    cursor: pointer;
}

/* Spinner */
.btn-submit {
    position: relative;
    justify-content: center;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-submit.loading .btn-spinner {
    display: block;
    position: absolute;
}

/* Success ticket style */
.success-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--teal-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-container h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-container p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.ticket-card {
    background: #0f121d;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    padding: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-md);
}

.ticket-card::before,
.ticket-card::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    top: 48px;
    z-index: 5;
}

.ticket-card::before { left: -9px; }
.ticket-card::after { right: -9px; }

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.ticket-title {
    font-family: var(--font-code);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.ticket-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.ticket-info-row {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.ticket-label {
    font-family: var(--font-code);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.ticket-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.value-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 8rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(99, 102, 241, 0.15);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-arrow {
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer styling */
.main-footer {
    background: #05060a;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.compliance-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.c-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-code);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed) ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
}

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

/* ==========================================================================
   Middleware Integration Badges Styling
   ========================================================================== */
.middleware-compatibility {
    margin-top: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.compat-label {
    font-family: var(--font-code);
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.75rem;
}

.compat-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.compat-logo {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
}

.compat-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   Responsive Breakpoints & Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .middleware-compatibility {
        text-align: center;
    }
    
    .compat-logos {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .dashboard-wrapper {
        transform: none !important;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .playground-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .waitlist-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-hide-mobile {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .architecture-flow {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
    
    .arch-node {
        width: 100%;
        max-width: 280px;
    }
    
    .flow-arrow {
        height: 40px;
        width: 2px;
        margin: 0.5rem 0;
    }
    
    .flow-arrow.active .dot-signal {
        animation: traverseVertical 2s infinite linear;
        left: -2px;
        top: 0;
    }
    
    @keyframes traverseVertical {
        0% { top: 0%; opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { top: 100%; opacity: 0; }
    }
    
    .steps-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1rem 0;
    }
    
    /* Playground Terminal Mobile Optimization */
    .playground-sidebar {
        gap: 0.75rem;
    }
    
    .scenario-btn {
        padding: 1rem;
    }
    
    .terminal-header {
        padding: 0.75rem 1rem;
    }
    
    .terminal-body {
        padding: 1rem;
        gap: 1rem;
    }
    
    .code-box {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        white-space: pre-wrap;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .logs-container {
        padding: 0.5rem 0.75rem;
        max-height: 110px;
    }
    
    .log-line {
        font-size: 0.725rem;
    }
    
    /* Waitlist Form Mobile Alignment */
    .waitlist-container {
        padding: 2.5rem 1.5rem;
    }
    
    .waitlist-form-card {
        padding: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1.25rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 0.85rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .metric-divider {
        display: none;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
