/* ── Palette ──
   --void:        #1a1a2e
   --navy:        #16213e
   --ocean:       #0f3460
   --gold:        #efc07b
*/

header h1 img {
    max-height: 48px;
    width: auto;
    display: block;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: #1a1a2e;
    background: transparent;
    color: #e0e0e0;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
header {
    background: rgba(22, 33, 62, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(15, 52, 96, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 { font-size: 1.4rem; font-family: Georgia, 'Times New Roman', serif; color: #efc07b; }

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

nav a {
    color: #a0aec0;
    padding: 6px 14px;
    font-family: Georgia, 'Times New Roman', serif;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
    border-radius: 6px;
}
nav a:hover { color: #efc07b; }

/* ── Dashboard / Login button ── */
.nav-dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(239, 192, 123, 0.4);
    border-radius: 10px;
    background: rgba(239, 192, 123, 0.05);
    color: #efc07b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.88rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    position: relative;
    overflow: hidden;
}
/* shimmer line at top */
.nav-dashboard-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239,192,123,0.5), transparent);
}
.nav-dashboard-btn:hover {
    background: rgba(239, 192, 123, 0.12);
    border-color: #efc07b;
    box-shadow: 0 0 20px rgba(239, 192, 123, 0.15);
    transform: translateY(-1px);
    color: #efc07b;
}
.nav-btn-icon { flex-shrink: 0; opacity: 0.85; }

/* Logged-out: single line "Login" */
.nav-btn-main { line-height: 1; }
.nav-btn-sub  { display: none; }

/* Logged-in: stacked "Dashboard" + "Logged in as xxx" */
.nav-dashboard-btn--active {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 18px 8px 14px;
    border-color: rgba(239, 192, 123, 0.55);
    box-shadow: 0 0 14px rgba(239, 192, 123, 0.08);
}
.nav-dashboard-btn--active .nav-btn-icon {
    display: none; /* icon hidden when stacked to save space */
}
.nav-dashboard-btn--active .nav-btn-sub {
    display: block;
    font-size: 0.71rem;
    font-weight: normal;
    color: #a0aec0;
    letter-spacing: 0.02em;
}

/* ── Mobile ── */

@media (max-width: 640px) {
    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
    }
    nav { display: none; }
    .nav-dashboard-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
        flex-shrink: 0;
        margin-left: auto;
    }
    .nav-btn-sub {
        font-size: 0.65rem;
    }
    header h1 a img {
        max-width: 120px;
    }
}

