/* =========================================
   AFG INSTITUTIONAL RESEARCH THEME
   Axiom Forecasting Group
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0f14;
    color: #e6e9ed;
    line-height: 1.7;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */

header {
    background: #05080c;
    border-bottom: 1px solid #24303d;
    padding: 22px 0;
    position: relative;
    z-index: 10;
}

.nav-container {
    width: 90%;
    max-width: 1240px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #ffffff;
}

.logo span {
    color: #c9a227;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    color: #aeb8c4;
    text-decoration: none;
    margin-left: 24px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: color .2s ease, border-color .2s ease;
}

nav a:hover {
    color: #c9a227;
}
nav a.active,
nav a[aria-current="page"] {
    color: #ffffff;
    border-bottom: 2px solid #c9a227;
    padding-bottom: 5px;
}
/* =========================================
   HERO
   ========================================= */

.hero {
    width: 90%;
    max-width: 1000px;
    margin: 105px auto 90px;
    text-align: center;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 700;
}

.hero h2 {
    font-size: 25px;
    line-height: 1.35;
    font-weight: 400;
    color: #c9a227;
    margin-bottom: 28px;
}

.hero p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #aeb8c4;
}

.hero-note {
    margin-top: 28px !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #718092 !important;
    font-weight: 600;
}

/* =========================================
   BUTTONS
   ========================================= */

.button {
    display: inline-block;
    background: #c9a227;
    color: #05080c;
    padding: 15px 30px;
    margin: 12px 8px;
    border: 1px solid #c9a227;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    transition: all .2s ease;
}

.button:hover {
    background: #e0bb3a;
    border-color: #e0bb3a;
    opacity: 1;
    transform: translateY(-1px);
}

.primary-button {
    background: #c9a227;
    color: #05080c;
}

.secondary-button {
    background: transparent;
    color: #e6e9ed;
    border-color: #526170;
}

.secondary-button:hover {
    background: #151e28;
    border-color: #c9a227;
    color: #ffffff;
}

.full-button {
    width: 100%;
    margin: 20px 0 0;
    text-align: center;
}

/* =========================================
   SECTIONS
   ========================================= */

.section {
    width: 90%;
    max-width: 1200px;
    margin: 95px auto;
}

.section-title {
    text-align: center;
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 45px;
    color: #ffffff;
    letter-spacing: -.5px;
}

/* =========================================
   MEMBERSHIP CARDS
   ========================================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.card {
    background: #111821;
    border: 1px solid #263342;
    padding: 34px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, transform .2s ease;
}

.card:nth-child(2) {
    border-color: #3a4756;
}

.card:hover {
    border-color: #465667;
    transform: translateY(-3px);
}


.card h3 {
    color: #ffffff;
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.3;
}

.card p {
    color: #9da9b6;
    margin-bottom: 12px;
}

.card .price {
    color: #c9a227;
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    margin: 12px 0 22px;
}

.card .price span {
    color: #7f8b99;
    font-size: 15px;
    font-weight: 400;
}

.card .button {
    margin-top: auto;
}

/* =========================================
   MARKET / RECEIVES PANEL
   ========================================= */

.market-panel {
    width: 90%;
    max-width: 1200px;
    margin: 95px auto;
    background: #0f161f;
    border: 1px solid #263342;
    padding: 55px 45px;
}

.market-panel h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 32px;
    letter-spacing: -.5px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.metric-card {
    background: #131c26;
    border: 1px solid #2b3948;
    padding: 30px 24px;
    text-align: center;
}

.metric-card h3 {
    color: #c9a227;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.metric-card p {
    font-size: 18px;
    color: #d4dae1;
}

/* =========================================
   RESEARCH APPROACH
   ========================================= */

.section > .card {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px;
}

.section > .card h3 {
    font-size: 27px;
    margin-bottom: 18px;
}

.section > .card p {
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================
   CTA
   ========================================= */

.cta {
    width: 90%;
    max-width: 950px;
    margin: 110px auto 95px;
    text-align: center;
    background: #101821;
    border: 1px solid #2d3b4a;
    padding: 65px 45px;
}

.cta h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #9da9b6;
    font-size: 17px;
}

/* =========================================
   DISCLAIMER
   ========================================= */

.disclaimer {
    width: 90%;
    max-width: 1000px;
    margin: 70px auto 0;
    padding: 25px 0;
    border-top: 1px solid #202b37;
    color: #687585;
    font-size: 12px;
    line-height: 1.7;
}

.disclaimer p {
    margin-bottom: 12px;
}

.disclaimer strong {
    color: #8c98a5;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #05080c;
    border-top: 1px solid #24303d;
    text-align: center;
    padding: 40px 20px;
    color: #687585;
    margin-top: 80px;
}

footer p {
    margin-bottom: 5px;
}

/* =========================================
   CONTACT FORM
   ========================================= */

.cta form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cta input,
.cta textarea {
    width: 100%;
    padding: 15px;
    border-radius: 3px;
    border: 1px solid #334252;
    background: #0b1118;
    color: #e6e9ed;
    font-size: 16px;
    font-family: inherit;
}

.cta input:focus,
.cta textarea:focus {
    outline: none;
    border-color: #c9a227;
}

.cta textarea {
    min-height: 140px;
    resize: vertical;
}

.cta button {
    width: 180px;
    margin: 10px auto 0;
    padding: 14px 24px;
    border: 1px solid #c9a227;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    background: #c9a227;
    color: #05080c;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .nav-container {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        justify-content: center;
    }

    nav a {
        margin: 6px 10px;
    }

    .hero {
        margin-top: 75px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .hero {
        width: 88%;
        margin-top: 55px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        width: 88%;
        margin: 70px auto;
    }

    .section-title {
        font-size: 29px;
    }

    .market-panel {
        width: 88%;
        padding: 38px 22px;
    }

    .market-panel h2 {
        font-size: 28px;
    }

    .card {
        padding: 28px;
    }

    .cta {
        width: 88%;
        padding: 45px 25px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .button {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
