/* ===================================
   NoBreaksAllowed Landing Page Styles
   Design: 'System Core' / Brutalist Technical
   =================================== */

:root {
    /* Colors - Premium Dark Theme */
    --bg-root: #050505;
    --bg-panel: #0f1115;
    --bg-glass: rgba(15, 17, 21, 0.7);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-mono: #71717a;

    --accent: #3b82f6;
    /* Modern Blue */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-hover: #2563eb;

    --accent-success: #10b981;
    --accent-warning: #f59e0b;

    --border: #27272a;
    --border-active: #52525b;
    --border-glass: rgba(255, 255, 255, 0.1);

    /* Spacing & Layout */
    --container-max: 1280px;
    /* Standard standard width */
    --section-padding: 120px;
    --card-radius: 12px;
    /* Modern Softness */

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* ===================================
   Global Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background: var(--bg-root);
}

body {
    font-family: var(--font-sans);
    background: var(--bg-root);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle Gradient Background instead of grid */
    background: radial-gradient(circle at 50% 0%, #111111 0%, #050505 100%);
    min-height: 100vh;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

.mono {
    font-family: var(--font-mono);
    letter-spacing: -0.05em;
}

.t-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.glitch-text {
    position: relative;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius);
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-root);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.brand-marker {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    border-left: 1px solid var(--border);
    transition: all 0.2s;
}

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

.nav-links button {
    height: 100%;
    padding: 0 24px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 6px;
    /* Slightly rounded */
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-root);
    border-color: var(--text-primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.btn-nav-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: var(--text-primary);
    color: var(--bg-root);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 20px;
    transition: all 0.2s ease;
}

.btn-nav-primary:hover {
    background: var(--accent);
    color: white;
}

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

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    height: 100%;
    align-items: stretch;
}

.hero-left {
    padding: 100px 60px 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.sys-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 32px;
    border-radius: 20px;
}

.hero-title {
    font-size: 84px;
    line-height: 0.9;
    margin-bottom: 32px;
    letter-spacing: -3px;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 60px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-top: auto;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 400;
    /* Mono style numbers often look better lighter */
    font-family: var(--font-mono);
}

/* Hero Visual - Blueprint Style */
.hero-visual {
    position: relative;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.interface-mockup {
    width: 100%;
    border: 1px solid var(--text-primary);
    background: var(--bg-root);
    position: relative;
    padding: 2px;
}

.interface-header {
    height: 24px;
    background: var(--text-primary);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--bg-root);
    border-radius: 50%;
    /* Only rounded element allowed */
}

.interface-content {
    padding: 20px;
}

/* ===================================
   Features - Grid Layout
   =================================== */

.features {
    border-bottom: 1px solid var(--border);
}

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

.feature-cell {
    padding: 60px 40px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.feature-cell:hover {
    background: var(--bg-panel);
    z-index: 10;
}

.feature-nr {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
    letter-spacing: 0.05em;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-desc {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Wide cell */
.cell-wide {
    grid-column: span 2;
}

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

.pricing {
    padding: var(--section-padding) 0;
}

.cta-box {
    border: 1px solid var(--border);
    padding: 80px;
    text-align: center;
    background: repeating-linear-gradient(45deg,
            var(--bg-panel),
            var(--bg-panel) 10px,
            var(--bg-root) 10px,
            var(--bg-root) 20px);
}

.cta-title {
    font-size: 48px;
    margin-bottom: 32px;
}

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

.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

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

    .hero-left {
        padding: 40px 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

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

    .cell-wide {
        grid-column: span 1;
    }

    .feature-cell {
        border-right: none;
    }

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