/* ==========================================================================
   OpenPokerLab - design v2 (prototype)
   Loads after style-base.css and only overrides what it needs to.
   Everything is scoped to body.v2 so the page level styles cannot win.
   ========================================================================== */

.v2 {
    /* --- surfaces ------------------------------------------------------- */
    --bg: #07080a;
    --bg-soft: #0a0c10;
    --surface: #0e1116;
    --surface-2: #12161d;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);

    /* --- text ----------------------------------------------------------- */
    --text: #f3f5f8;
    --muted: #a7aeb8;
    --dim: #7f8794;

    /* --- brand ---------------------------------------------------------- */
    --accent: #39ff14;
    --accent-ink: #04240a;
    --accent-soft: rgba(57, 255, 20, 0.12);
    --accent-line: rgba(57, 255, 20, 0.38);

    /* --- geometry ------------------------------------------------------- */
    --container: 1200px;
    --radius-s: 10px;
    --radius: 14px;
    --radius-l: 22px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);

    /* --- type ----------------------------------------------------------- */
    --fs-h1: clamp(2.3rem, 4.4vw, 3.5rem);
    --fs-h2: clamp(1.55rem, 2.3vw, 2.05rem);
    --fs-h3: 1.15rem;
    --fs-body: 1.0625rem;
    --fs-small: 0.95rem;
    --fs-tiny: 0.8rem;

    background-color: var(--bg);
    color: var(--muted);
    font-size: var(--fs-body);
    line-height: 1.7;
}

.v2 h1, .v2 h2, .v2 h3, .v2 h4 {
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.v2 p {
    color: var(--muted);
}

.v2 a {
    color: inherit;
}

.v2 strong {
    color: #ffffff;
    font-weight: 600;
}

.v2 code {
    color: var(--accent);
    background-color: var(--accent-soft);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.88em;
}

.v2 ::selection {
    background: rgba(57, 255, 20, 0.25);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.v2 .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-s);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.v2 .btn-accent {
    background-color: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.18);
}

.v2 .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(57, 255, 20, 0.28);
}

.v2 .btn-ghost {
    background-color: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}

.v2 .btn-ghost:hover {
    border-color: var(--accent-line);
    color: var(--accent);
    transform: translateY(-2px);
}

.v2 .btn-quiet {
    background-color: var(--surface-2);
    color: var(--text);
    border-color: var(--line);
}

.v2 .btn-quiet:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.v2 .btn-lg {
    padding: 15px 28px;
    font-size: 1rem;
}

/* --- part 1a end --- */

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.v2 header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid var(--line);
    background-color: rgba(7, 8, 10, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.v2 .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
}

.v2 .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text);
    text-decoration: none;
}

.v2 .logo img {
    height: 38px;
    width: auto;
    border-radius: 8px;
}

.v2 .logo em {
    font-style: normal;
    color: var(--accent);
    margin-left: 3px;
}

.v2 header nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.v2 #nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.v2 #nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
}

.v2 #nav-links a,
.v2 button.nav-group {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--muted);
    background: none;
    border: 0;
    padding: 8px 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.18s ease;
}

.v2 #nav-links a:hover,
.v2 button.nav-group:hover,
.v2 li.has-menu.current > button.nav-group {
    color: var(--text);
    box-shadow: none;
}

.v2 #nav-links a.active {
    color: var(--accent);
}

.v2 button.nav-group .caret {
    font-size: 0.55rem;
    color: var(--dim);
}

.v2 #nav-links ul.submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: -12px;
    min-width: 232px;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.v2 #nav-links ul.submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

/* The show rules need the #nav-links id as well, otherwise the "display: none"
   above (one id + two classes) wins over these class only selectors. */
.v2 #nav-links li.has-menu:hover > ul.submenu,
.v2 #nav-links li.has-menu.open > ul.submenu {
    display: flex;
}

.v2 #nav-links ul.submenu a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--muted);
}

.v2 #nav-links ul.submenu a:hover,
.v2 #nav-links ul.submenu a.active {
    background-color: var(--surface-2);
    color: var(--text);
}

.v2 .nav-cta {
    padding: 10px 18px;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.v2 .site-footer {
    margin-top: 96px;
    padding: 64px 24px 40px 24px;
    border-top: 1px solid var(--line);
    background-color: var(--bg-soft);
    color: var(--dim);
    font-size: var(--fs-small);
    text-align: left;
}

.v2 .footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    max-width: var(--container);
    margin: 0 auto 40px auto;
}

