/*
 * join/assets/css/join.css
 * Distinctive Journeys — join.distinctivejourneys.co.uk
 * Join-site-specific styles. Loaded after Bootstrap 5.3, styles.css, header.css.
 * Do not modify styles.css or header.css — override here only.
 */

/* ── Brand tokens ─────────────────────────────────────────────────────── */
:root {
    --dj-navy:  #0a1628;
    --dj-gold:  #c9a84c;
    --dj-white: #ffffff;
    --dj-light: #f5f7fb;
    --dj-gold-pale: #fdf6e8;
    --dj-muted: #5a6275;
    --dj-radius: 10px;
    --dj-shadow: 0 4px 18px rgba(10,22,40,.12);
}

/* ── Base overrides ───────────────────────────────────────────────────── */
body { color: #1c1e26; }

/* ── Join-site nav ────────────────────────────────────────────────────── */
.join-nav {
    background: var(--dj-gold);
    box-shadow: 0 2px 8px rgba(10,22,40,.15);
}
.join-nav .navbar-brand {
    color: var(--dj-navy) !important;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.join-nav .navbar-brand small {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .6;
}
.join-nav .nav-link {
    color: var(--dj-navy) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 5px;
    transition: background .15s;
}
.join-nav .nav-link:hover,
.join-nav .nav-link.active { background: rgba(10,22,40,.1); }
.join-nav .btn-apply {
    background: var(--dj-navy);
    color: #fff !important;
    font-weight: 700;
    padding: 0.45rem 1.1rem !important;
    border-radius: 6px;
    margin-left: 6px;
}
.join-nav .btn-apply:hover { background: #162040; }
.join-nav .navbar-toggler {
    border-color: rgba(10,22,40,.3);
}
.join-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810%2C22%2C40%2C0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Topbar ───────────────────────────────────────────────────────────── */
.join-topbar {
    background: var(--dj-navy);
    color: rgba(255,255,255,.7);
    font-size: 0.8rem;
    padding: 7px 0;
}
.join-topbar a { color: var(--dj-gold); text-decoration: none; }
.join-topbar a:hover { text-decoration: underline; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-dj-gold {
    background: var(--dj-gold);
    border: 1px solid var(--dj-gold);
    color: var(--dj-navy);
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: filter .15s, transform .15s;
}
.btn-dj-gold:hover { filter: brightness(.9); color: var(--dj-navy); transform: translateY(-1px); }

.btn-dj-navy {
    background: var(--dj-navy);
    border: 1px solid var(--dj-navy);
    color: #fff;
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: background .15s, transform .15s;
}
.btn-dj-navy:hover { background: #162040; color: #fff; transform: translateY(-1px); }

.btn-dj-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 1.6rem;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: border-color .15s, transform .15s;
}
.btn-dj-outline:hover { border-color: #fff; color: #fff; transform: translateY(-1px); }

.btn-dj-outline-navy {
    background: transparent;
    border: 2px solid var(--dj-navy);
    color: var(--dj-navy);
    font-weight: 700;
    padding: 0.65rem 1.6rem;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: all .15s;
}
.btn-dj-outline-navy:hover { background: var(--dj-navy); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.join-hero {
    background: linear-gradient(135deg, var(--dj-navy) 0%, #162040 60%, #1e2d5a 100%);
    color: #fff;
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.join-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .12;
}
.join-hero-inner { position: relative; }
.join-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dj-gold);
    border: 1px solid rgba(201,168,76,.35);
    background: rgba(201,168,76,.1);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.join-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.join-hero .lead {
    color: rgba(255,255,255,.78);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.72;
}

/* ── Proof bar ────────────────────────────────────────────────────────── */
.proof-bar {
    background: var(--dj-gold-pale);
    border-top: 3px solid var(--dj-gold);
    border-bottom: 1px solid #e8d9b0;
    padding: 28px 0;
}
.proof-stat .stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dj-navy);
    line-height: 1;
    letter-spacing: -0.03em;
}
.proof-stat .stat-lbl {
    font-size: 0.8rem;
    color: var(--dj-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* ── Section helpers ──────────────────────────────────────────────────── */
.join-section { padding: 80px 0; }
.join-section-light { background: var(--dj-light); }
.join-section-navy { background: var(--dj-navy); color: #fff; }

.section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dj-gold);
    margin-bottom: 10px;
}
.join-section-navy .section-eyebrow { color: var(--dj-gold); }

.section-heading {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dj-navy);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.18;
}
.join-section-navy .section-heading { color: #fff; }

.section-sub {
    font-size: 1rem;
    color: var(--dj-muted);
    line-height: 1.72;
}
.join-section-navy .section-sub { color: rgba(255,255,255,.7); }

/* ── Feature tiles ────────────────────────────────────────────────────── */
.feature-tile {
    background: #fff;
    border: 1px solid #e2ddd4;
    border-radius: var(--dj-radius);
    padding: 24px;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--dj-shadow);
    border-color: var(--dj-gold);
}
.feature-tile .tile-icon {
    font-size: 1.7rem;
    margin-bottom: 12px;
    display: block;
}
.feature-tile h3 { font-size: 0.97rem; font-weight: 700; color: var(--dj-navy); margin-bottom: 6px; }
.feature-tile p { font-size: 0.86rem; color: var(--dj-muted); line-height: 1.62; margin: 0; }

/* ── Audience cards ───────────────────────────────────────────────────── */
.audience-card {
    border: 2px solid #e2ddd4;
    border-radius: var(--dj-radius);
    padding: 32px;
    height: 100%;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.audience-card:hover { border-color: var(--dj-gold); box-shadow: var(--dj-shadow); }
.audience-icon { font-size: 2.2rem; margin-bottom: 16px; }
.audience-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--dj-navy); margin-bottom: 12px; }
.audience-card p { font-size: 0.93rem; color: var(--dj-muted); line-height: 1.7; }

/* ── Commission table ─────────────────────────────────────────────────── */
.commission-table { border-radius: var(--dj-radius); overflow: hidden; box-shadow: var(--dj-shadow); }
.commission-table thead { background: var(--dj-navy); color: #fff; }
.commission-table thead th { font-weight: 700; font-size: 0.88rem; padding: 14px 18px; border: none; }
.commission-table tbody td { padding: 13px 18px; font-size: 0.93rem; border-color: #eee; }
.commission-table tbody tr:hover { background: var(--dj-gold-pale); }
.commission-table .col-cat { font-weight: 700; color: var(--dj-navy); }
.commission-table tfoot td { background: var(--dj-gold-pale); font-size: 0.8rem; color: var(--dj-muted); padding: 10px 18px; }

/* ── Credentials strip ────────────────────────────────────────────────── */
.credentials-strip {
    background: var(--dj-navy);
    padding: 22px 0;
}
.credential-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.credential-badge .badge-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}
.credential-badge .badge-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dj-gold);
}

/* ── Pricing / comparison ─────────────────────────────────────────────── */
.pricing-card {
    border: 2px solid #e2ddd4;
    border-radius: var(--dj-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--dj-shadow); }
.pricing-card.featured { border-color: var(--dj-gold); }
.pricing-card-header {
    padding: 28px 28px 22px;
    border-bottom: 1px solid #eee;
}
.pricing-card.featured .pricing-card-header { background: var(--dj-navy); }
.pricing-card.featured .pricing-card-header h3 { color: #fff; }
.pricing-card.featured .pricing-card-header .pricing-tagline { color: rgba(255,255,255,.6); }
.pricing-badge-pill {
    display: inline-block;
    background: var(--dj-gold);
    color: var(--dj-navy);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.pricing-card-header h3 { font-size: 1.3rem; font-weight: 800; color: var(--dj-navy); margin-bottom: 4px; }
.pricing-tagline { font-size: 0.84rem; color: var(--dj-muted); }
.pricing-cost-row {
    padding: 18px 28px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.cost-block .cost-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dj-muted);
    margin-bottom: 4px;
}
.cost-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dj-navy);
    line-height: 1;
    letter-spacing: -0.03em;
}
.cost-amount sup { font-size: 1rem; vertical-align: top; margin-top: 5px; font-weight: 700; }
.cost-amount sub { font-size: 0.72rem; color: var(--dj-muted); font-weight: 600; }
.cost-note { font-size: 0.73rem; color: var(--dj-muted); margin-top: 3px; }
.pricing-features-list {
    padding: 22px 28px;
    flex: 1;
}
.pricing-features-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pricing-features-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; line-height: 1.5; }
.pricing-features-list .tick { color: var(--dj-gold); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pricing-features-list .cross { color: #ccc; flex-shrink: 0; margin-top: 1px; }
.pricing-features-list .dimmed { color: var(--dj-muted); }
.pricing-card-footer { padding: 18px 28px 26px; }
.pricing-card-footer .btn-dj-gold,
.pricing-card-footer .btn-dj-outline-navy { width: 100%; text-align: center; }

/* ── Comparison table (membership page) ──────────────────────────────── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--dj-radius); overflow: hidden; box-shadow: var(--dj-shadow); }
.compare-table thead th { background: var(--dj-navy); color: #fff; padding: 16px 20px; font-weight: 700; font-size: 0.9rem; }
.compare-table thead th:first-child { background: #fff; }
.compare-table thead .th-cat-a { background: #162040; }
.compare-table thead .th-cat-b { background: var(--dj-navy); }
.compare-table tbody tr:nth-child(even) td { background: #fafafa; }
.compare-table tbody td { padding: 12px 20px; font-size: 0.88rem; border-bottom: 1px solid #eee; vertical-align: middle; }
.compare-table tbody td:first-child { font-weight: 600; color: var(--dj-navy); background: #fff; }
.compare-table .yes { color: #15803d; font-weight: 600; }
.compare-table .highlight-row td { background: var(--dj-gold-pale) !important; font-weight: 700; }

/* ── Platform feature sections ────────────────────────────────────────── */
.platform-feature { padding: 56px 0; border-bottom: 1px solid #eee; }
.platform-feature:last-child { border-bottom: none; }
.platform-icon-wrap {
    width: 72px;
    height: 72px;
    background: var(--dj-gold-pale);
    border: 2px solid var(--dj-gold);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.platform-feature h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dj-navy);
    margin-bottom: 12px;
}
.platform-feature p {
    font-size: 0.97rem;
    color: var(--dj-muted);
    line-height: 1.75;
}

/* ── Page hero (inner pages) ──────────────────────────────────────────── */
.page-hero {
    background: var(--dj-navy);
    color: #fff;
    padding: 64px 0 52px;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.page-hero .lead { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 640px; }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band {
    background: var(--dj-navy);
    color: #fff;
    padding: 72px 0;
    text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 28px; font-size: 1rem; }

/* ── Callout box ──────────────────────────────────────────────────────── */
.callout-box {
    border: 2px solid var(--dj-gold);
    border-radius: var(--dj-radius);
    background: var(--dj-gold-pale);
    padding: 28px 32px;
}
.callout-box .callout-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dj-navy);
}

/* ── Apply form ───────────────────────────────────────────────────────── */
.apply-form-card {
    background: #fff;
    border: 1px solid #e2ddd4;
    border-radius: var(--dj-radius);
    padding: 36px;
    box-shadow: var(--dj-shadow);
}
.apply-form-card label { font-weight: 600; font-size: 0.85rem; color: var(--dj-navy); }
.apply-form-card .form-control,
.apply-form-card .form-select {
    border-color: #d4ccbc;
    border-radius: 6px;
    font-size: 0.92rem;
    padding: 0.6rem 0.85rem;
}
.apply-form-card .form-control:focus,
.apply-form-card .form-select:focus {
    border-color: var(--dj-gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.18);
}

/* ── Dashboard mockup ─────────────────────────────────────────────────── */
.dash-mockup {
    background: var(--dj-navy);
    border-radius: var(--dj-radius);
    padding: 20px;
    box-shadow: 0 24px 60px rgba(10,22,40,.35);
}
.dash-mock-bar {
    background: rgba(255,255,255,.06);
    border-radius: 7px;
    padding: 9px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.dash-mock-dots { display: flex; gap: 5px; }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-r { background: #ff5f57; } .dash-y { background: #febc2e; } .dash-g { background: #28c840; }
.dash-url { color: var(--dj-gold); font-size: 0.75rem; font-weight: 600; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.dash-stat-box { background: rgba(255,255,255,.06); border-radius: 7px; padding: 10px; text-align: center; }
.dash-stat-n { color: var(--dj-gold); font-size: 1.2rem; font-weight: 800; }
.dash-stat-l { color: rgba(255,255,255,.4); font-size: 0.6rem; margin-top: 2px; }
.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-card-item {
    background: rgba(255,255,255,.06);
    border-radius: 7px;
    padding: 10px 12px;
    border-left: 3px solid var(--dj-gold);
}
.dash-card-t { color: rgba(255,255,255,.85); font-size: 0.72rem; font-weight: 600; }
.dash-card-s { color: rgba(255,255,255,.38); font-size: 0.6rem; margin-top: 2px; }

/* ── Check list ───────────────────────────────────────────────────────── */
.dj-check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dj-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; }
.dj-check-list li::before {
    content: '✓';
    background: var(--dj-navy);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.join-footer {
    background: #071026;
    color: rgba(255,255,255,.55);
    padding: 44px 0;
    font-size: 0.82rem;
    text-align: center;
}
.join-footer a { color: var(--dj-gold); text-decoration: none; }
.join-footer a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .join-section { padding: 52px 0; }
    .join-hero { padding: 64px 0 52px; }
    .page-hero { padding: 44px 0 36px; }
    .apply-form-card { padding: 24px 20px; }
    .pricing-cost-row { gap: 16px; }
    .compare-table-wrap { overflow-x: auto; }
}