/* ── Hero ── */
.hero { text-align: center; padding: 100px 20px; background: transparent; }
.hero h2 { font-size: 2.5rem; margin-bottom: 16px; color: #ffffff; font-family: Georgia, 'Times New Roman', serif; }
.hero p { font-size: 1.1rem; margin-bottom: 32px; color: #a0aec0; font-family: Georgia, 'Times New Roman', serif; }
.hero button {
    padding: 14px 32px;
    background: #efc07b;
    border: none;
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s;
    font-family: Georgia, 'Times New Roman', serif;
}
.hero button:hover { background: #d4a55e; transform: translateY(-2px); }

/* ── Sections ── */
.section { padding: 60px 20px; text-align: center; background: transparent; }
.section h2 { font-size: 1.8rem; margin-bottom: 36px; font-family: Georgia, 'Times New Roman', serif; color: #efc07b; }

/* ── How It Works Cards ── */
.cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.card {
    background: rgba(15, 52, 96, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 20px;
    border-radius: 10px;
    width: 250px;
    border: 1px solid rgba(26, 74, 122, 0.8);
    transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: #efc07b; }
.card h3 { margin-bottom: 10px; font-size: 1.1rem; color: #efc07b; font-family: Georgia, 'Times New Roman', serif; }
.card p { color: #a0aec0; font-family: Georgia, 'Times New Roman', serif; font-size: 0.95rem; }

/* ── Footer ── */
footer {
    background: rgba(22, 33, 62, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    padding: 24px 20px;
    margin-top: 0;
    color: #a0aec0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9rem;
    border-top: 1px solid rgba(15, 52, 96, 0.6);
}

/* ── Eval Section ── */
.eval-section { background: transparent; padding: 80px 20px; }

html { background: #1a1a2e; }
.eval-subtitle { color: #a0aec0; margin-top: -20px; margin-bottom: 36px; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; }

.eval-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; }
.eval-tab {
    padding: 10px 28px;
    background: transparent;
    border: 1px solid rgba(15, 52, 96, 0.8);
    color: #a0aec0;
    font-size: 0.95rem;
    font-family: Georgia, 'Times New Roman', serif;
    cursor: pointer;
    transition: all 0.2s;
}
.eval-tab:first-child { border-radius: 999px 0 0 999px; }
.eval-tab:last-child  { border-radius: 0 999px 999px 0; }
.eval-tab.active { background: #efc07b; border-color: #efc07b; color: #1a1a2e; font-weight: bold; }
.eval-tab:not(.active):hover { border-color: #efc07b; color: #efc07b; }

.eval-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; align-items: flex-start; }

.eval-card {
    background: rgba(15, 52, 96, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(26, 74, 122, 0.35);
    border-radius: 14px;
    padding: 28px 24px;
    width: 270px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}
.eval-card:hover { transform: translateY(-6px); border-color: rgba(239, 192, 123, 0.4); }
.eval-card.featured { border-color: #efc07b; transform: translateY(-8px); }
.eval-card.featured:hover { transform: translateY(-14px); }

.eval-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #efc07b;
    color: #1a1a2e;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', serif;
    padding: 4px 14px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.eval-card h3 { font-size: 1.3rem; font-family: Georgia, 'Times New Roman', serif; color: #ffffff; margin-bottom: 14px; letter-spacing: 0.04em; }

.eval-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.eval-old { color: #a0aec0; text-decoration: line-through; font-size: 0.95rem; font-family: Georgia, 'Times New Roman', serif; }
.eval-new { color: #efc07b; font-size: 1.6rem; font-weight: bold; font-family: Georgia, 'Times New Roman', serif; }
.eval-per { color: #a0aec0; font-size: 0.8rem; font-family: Georgia, 'Times New Roman', serif; }
.eval-coupon { color: #efc07b; font-size: 0.72rem; font-weight: bold; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0.06em; margin-bottom: 20px; }

.eval-stats { list-style: none; border-top: 1px solid rgba(26, 74, 122, 0.6); padding-top: 16px; margin-bottom: 20px; }
.eval-stats li { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.88rem; font-family: Georgia, 'Times New Roman', serif; border-bottom: 1px solid rgba(26, 74, 122, 0.2); color: #cbd5e0; }
.eval-stats li span:last-child { font-weight: bold; font-family: Georgia, 'Times New Roman', serif; color: #e0e0e0; }

.eval-badges { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.eval-badge-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; font-family: Georgia, 'Times New Roman', serif; color: #a0aec0; }
.badge { background: rgba(26, 26, 46, 0.8); border: 1px solid #efc07b; color: #efc07b; font-size: 0.75rem; font-weight: bold; font-family: Georgia, 'Times New Roman', serif; padding: 3px 10px; border-radius: 5px; letter-spacing: 0.05em; }
.badge.check { padding: 3px 8px; }

.eval-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.btn-rules { padding: 11px; background: transparent; border: 1px solid #a0aec0; color: #e0e0e0; border-radius: 7px; font-size: 0.9rem; font-family: Georgia, 'Times New Roman', serif; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.btn-rules:hover { border-color: #efc07b; color: #efc07b; }
.btn-select { padding: 11px; background: transparent; border: 1px solid #efc07b; color: #efc07b; border-radius: 7px; font-size: 0.9rem; font-weight: bold; font-family: Georgia, 'Times New Roman', serif; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn-select:hover { background: #efc07b; color: #1a1a2e; }

.btn-rules-link { display: inline-block; padding: 13px 40px; background: transparent; border: 1px solid #efc07b; color: #efc07b; border-radius: 7px; font-size: 1rem; font-weight: bold; font-family: Georgia, 'Times New Roman', serif; text-decoration: none; transition: background 0.2s, color 0.2s; }
.btn-rules-link:hover { background: #efc07b; color: #1a1a2e; }

.hidden { display: none !important; }

.eval-plan-type { font-size: 0.68rem; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0.1em; color: #efc07b; opacity: 0.75; margin-bottom: 6px; text-transform: uppercase; }

.eval-subtabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.eval-subtab { padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(15, 52, 96, 0.8); background: transparent; color: #a0aec0; cursor: pointer; transition: 0.2s; font-family: Georgia, 'Times New Roman', serif; }
.eval-subtab.active { background: #efc07b; color: #1a1a2e; border-color: #efc07b; }


/* ══════════════════════════════════════
   PARTNERS SECTION
══════════════════════════════════════ */
.partners-section {
    padding: 80px 20px;
}

.partners-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #efc07b;
    opacity: 0.7;
    margin-bottom: 12px;
    font-family: Georgia, 'Times New Roman', serif;
}

.partners-subtitle {
    color: #a0aec0;
    font-size: 1rem;
    margin-top: -20px;
    margin-bottom: 52px;
    font-family: Georgia, 'Times New Roman', serif;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
}

.partner-card {
    background: rgba(15, 52, 96, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(239, 192, 123, 0.15);
    border-radius: 16px;
    padding: 36px 28px;
    width: 260px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
    cursor: default;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 192, 123, 0.45);
    background: rgba(15, 52, 96, 0.6);
}

.partner-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(239, 192, 123, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(239, 192, 123, 0.08);
}

.partner-initial {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', serif;
    color: #efc07b;
    letter-spacing: 0.04em;
}

.partner-name {
    font-size: 1rem;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.partner-desc {
    font-size: 0.84rem;
    color: #a0aec0;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
}


/* ══════════════════════════════════════
   SOCIALS SECTION (redesigned)
══════════════════════════════════════ */
.socials-section {
    padding: 80px 20px 40px;
}

.socials-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #efc07b;
    opacity: 0.7;
    margin-bottom: 12px;
    font-family: Georgia, 'Times New Roman', serif;
}

.socials-subtitle {
    color: #a0aec0;
    font-size: 1rem;
    margin-top: -20px;
    margin-bottom: 48px;
    font-family: Georgia, 'Times New Roman', serif;
}

.socials-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 52, 96, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(239, 192, 123, 0.15);
    border-radius: 14px;
    padding: 22px 28px;
    width: 280px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 192, 123, 0.5);
    background: rgba(15, 52, 96, 0.65);
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(239, 192, 123, 0.1);
    border: 1px solid rgba(239, 192, 123, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #efc07b;
    flex-shrink: 0;
    transition: background 0.2s;
}

.social-card:hover .social-icon {
    background: rgba(239, 192, 123, 0.18);
}

.social-info {
    flex: 1;
    text-align: left;
}

.social-name {
    font-size: 1rem;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    margin-bottom: 4px;
}

.social-handle {
    font-size: 0.82rem;
    color: #a0aec0;
    font-family: Georgia, 'Times New Roman', serif;
}

.social-arrow {
    font-size: 1.1rem;
    color: #efc07b;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.social-card:hover .social-arrow {
    opacity: 1;
    transform: translateX(3px);
}


/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ── Funded Rules Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
    background: rgba(14, 40, 78, 0.97);
    border: 1px solid rgba(239, 192, 123, 0.35);
    border-radius: 16px;
    padding: 40px 36px 32px;
    max-width: 460px;
    width: 100%;
    position: relative;
    animation: modalIn 0.22s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    font-family: Georgia, 'Times New Roman', serif;
}
.modal-close:hover { color: #efc07b; }

.modal-plan-badge {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #efc07b;
    opacity: 0.75;
    margin-bottom: 8px;
    font-family: Georgia, 'Times New Roman', serif;
}

.modal-title {
    font-size: 1.45rem;
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    margin-bottom: 24px;
}

.modal-rules {
    list-style: none;
    border-top: 1px solid rgba(26, 74, 122, 0.6);
    padding-top: 16px;
    margin-bottom: 20px;
}
.modal-rules li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 0.88rem;
    font-family: Georgia, 'Times New Roman', serif;
    border-bottom: 1px solid rgba(26, 74, 122, 0.2);
    color: #cbd5e0;
}
.modal-rules li span:first-child { color: #a0aec0; }
.modal-rules li span:last-child  { font-weight: bold; color: #e0e0e0; text-align: right; }

.modal-note {
    font-size: 0.78rem;
    color: #718096;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    line-height: 1.5;
    border-top: 1px solid rgba(26, 74, 122, 0.3);
    padding-top: 14px;
}