.v2 .footer-brand p {
    margin-top: 14px;
    color: var(--dim);
    max-width: 320px;
}

.v2 .footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: none;
    margin: 0;
    text-align: left;
}

.v2 .footer-nav h4 {
    margin: 0 0 12px 0;
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #ffffff;
}

.v2 .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.v2 .footer-nav a {
    color: var(--dim);
    text-decoration: none;
    font-size: var(--fs-small);
    border: 0;
}

.v2 .footer-nav a:hover {
    color: var(--accent);
}

.v2 .footer-legal {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
    font-size: var(--fs-tiny);
    line-height: 1.7;
    color: var(--dim);
}

.v2 .footer-legal p {
    color: var(--dim);
    max-width: 900px;
    margin: 0;
}

.v2 .footer-legal a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

.v2 .footer-legal a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* --- part 1 end --- */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.v2 .hero-v2 {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 72px 24px 24px 24px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.v2 .hero-v2::before {
    content: "";
    position: absolute;
    top: -160px;
    left: 10%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.12), transparent 62%);
    pointer-events: none;
    z-index: -1;
}

.v2 .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.03);
    font-size: var(--fs-tiny);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
}

.v2 .eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.v2 .hero-v2 h1 {
    margin: 22px 0 18px 0;
    font-size: var(--fs-h1);
    font-weight: 700;
    letter-spacing: -1px;
}

.v2 .hero-v2 h1 em {
    font-style: normal;
    color: var(--accent);
}

.v2 .hero-lead {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 560px;
}

.v2 .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.v2 .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.v2 .hero-stats div strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.v2 .hero-stats div span {
    font-size: var(--fs-tiny);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--dim);
}

/* --- framed product shot --- */
.v2 .hero-visual {
    position: relative;
}

.v2 .window-frame {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-l);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    padding: 12px;
    box-shadow: var(--shadow);
}

.v2 .window-frame .bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 2px 6px 12px 6px;
}

.v2 .window-frame .bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2a2f38;
    display: block;
}

.v2 .window-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.v2 .floating-chip {
    position: absolute;
    left: -18px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background-color: rgba(14, 17, 22, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    font-size: var(--fs-small);
    color: var(--muted);
}

.v2 .floating-chip strong {
    color: #fff;
    display: block;
    font-size: 0.9rem;
}

.v2 .floating-chip .icon-chip {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.v2 .section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 72px 24px 0 24px;
}

.v2 .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.v2 .section-label {
    display: block;
    font-size: var(--fs-tiny);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.v2 .section-head h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -0.6px;
    margin: 0;
}

.v2 .section-head p {
    margin: 12px 0 0 0;
    max-width: 620px;
    color: var(--muted);
}

.v2 .section-link {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line-strong);
}

.v2 .section-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.v2 .trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: var(--container);
    margin: 64px auto 0 auto;
    padding: 0 24px;
}

.v2 .trust-strip div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 20px;
    background-color: var(--surface);
    border: 1px solid var(--line);
}

.v2 .trust-strip div:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.v2 .trust-strip div:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.v2 .trust-strip strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.v2 .trust-strip span {
    font-size: var(--fs-tiny);
    color: var(--dim);
    line-height: 1.6;
}

.v2 .icon-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--accent-line);
    background-color: var(--accent-soft);
    color: var(--accent);
}

.v2 .icon-chip svg {
    width: 18px;
    height: 18px;
}

/* --- part 2 end --- */

/* --------------------------------------------------------------------------
   Card grids
   -------------------------------------------------------------------------- */
.v2 .tool-grid,
.v2 .steps-v2,
.v2 .learn-grid {
    display: grid;
    gap: 20px;
}

.v2 .tool-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.v2 .steps-v2 {
    grid-template-columns: repeat(3, 1fr);
}

.v2 .learn-grid {
    grid-template-columns: repeat(2, 1fr);
}

.v2 .tool-card,
.v2 .step-card,
.v2 .learn-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.v2 .tool-card:hover,
.v2 .step-card:hover,
.v2 .learn-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-line);
    background-color: var(--surface-2);
    box-shadow: var(--shadow-soft);
}

.v2 .tool-card h3,
.v2 .step-card h3,
.v2 .learn-card h3 {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: 600;
}

.v2 .tool-card p,
.v2 .step-card p,
.v2 .learn-card p {
    margin: 0;
    font-size: var(--fs-small);
    line-height: 1.7;
    color: var(--muted);
}

.v2 .card-arrow {
    margin-top: auto;
    font-size: var(--fs-tiny);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dim);
}

