/* Common styles used across multiple pages */

body {
    font-family: "Rubik", sans-serif;
    background-color: #ffffff;
    color: #111827;
}

.bg-dark-navy {
    background-color: #0f172a;
}

.text-brand-teal {
    color: #14b8a6;
}

.bg-brand-teal {
    background-color: #14b8a6;
}

.border-brand-teal {
    border-color: #14b8a6;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #14b8a6;
    color: white;
}

.btn-primary:hover {
    background-color: #0d9488;
}

.btn-secondary {
    background-color: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

/* Critical CSS inlined for immediate rendering */
.text-center {
    text-align: center;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-gray-600 {
    color: #4b5563;
}

.video-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: #020617;
    color: #f8fafc;
    overflow: hidden;
}

.video-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    filter: saturate(1.2) contrast(1.05);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%,
            rgba(20, 184, 166, 0.4),
            transparent 55%),
        linear-gradient(120deg,
            rgba(2, 6, 23, 0.95) 0%,
            rgba(2, 6, 23, 0.35) 60%,
            rgba(2, 6, 23, 0.9) 100%);
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(0.1rem, 0.5vw, 1.5rem) clamp(1.5rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 5rem);
}

.glass-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: rgba(10, 16, 37, 0.65);
    border: 1px solid rgba(226, 232, 240, 0.2);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(18px);
    flex-wrap: wrap;
}

.glass-nav .logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    color: #e2e8f0;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #14b8a6;
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
}

.nav-link {
    color: #e2e8f0;
    font-weight: 500;
}

.nav-link:hover {
    color: #14b8a6;
}

.hero-content {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-eyebrow {
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.9);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0;
}

.hero-subtext {
    font-size: 1.125rem;
    color: rgba(226, 232, 240, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-glass {
    border: 1px solid rgba(248, 250, 252, 0.5);
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.85);
}

.hero-divider {
    width: 32px;
    height: 1px;
    background: rgba(226, 232, 240, 0.5);
    display: inline-block;
}

.contact-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.contact-card {
    background: #fff;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 35px 100px rgba(15, 23, 42, 0.08);
    padding: clamp(2rem, 4vw, 3.5rem);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(248, 250, 252, 0.95);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(20, 184, 166, 0.8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.contact-meta {
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.85);
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

footer {
    background-color: #0f172a;
    color: #cbd5f5;
}

footer a {
    color: inherit;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .glass-nav {
        border-radius: 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-cta {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .hero-meta {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-hero video {
        display: none;
    }

    .video-hero {
        background-image:
            linear-gradient(180deg,
                rgba(2, 6, 23, 0.95),
                rgba(2, 6, 23, 0.85)),
            url(images/log-overview.png);
        background-size: cover;
        background-position: center;
    }
}