/* HeroBenefits — Main Stylesheet */

:root {
    --red:    #CC2929;
    --navy:   #002855;
    --gold:   #FFD700;
    --dark:   #0a0a0a;
    --panel:  #111827;
    --card:   #1a2234;
    --white:  #ffffff;
    --muted:  #94a3b8;
    --border: #1e3a5f;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --transition: all 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header / Banner ── */
.site-header {
    position: relative;
    width: 100%;
}

.site-header img.banner {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.25) 100%
    );
}

/* ── Navbar ── */
.navbar {
    background: var(--navy);
    border-bottom: 3px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    padding: 14px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 16px 22px;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border-bottom-color: var(--gold);
}

/* ── Section defaults ── */
section { padding: 72px 0; }

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 640px;
}

/* ── Hero (home) ── */
.hero {
    background: linear-gradient(135deg, var(--panel) 0%, #0d1b2e 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.hero .section-sub {
    margin: 0 auto 40px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.badge {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px 22px;
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ── Who Qualifies ── */
.qualifies {
    background: var(--panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.qualifies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.qualify-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.qualify-card:hover {
    border-left-color: var(--gold);
    transform: translateX(4px);
}

.qualify-ico {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.qualify-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.qualify-card p {
    font-size: 0.88rem;
    color: var(--muted);
}

/* ── Products / Downloads ── */
.products {
    background: var(--dark);
}

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

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(255,215,0,0.12);
}

.product-card.coming-soon {
    opacity: 0.55;
    pointer-events: none;
}

.product-img {
    background: #0d1b2e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border-bottom: 1px solid var(--border);
}

.product-img img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.product-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.product-body p {
    font-size: 0.9rem;
    color: var(--muted);
    flex: 1;
    margin-bottom: 20px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-download:hover {
    background: transparent;
    border-color: var(--red);
    color: var(--red);
}

.btn-download svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.coming-tag {
    display: inline-block;
    background: #1e3a5f;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-align: center;
}

/* ── Calculators section ── */
.calculators {
    background: var(--panel);
    border-top: 1px solid var(--border);
}

.calc-wrapper {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.calc-block {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.calc-block-header {
    background: var(--navy);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--red);
}

.calc-block-header span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.calc-block iframe {
    width: 100%;
    height: 880px;
    border: none;
    display: block;
    background: #111;
}

/* ── Contact ── */
.contact {
    background: var(--panel);
    border-top: 1px solid var(--border);
}

.contact-shell {
    max-width: 680px;
    margin-top: 48px;
}

/* ── Contact Form ── */
.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

.req { color: var(--red); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; }

.form-group input,
.form-group textarea {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: var(--transition);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.08);
}

.btn-submit {
    align-self: flex-start;
    background: var(--red);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 36px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: transparent;
    border-color: var(--red);
    color: var(--red);
}

.form-success {
    margin-top: 40px;
    background: var(--card);
    border: 1px solid #1e4d2b;
    border-left: 4px solid #4caf50;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.form-success-icon {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 12px;
}

.form-success h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--muted);
}

.form-error {
    margin-top: 20px;
    background: #2a0808;
    border: 1px solid #b71c1c;
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: #ef5350;
    font-size: 0.92rem;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .btn-submit { width: 100%; text-align: center; }
}

/* ── Back to Top ── */
.back-to-top {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--navy);
    color: var(--gold);
    font-size: 1.8rem;
    line-height: 1;
    transition: var(--transition);
    border-top: 1px solid var(--border);
}

.back-to-top:hover {
    background: var(--red);
    color: var(--white);
}

/* ── Footer ── */
.site-footer {
    background: var(--navy);
    border-top: 3px solid var(--red);
    padding: 40px 0 28px;
    text-align: center;
}

.site-footer p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.site-footer a {
    color: var(--gold);
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--white);
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.8rem !important;
    color: #475569 !important;
}

/* ── Divider ── */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .site-header { height: 260px; }

    .banner-overlay { padding: 24px; }
    .banner-overlay h1 { font-size: 2rem; }
    .banner-overlay p { font-size: 0.95rem; }

    .nav-brand { display: none; }

    .nav-links a { padding: 14px 14px; font-size: 0.88rem; }

    section { padding: 48px 0; }

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

    .calc-block iframe { height: 1000px; }
}

@media (max-width: 480px) {
    .site-header { height: 200px; }
    .banner-overlay h1 { font-size: 1.6rem; }
    .products-grid { grid-template-columns: 1fr; }
}

@media print {
    .navbar, .site-footer { display: none; }
}
