/* ==========================================================================
   PulseIoT Web Control Plane & Landing Page Design System
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #07090e;
    --bg-card: rgba(15, 23, 42, 0.72);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-input: #0b1120;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(6, 182, 212, 0.35);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-cyan: #06b6d4;
    --accent-cyan-glow: rgba(6, 182, 212, 0.4);
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.4);
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;
    --accent-pink: #ea4aaa;

    --font-sans:
        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

section {
    scroll-margin-top: 85px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background Light Orbs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
    top: -200px;
    left: -150px;
}

.glow-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
    top: 30%;
    right: -250px;
}

.glow-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, transparent 70%);
    bottom: -150px;
    left: 20%;
}

/* Typography & Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(7, 9, 14, 0.75);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-icon {
    font-size: 1.35rem;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.6));
}

.badge-beta {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    margin-left: 0.3rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

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

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Primary Glow Button */
.btn-primary,
.btn-glow {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover,
.btn-glow:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
    border-color: rgba(56, 189, 248, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 4.5rem auto 3.5rem;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: #e0f2fe;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(8px);
}

.chip-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulseGlow 1.8s infinite;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.4rem;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* Hero Waitlist Form */
.hero-waitlist-form {
    max-width: 540px;
    margin: 0 auto 3.5rem;
    display: flex;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
}

.input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--text-muted);
}

.hero-waitlist-form input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    padding: 0.75rem 0.75rem 0.75rem 2.6rem;
    outline: none;
}

.hero-waitlist-form input::placeholder {
    color: var(--text-muted);
}

.btn-tag {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Hero Metrics Strip */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Interactive Simulator Sandbox
   ========================================================================== */
.simulator-section {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 3rem auto 6rem;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

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

.simulator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.simulator-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(11, 17, 32, 0.8);
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.status-dot.pulsing {
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulseDot 2s infinite;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-emerald);
}

.status-broker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.preset-pills {
    display: flex;
    gap: 0.4rem;
}

.preset-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.preset-pill.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.5);
    color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

/* Simulator Grid Layout */
.simulator-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
}

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

/* Left Panel: Controls */
.sim-controls-panel {
    padding: 1.5rem;
    border-right: 1px solid var(--border-subtle);
    background: rgba(11, 17, 32, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
}

.panel-badge {
    font-size: 0.75rem;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.control-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.control-input {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.control-input:focus {
    border-color: var(--accent-cyan);
}

.input-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.input-hint code {
    color: #7dd3fc;
}

/* Sliders */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.control-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.control-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.control-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Rate Calculator Card */
.rate-calculator-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
}

.rate-icon {
    font-size: 1.3rem;
}

.rate-info {
    display: flex;
    flex-direction: column;
}

.rate-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.rate-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #38bdf8;
    font-family: var(--font-mono);
}

/* Chaos Action Buttons */
.chaos-action-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

.chaos-group-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fca5a5;
}

.chaos-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-chaos-anomaly {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fda4af;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-chaos-anomaly:hover {
    background: rgba(244, 63, 94, 0.3);
    border-color: rgba(244, 63, 94, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-chaos-drop {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fcd34d;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-chaos-drop:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-1px);
}

/* Right Panel: Visualization & Terminal */
.sim-visual-panel {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-title-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chart-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.chart-device-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.anomaly-alert-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.anomaly-alert-tag.active {
    background: rgba(244, 63, 94, 0.25);
    color: #ff4d6d;
    border-color: rgba(244, 63, 94, 0.7);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
    animation: alertFlicker 0.6s infinite alternate;
}

.chart-canvas-wrapper {
    background: #090e1a;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    position: relative;
}

#telemetryCanvas {
    width: 100%;
    height: 180px;
    display: block;
}

.chart-legend {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.metric-1 {
    background: var(--accent-cyan);
}
.legend-dot.metric-2 {
    background: var(--accent-purple);
}
.legend-dot.metric-anomaly {
    background: var(--accent-rose);
}

/* JSON Terminal Inspector */
.inspector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.2rem;
}

.inspector-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.inspector-actions {
    display: flex;
    gap: 0.4rem;
}

.btn-sm {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

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

.json-terminal {
    background: #04060a;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.5;
    max-height: 170px;
    overflow-y: auto;
    color: #e2e8f0;
}

.json-terminal pre {
    margin: 0;
}

/* ==========================================================================
   Features Pillars Grid
   ========================================================================== */
.features-section {
    max-width: 1240px;
    margin: 6rem auto;
    padding: 0 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon-box.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
}
.feature-icon-box.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}
.feature-icon-box.green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}
.feature-icon-box.rose {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
}
.feature-icon-box.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}
.feature-icon-box.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.feature-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feature-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    max-width: 1240px;
    margin: 6rem auto;
    padding: 0 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0284c7, #8b5cf6);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.1em;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 42px;
}

