/* =====================================================
   FREE TIER LANDING PAGE — Insight Theme
   NinjaTrader Ecosystem Partner Page
   ===================================================== */

.ft-page {
    width: 100%;
}

/* ── Eyebrow label ── */
.ft-eyebrow {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(77,163,255,.08);
    border: 1px solid rgba(77,163,255,.2);
    border-radius: 50px;
    padding: 4px 12px;
    margin-bottom: 16px;
}

/* ── HERO ── */
.ft-hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--border);
}

.ft-hero__inner {
    max-width: 680px;
}

.ft-hero__badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.ft-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px 10px;
}

.ft-partner-badge__logo {
    height: 16px;
    width: auto;
    opacity: .7;
}

.ft-hero__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 16px;
    letter-spacing: -.03em;
}

.ft-hero__title-accent {
    color: var(--accent);
}

.ft-hero__subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 560px;
}

.ft-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── STATS BAR ── */
.ft-stats {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.ft-stats__inner {
    display: flex;
    align-items: center;
}

.ft-stat {
    flex: 1;
    padding: 20px 24px;
    text-align: center;
}

.ft-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.ft-stat span {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
}

.ft-stats__divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── SECTIONS ── */
.ft-section {
    padding: 64px 0;
}

.ft-section--alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ft-section__header {
    max-width: 560px;
    margin-bottom: 40px;
}

.ft-section__header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px;
    letter-spacing: -.02em;
}

.ft-section__header p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── FEATURES GRID ── */
.ft-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ft-feat {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: border-color .2s, transform .2s;
}

.ft-feat:hover {
    border-color: rgba(77,163,255,.3);
    transform: translateY(-2px);
}

.ft-feat__icon {
    font-size: 1.75rem;
    margin-bottom: 14px;
}

.ft-feat h3 {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.ft-feat p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── INCLUDED CARDS ── */
.ft-included {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ft-inc-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s;
}

.ft-inc-card:hover {
    border-color: rgba(77,163,255,.3);
}

.ft-inc-card__icon {
    font-size: 1.75rem;
    text-align: center;
}

.ft-inc-card__body h3 {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}

.ft-inc-card__body p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.ft-inc-card__link {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}

.ft-inc-card__link:hover {
    opacity: .8;
}

/* ── SPOTLIGHT ── */
.ft-spotlight {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    padding: 32px;
}

.ft-spotlight__image {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.ft-spotlight__image img {
    width: 100%;
    display: block;
}

.ft-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(77,163,255,.1);
    border: 1px solid rgba(77,163,255,.2);
    border-radius: 50px;
    padding: 3px 10px;
    margin-bottom: 12px;
}

.ft-spotlight__body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}

.ft-spotlight__body p {
    font-size: .9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 20px;
}

.ft-spotlight__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ft-spotlight__tag {
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.ft-tag--bullish {
    color: #4dff4d;
    background: rgba(77,255,77,.08);
    border-color: rgba(77,255,77,.2);
}

/* ── MARKETS ── */
.ft-markets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ft-market-group {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.ft-market-group h4 {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
}

.ft-market-group p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── EMAIL SIGNUP ── */
.ft-signup-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid rgba(77,163,255,.2);
    border-radius: 16px;
    padding: 40px 48px;
}

.ft-signup-block__body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 10px;
}

.ft-signup-block__body p {
    font-size: .9375rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.ft-mc-form {
    width: 100%;
}

.ft-mc-row {
    display: flex;
    gap: 10px;
}

.ft-mc-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: .9375rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}

.ft-mc-input:focus {
    border-color: var(--accent);
}

.ft-mc-btn {
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.ft-signup-block__social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: .875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.ft-signup-block__social a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* ── UPGRADE COMPARISON ── */
.ft-upgrade {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.ft-upgrade__free,
.ft-upgrade__premium {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.ft-upgrade__premium {
    border-color: rgba(77,163,255,.3);
    background: linear-gradient(135deg, rgba(77,163,255,.05) 0%, var(--bg) 60%);
}

.ft-upgrade__label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ft-upgrade__label--premium {
    color: var(--accent);
}

.ft-upgrade__free h3,
.ft-upgrade__premium h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 20px;
}

.ft-upgrade__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-upgrade__list li {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.ft-upgrade__list li:first-child ~ li:not([style]) {
    color: var(--text);
}

.ft-upgrade__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: .875rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── FAQ ── */
.ft-faq-wrap {
    max-width: 720px;
}

.ft-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-faq__item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s;
}

.ft-faq__item[open] {
    border-color: rgba(77,163,255,.3);
}

.ft-faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.ft-faq__item summary::-webkit-details-marker {
    display: none;
}

.ft-faq__item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform .2s;
    flex-shrink: 0;
}

.ft-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.ft-faq__answer {
    padding: 0 20px 16px;
    border-top: 1px solid var(--border);
}

.ft-faq__answer p {
    font-size: .9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 14px 0 0;
}

/* ── FINAL CTA ── */
.ft-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(77,163,255,.06) 0%, transparent 60%);
    border-top: 1px solid var(--border);
    text-align: center;
}

.ft-cta__inner {
    max-width: 560px;
    margin: 0 auto;
}

.ft-cta__inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px;
    letter-spacing: -.02em;
}

.ft-cta__inner > p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 32px;
}

.ft-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ft-cta__note {
    font-size: .875rem;
    color: var(--text-muted);
}

.ft-cta__note a {
    color: var(--accent);
    text-decoration: none;
}

/* ── DISCLAIMER ── */
.ft-disclaimer {
    background: rgba(245,166,35,.05);
    border: 1px solid rgba(245,166,35,.15);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: .8125rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 48px;
}

.ft-disclaimer strong {
    color: var(--warning, #f5a623);
}

.ft-disclaimer a {
    color: var(--accent);
    margin-left: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .ft-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .ft-markets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ft-hero { padding: 48px 0 36px; }
    .ft-section { padding: 48px 0; }

    .ft-stats__inner {
        flex-direction: column;
        gap: 0;
    }
    .ft-stat { border-bottom: 1px solid var(--border); }
    .ft-stat:last-child { border-bottom: none; }
    .ft-stats__divider { display: none; }

    .ft-features { grid-template-columns: 1fr; }
    .ft-included { grid-template-columns: 1fr; }
    .ft-inc-card { grid-template-columns: 40px 1fr; }
    .ft-inc-card__link { display: none; }

    .ft-spotlight {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .ft-markets { grid-template-columns: 1fr 1fr; }

    .ft-signup-block {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 24px;
    }

    .ft-mc-row { flex-direction: column; }

    .ft-upgrade {
        grid-template-columns: 1fr;
    }
    .ft-upgrade__divider { margin: 0 auto; }

    .ft-hero__actions { flex-direction: column; }
    .ft-hero__actions .btn { text-align: center; }
    .ft-cta__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .ft-markets { grid-template-columns: 1fr; }
}
