:root {
    --bg-primary: #FAF9F5;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F2F1EC;
    
    --border-color: #E2E4E8;
    --border-subtle: #ECEEE0;
    --border-dark: #11161B;
    
    --text-primary: #11161B;
    --text-secondary: #424952;
    --text-muted: #6E7781;
    
    --accent-ink: #11161B;
    --accent-hover: #2D353E;
    
    --status-green: #16A34A;
    --status-green-bg: #F0FDF4;
    --status-green-border: #BBF7D0;
    
    --status-amber: #D97706;
    --status-amber-bg: #FFFBEB;
    --status-amber-border: #FDE68A;

    --font-heading: 'Newsreader', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-large {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-ink);
    color: #FFFFFF;
    border-color: var(--accent-ink);
}

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

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

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 14px;
    height: 14px;
    background-color: var(--accent-ink);
    display: inline-block;
    border-radius: 2px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

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

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.2s ease;
}

/* Hero Section */
.hero {
    padding: 5rem 3rem 4rem 3rem;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--status-amber-bg);
    color: var(--status-amber);
    border: 1px solid var(--status-amber-border);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--status-amber);
    border-radius: 50%;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h1 em {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-feature-highlight {
    background: var(--status-green-bg);
    border: 1px solid var(--status-green-border);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-feature-highlight .highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--status-green);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.hero-feature-highlight .highlight-tag .status-dot {
    background: var(--status-green);
}

.hero-feature-highlight p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.compliance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

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

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.badge-dot.yellow { background-color: var(--status-amber); }
.badge-dot.green { background-color: var(--status-green); }

/* Dashboard Mockup - Grid / Editorial Style */
.dashboard-mockup {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.dash-header {
    background: var(--bg-primary);
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-circles i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #CBD5E1;
    margin-right: 4px;
}

.dash-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-status-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: var(--status-green-bg);
    color: var(--status-green);
    border: 1px solid var(--status-green-border);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

.dash-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 4px;
}

.dash-label {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.dash-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.dash-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.dash-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.compliance-list {
    list-style: none;
    margin-top: 0.4rem;
}

.compliance-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-icon.green { background-color: var(--status-green); }
.status-icon.amber { background-color: var(--status-amber); }

.dash-row {
    grid-column: span 2;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 4px;
}

.dash-progress-track {
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    overflow: hidden;
    margin: 0.75rem 0 0.5rem 0;
}

.dash-progress-bar {
    height: 100%;
    width: 100%;
    background: var(--text-primary);
}

.dash-meta-info {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    color: var(--text-muted);
}

/* Bento / Grid Architecture Section */
.bento-grid-section {
    padding: 5rem 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-kicker {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.bento-card.wide {
    grid-column: span 2;
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.code-snippet {
    background: #161B22;
    color: #E6EDF3;
    border-radius: 4px;
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.7;
}

.code-header {
    color: #8B949E;
    font-size: 0.725rem;
    border-bottom: 1px solid #30363D;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.code-snippet code {
    display: block;
}

.log-time { color: #8B949E; }
.log-tag { font-weight: 600; }
.tag-net { color: #58A6FF; }
.tag-info { color: #7EE787; }
.tag-status { color: #D2A8FF; }

/* Future-Proof / Release Monitoring Section */
.future-proof-section {
    padding: 5rem 3rem;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.future-proof-container {
    max-width: 1280px;
    margin: 0 auto;
}

.future-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.future-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.future-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--status-amber);
    background: var(--status-amber-bg);
    border: 1px solid var(--status-amber-border);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 1.25rem;
}

.future-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.future-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.future-card-link {
    margin-top: 1.25rem;
    color: var(--accent-ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.future-card-link:hover {
    text-decoration: underline;
}

.roadmap-detail-content {
    margin-top: 1rem;
    text-align: left;
}

.roadmap-detail-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1.25rem 0 0.5rem;
}

.roadmap-detail-content h4:first-child {
    margin-top: 0;
}

.roadmap-detail-content p,
.roadmap-detail-content li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.roadmap-detail-content ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.roadmap-detail-content .draft-status {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Whitelabel Governance Suite Section */
.suite-section {
    padding: 5rem 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.suite-container {
    max-width: 1280px;
    margin: 0 auto;
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.suite-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.suite-card.feature-highlight {
    background: var(--bg-surface);
    border: 1px solid var(--text-primary);
}

.suite-card.full-width-card {
    grid-column: span 3;
    background: var(--bg-subtle);
}

.suite-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.suite-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.status-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.pill {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: 500;
}

.pill-green {
    background: var(--status-green-bg);
    color: var(--status-green);
    border: 1px solid var(--status-green-border);
}

.pill-amber {
    background: var(--status-amber-bg);
    color: var(--status-amber);
    border: 1px solid var(--status-amber-border);
}

.pill-red {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
}

.pill-muted {
    background: var(--bg-subtle);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Solutions Section */
.solutions-section {
    padding: 5rem 3rem;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.solutions-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
}

.solution-number {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.solution-item h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.solution-item p {
    color: var(--text-secondary);
    font-size: 0.925rem;
}

/* Compliance Section */
.compliance-section {
    padding: 5rem 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.compliance-box {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.compliance-info {
    max-width: 700px;
}

.compliance-info h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.compliance-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Legal Stub Pages */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    flex: 1;
}

.legal-container h1 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.legal-notice-box {
    background: var(--status-amber-bg);
    border: 1px solid var(--status-amber-border);
    color: var(--status-amber);
    padding: 2rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 3rem 2rem 3rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

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

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .bento-grid,
    .future-proof-grid,
    .suite-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card.wide,
    .suite-card.full-width-card {
        grid-column: span 1;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .compliance-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    h1 {
        font-size: 2.4rem;
    }

    .bento-grid-section,
    .future-proof-section,
    .suite-section,
    .solutions-section,
    .compliance-section {
        padding: 3rem 1.5rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .dash-body {
        grid-template-columns: 1fr;
    }

    .dash-row {
        grid-column: span 1;
    }
}

/* Lead-Formular Modal */
.lead-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 22, 27, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.lead-modal-backdrop:not([hidden]) {
    display: flex;
}

.lead-modal {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    max-width: 420px;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 20px 60px rgba(17, 22, 27, 0.25);
}

.lead-modal h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.lead-modal-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

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

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

.lead-field-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 1rem 0 0.4rem;
}

.lead-modal input[type="email"],
.lead-modal input[type="text"],
.lead-modal select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.lead-modal input:focus,
.lead-modal select:focus {
    outline: 2px solid var(--accent-ink);
    outline-offset: 1px;
}

.lead-honeypot {
    display: none;
}

.lead-form-error {
    color: #B91C1C;
    font-size: 0.85rem;
    min-height: 1.2em;
    margin-top: 0.75rem;
}

.lead-submit {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}
