/* Syntrisec Landing Page - European Factory Floor OT Security */

/* ========================================
   Design System: Color Palette
   ======================================== */
:root {
    /* Primary Colors */
    --paper: #F5F3EE;        /* Default background, warm off-white */
    --carbon: #2A2A2A;       /* Default text, structural color */
    --orange: #F15024;       /* Single accent, focal points */
    --indigo: #242874;       /* Reserved for nav underlines only */

    /* Support Tones */
    --paper-dim: #EBE8E0;    /* Secondary backgrounds, cards/panels */
    --carbon-soft: #6E6E6E;  /* Body text where carbon too heavy */
    --carbon-muted: #8C8C8C; /* Technical labels, secondary annotations */
    --carbon-faint: #ACACAC; /* Inactive nav, separators */
    --hairline: #D9D7D1;     /* Thin dividing lines, chip borders */

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 6rem;

    /* Typography */
    --font-family: 'Montserrat', sans-serif;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

/* ========================================
   Global Base Styles
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--carbon);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.main-navbar {
    background: rgba(245, 243, 238, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    flex-shrink: 0;
}

.logo-main {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-main:hover {
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-cta-primary,
.nav-cta-secondary {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.875rem;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-cta-primary {
    background: var(--orange);
    color: var(--paper);
}

.nav-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(241, 80, 36, 0.3);
}

.nav-cta-secondary {
    background: transparent;
    color: var(--carbon);
    border: 1px solid var(--hairline);
}

.nav-cta-secondary:hover {
    border-color: var(--indigo);
    box-shadow: 0 4px 12px rgba(36, 40, 116, 0.15);
}

/* ========================================
   Section Eyebrows (§ markers)
   ======================================== */
.section-eyebrow {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.section-mark {
    color: var(--orange);
    font-weight: 700;
    margin-right: 0.5em;
}

/* ========================================
   Dot Cluster Glyphs
   ======================================== */
.dot-cluster {
    display: grid;
    gap: 6px;
    width: fit-content;
}

.dot-cluster--3x3 {
    grid-template-columns: repeat(3, 6px);
    grid-template-rows: repeat(3, 6px);
}

.dot-cluster--4x4 {
    grid-template-columns: repeat(4, 6px);
    grid-template-rows: repeat(4, 6px);
}

.dot-cluster--3x3 .dot,
.dot-cluster--4x4 .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-cluster--carbon .dot {
    background: var(--carbon-faint);
}

.dot-cluster--orange .dot {
    background: var(--orange);
}

/* Auto-generate dots */
.dot-cluster--3x3::before,
.dot-cluster--4x4::before {
    content: '';
    display: contents;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-5xl) 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(241, 80, 36, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-headline {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--carbon);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.01em;
}

.hero-highlight {
    color: var(--orange);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.5;
    color: var(--carbon-soft);
    margin-bottom: var(--space-3xl);
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.btn-primary,
.btn-secondary {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--paper);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(241, 80, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--carbon);
    border: 2px solid var(--carbon);
}

.btn-secondary:hover {
    background: var(--carbon);
    color: var(--paper);
}

.hero-visual {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   Why Now Section
   ======================================== */
.why-now-section {
    background: var(--paper-dim);
    padding: var(--space-5xl) 0;
}

.why-now-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    margin-bottom: var(--space-2xl);
}

.stat-number {
    font-size: 48px;
    font-weight: 500;
    color: var(--orange);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--carbon-soft);
}

.fact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    justify-content: center;
}

.attestation-chip {
    background: rgba(42, 42, 42, 0.025);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--carbon-soft);
}

/* ========================================
   Solution Section
   ======================================== */
.solution-section {
    background: var(--paper);
    padding: var(--space-5xl) 0 var(--space-xl) 0;
}

.solution-headline {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--carbon);
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.schematic-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    margin: var(--space-4xl) auto;
    padding: var(--space-3xl);
    position: relative;
    max-width: 900px;
}

.schematic-node {
    text-align: center;
    flex: 1;
}

.node-label {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--carbon-muted);
    margin-top: var(--space-md);
}

.hairline {
    height: 1.4px;
    flex: 1;
    background: var(--carbon-faint);
    position: relative;
}

.hairline--orange {
    background: var(--orange);
    height: 2px;
}

