/* CryoWeave Static Site - Bold Light Theme */

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

:root {
    --primary-text: #0a0f1a;
    --secondary-text: #3d4a5c;
    --accent-orange: #ff6b35;
    --accent-blue: #0066ff;
    --border-color: #d8dce3;
    --border-dark: #1a2332;
    --background-gray: #f5f7fa;
    --white: #ffffff;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--primary-text);
    background: var(--white);
}

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

/* Accessibility: Focus Indicators */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--accent-orange);
    outline-offset: 4px;
}

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: 0;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
}

.skip-link:focus {
    position: fixed;
    top: 16px;
    left: 16px;
    width: auto;
    height: auto;
    padding: 16px 24px;
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation */
nav {
    background: var(--white);
    border-bottom: 2px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-logo span {
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-orange);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-orange);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-text);
    cursor: pointer;
    padding: 8px;
}

/* Header / Hero Styles */
header.page-hero {
    padding: 120px 0 100px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

header.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-orange) 20%,
        var(--accent-blue) 50%,
        var(--accent-orange) 80%,
        transparent 100%
    );
}

/* Homepage Hero - Asymmetric */
header.home-hero {
    padding: 120px 0 100px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

header.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.04) 100%);
    pointer-events: none;
}

header.home-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-orange) 20%,
        var(--accent-blue) 50%,
        var(--accent-orange) 80%,
        transparent 100%
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 80px;
    align-items: start;
    position: relative;
}

/* Page Hero - Single Column */
.page-hero-content {
    max-width: 900px;
}

h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
    color: var(--primary-text);
}

h1 .highlight {
    color: var(--accent-orange);
    display: block;
    font-weight: 700;
}

.subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.lead {
    font-size: 21px;
    line-height: 1.7;
    color: var(--secondary-text);
    max-width: 720px;
    margin-bottom: 40px;
}

.credentials {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-left: 3px solid var(--accent-orange);
    padding-left: 20px;
}

/* Hero Callout Box */
.hero-callout {
    background: var(--accent-orange);
    color: var(--white);
    padding: 40px;
    border-radius: 2px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.hero-callout-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-callout-label {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-callout-sub {
    font-size: 14px;
    margin-top: 12px;
    opacity: 0.95;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

section.gray {
    background: var(--background-gray);
}

section.border-top {
    border-top: 2px solid var(--border-color);
}

h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 56px;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    color: var(--primary-text);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--primary-text);
}

h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-text);
}

/* Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

/* Feature Cards */
.feature {
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--border-dark);
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-orange);
}

.feature h3 {
    margin-bottom: 20px;
}

.feature p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Capability Cards */
.capability {
    padding: 48px;
    background: var(--white);
    border: 2px solid var(--border-dark);
    border-radius: 2px;
}

.capability h3 {
    margin-bottom: 28px;
    font-size: 26px;
}

.capability ul {
    list-style: none;
    padding: 0;
}

.capability li {
    padding: 12px 0 12px 28px;
    color: var(--secondary-text);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    font-size: 16px;
}

.capability li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 18px;
}

.capability li:last-child {
    border-bottom: none;
}

/* Application Cards */
.application {
    padding: 48px;
    background: var(--white);
    border-left: 6px solid var(--accent-orange);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.application h3 {
    font-size: 26px;
    margin-bottom: 24px;
}

.application ul {
    list-style: none;
    padding: 0;
}

.application li {
    padding: 10px 0 10px 32px;
    color: var(--secondary-text);
    position: relative;
    font-size: 16px;
}

.application li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 12px;
    top: 14px;
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.standard {
    text-align: center;
    padding: 56px 32px;
    background: var(--white);
    border: 3px solid var(--border-dark);
    border-radius: 2px;
    position: relative;
}

.standard::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 6px;
    background: var(--accent-orange);
}

.standard h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.standard p {
    color: var(--secondary-text);
    font-size: 15px;
    font-weight: 500;
}

/* Value Proposition Box */
.value-prop {
    background: var(--accent-orange);
    color: var(--white);
    padding: 80px 48px;
    margin: 120px 0;
    position: relative;
    overflow: hidden;
}

.value-prop::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.value-prop h2 {
    margin-bottom: 32px;
    font-size: 56px;
    color: var(--white);
}

.value-prop h2::after {
    background: var(--white);
}

.value-prop p {
    font-size: 24px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

/* Spec Badge */
.spec-badge {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    padding: 12px 24px;
    border: 2px solid var(--accent-orange);
    border-radius: 2px;
}

/* Section Intro Text */
.section-intro {
    font-size: 20px;
    line-height: 1.7;
    color: var(--secondary-text);
    max-width: 900px;
    margin-bottom: 48px;
}

.section-intro strong {
    color: var(--primary-text);
    font-weight: 600;
}

/* Content Block */
.content-block {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary-text);
    max-width: 800px;
    margin-bottom: 32px;
}

.content-block strong {
    color: var(--primary-text);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 2px;
    background: var(--white);
    color: var(--primary-text);
    transition: border-color 0.2s;
}

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

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

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: #e55b2a;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--background-gray);
    border-top: 2px solid var(--border-color);
    padding: 80px 0 40px;
}

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

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--secondary-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-contact {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--secondary-text);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--secondary-text);
    font-size: 14px;
}

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

    .hero-callout {
        max-width: 320px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 36px;
    }

    .container,
    .nav-container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-callout-number {
        font-size: 56px;
    }

    .value-prop h2 {
        font-size: 40px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-bottom: 2px solid var(--border-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    .nav-menu a.active::after {
        display: none;
    }

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