/* Landing page version B (includes/lp2-course.php). Everything is scoped to .lp2 so main.css styles elsewhere are untouched. */
.lp2 {
    --y: #ffd500; --o: #ff9a00; --ink: #24262b; --soft: #5b606b; --line: #ece6d2; --tint: #fffaf0; --cream: #fff6cf;
    --ok: #22a565; --r: 18px; --shadow: 0 18px 50px rgba(36, 38, 43, .12); --shadow-s: 0 6px 20px rgba(36, 38, 43, .08);
    font-family: Roboto, Arial, sans-serif; color: var(--ink); font-size: 17px; line-height: 1.6; overflow-x: clip; background: #fff;
}
.lp2 *, .lp2 *::before, .lp2 *::after { box-sizing: border-box; }
/* undo main.css's boxed <main>/<section> and underlined headings (low specificity, so the classes below still win) */
main.lp2 { max-width: none; margin: 0; padding: 0; }
.lp2 :where(section) { margin: 0; padding: 0; border-radius: 0; box-shadow: none; background: transparent; }
.lp2 h1, .lp2 h2, .lp2 h3 { font-family: Poppins, Arial, sans-serif; color: var(--ink); margin: 0; padding-bottom: 0; border-bottom: 0; letter-spacing: -.02em; text-align: left; }
.lp2 h1 em, .lp2 h2 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255, 213, 0, .75) 62%); padding: 0 .08em; }
.lp2 p { margin: 0; }
.lp2 img { max-width: 100%; display: block; }
.lp2 a { text-decoration: none; }
.lp2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp2-section { padding: 88px 0; }
.lp2-tint { background: var(--tint); }
.lp2-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.lp2-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; text-align: center; }
.lp2-head p { color: var(--soft); margin-top: 14px; font-size: 18px; }
.lp2-kicker { display: inline-block; font: 700 13px/1 Poppins, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #b86b00; margin-bottom: 14px; }

/* Buttons */
.lp2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px/1 Poppins, Arial, sans-serif; padding: 18px 28px; border-radius: 999px; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; cursor: pointer; }
.lp2-btn:hover { transform: translateY(-2px); }
.lp2-btn-main { background: linear-gradient(135deg, var(--y), var(--o)); color: #1d1d1d !important; box-shadow: 0 10px 26px rgba(255, 154, 0, .38); }
.lp2-btn-main:hover { box-shadow: 0 14px 32px rgba(255, 154, 0, .5); }
.lp2-btn-ghost { background: #fff; color: var(--ink) !important; border: 2px solid var(--ink); }
.lp2-btn-dark { background: var(--ink); color: #fff !important; }
.lp2-btn-light { background: rgba(255, 255, 255, .12); color: #fff !important; border: 2px solid rgba(255, 255, 255, .5); }

/* Hero */
.lp2-hero { position: relative; padding: 64px 0 120px; background: radial-gradient(1200px 600px at 85% 10%, #fff3b3 0%, rgba(255, 243, 179, 0) 60%), linear-gradient(180deg, #fffbea 0%, #fff 100%); overflow: hidden; }
.lp2-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.lp2-blob-1 { width: 420px; height: 420px; background: #ffe066; right: -120px; top: -80px; }
.lp2-blob-2 { width: 300px; height: 300px; background: #ffc56b; left: -140px; bottom: -60px; opacity: .35; }
.lp2-hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.lp2-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); padding: 9px 16px; border-radius: 999px; font: 600 13px/1.3 Poppins, Arial, sans-serif; color: var(--soft); }
.lp2-pill i { color: var(--o); }
.lp2-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; margin: 22px 0 20px; }
.lp2-lead { font-size: 19px; color: var(--soft); max-width: 560px; }
.lp2-chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp2-chips li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.lp2-chips i { color: var(--ok); margin-right: 6px; }
.lp2-buy { margin-top: 30px; }
.lp2-buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 18px; }
.lp2-now { font: 800 44px/1 Poppins, Arial, sans-serif; }
.lp2-was { font-size: 22px; color: #9a9a9a; text-decoration: line-through; }
.lp2-or { color: var(--soft); font-size: 16px; }
.lp2-buy-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.lp2-center { justify-content: center; }
.lp2-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--soft); }
.lp2-trust b { color: #f5a300; letter-spacing: 1px; }
.lp2-trust i { color: var(--o); margin-right: 4px; }

/* Laptop mock-up with slideshow */
.lp2-hero-visual { position: relative; padding: 10px 10px 40px; }
.lp2-laptop { position: relative; transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transform-origin: center; filter: drop-shadow(0 30px 40px rgba(36, 38, 43, .22)); }
.lp2-screen { position: relative; aspect-ratio: 16 / 10; background: #111; border: 12px solid #1c1d21; border-bottom-width: 16px; border-radius: 18px 18px 6px 6px; overflow: hidden; }
.lp2-base { height: 16px; margin: 0 -7%; background: linear-gradient(#d9dbe0, #a9adb5); border-radius: 0 0 22px 22px; position: relative; }
.lp2-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); background: #8f939b; border-radius: 0 0 8px 8px; }
.lp2-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.lp2-slide.on { opacity: 1; }
.lp2-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lp2-slide figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20, 20, 24, .78); color: #fff; font: 600 13px/1 Poppins, Arial, sans-serif; padding: 9px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.lp2-float-card { position: absolute; width: 42%; left: -6%; bottom: -8px; border-radius: 16px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow); transform: rotate(-5deg); animation: lp2-float 6s ease-in-out infinite; }
.lp2-float-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lp2-badge { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.25; animation: lp2-float 7s ease-in-out infinite; }
.lp2-badge i { font-size: 22px; color: var(--ok); }
.lp2-badge small { display: block; color: var(--soft); font-size: 12px; }
.lp2-badge-1 { right: -8px; top: -14px; }
.lp2-badge-2 { right: 6%; bottom: 0; animation-delay: -3s; }
.lp2-badge-2 i { color: var(--o); }
@keyframes lp2-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Stats bar overlapping the hero */
.lp2-stats-wrap { margin-top: -64px; position: relative; z-index: 2; }
.lp2-stats { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.lp2-stats div { padding: 26px 14px; text-align: center; border-right: 1px solid var(--line); }
.lp2-stats div:last-child { border-right: 0; }
.lp2-stats b { display: block; font: 800 32px/1.1 Poppins, Arial, sans-serif; background: linear-gradient(135deg, #e09000, var(--o)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 2px; }
.lp2-stats span { font-size: 14px; color: var(--soft); }

/* Made-for-you cards */
.lp2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp2-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s; }
.lp2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp2-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #fff1a6, #ffd36b); color: #7a4a00; font-size: 24px; margin-bottom: 20px; }
.lp2-card h3 { font-size: 21px; margin-bottom: 10px; }
.lp2-card p { color: var(--soft); font-size: 16px; }

/* Tabs */
.lp2-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.lp2-tabs button { font: 600 16px/1 Poppins, Arial, sans-serif; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s; }
.lp2-tabs button i { color: var(--o); margin-right: 6px; }
.lp2-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.lp2-tabs button.on i { color: var(--y); }
.lp2-panel { display: none; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.lp2-panel.on { display: grid; animation: lp2-in .4s ease; }
@keyframes lp2-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.lp2-browser { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.lp2-dots { display: flex; gap: 7px; padding: 12px 14px; background: #f4f1e6; }
.lp2-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.lp2-dots i:nth-child(2) { background: #ffbd2e; } .lp2-dots i:nth-child(3) { background: #28c941; }
.lp2-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.lp2-panel-copy small { font: 700 13px/1 Poppins, Arial, sans-serif; color: #b86b00; letter-spacing: .1em; text-transform: uppercase; }
.lp2-panel-copy h3 { font-size: 28px; line-height: 1.2; margin: 12px 0 14px; }
.lp2-panel-copy p { color: var(--soft); font-size: 18px; }

/* Syllabus */
.lp2-syl-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.lp2-syl-intro { position: sticky; top: 100px; }
.lp2-syl-intro h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.lp2-syl-intro p { color: var(--soft); margin-bottom: 26px; font-size: 18px; }
.lp2-syl details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; box-shadow: var(--shadow-s); overflow: hidden; }
.lp2-syl summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font: 600 17px/1.3 Poppins, Arial, sans-serif; }
.lp2-syl summary::-webkit-details-marker { display: none; }
.lp2-syl summary::after { content: "+"; margin-left: 10px; font-size: 24px; color: var(--o); transition: transform .2s; }
.lp2-syl details[open] summary::after { transform: rotate(45deg); }
.lp2-syl summary small { margin-left: auto; font: 500 13px/1 Roboto, Arial, sans-serif; color: var(--soft); white-space: nowrap; }
.lp2-num { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--y); font-weight: 800; font-size: 15px; }
.lp2-syl ul { list-style: none; margin: 0; padding: 4px 20px 18px 68px; }
.lp2-syl li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 16px; display: flex; gap: 10px; align-items: baseline; }
.lp2-syl li i { color: var(--ok); font-size: 13px; }
.lp2-syl li span { margin-left: auto; color: #9a9a9a; font-size: 13px; white-space: nowrap; }

/* 3D games (dark section) */
.lp2-dark { background: radial-gradient(900px 500px at 20% 0%, #3a3320 0%, rgba(58, 51, 32, 0) 60%), #1b1c20; }
.lp2-dark h2, .lp2-dark h3 { color: #fff; }
.lp2-dark .lp2-head p { color: #c9cbd1; }
.lp2-dark .lp2-kicker { color: var(--y); }
.lp2-dark h2 em { background: none; color: var(--y); }
.lp2-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp2-game { border-radius: 18px; overflow: hidden; background: #26282e; border: 1px solid #34363d; transition: transform .2s; }
.lp2-game:hover { transform: translateY(-4px); }
.lp2-game img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lp2-game div { padding: 16px 18px 20px; }
.lp2-game small { color: var(--y); font-size: 13px; font-weight: 600; }
.lp2-game h3 { font-size: 19px; margin-top: 4px; }

/* Compare table */
.lp2-compare { max-width: 980px; margin: 0 auto; overflow-x: auto; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.lp2-compare table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.lp2-compare th, .lp2-compare td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.lp2-compare th { font: 700 16px/1.3 Poppins, Arial, sans-serif; background: #faf7ec; }
.lp2-compare td:first-child { text-align: left; font-weight: 500; }
.lp2-compare tr:last-child td { border-bottom: 0; }
.lp2-compare .lp2-us { background: #fff8d6; }
.lp2-compare th.lp2-us { background: var(--y); }
.lp2-compare th.lp2-us img { display: inline-block; vertical-align: middle; margin-right: 6px; }
.lp2-compare .fa-check { color: var(--ok); font-size: 20px; }
.lp2-compare .fa-xmark { color: #d0d0d0; font-size: 20px; }

/* Reviews */
.lp2-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp2-review { margin: 0; background: #fff; border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-s); border: 1px solid var(--line); display: flex; flex-direction: column; }
.lp2-stars { color: #f5a300; letter-spacing: 2px; font-size: 18px; margin-bottom: 12px; }
.lp2-review p { font-size: 16px; color: #3d4048; flex: 1; }
.lp2-review cite { display: flex; align-items: center; gap: 10px; font-style: normal; font-weight: 600; margin-top: 20px; }
.lp2-review cite span { width: 38px; height: 38px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-weight: 800; }

/* Pricing */
.lp2-prices { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 24px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.lp2-price { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-s); }
.lp2-price-best { border-color: var(--o); box-shadow: 0 18px 50px rgba(255, 154, 0, .2); }
.lp2-tag { position: absolute; top: -14px; left: 28px; background: var(--ink); color: var(--y); font: 700 12px/1 Poppins, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.lp2-price h3 { font-size: 20px; }
.lp2-amount { font: 800 46px/1 Poppins, Arial, sans-serif; }
.lp2-amount s { font-size: 22px; color: #9a9a9a; font-weight: 500; margin-left: 6px; }
.lp2-amount small { font-size: 18px; color: var(--soft); font-weight: 500; }
.lp2-price p { color: var(--soft); flex: 1; }
.lp2-includes { list-style: none; margin: 0; padding: 30px; background: var(--tint); border-radius: 22px; border: 1px solid var(--line); }
.lp2-includes li { padding: 7px 0; font-size: 16px; display: flex; gap: 10px; }
.lp2-includes i { color: var(--ok); margin-top: 4px; }
.lp2-includes .lp2-free { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.lp2-includes .lp2-free i { color: var(--o); }
.lp2-includes a { color: #b86b00; font-weight: 700; text-decoration: underline; }

/* FAQ */
.lp2-faq-wrap { max-width: 860px; }
.lp2-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; }
.lp2-faq summary { cursor: pointer; list-style: none; font: 600 17px/1.4 Poppins, Arial, sans-serif; padding: 20px 30px 20px 0; position: relative; }
.lp2-faq summary::-webkit-details-marker { display: none; }
.lp2-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; color: var(--o); transition: transform .2s; }
.lp2-faq details[open] summary::after { transform: rotate(45deg); }
.lp2-faq p { color: var(--soft); padding-bottom: 20px; }

/* Final CTA */
.lp2-final { background: radial-gradient(800px 400px at 50% 0%, #4a3d14 0%, rgba(74, 61, 20, 0) 70%), #1b1c20; padding: 90px 0; text-align: center; }
.lp2-final h2 { color: #fff; text-align: center; font-size: clamp(32px, 4.6vw, 52px); }
.lp2-final h2 em { background: none; color: var(--y); }
.lp2-final p { color: #c9cbd1; margin: 14px 0 30px; font-size: 19px; }

/* Sticky buy bar (phones and once the hero has scrolled away) */
.lp2-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 30px rgba(0, 0, 0, .12); transform: translateY(110%); transition: transform .3s; }
.lp2-sticky.show { transform: none; }
.lp2-sticky b { font: 800 24px/1 Poppins, Arial, sans-serif; display: block; }
.lp2-sticky small { color: var(--soft); font-size: 13px; }
.lp2-sticky .lp2-btn { padding: 15px 22px; font-size: 16px; }

/* Reveal on scroll (only when JS runs) */
.lp2-js .lp2-reveal { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s ease; }
.lp2-js .lp2-reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
    .lp2-js .lp2-reveal { opacity: 1; translate: none; }
    .lp2-float-card, .lp2-badge { animation: none; }
}

/* Tablet */
@media (max-width: 1020px) {
    .lp2-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .lp2-hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
    .lp2-laptop { transform: none; }
    .lp2-stats { grid-template-columns: repeat(3, 1fr); }
    .lp2-stats div:nth-child(3) { border-right: 0; }
    .lp2-stats div:nth-child(n+4) { border-top: 1px solid var(--line); }
    .lp2-cards, .lp2-reviews, .lp2-games { grid-template-columns: 1fr 1fr; }
    .lp2-panel { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .lp2-syl-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .lp2-syl-intro { position: static; }
    .lp2-prices { grid-template-columns: 1fr 1fr; }
    .lp2-includes { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 640px) {
    .lp2 { font-size: 16px; }
    .lp2-wrap { padding: 0 16px; }
    .lp2-section { padding: 60px 0; }
    .lp2-hero { padding: 34px 0 90px; }
    .lp2-hero h1 { margin: 18px 0 14px; }
    .lp2-lead { font-size: 17px; }
    .lp2-chips li { font-size: 14px; padding: 7px 11px; }
    .lp2-now { font-size: 38px; }
    .lp2-buy-btns .lp2-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
    .lp2-cards, .lp2-reviews, .lp2-games, .lp2-prices, .lp2-stats { min-width: 0; }
    .lp2-float-card { width: 46%; left: -2%; bottom: -14px; }
    .lp2-badge { padding: 9px 12px; font-size: 12px; }
    .lp2-badge i { font-size: 18px; }
    .lp2-badge-1 { right: -4px; top: -20px; }
    .lp2-badge-2 { display: none; }
    .lp2-screen { border-width: 7px; border-bottom-width: 10px; border-radius: 12px 12px 4px 4px; }
    .lp2-slide figcaption { font-size: 11px; padding: 7px 10px; left: 8px; bottom: 8px; }
    .lp2-stats { grid-template-columns: 1fr 1fr; border-radius: 18px; }
    .lp2-stats div { padding: 18px 10px; border-right: 0; border-top: 1px solid var(--line); }
    .lp2-stats div:nth-child(1), .lp2-stats div:nth-child(2) { border-top: 0; }
    .lp2-stats div:nth-child(odd) { border-right: 1px solid var(--line); }
    .lp2-stats div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
    .lp2-stats b { font-size: 26px; }
    .lp2-cards, .lp2-reviews, .lp2-games, .lp2-prices { grid-template-columns: 1fr; }
    .lp2-head { margin-bottom: 30px; }
    .lp2-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 6px; scrollbar-width: none; }
    .lp2-tabs button { flex: none; padding: 11px 16px; font-size: 15px; }
    .lp2-panel-copy h3 { font-size: 23px; }
    .lp2-syl ul { padding-left: 20px; }
    .lp2-syl summary { font-size: 16px; padding: 16px; }
    .lp2-compare th, .lp2-compare td { padding: 14px 12px; font-size: 14px; }
    .lp2-final { padding: 64px 0 100px; }
    .lp2-sticky { transform: none; }
}
@media (max-width: 640px) { .lp2-body { padding-bottom: 76px; } }
