

/* Extracted from views/home.html */
* { box-sizing: border-box; }

    :root {
      --dark: #050b16;
      --card: rgba(10, 18, 34, 0.86);
      --red: #ef233c;
      --red2: #ff3b3b;
      --muted: rgba(255,255,255,0.72);
      --border: rgba(255,255,255,0.14);
      --shadow: 0 24px 70px rgba(0,0,0,0.45);
    }

    html {
      scroll-behavior: smooth;
      width: 100%;
      overflow-x: hidden;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--dark);
      color: white;
      width: 100%;
      overflow-x: hidden;
    }

    .hidden { display: none !important; }

    .home-hero {
      position: relative;
      padding: 80px 32px 80px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(5,11,22,0.96), rgba(5,11,22,0.72), rgba(5,11,22,0.35)),
        url("/images/home-hero-bg.jpg");
      background-size: cover;
      background-position: center;
    }

    .hero-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 46px;
      align-items: center;
    }

    .eyebrow {
      color: var(--red2);
      font-size: 15px;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .hero-title {
      font-size: 66px;
      line-height: 1.05;
      margin: 0 0 22px;
      font-weight: 900;
    }

    .hero-title span { color: var(--red); }

    .hero-text {
      max-width: 620px;
      color: rgba(255,255,255,0.86);
      font-size: 20px;
      line-height: 1.75;
      margin-bottom: 28px;
    }

    .cta-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 180px;
      padding: 16px 22px;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 900;
      font-size: 16px;
      transition: 0.2s ease;
      cursor: pointer;
    }

    .btn:hover { transform: translateY(-1px); }

    .btn-red {
      background: linear-gradient(135deg, var(--red), var(--red2));
      color: white;
      box-shadow: 0 18px 34px rgba(239,35,60,0.28);
    }

    .btn-outline {
      background: rgba(255,255,255,0.08);
      color: white;
      border: 1px solid rgba(255,255,255,0.32);
    }

    .feature-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .mini-feature {
      display: flex;
      gap: 14px;
      padding: 18px;
      border-radius: 18px;
      background: rgba(10,18,34,0.66);
      border: 1px solid var(--border);
    }

    .mini-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: rgba(239,35,60,0.13);
      color: var(--red2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      flex: 0 0 auto;
    }

    .mini-feature strong {
      display: block;
      font-size: 15px;
      margin-bottom: 5px;
    }

    .mini-feature span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .video-card {
      border-radius: 28px;
      overflow: hidden;
      min-height: 355px;
      border: 1px solid rgba(255,255,255,0.32);
      box-shadow: var(--shadow);
      background:
        linear-gradient(rgba(0,0,0,0.24), rgba(0,0,0,0.45)),
        url("/images/home-video-poster.jpg");
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .play-btn {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      border: 4px solid white;
      background: rgba(239,35,60,0.85);
      color: white;
      font-size: 40px;
      cursor: pointer;
      box-shadow: 0 0 0 12px rgba(239,35,60,0.22);
    }

    .video-label {
      position: absolute;
      bottom: 24px;
      left: 24px;
      right: 24px;
      text-align: center;
      font-size: 18px;
      font-weight: 900;
    }

    .stats-panel {
      max-width: 1180px;
      margin: -42px auto 0;
      position: relative;
      z-index: 4;
      background: rgba(255,255,255,0.96);
      color: #0f172a;
      border-radius: 22px;
      padding: 26px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      box-shadow: var(--shadow);
    }

    .stat {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      padding: 10px;
      border-right: 1px solid #dbe3ee;
    }

    .stat:last-child { border-right: none; }

    .stat-icon {
      font-size: 34px;
      color: var(--red);
    }

    .stat strong {
      display: block;
      font-size: 34px;
      line-height: 1;
    }

    .stat span {
      font-size: 14px;
      color: #475569;
      font-weight: 700;
    }

    .section {
      max-width: 1220px;
      margin: 0 auto;
      padding: 70px 24px;
    }

    .section h2 {
      margin: 0 0 14px;
      text-align: center;
      font-size: 42px;
    }

    .section-sub {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 34px;
      color: var(--muted);
      line-height: 1.8;
      font-size: 16px;
    }

    .grid {
      display: grid;
      gap: 20px;
    }

    .grid-3 {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .popular-grid {
      grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    }

    .card,
    .trade-tile {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 22px;
      box-shadow: 0 18px 42px rgba(0,0,0,0.24);
    }

    .card {
      padding: 26px;
      display: flex;
      flex-direction: column;
    }

    .card-title {
      font-size: 20px;
      font-weight: 900;
      margin-bottom: 12px;
    }

    .card-text {
      color: var(--muted);
      line-height: 1.75;
      font-size: 14px;
      flex: 1;
      margin-bottom: 18px;
    }

    .btn-card {
      background: rgba(239,35,60,0.12);
      border: 1px solid rgba(239,35,60,0.38);
      color: white;
      padding: 13px 16px;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 900;
      text-align: center;
    }

    .trade-tile {
      padding: 24px 16px;
      text-align: center;
    }

    .trade-tile .icon {
      font-size: 38px;
      color: var(--red);
      margin-bottom: 12px;
    }

    .trade-tile a {
      color: white;
      text-decoration: none;
      font-weight: 900;
    }


    /* FIX POPULAR TRADES LINKS - no purple underline, whole card clickable */
    .popular-grid a.trade-tile,
    .popular-grid a.trade-tile:link,
    .popular-grid a.trade-tile:visited,
    .popular-grid a.trade-tile:hover,
    .popular-grid a.trade-tile:active {
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 132px;
      padding: 24px 16px;
      text-align: center;
      text-decoration: none !important;
      color: #ffffff !important;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 22px;
      box-shadow: 0 18px 42px rgba(0,0,0,0.24);
      transition: 0.2s ease;
      cursor: pointer;
    }

    .popular-grid a.trade-tile:hover {
      transform: translateY(-4px);
      border-color: rgba(239,35,60,0.55);
      box-shadow: 0 20px 45px rgba(239,35,60,0.18);
    }

    .popular-grid a.trade-tile .icon {
      font-size: 38px;
      color: var(--red);
      margin-bottom: 12px;
      line-height: 1;
      text-decoration: none !important;
    }

    .popular-grid a.trade-tile span,
    .popular-grid a.trade-tile:visited span,
    .popular-grid a.trade-tile:hover span,
    .popular-grid a.trade-tile:active span {
      color: #ffffff !important;
      text-decoration: none !important;
      font-weight: 900;
      display: block;
      line-height: 1.25;
    }

    .light-section {
      background: #f6f8fc;
      color: #0f172a;
      max-width: none;
      padding-left: 24px;
      padding-right: 24px;
    }

    .light-inner {
      max-width: 1220px;
      margin: 0 auto;
    }

    .light-section .section-sub { color: #64748b; }

    .light-section .card {
      background: white;
      color: #0f172a;
      border: 1px solid #dbe3ee;
    }

    .light-section .card-text { color: #64748b; }

    /* NEW PREMIUM BACKGROUND SECTION */
    .premium-bg {
      max-width: none;
      width: 100%;
      margin: 0;
      padding: 90px 24px;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(
          rgba(5, 11, 22, 0.78),
          rgba(5, 11, 22, 0.86)
        ),
        url("/images/trade-background.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .premium-bg-inner {
      max-width: 1220px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .premium-bg h2 {
      color: #ffffff;
      text-shadow: 0 4px 18px rgba(0,0,0,0.35);
    }

    .premium-bg .section-sub {
      color: rgba(255,255,255,0.84);
    }

    .premium-bg .card {
      background: rgba(10, 18, 34, 0.82);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.18);
      box-shadow: 0 18px 45px rgba(0,0,0,0.32);
    }

    .premium-bg .card-title {
      color: #ffffff;
    }

    .premium-bg .card-text {
      color: rgba(255,255,255,0.76);
    }

    /* SUBTLE BACKGROUND FOR FREE VS PREMIUM SECTION */
    .compare-section {
      max-width: none;
      width: 100%;
      margin: 0;
      padding: 90px 24px;
      background:
        linear-gradient(rgba(5, 11, 22, 0.88), rgba(5, 11, 22, 0.92)),
        url("/images/blueprint-bg.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .compare-section-inner {
      max-width: 1220px;
      margin: 0 auto;
    }

    .compare-section h2 {
      color: #ffffff;
      text-shadow: 0 4px 18px rgba(0,0,0,0.35);
    }

    .compare-section .section-sub {
      color: rgba(255,255,255,0.84);
    }

    .compare-section table {
      overflow: hidden;
      border-radius: 20px;
      box-shadow: 0 22px 60px rgba(0,0,0,0.28);
    }

    .compare-wrap {
      overflow-x: auto;
      border-radius: 20px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background: white;
      color: #0f172a;
    }

    th, td {
      padding: 16px;
      border-bottom: 1px solid #e2e8f0;
      text-align: left;
      font-size: 14px;
    }

    th {
      background: #0f172a;
      color: white;
    }

    .video-modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.82);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 99999;
      padding: 20px;
    }

    .video-modal.show { display: flex; }

    .video-box {
      width: min(980px, 100%);
      background: #000;
      border-radius: 18px;
      overflow: hidden;
      position: relative;
    }

    .video-box video {
      width: 100%;
      height: 88vh;
      object-fit: contain;
      background: #000;
      display: block;
    }

    .close-video {
      position: absolute;
      top: 10px;
      right: 12px;
      z-index: 2;
      background: rgba(239,35,60,0.95);
      color: white;
      border: none;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      font-size: 24px;
      cursor: pointer;
    }

    .btn-card,
    .btn-card:visited {
      background: linear-gradient(135deg, #ef233c, #ff3b3b) !important;
      color: #fff !important;
      border: none !important;
      box-shadow: 0 10px 24px rgba(239,35,60,0.25) !important;
    }

    .btn-card:hover {
      background: linear-gradient(135deg, #dc2626, #ef233c) !important;
      transform: translateY(-2px);
    }

    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: 1fr;
      }

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

      .feature-row,
      .stats-panel {
        grid-template-columns: 1fr 1fr;
      }

      .stat:nth-child(2) { border-right: none; }

      .premium-bg {
        padding: 76px 20px;
        background-position: center top;
      }

      .compare-section {
        padding: 76px 20px;
      }

      .section h2 {
        font-size: 34px;
      }
    }

    @media (max-width: 640px) {
      .home-hero {
        padding: 42px 18px 56px;
        background-position: center;
      }

      .hero-title {
        font-size: 36px;
      }

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

      .btn {
        width: 100%;
      }

      .feature-row,
      .stats-panel {
        grid-template-columns: 1fr;
      }

      .stat {
        border-right: none;
        border-bottom: 1px solid #dbe3ee;
      }

      .stat:last-child { border-bottom: none; }

      .stats-panel {
        margin: -24px 16px 0;
        padding: 20px;
      }

      .section {
        padding: 54px 16px;
      }

      .section h2 {
        font-size: 30px;
        line-height: 1.2;
      }

      .section-sub {
        font-size: 15px;
        line-height: 1.7;
      }

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

      .popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
      }

      .trade-tile {
        padding: 20px 12px;
      }

      .popular-grid a.trade-tile {
        min-height: 118px;
        padding: 20px 12px;
      }

      .premium-bg {
        padding: 60px 16px;
        background:
          linear-gradient(
            rgba(5, 11, 22, 0.84),
            rgba(5, 11, 22, 0.92)
          ),
          url("/images/trade-background.png");
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
      }

      .premium-bg .card {
        padding: 22px;
        border-radius: 18px;
      }

      .compare-section {
        padding: 60px 16px;
        background:
          linear-gradient(rgba(5, 11, 22, 0.90), rgba(5, 11, 22, 0.94)),
          url("/images/blueprint-bg.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }

      .card-title {
        font-size: 18px;
      }

      .video-card {
        min-height: 260px;
      }

      .play-btn {
        width: 78px;
        height: 78px;
        font-size: 32px;
      }

      .video-label {
        font-size: 15px;
      }

      th, td {
        padding: 13px;
        font-size: 13px;
      }
    }

    @media (max-width: 420px) {
      .hero-title {
        font-size: 31px;
      }

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

      .popular-grid a.trade-tile {
        min-height: 110px;
      }

      .stat strong {
        font-size: 28px;
      }

      .section h2 {
        font-size: 27px;
      }
    }


    .level-preview, .blog-preview, .faq-preview {
      padding: 76px 32px;
      background: #f4f7fb;
      color: #0f172a;
    }
    .level-preview-inner, .blog-preview-inner, .faq-preview-inner {
      max-width: 1180px;
      margin: 0 auto;
    }
    .section-kicker {
      color: #ef233c;
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .level-card-grid, .blog-card-grid, .faq-card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 26px;
    }
    .level-info-card, .study-card, .faq-mini-card {
      background: #fff;
      border: 1px solid #dbe3ee;
      border-radius: 22px;
      padding: 26px;
      box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
      text-decoration: none;
      color: #0f172a;
    }
    .level-info-card h3, .study-card h3, .faq-mini-card h3 {
      margin: 0 0 10px;
      color: #0f172a;
    }
    .level-info-card p, .study-card p, .faq-mini-card p {
      margin: 0;
      color: #64748b;
      line-height: 1.65;
    }
    .blog-preview { background: #ffffff; }
    .faq-preview { background: linear-gradient(180deg, #f8fafc, #eef4ff); }
    .home-inline-link {
      display: inline-flex;
      margin-top: 26px;
      color: #b91c1c;
      font-weight: 900;
      text-decoration: none;
    }
    @media (max-width: 850px) {
      .level-card-grid, .blog-card-grid, .faq-card-grid { grid-template-columns: 1fr; }
      .level-preview, .blog-preview, .faq-preview { padding: 54px 20px; }
    }


/* 2026 image-led homepage hero */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.page-home .home-hero-poster{position:relative;width:min(1536px,100%);margin:0 auto;background:#f5f7fb;overflow:hidden}
.page-home .home-hero-poster__picture,.page-home .home-hero-poster__image{display:block;width:100%;height:auto}
.page-home .home-hero-poster__image{aspect-ratio:3/2;object-fit:cover;object-position:center}
.page-home .home-hero-poster__links{position:absolute;left:2.8%;bottom:20.5%;display:flex;gap:1.15%;width:34%;height:5.9%;z-index:3}
.page-home .home-hero-hotspot{display:flex;align-items:center;justify-content:center;height:100%;border-radius:999px;text-decoration:none;font-size:clamp(.78rem,1.1vw,1rem);font-weight:900;white-space:nowrap;transition:transform .2s,box-shadow .2s;background:rgba(255,255,255,.01);color:transparent!important;text-indent:-9999px;overflow:hidden}
.page-home .home-hero-hotspot--primary{width:48%}.page-home .home-hero-hotspot--secondary{width:48%}
.page-home .home-hero-hotspot:hover,.page-home .home-hero-hotspot:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 4px rgba(37,99,235,.28);outline:none}
.page-home .home-hero-hotspot.hidden{display:none!important}
@media(max-width:760px){.page-home .home-hero-poster{margin:0}.page-home .home-hero-poster__image{min-height:560px;object-fit:cover;object-position:54% center}.page-home .home-hero-poster__links{left:3%;bottom:19%;width:42%;height:6.2%;gap:2%}.page-home .home-hero-hotspot{font-size:0}}


/* Live, accessible homepage hero */
body.page-home{background:#f5f7fc;color:#101b36}.live-home-hero{padding:54px 24px 62px;background:linear-gradient(135deg,#f8fbff 0%,#eef3ff 55%,#f5efff 100%);color:#101b36}.live-home-hero .hero-inner{max-width:1180px;grid-template-columns:minmax(0,.9fr) minmax(460px,1.1fr);gap:34px}.live-home-hero .eyebrow{display:inline-flex;padding:10px 14px;border-radius:999px;background:#eee9ff;color:#5c3ce6;font-size:12px;letter-spacing:.08em}.live-home-hero .hero-title{font-size:clamp(42px,5vw,70px);color:#101b36}.live-home-hero .hero-title span{color:#ef2f4f}.live-home-hero .hero-text{color:#53627d;font-size:18px;line-height:1.7}.live-home-hero .btn-red{background:linear-gradient(90deg,#245be8,#7147e8)}.live-home-hero .btn-outline{background:#fff;color:#18315f;border:1px solid #9eb8f8}.hero-trust-row{display:flex;flex-wrap:wrap;gap:10px 18px;color:#263b62;font-weight:700;font-size:14px}.hero-visual-card{position:relative;border-radius:28px;overflow:hidden;background:#fff;border:1px solid #cfe0ff;box-shadow:0 24px 60px rgba(42,68,130,.18);min-height:440px}.hero-visual-card img{width:100%;height:100%;min-height:440px;object-fit:cover;object-position:62% center;display:block}.hero-float{position:absolute;background:rgba(255,255,255,.94);border:1px solid rgba(207,224,255,.95);border-radius:16px;padding:13px 16px;box-shadow:0 12px 30px rgba(24,49,95,.15);display:flex;flex-direction:column;color:#101b36}.hero-float strong{font-size:21px}.hero-float span{font-size:12px;color:#60708d}.hero-float-one{left:18px;top:22px}.hero-float-two{right:18px;bottom:22px}.page-home .stats-panel{background:#071f4a;color:#fff;margin-top:-28px}.page-home .stats-panel .stat span{color:#dce7ff}.page-home .section h2,.page-home .card-title,.page-home .trade-tile a,.page-home .trade-tile span{color:#101b36}.page-home .section-sub,.page-home .card-text{color:#62708a}.page-home .card,.page-home .trade-tile{background:#fff;border-color:#dbe4f3;box-shadow:0 12px 34px rgba(34,60,110,.09)}.page-home .btn-card{color:#fff;background:linear-gradient(90deg,#285fe8,#7047e8);border:0}.page-home .light-section{background:#f7f9fd}.page-home .popular-grid .trade-tile{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none}.page-home .popular-grid .trade-tile .icon{margin-bottom:10px}.page-home .popular-grid .trade-tile span{font-weight:800}
@media(max-width:900px){.live-home-hero .hero-inner{grid-template-columns:1fr}.hero-visual-card{min-height:350px}.hero-visual-card img{min-height:350px}.page-home .stats-panel{grid-template-columns:repeat(2,1fr);margin:0 16px}.page-home .stats-panel .stat:nth-child(2){border-right:0}}
@media(max-width:560px){.live-home-hero{padding:34px 16px}.live-home-hero .hero-title{font-size:42px}.hero-visual-card,.hero-visual-card img{min-height:280px}.hero-float{display:none}.page-home .stats-panel{grid-template-columns:1fr}.page-home .stats-panel .stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}}