.v2 .tool-card:hover .card-arrow,
.v2 .learn-card:hover .card-arrow {
    color: var(--accent);
}

.v2 .step-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- part 3a end --- */

/* --------------------------------------------------------------------------
   Desktop software showcase
   -------------------------------------------------------------------------- */
.v2 .showcase-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
    background-color: var(--surface);
}

.v2 .showcase-featured .shot {
    padding: 22px;
    background: linear-gradient(150deg, rgba(57, 255, 20, 0.06), rgba(255, 255, 255, 0));
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
}

.v2 .showcase-featured .shot img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    display: block;
}

.v2 .showcase-featured .copy {
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v2 .showcase-featured .copy h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.v2 .showcase-featured .copy p {
    margin: 0;
    color: var(--muted);
}

.v2 .spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.v2 .spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--fs-small);
    color: var(--muted);
}

.v2 .spec-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    border: 1px solid var(--accent-line);
}

.v2 .showcase-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.v2 .showcase-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--surface);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.v2 .showcase-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-soft);
}

.v2 .showcase-card .shot {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.v2 .showcase-card .shot img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: block;
}

.v2 .showcase-card .copy {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.v2 .showcase-card .copy h3 {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: 600;
}

.v2 .showcase-card .copy p {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted);
}

.v2 .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v2 .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background-color: rgba(255, 255, 255, 0.03);
    font-size: var(--fs-tiny);
    letter-spacing: 0.6px;
    color: var(--muted);
}

.v2 .badge-accent {
    border-color: var(--accent-line);
    background-color: var(--accent-soft);
    color: var(--accent);
}

.v2 .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */
.v2 .cta-band {
    max-width: var(--container);
    margin: 88px auto 0 auto;
    padding: 0 24px;
}

.v2 .cta-band-inner {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-l);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.10), rgba(34, 211, 238, 0.06) 55%, rgba(255, 255, 255, 0.02));
    text-align: center;
}

.v2 .cta-band-inner h2 {
    margin: 0 auto 14px auto;
    max-width: 720px;
    font-size: var(--fs-h2);
    font-weight: 700;
}

.v2 .cta-band-inner p {
    margin: 0 auto 26px auto;
    max-width: 620px;
    color: var(--muted);
}

.v2 .cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* --- part 3 end --- */

/* --------------------------------------------------------------------------
   The existing components, restyled so every page in the copy gets the new look
   -------------------------------------------------------------------------- */
.v2 .strategy-main,
.v2 .content-container,
.v2 .content-section,
.v2 .glossary-container,
.v2 .rng-main,
.v2 .software-dual-container,
.v2 .guide-section,
.v2 .range-container,
.v2 .faq-section,
.v2 .strategy-resources,
.v2 .notfound {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.v2 .page-header {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 24px 32px 24px;
    text-align: center;
}

.v2 .elegant-title-small {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}

.v2 .subtitle {
    color: var(--muted);
    font-size: 1.02rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.v2 .resource-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface);
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.v2 .resource-box:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background-color: var(--surface-2);
}

.v2 .resource-box.featured {
    border-color: var(--accent-line);
    background: linear-gradient(140deg, rgba(57, 255, 20, 0.07), rgba(255, 255, 255, 0.01));
}

.v2 .software-card,
.v2 .software-card-compact {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface);
    padding: 26px;
    gap: 22px;
}

.v2 .software-card:hover {
    border-color: var(--line-strong);
}

.v2 .software-image-container {
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background-color: #000;
    overflow: hidden;
}

.v2 .software-preview {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
}

.v2 .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background-color: rgba(255, 255, 255, 0.03);
    font-size: var(--fs-tiny);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.v2 .download-link,
.v2 .btn-primary,
.v2 .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: var(--radius-s);
    border: 1px solid var(--accent-line);
    background-color: var(--accent-soft);
    color: var(--accent) !important;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.v2 .download-link:hover,
.v2 .btn-primary:hover,
.v2 .btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(57, 255, 20, 0.18);
}

.v2 .btn-primary {
    background-color: var(--accent) !important;
    color: var(--accent-ink) !important;
    border-color: var(--accent);
}

.v2 .term-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background-color: var(--surface);
    padding: 20px;
}

.v2 .term-card:hover {
    border-color: var(--accent-line);
}

.v2 .term-title {
    color: #fff;
    font-weight: 600;
}

.v2 .term-def {
    color: var(--muted);
    font-size: var(--fs-small);
    line-height: 1.7;
}

