/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --black-light: #141414;
    --black-card: #1a1a1a;
    --gray-dark: #2a2a2a;
    --gray-mid: #555;
    --metal-dark: #71797E;
    --metal-mid: #9EA3A8;
    --metal-light: #C0C0C0;
    --metal-bright: #E0E0E0;
    --white: #f0f0f0;
    --white-dim: #b0b0b0;
    --brass: #b8860b;
    --brass-light: #daa520;
    --accent: #C0C0C0;
    --danger: #cc3333;
    --success: #2d8a4e;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Helvetica, Arial, sans-serif;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--metal-light);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(20,20,20,0.95) 100%);
    border-bottom: 1px solid var(--gray-dark);
    backdrop-filter: blur(12px);
    height: var(--nav-height);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}
.nav-logo .logo-img {
    height: 40px;
    width: auto;
}
.nav-logo:hover {
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white-dim);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(192, 192, 192, 0.1);
}
.nav-links a.active {
    border-bottom: 2px solid var(--metal-light);
}

.locale-switch {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--metal-dark);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--metal-light) !important;
    background: linear-gradient(135deg, var(--gray-dark), var(--black-card));
    transition: all 0.2s;
}
.locale-switch:hover {
    border-color: var(--metal-light);
    background: linear-gradient(135deg, var(--metal-dark), var(--gray-dark));
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--metal-light);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - var(--nav-height) - 200px);
}

/* ===== FLASH MESSAGES ===== */
.flash-message {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}
.flash-success {
    background: rgba(45, 138, 78, 0.15);
    border: 1px solid var(--success);
    color: #6fcf97;
}
.flash-error {
    background: rgba(204, 51, 51, 0.15);
    border: 1px solid var(--danger);
    color: #e88;
}

/* ===== METALLIC DIVIDER ===== */
.metal-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, var(--metal-dark), var(--metal-mid), var(--metal-dark), transparent);
    margin: 3rem auto;
    max-width: 600px;
}

.metal-divider-wide {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, var(--metal-dark), var(--metal-mid), var(--metal-dark), transparent);
    margin: 0;
    max-width: 100%;
}

/* ===== HOME: COMPACT HERO ===== */
.hero-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - var(--nav-height) - 60px);
}

.hero-brand {
    display: flex;
    flex-direction: column;
}

.hero-logo {
    margin-bottom: 1.25rem;
}
.hero-logo .logo-img {
    height: 80px;
    width: auto;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--metal-bright), var(--metal-mid), var(--metal-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    line-height: 1.15;
}

.hero-established {
    font-size: 0.9rem;
    color: var(--white-dim);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--metal-light);
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--brass), var(--brass-light), var(--brass));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Right column: capabilities */
.hero-capabilities {
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: 10px;
    padding: 2rem 2.25rem;
}

.hero-cap-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--metal-bright);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-dark);
}

.hero-cap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-cap-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 1rem;
    color: var(--white-dim);
    line-height: 1.5;
}
.hero-cap-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--metal-light), var(--metal-dark));
    border-radius: 50%;
}

/* Operational banner below the fold line */
.operational-banner {
    text-align: center;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    color: var(--metal-light);
    font-style: italic;
    background: var(--black-light);
    border-top: 1px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
}

/* ===== PAGE SECTIONS (About, TOS) ===== */
.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--metal-bright), var(--metal-mid), var(--metal-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--metal-bright);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.content-block p {
    color: var(--white-dim);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: 10px;
    padding: 2.5rem;
    height: fit-content;
}

.contact-info-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--metal-bright);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metal-mid);
}

.contact-form-card {
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: 10px;
    padding: 2.5rem;
}

.contact-form-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--metal-bright);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

/* ===== FORM STYLES ===== */
.contact-form-card form > div {
    margin-bottom: 1.25rem;
}

.contact-form-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--metal-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--metal-mid);
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.1);
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: var(--gray-mid);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card button[type="submit"],
.contact-form-card .btn-submit {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: linear-gradient(135deg, var(--metal-dark), var(--gray-dark));
    border: 1px solid var(--metal-mid);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}
.contact-form-card button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--metal-mid), var(--metal-dark));
    border-color: var(--metal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.1);
}

.contact-form-card .error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* ===== TOS ===== */
.tos-updated {
    text-align: center;
    color: var(--gray-mid);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--gray-dark);
    background: var(--black-light);
    padding: 3rem 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand .logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--brass-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.footer-info {
    color: var(--white-dim);
    font-size: 0.9rem;
    line-height: 1.8;
}
.footer-company {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    color: var(--white-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-dark);
    text-align: center;
    padding: 1.25rem 2rem;
    color: var(--gray-mid);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid var(--gray-dark);
        padding: 1rem;
        gap: 0;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        text-align: center;
    }
    .nav-locale {
        text-align: center;
        padding: 0.75rem 0;
    }

    .hero-compact {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    .hero-brand {
        text-align: center;
        align-items: center;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-tagline {
        font-size: 1rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-compact {
        padding: 1.5rem 1rem;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-capabilities {
        padding: 1.5rem;
    }
    .contact-layout {
        padding: 1rem 1rem 3rem;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
}
