/* =========================================================
   AREA63 SITE CSS - V2 CORRECTION
   Multi-zone entertainment hub, podcast restored, policy styling fixed
   ========================================================= */

:root {
    --bg: #05070d;
    --bg2: #080b16;
    --panel: rgba(8, 11, 22, 0.84);
    --panel-solid: #0b1020;
    --panel-soft: rgba(255,255,255,0.065);
    --text: #f4f7ff;
    --muted: #b8c4df;
    --soft: #7d8aaa;
    --cyan: #37e7ff;
    --pink: #ff4ccf;
    --orange: #ff5b1a;
    --purple: #9b5cff;
    --green: #5dffb5;
    --yellow: #ffe45c;
    --line: rgba(255,255,255,0.14);
    --line2: rgba(255,255,255,0.08);
    --danger: #ff4d4d;
    --radius: 26px;
    --shadow: 0 22px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 15% 0%, rgba(55,231,255,.13), transparent 30%),
        radial-gradient(circle at 84% 10%, rgba(155,92,255,.18), transparent 32%),
        linear-gradient(180deg, #05070d, #080b16 48%, #05070d);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
p, li { color: var(--muted); line-height: 1.65; }
img { max-width: 100%; display: block; }

.wrap { width: min(1180px, 92%); margin: 0 auto; }

/* Header */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5,7,13,.90);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .13em;
    color: #fff;
    white-space: nowrap;
}

.brand span { color: var(--cyan); }

.links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.links a:hover { color: #fff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-weight: 900;
    font-size: 14px;
}

.btn.hot {
    border: 0;
    background: linear-gradient(135deg, var(--orange), var(--purple));
    box-shadow: 0 14px 32px rgba(255,91,26,.25);
}

.btn.small { min-height: 38px; padding: 9px 14px; font-size: 13px; }

/* Mobile Menu */

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(55,231,255,.18), rgba(155,92,255,.24));
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 4px;
    background: #fff;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    width: min(88vw, 420px);
    height: 100dvh;
    padding: 22px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 90% 10%, rgba(155,92,255,.32), transparent 36%),
        radial-gradient(circle at 0% 0%, rgba(55,231,255,.18), transparent 34%),
        linear-gradient(180deg, #080b16, #05070d);
    border-left: 1px solid var(--line);
    box-shadow: -28px 0 80px rgba(0,0,0,.55);
    transform: translateX(105%);
    transition: transform .28s ease;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.mobile-links { display: grid; gap: 10px; padding: 22px 0; }

.mobile-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    color: #e9f0ff;
    font-weight: 800;
}

.mobile-links a::after { content: "›"; color: var(--cyan); font-size: 24px; }

.mobile-menu-foot {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

body.menu-open { overflow: hidden; }
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open .mobile-menu { transform: translateX(0); }

/* Dynamic carousel */

.area63-dynamic-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #05070d;
    border-bottom: 1px solid var(--line);
}

.a63-dyn-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}

.a63-dyn-slide.is-active { opacity: 1; pointer-events: auto; }

.a63-dyn-bg {
    position: absolute;
    inset: 0;
    width: 112%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    filter: brightness(.9) contrast(1.1) saturate(1.06);
    transform: scale(1.04);
}

.a63-dyn-slide.is-active .a63-dyn-bg.pan-left { animation: a63PanLeft 8s ease-in-out forwards; }
.a63-dyn-slide.is-active .a63-dyn-bg.pan-right { animation: a63PanRight 8s ease-in-out forwards; }
.a63-dyn-slide.is-active .a63-dyn-bg.zoom-in { animation: a63ZoomIn 8s ease-in-out forwards; }
.a63-dyn-slide.is-active .a63-dyn-bg.zoom-out { animation: a63ZoomOut 8s ease-in-out forwards; }

@keyframes a63PanLeft { from { transform: translateX(0) scale(1.06); } to { transform: translateX(-8%) scale(1.08); } }
@keyframes a63PanRight { from { transform: translateX(-8%) scale(1.06); } to { transform: translateX(0) scale(1.08); } }
@keyframes a63ZoomIn { from { transform: scale(1.02); } to { transform: scale(1.10); } }
@keyframes a63ZoomOut { from { transform: scale(1.10); } to { transform: scale(1.02); } }

.a63-dyn-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,.83) 34%, rgba(5,7,13,.42) 68%, rgba(5,7,13,.14) 100%),
        linear-gradient(0deg, rgba(5,7,13,.70) 0%, transparent 42%);
}