.v2 .faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface);
    overflow: hidden;
    margin-bottom: 12px;
}

.v2 .faq-question {
    padding: 20px 24px;
    color: #fff;
    font-weight: 500;
}

.v2 .faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--muted);
    line-height: 1.75;
}

.v2 .download-box {
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-l);
    background: linear-gradient(150deg, rgba(57, 255, 20, 0.09), rgba(34, 211, 238, 0.05) 60%, rgba(255, 255, 255, 0.01));
    padding: 44px;
    text-align: center;
}

.v2 .download-box h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 12px;
}

.v2 .dl-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    justify-content: center;
    margin-top: 20px;
    font-size: var(--fs-small);
    color: var(--muted);
}

.v2 .code-box,
.v2 .guide-callout {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface-2);
}

.v2 .related-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    max-width: var(--container);
    margin: 24px auto 0 auto;
    padding: 0 24px;
    font-size: var(--fs-small);
    color: var(--dim);
}

.v2 .related-tools span {
    font-size: var(--fs-tiny);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--dim);
}

.v2 .related-tools a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

.v2 .related-tools a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.v2 table {
    width: 100%;
    border-collapse: collapse;
}

.v2 th,
.v2 td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    color: var(--muted);
}

.v2 th {
    color: #fff;
    font-size: var(--fs-tiny);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* --- part 4 end --- */

/* --------------------------------------------------------------------------
   Product landing pages (they carry their own header/hero markup)
   -------------------------------------------------------------------------- */
.v2 header.hero {
    padding: 64px 24px 32px 24px;
    border: 0;
    background: transparent;
}

.v2 header.hero h1 {
    font-weight: 700;
    letter-spacing: -0.6px;
}

.v2 .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.v2 .app-window {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-l);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    padding: 12px;
    box-shadow: var(--shadow);
}

.v2 .app-window-img {
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .v2 .hero-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 48px;
    }

    .v2 .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2 .trust-strip div:first-child {
        border-radius: var(--radius) 0 0 0;
    }

    .v2 .trust-strip div:nth-child(2) {
        border-radius: 0 var(--radius) 0 0;
    }

    .v2 .trust-strip div:nth-child(3) {
        border-radius: 0 0 0 var(--radius);
    }

    .v2 .trust-strip div:last-child {
        border-radius: 0 0 var(--radius) 0;
    }

    .v2 .steps-v2,
    .v2 .learn-grid,
    .v2 .showcase-row,
    .v2 .showcase-featured {
        grid-template-columns: 1fr;
    }

    .v2 .showcase-featured .shot {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .v2 .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .v2 .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2 .floating-chip {
        left: 16px;
        bottom: 16px;
    }
}

/* the drawer navigation from style-base.css, brought in line with v2 */
@media (max-width: 1100px) {
    .v2 header.site-header,
    .v2 header {
        padding: 0;
    }

    .v2 .header-inner {
        flex-wrap: wrap;
        padding: 12px 20px;
    }

    .v2 .mobile-menu-toggle {
        display: flex;
    }

    .v2 header nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 86vw;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 96px 26px 40px 26px;
        background-color: rgba(7, 8, 10, 0.985);
        border-left: 1px solid var(--line);
        box-shadow: -20px 0 45px rgba(0, 0, 0, 0.7);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .v2 header nav.open {
        transform: translateX(0);
    }

    .v2 #nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
    }

    .v2 #nav-links > li {
        width: 100%;
    }

    .v2 #nav-links a,
    .v2 button.nav-group {
        width: 100%;
        justify-content: space-between;
        font-size: 1.05rem;
        padding: 8px 0;
    }

    .v2 #nav-links ul.submenu {
        position: static;
        display: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 4px 0 4px 14px;
        min-width: 0;
        width: 100%;
    }

    .v2 #nav-links li.has-menu.open > ul.submenu {
        display: flex;
    }

    .v2 #nav-links ul.submenu a {
        font-size: 0.95rem;
    }

    .v2 .nav-cta {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 640px) {
    .v2 .section {
        padding-top: 56px;
    }

    .v2 .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .v2 .cta-band-inner,
    .v2 .download-box {
        padding: 30px 22px;
    }

    .v2 .trust-strip {
        grid-template-columns: 1fr;
    }

    .v2 .trust-strip div {
        border-radius: 0;
    }

    .v2 .trust-strip div:first-child {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .v2 .trust-strip div:last-child {
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .v2 .hero-stats {
        gap: 22px;
    }
}

/* --- part 5 end --- */
