/* ============================================
   BRAVO LANDING PAGE
   Night Forest Dark Theme — Dramatic Variant
   Fonts: Syne (headings) + Outfit (body)
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
    --bg-deep:       #060A08;
    --bg-body:       #0A0F0C;
    --bg-card:       #111A15;
    --bg-card-hover: #162019;
    --bg-surface:    #1A2620;
    --border-subtle: rgba(16, 185, 129, 0.12);
    --border-glow:   rgba(16, 185, 129, 0.25);

    --emerald:       #10B981;
    --emerald-light: #34D399;
    --emerald-dark:  #059669;
    --emerald-glow:  rgba(16, 185, 129, 0.15);

    --text-primary:  #E4F0E8;
    --text-secondary:#8FA89A;
    --text-muted:    #5C7A6A;
    --text-bright:   #FFFFFF;

    --font-heading: 'Syne', sans-serif;
    --font-body:    'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--emerald);
    color: var(--bg-deep);
}

/* ---- NAV ---- */
.bravo-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.bravo-nav.scrolled {
    background: rgba(6, 10, 8, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 0;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    transition: all 0.4s ease;
}

.bravo-nav.scrolled .nav-logo-img {
    height: 30px;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.85;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--emerald-light);
}

.nav-cta {
    background: var(--emerald) !important;
    color: var(--bg-deep) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--emerald-light) !important;
    transform: translateY(-1px);
}

/* Mobile toggle */
.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(6, 10, 8, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--emerald-light);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem 4rem;
}

/* Ambient radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--emerald);
    border: 1px solid var(--border-glow);
    background: var(--emerald-glow);
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1.08;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 .accent {
    color: var(--emerald);
}

.hero-sub {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn-bravo {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-bravo {
    background: var(--emerald);
    color: var(--bg-deep);
}

.btn-primary-bravo:hover {
    background: var(--emerald-light);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}

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

.btn-outline-bravo {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glow);
}

.btn-outline-bravo:hover {
    color: var(--emerald-light);
    border-color: var(--emerald);
    background: var(--emerald-glow);
    transform: translateY(-2px);
}

.btn-bravo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.product-btn {
    width: 100%;
}

/* ---- SECTIONS COMMON ---- */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-bright);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    max-width: 1200px;
    margin: 0 auto;
}

/* Alternating section backgrounds */
#products,
#industries,
#about {
    background: var(--bg-body);
}

#process,
#certification,
#contact {
    background: var(--bg-deep);
}

/* ---- PRODUCT CARDS ---- */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--emerald-glow);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--emerald-glow);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--emerald);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

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

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.product-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.4rem;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
}

.badge-live {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-light);
    border: 1px solid var(--border-glow);
}

.badge-soon {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- PROCESS STEPS ---- */
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--emerald);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-bright);
    margin-bottom: 0.6rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--border-subtle), var(--emerald), var(--border-subtle));
}

/* ---- INDUSTRY CHIPS ---- */
.industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0.4rem;
}

.industry-chip:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--emerald-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
}

/* ---- CERTIFICATION TIERS ---- */
.cert-card {
    text-align: center;
    padding: 2rem 1rem;
}

.cert-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-certified .cert-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--emerald);
    color: var(--emerald);
}

.cert-silver .cert-badge {
    background: rgba(192, 192, 192, 0.1);
    border: 2px solid #C0C0C0;
    color: #C0C0C0;
}

.cert-gold .cert-badge {
    background: rgba(255, 215, 0, 0.08);
    border: 2px solid #FFD700;
    color: #FFD700;
}

.cert-platinum .cert-badge {
    background: rgba(229, 228, 226, 0.08);
    border: 2px solid #E5E4E2;
    color: #E5E4E2;
}

.cert-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

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

/* ---- ABOUT / QUOTE ---- */
.about-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-bright);
    line-height: 1.5;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--emerald);
}

/* ---- CONTACT FORM ---- */
#contact {
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-control-bravo {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control-bravo::placeholder {
    color: var(--text-muted);
}

.form-control-bravo:focus {
    background: var(--bg-surface);
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px var(--emerald-glow);
    color: var(--text-primary);
    outline: none;
}

.form-control-bravo.is-invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Select dropdown styling */
.form-control-bravo option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-label-bravo {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--emerald-light);
}

.form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

/* ---- FOOTER ---- */
.bravo-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 34px;
    width: auto;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--emerald-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

/* ---- SCROLL REVEAL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: 90vh;
    }

    .section {
        padding: 4rem 0;
    }

    .product-card {
        padding: 1.8rem;
    }

    .process-connector {
        display: none !important;
    }

    .process-step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn-bravo {
        width: 100%;
        max-width: 280px;
    }

    .about-quote {
        margin-top: 2rem;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .industry-chip {
        font-size: 0.82rem;
        padding: 0.6rem 1rem;
    }

    .chip-icon {
        width: 26px;
        height: 26px;
    }

    .cert-badge {
        width: 60px;
        height: 60px;
    }
}