.a63-dyn-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    min-height: 720px;
    margin: 0 auto;
    padding: 60px 0 132px;
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(320px, 1fr);
    gap: 46px;
    align-items: center;
}

.a63-dyn-card {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(6, 9, 18, 0.84);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 90px rgba(0,0,0,.45);
}

.eyebrow,
.a63-eyebrow {
    margin-bottom: 14px;
    color: var(--green);
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 900;
}

.a63-dyn-card h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .94;
    letter-spacing: -0.06em;
}

.a63-dyn-card p {
    max-width: 560px;
    margin: 0 0 26px;
    color: #dbe5ff;
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.55;
}

.a63-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.a63-dyn-side {
    justify-self: end;
    width: min(440px, 100%);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.a63-dyn-side h2 {
    margin: 4px 8px 14px;
    color: #fff;
    font-size: 18px;
    letter-spacing: -.02em;
}

.a63-stat-list { display: grid; gap: 10px; }

.a63-stat {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(5,7,13,.60);
}

.a63-stat strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 16px;
}

.a63-stat span { color: var(--muted); font-size: 13px; line-height: 1.35; }

.a63-dyn-controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    width: min(1180px, 92%);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    gap: 14px;
    align-items: center;
}

.a63-dyn-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(5,7,13,.72);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.a63-dyn-thumbs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 9px;
}

.a63-dyn-thumb {
    min-height: 62px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.a63-dyn-thumb b,
.a63-dyn-thumb span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.a63-dyn-thumb b { color: inherit; font-size: 12px; line-height: 1.1; }
.a63-dyn-thumb span { margin-top: 4px; color: inherit; opacity: .72; font-size: 11px; }

.a63-dyn-thumb.is-active {
    border-color: rgba(55,231,255,.75);
    background: linear-gradient(135deg, rgba(55,231,255,.20), rgba(155,92,255,.22));
    color: #fff;
}

.a63-dyn-error {
    padding: 50px;
    background: #13070a;
    color: #fff;
    border: 2px solid #ff5b1a;
}

/* Layout / content */

.page-hero {
    padding: 78px 0 42px;
    border-bottom: 1px solid var(--line2);
    background:
        radial-gradient(circle at 15% 10%, rgba(55,231,255,.13), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(155,92,255,.16), transparent 34%);
}

.page-hero h1,
.section-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(36px, 5vw, 62px);
    line-height: .98;
    letter-spacing: -.05em;
}

.page-hero p,
.section-copy {
    max-width: 860px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.standard-section { padding: 62px 0; }
.section-head { margin-bottom: 26px; }
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.panel,
.notice,
.legal-box,
.contact-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
    box-shadow: var(--shadow);
}