.plan-price {
    margin: 1.5rem 0 1.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.plan-features li span {
    color: var(--accent-cyan);
    font-weight: 800;
}

.pricing-card .btn-primary,
.pricing-card .btn-glow,
.pricing-card .btn-outline {
    width: 100%;
}

/* ==========================================================================
   Corporate Sponsor Banner
   ========================================================================== */
.sponsor-banner-section {
    max-width: 1240px;
    margin: 0 auto 6rem;
    padding: 0 1.5rem;
}

.sponsor-banner {
    background: linear-gradient(135deg, rgba(234, 74, 170, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(234, 74, 170, 0.35);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.sponsor-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sponsor-heart {
    font-size: 2.5rem;
}

.sponsor-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.sponsor-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.sponsor-sub code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    color: #f472b6;
}

.btn-sponsor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ea4aaa;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(234, 74, 170, 0.4);
    transition: all 0.2s ease;
}

.btn-sponsor:hover {
    background: #db2777;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 74, 170, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: rgba(4, 6, 10, 0.9);
    padding: 4rem 1.5rem 3rem;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
}

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

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.8rem 0 1rem;
    max-width: 320px;
}

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

.footer-copy a {
    color: var(--accent-cyan);
    text-decoration: none;
}

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

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

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.15s ease;
}

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

/* ==========================================================================
   Waitlist Modal Dialog
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    padding: 2.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

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

.modal-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.modal-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-cyan);
}

.w-full {
    width: 100%;
}

/* Modal Success Screen */
.modal-success {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.success-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.queue-card {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.queue-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.queue-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.1;
    font-family: var(--font-mono);
}

.queue-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.success-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulseGlow {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes pulseDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

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

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Architecture Section
   ========================================================================== */
.architecture-section {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 6rem auto;
    padding: 0 1.5rem;
}

.arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.arch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), rgba(139, 92, 246, 0.4), transparent);
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
}

.arch-node {
    flex: 1;
    min-width: 200px;
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.arch-node:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.arch-node.highlight {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.arch-node-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.35);
    white-space: nowrap;
}

.arch-node-badge.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border-color: rgba(139, 92, 246, 0.4);
}

.arch-node-badge.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

.arch-node-badge.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

.arch-node-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    margin: 0.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-node-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
}

.arch-node-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
}

.arch-node-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.arch-node-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.arch-node-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.arch-node-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 0.75rem;
}

.arch-node-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    flex-shrink: 0;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.4), rgba(139, 92, 246, 0.4));
    position: relative;
    margin-bottom: 0.4rem;
}

.connector-pulse {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: connectorFlow 2s linear infinite;
}

.connector-pulse.reverse {
    animation-direction: reverse;
    background: #c084fc;
    box-shadow: 0 0 8px #c084fc;
}

.connector-label {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.arch-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.arch-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.arch-feat-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.arch-feat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.arch-feat-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.arch-feat-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@keyframes connectorFlow {
    0% {
        left: 0%;
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 90%;
        opacity: 0.2;
    }
}

@media (max-width: 900px) {
    .arch-flow {
        flex-direction: column;
        gap: 2rem;
    }

    .arch-node {
        width: 100%;
    }

    .arch-connector {
        width: 2px;
        height: 40px;
    }

    .connector-line {
        width: 2px;
        height: 100%;
    }

    .connector-pulse {
        top: 0;
        left: -3px;
        animation: connectorFlowVertical 2s linear infinite;
    }

    @keyframes connectorFlowVertical {
        0% {
            top: 0%;
            opacity: 0.2;
        }
        50% {
            opacity: 1;
        }
        100% {
            top: 90%;
            opacity: 0.2;
        }
    }
}