.hairline::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--carbon-faint);
    font-size: 14px;
}

.hairline--orange::after {
    color: var(--orange);
}

.solution-subtext {
    font-size: 18px;
    line-height: 1.5;
    color: var(--carbon-soft);
    text-align: center;
    max-width: 600px;
    margin: var(--space-2xl) auto 0;
}

.dashboard-showcase {
    margin-top: var(--space-4xl);
}

.dashboard-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(42, 42, 42, 0.15);
}

/* ========================================
   Capabilities Section
   ======================================== */
.capabilities-section {
    background: var(--paper);
    padding: var(--space-2xl) 0 var(--space-5xl) 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.capability-card {
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(42, 42, 42, 0.1);
    border-color: var(--orange);
}

.capability-icon {
    margin-bottom: var(--space-lg);
}

.capability-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--carbon);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.capability-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--carbon-soft);
}

/* ========================================
   Value Proposition Section
   ======================================== */
.value-section {
    background: var(--paper-dim);
    padding: var(--space-5xl) 0;
}

.cost-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin: var(--space-4xl) auto;
    max-width: 900px;
}

.cost-column {
    text-align: center;
}

.cost-label {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--carbon-muted);
    margin-bottom: var(--space-lg);
}

.cost-amount {
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.cost-old {
    color: var(--carbon-soft);
    text-decoration: line-through;
}

.cost-new {
    color: var(--orange);
}

.vs-divider {
    font-size: 24px;
    font-weight: 600;
    color: var(--carbon-muted);
}

.pricing-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-3xl);
}

.value-tagline {
    font-size: 22px;
    font-weight: 500;
    color: var(--carbon);
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ========================================
   Contact/Demo Section
   ======================================== */
.contact-section {
    background: var(--carbon);
    padding: var(--space-5xl) 0;
    color: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.contact-headline {
    font-size: 32px;
    font-weight: 500;
    color: var(--paper);
    margin-bottom: var(--space-xl);
}

.demo-form {
    display: grid;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    color: var(--paper);
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-family);
    font-size: 16px;
    padding: var(--space-md);
    border: 1px solid rgba(245, 243, 238, 0.3);
    border-radius: var(--radius-md);
    background: rgba(245, 243, 238, 0.1);
    color: var(--paper);
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(245, 243, 238, 0.5);
}

.form-select {
    cursor: pointer;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(245, 243, 238, 0.15);
    box-shadow: 0 0 0 3px rgba(241, 80, 36, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    background: var(--orange);
    color: var(--paper);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    padding: var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(241, 80, 36, 0.4);
}

.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--carbon);
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(245, 243, 238, 0.1);
}

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

.footer-logo {
    height: 40px;
    /* No filter needed - logo text should be white for dark background */
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.footer-link {
    color: var(--paper);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-copyright {
    color: var(--paper);
    font-size: 14px;
    opacity: 0.6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 42px;
    }

    .why-now-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        margin-bottom: var(--space-xl);
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-comparison {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .vs-divider {
        transform: rotate(90deg);
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .nav-container {
        padding: 0 var(--space-lg);
        height: 70px;
    }

    .logo-main {
        height: 40px;
    }

    .nav-cta-primary {
        padding: var(--space-sm) var(--space-lg);
        font-size: 14px;
    }

    .hero-section {
        min-height: auto;
        padding: var(--space-4xl) 0;
        margin-top: 70px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-visual {
        position: static;
        transform: none;
        margin-top: var(--space-3xl);
    }

    .section-eyebrow {
        font-size: 11px;
    }

    .solution-headline,
    .contact-headline {
        font-size: 24px;
    }

    .schematic-flow {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-2xl) var(--space-lg);
    }

    .hairline {
        width: 2px;
        height: 40px;
        flex: none;
    }

    .hairline::after {
        content: '↓';
        right: auto;
        top: auto;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .stat-number {
        font-size: 36px;
    }

    .cost-amount {
        font-size: 36px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .capability-card {
        padding: var(--space-xl);
    }

    .pricing-chips {
        flex-direction: column;
        align-items: stretch;
    }

    .attestation-chip {
        text-align: center;
    }

    .contact-visual {
        margin-top: var(--space-2xl);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

.mb-3xl {
    margin-bottom: var(--space-3xl);
}