.card { min-height: 225px; }
.card h3, .panel h3, .contact-card h3 {
    margin: 10px 0;
    color: #fff;
    font-size: 24px;
    letter-spacing: -.025em;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c7d4f4;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.feature-list { display: grid; gap: 14px; margin-top: 18px; }
.feature-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.icon-dot { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, rgba(55,231,255,.18), rgba(155,92,255,.25)); border: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; background: rgba(255,255,255,.04); }
th, td { padding: 15px; border-bottom: 1px solid var(--line2); color: var(--muted); text-align: left; }
th { color: #fff; background: rgba(255,255,255,.07); }

.callout { border-left: 4px solid var(--cyan); }
.warning { border-left: 4px solid var(--orange); }
.success { border-left: 4px solid var(--green); }

/* Legal pages - fixes broken terms styling */

.legal-content { max-width: 960px; margin: 0 auto; }
.legal-content h2 { margin-top: 36px; color: #fff; font-size: 28px; }
.legal-content h3 { margin-top: 26px; color: #fff; font-size: 22px; }
.legal-content p,
.legal-content li { color: var(--muted); line-height: 1.7; }
.policy-meta { color: var(--soft); font-size: 14px; margin-top: 10px; }

/* Podcast cards */

.podcast-card {
    display: grid;
    gap: 12px;
}

.restriction {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid var(--line);
}

.restriction.free { color: var(--green); }
.restriction.restricted { color: var(--yellow); }

/* Footer */

.footer {
    padding: 44px 0 34px;
    border-top: 1px solid var(--line);
    background: #03050a;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 26px;
}

.footer h3 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.footer a { display: block; color: #dfe8ff; margin: 8px 0; font-size: 14px; }
.footer a:hover { color: #fff; }

.footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line2);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--soft);
}

/* Admin */

.admin-box {
    border: 1px dashed rgba(255,255,255,.25);
    background: rgba(255,255,255,.04);
}

/* Responsive */

@media (max-width: 1260px) {
    .links { display: none; }
    .menu-toggle { display: flex; }
}

@media (max-width: 980px) {
    .area63-dynamic-hero { min-height: 760px; }
    .a63-dyn-inner {
        min-height: 760px;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 42px 0 142px;
        align-content: center;
    }
    .a63-dyn-side { justify-self: stretch; width: 100%; }
    .a63-stat-list { grid-template-columns: repeat(2, 1fr); }
    .a63-dyn-thumbs { display: flex; overflow-x: auto; padding-bottom: 4px; }
    .a63-dyn-thumb { min-width: 142px; }
    .cards, .two, .four, .split, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav { min-height: 68px; }
    .brand { font-size: 21px; }
    .area63-dynamic-hero { min-height: 800px; }
    .a63-dyn-inner { min-height: 800px; padding-top: 30px; }
    .a63-dyn-card { padding: 24px; border-radius: 24px; }
    .a63-dyn-card h1 { font-size: clamp(36px, 12vw, 52px); }
    .a63-dyn-side { display: none; }
    .a63-dyn-controls { bottom: 18px; grid-template-columns: 40px 1fr 40px; gap: 8px; }
    .a63-dyn-arrow { width: 40px; height: 40px; }
    .page-hero { padding-top: 46px; }
}

/* Modular build additions */
.links a.active{color:#fff;text-shadow:0 0 18px rgba(55,231,255,.42)}
.notice-box{border:1px solid var(--line);background:rgba(255,255,255,.06);border-radius:var(--radius);padding:20px}



/* =========================================================
   AREA63 MODULAR PAGE NORMALISER - V3
   Keeps legacy/franchise/investor pages inside the site grid
   ========================================================= */
body > section:not(.page-hero):not(.standard-section):not(.area63-dynamic-hero):not(.hero),
main > section.section,
main > .section {
    width: min(1180px, 92%);
    margin-left: auto;
    margin-right: auto;
}
body > section:not(.page-hero):not(.standard-section):not(.area63-dynamic-hero):not(.hero) {
    padding: 34px 0;
}
.hero {
    padding: 56px 0 34px;
    border-bottom: 1px solid var(--line2);
    background:
        radial-gradient(circle at 14% 8%, rgba(55,231,255,.14), transparent 32%),
        radial-gradient(circle at 84% 18%, rgba(155,92,255,.18), transparent 36%);
}
.hero-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
}
.hero h1,
.section h2,
body > section h2 {
    color: #fff;
}
.hero h1 {
    max-width: 980px;
    margin: 0 0 18px;
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1;
    letter-spacing: -.045em;
}
.hero p { max-width: 1120px; }
.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
main {
    padding: 34px 0 68px;
}
.section {
    padding: 34px 0;
}
.grid-3,
.options-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.metric-list,
.results,
.price-list {
    display: grid;
    gap: 12px;
}
.metric,
.result-box,
.price-row {
    padding: 14px 16px;
    border: 1px solid var(--line2);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
}
.metric span,
.result-box span,
.price-row span { color: var(--muted); }
.metric strong,
.result-box strong,
.price-row strong { color:#fff; }
.calculator,
.calculator-grid {
    display: grid;
    gap: 22px;
}
.calculator-grid { grid-template-columns: 1fr 1fr; }
input, select, textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(5,7,13,.82);
    color: #fff;
}
label {
    display:block;
    margin: 0 0 8px;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}
.table-wrap table, table { margin-top: 10px; }
.btn-primary { border-color: rgba(55,231,255,.46); background: linear-gradient(135deg, rgba(55,231,255,.20), rgba(155,92,255,.22)); }
.policy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.policy-list { display:grid; gap:16px; }
.policy-pill { display:inline-flex; width:fit-content; padding:7px 10px; border-radius:999px; border:1px solid var(--line); color:var(--green); font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.experience-card { min-height: 270px; display:flex; flex-direction:column; }
.experience-card .btn { margin-top:auto; width:fit-content; }
@media (max-width: 980px) {
    .grid-3, .grid-2, .policy-grid, .calculator-grid { grid-template-columns: 1fr; }
}
