/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: auto;
    /* don’t lock viewport height */
    min-height: 100vh;
    /* still fill screen initially */
    overflow-y: auto;
    /* enable vertical scroll */
    overflow-x: hidden;
    /* avoid horizontal scrollbars */
}

.search-container {
    position: relative;
    z-index: 9999;
}

.search-container input,
.search--hero input {
    width: 100%;
    max-width: 100%;

    padding: 1rem 1.25rem;

    background: rgba(19, 26, 42, .98);
    color: #E6F6EE;

    border: 1px solid rgba(102, 255, 153, .55);
    border-radius: 12px;

    font-size: 1rem;

    box-shadow:
        0 0 12px rgba(102, 255, 153, .25),
        0 10px 26px rgba(0, 0, 0, .35);
}

.search-container input::placeholder {
    color: #8F9AAF;
}

#suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;

    display: none;

    background: rgba(11, 15, 26, .98);
    color: #E6F6EE;

    border: 1px solid rgba(102, 255, 153, .7);
    border-radius: 14px;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .7),
        0 0 22px rgba(102, 255, 153, .25);

    z-index: 999999;

    max-height: 255px;
    overflow-y: auto;
    overflow-x: hidden;
}

#suggestions li {
    padding: 13px 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #E6F6EE;
    background: transparent;

    cursor: pointer;

    border-bottom: 1px solid rgba(255, 255, 255, .075);

    font-weight: 600;
}

#suggestions li:last-child {
    border-bottom: none;
}

#suggestions li:hover {
    background: rgba(102, 255, 153, .12);
    color: #66FF99;
}

#suggestions img {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    object-fit: contain;
}

/* Proof section */
.proof-section {
    padding: 3rem 1rem;
    background: #0B0F1A;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.proof-header {
    max-width: 1100px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.proof-header h3 {
    color: #66FF99;
    font-size: 1.4rem;
}

.proof-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

#proof-summary {
    color: #E6F6EE;
    opacity: .9;
}

.proof-filters {
    display: flex;
    gap: .5rem;
}

.proof-filters .chip {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #E6F6EE;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .9rem;
    cursor: pointer;
}

.proof-filters .chip.active,
.proof-filters .chip:hover {
    border-color: #66FF99;
    color: #66FF99;
}

.proof-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .9rem;
}

.proof-card {
    background: #131A2A;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: .9rem;
    box-shadow: 0 0 14px rgba(102, 255, 153, .12);
    display: grid;
    gap: .4rem;
}

.proof-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.proof-top .match {
    color: #E6F6EE;
    font-weight: 700;
}

.badge {
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .8rem;
    border: 1px solid rgba(255, 255, 255, .12);
}

.badge--won {
    color: #0B0F1A;
    background: #66FF99;
    border-color: #66FF99;
}

.badge--lost {
    color: #FFECEF;
    background: rgba(255, 107, 129, .18);
    border-color: #FF6B81;
}

.badge--push {
    color: #0B0F1A;
    background: #FFD966;
    border-color: #FFD966;
}

.proof-mid {
    color: #A3AABF;
    font-size: .95rem;
}

.proof-foot {
    color: #A3AABF;
    font-size: .85rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.proof-note {
    max-width: 1100px;
    margin: .8rem auto 0;
    color: #A3AABF;
    font-size: .85rem;
    opacity: .9;
}

.accuracy-badge {
    position: absolute;
    top: 80px;
    /* just below header */
    right: 40px;
    z-index: 5;
}

.accuracy-badge .circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #0B0F1A;
    border: 4px solid #66FF99;
    box-shadow: 0 0 20px rgba(102, 255, 153, 0.7), 0 0 40px rgba(102, 255, 153, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: pulseGlow 3s infinite;
}

.accuracy-badge .percent {
    font-size: 2.2rem;
    font-weight: bold;
    color: #66FF99;
    text-shadow: 0 0 10px rgba(102, 255, 153, 0.8);
}

.accuracy-badge .label {
    font-size: 0.9rem;
    color: #A3AABF;
    letter-spacing: 1px;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(102, 255, 153, 0.7), 0 0 40px rgba(102, 255, 153, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(102, 255, 153, 1), 0 0 60px rgba(102, 255, 153, 0.6);
    }
}

/* Header */
.pm-header {
    background: #131A2A;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.pm-header h1 {
    color: #66FF99;
    font-size: 1.35rem;
    letter-spacing: .4px;
}

.pm-nav {
    display: flex;
    gap: 1rem;
}

.pm-link {
    color: #E6F6EE;
    text-decoration: none;
    opacity: .9;
}

.pm-link:hover {
    color: #66FF99;
}

/* Assurance banner (full dark, glowing edge) */
.assurance {
    background: linear-gradient(180deg,
            rgba(11, 15, 26, 1) 0%,
            rgba(11, 15, 26, 0.95) 80%);
    border-top: 1px solid rgba(102, 255, 153, 0.25);
    border-bottom: 1px solid rgba(102, 255, 153, 0.18);
    box-shadow: 0 0 20px rgba(102, 255, 153, 0.1) inset;
    padding: 0.75rem 0;
    position: relative;
    z-index: 2;
}

.assurance-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: transparent;
}

.assurance-badge {
    background: #0b0f1a;
    border: 1px solid #66ff99;
    color: #66ff99;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-shadow: 0 0 6px rgba(102, 255, 153, 0.6);
    box-shadow: 0 0 12px rgba(102, 255, 153, 0.25);
}

.assurance-text {
    color: #e6f6ee;
    font-weight: 500;
}

/* Hero amped */
.hero--amped {
    position: relative;
    min-height: 640px;

    background:
        linear-gradient(90deg,
            rgba(11, 15, 26, .96) 0%,
            rgba(11, 15, 26, .82) 32%,
            rgba(11, 15, 26, .55) 55%,
            rgba(11, 15, 26, .9) 100%),
        linear-gradient(180deg,
            rgba(11, 15, 26, .9) 0%,
            rgba(11, 15, 26, .45) 45%,
            rgba(11, 15, 26, .95) 100%),
        url('../images/playMakerBackground.png') no-repeat center center / cover;

    padding: 7rem 1.25rem 4rem;
    overflow: visible;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero--amped {
    isolation: isolate;
}

.hero-glow,
.marquee {
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center,
            rgba(102, 255, 153, .18),
            transparent 62%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1rem;
    text-shadow:
        0 0 14px rgba(102, 255, 153, .65),
        0 0 34px rgba(0, 0, 0, .65);
}

.hero-title .accent {
    color: #66FF99;
}

.hero-sub {
    color: #DDEBE4;
    max-width: 720px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}

.search-wrap {
    position: relative;
    z-index: 50;

    max-width: 760px;
    margin: 0 auto;
}

.search--hero input {
    width: 100%;
    background: #131A2A;
    border: 1px solid rgba(102, 255, 153, .5);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 0 18px rgba(102, 255, 153, .18);
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .9rem;
}

.mini-note {
    color: #A3AABF;
    font-size: .9rem;
}

.btn-primary {
    background: #66FF99;
    color: #0B0F1A;
    border: none;
    padding: .9rem 1.6rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 0 16px rgba(102, 255, 153, .55);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(102, 255, 153, .7);
}

/* Chips under hero */
.hero-stats {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.stat-chip {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: .45rem .8rem;
    color: #E6F6EE;
    font-size: .9rem;
}

.stat-chip span {
    color: #66FF99;
    font-weight: 800;
}

/* Marquee */
.marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .2rem;
    overflow: hidden;
    pointer-events: none;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    color: #66FF99;
    opacity: .9;
    text-shadow: 0 0 12px rgba(102, 255, 153, .55);
    animation: marquee 18s linear infinite;
}

.marquee-track span {
    padding-right: 2rem;
    letter-spacing: .12rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* How */
.how-section {
    padding: 3rem 1rem;
    background: #0B0F1A;
}

.how-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.how-card {
    background: linear-gradient(145deg, #0B0F1A, #131A2A);
    border: 1px solid rgba(102, 255, 153, .18);
    border-radius: 14px;
    padding: 1.2rem 1rem;
    color: #E6F6EE;
    box-shadow: 0 0 14px rgba(102, 255, 153, .12);
}

.how-card h3 {
    color: #66FF99;
    margin-bottom: .3rem;
}

/* Features */
.features-section {
    position: relative;
    padding: 6rem 1rem;
    background:
        radial-gradient(circle at center, rgba(102, 255, 153, .10), transparent 55%),
        linear-gradient(180deg, #0B0F1A 0%, #131A2A 50%, #0B0F1A 100%);
    display: grid;
    gap: 1.25rem;
    overflow: hidden;
}

.features-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(102, 255, 153, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 255, 153, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .45;
    pointer-events: none;
}

.feature-block {
    position: relative;
    z-index: 2;
    width: min(1000px, 92vw);
    margin: 0 auto;
    padding: 2rem;

    background:
        linear-gradient(145deg, rgba(19, 26, 42, .96), rgba(11, 15, 26, .96));

    border: 1px solid rgba(102, 255, 153, .22);
    border-radius: 18px;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .38),
        0 0 22px rgba(102, 255, 153, .10);

    text-align: center;
    transition: .25s ease;
}

.feature-block:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 255, 153, .45);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, .48),
        0 0 30px rgba(102, 255, 153, .18);
}

.feature-block h3 {
    color: #66FF99;
    font-size: 1.45rem;
    margin-bottom: .65rem;
    text-shadow: 0 0 14px rgba(102, 255, 153, .35);
}

.feature-block p {
    max-width: 720px;
    margin: 0 auto;
    color: #C7D2E1;
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    color: #E6F6EE;
    /* light text */
    background-color: #0B0F1A;
    /* dark footer background */
    border-top: 1px solid rgba(255, 255, 255, .06);
}

/* Intro.js dark mode styling */
.introjs-tooltip {
    background-color: #0B0F1A !important;
    /* dark background */
    color: #E6F6EE !important;
    /* light text */
    border: 1px solid #66FF99 !important;
    /* neon green outline */
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(102, 255, 153, 0.4) !important;
    font-family: 'Poppins', Arial, sans-serif !important;
}

.introjs-tooltip-title {
    color: #66FF99 !important;
    /* neon green step title */
    font-weight: 600 !important;
}

.introjs-tooltiptext {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
}

.introjs-bullets li a.active {
    background: #66FF99 !important;
    /* active step dot */
}

.introjs-button {
    background: #66FF99 !important;
    color: #0B0F1A !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.introjs-button:hover {
    background: #52cc7a !important;
}

/* ==========================================
   NEW TOOL HOME SECTIONS
========================================== */

.pm-logo {
    text-decoration: none;
    color: inherit;
}

.pm-logo h1 {
    color: #66FF99;
    text-decoration: none;
}

.hq-pill {
    display: inline-block;
    background: rgba(102, 255, 153, .12);
    border: 1px solid rgba(102, 255, 153, .4);
    color: #66FF99;
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-header h3 {
    color: #66FF99;
    font-size: 2rem;
    margin-bottom: .65rem;
}

.section-header p {
    color: #A3AABF;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: #E6F6EE;
    text-decoration: none;
    font-size: .95rem;
    transition: .2s ease;
}

.footer-links a:hover {
    color: #66FF99;
}

.footer-disclaimer {
    max-width: 900px;
    margin: 1rem auto 0;
    font-size: .82rem;
    line-height: 1.7;
    color: #7F889B;
}

.proof-section h3,
.features-section h3,
.how-section h3 {
    letter-spacing: -.02em;
}

.proof-header h3 {
    font-size: 1.8rem;
}

.proof-note {
    text-align: center;
}

/* ==========================================
   RESPONSIVE / MOBILE
========================================== */

@media (max-width: 900px) {

    .pm-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .pm-header h1 {
        font-size: 1.15rem;
        text-align: center;
    }

    .pm-nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .65rem;
    }

    .pm-link {
        width: 100%;
        text-align: center;
        padding: .75rem .85rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .08);
        font-size: .9rem;
    }

    .assurance {
        padding: .45rem .75rem;
    }

    .assurance-inner {
        flex-direction: column;
        gap: .35rem;
        text-align: center;
    }

    .assurance-badge {
        font-size: .8rem;
        padding: .2rem .6rem;
    }

    .assurance-text {
        font-size: .9rem;
        line-height: 1.35;
    }

    .accuracy-badge {
        position: static;
        margin: 1rem auto 0;
        display: flex;
        justify-content: center;
    }

    .accuracy-badge .circle {
        width: 105px;
        height: 105px;
    }

    .accuracy-badge .percent {
        font-size: 1.55rem;
    }

    .accuracy-badge .label {
        font-size: .72rem;
        text-align: center;
    }

    .hero-section,
    .hero--amped {
        min-height: auto;
        padding: 4rem 1rem 3rem;
        background-size: cover;
        background-position: center bottom;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .search-wrap {
        max-width: 100%;
    }

    .search-container,
    .search--hero {
        max-width: 100%;
        width: 100%;
    }

    .search-container input,
    .search--hero input {
        width: 100%;
        max-width: 100%;
        padding: .95rem 1rem;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: .65rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: inline-flex;
        align-items: center;
        padding: .95rem 1.25rem;
    }

    .mini-note {
        text-align: center;
        font-size: .85rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: .6rem;
    }

    .stat-chip {
        width: 100%;
        text-align: center;
    }

    .marquee {
        display: none;
    }

    .how-section,
    .features-section,
    .proof-section {
        padding: 3rem 1rem;
    }

    .section-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section-header h3 {
        font-size: 1.55rem;
    }

    .section-header p {
        font-size: .95rem;
    }

    .how-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .how-card,
    .feature-block,
    .proof-card {
        padding: 1.25rem;
    }

    .features-section {
        width: 100%;
        align-items: stretch;
        gap: 1rem;
    }

    .features-section .feature-block,
    .feature-block {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .proof-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .proof-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .proof-filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }

    .proof-filters .chip {
        width: 100%;
        text-align: center;
    }

    .proof-top {
        gap: .75rem;
        align-items: flex-start;
    }

    .proof-foot {
        flex-direction: column;
        gap: .35rem;
    }

    footer {
        padding: 2rem 1rem;
        font-size: .85rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 1.25rem;
    }

    .footer-links a {
        width: 100%;
        text-align: center;
    }

    .footer-disclaimer {
        font-size: .78rem;
        line-height: 1.65;
    }
}

@media (max-width: 640px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overscroll-behavior-x: none;
        background-color: #0B0F1A;
        -webkit-text-size-adjust: 100%;
    }

    body {
        position: relative;
        margin: 0 auto;
        overflow-y: auto;
        touch-action: manipulation;
    }

    .hero-section,
    .features-section,
    .proof-section,
    footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hq-pill {
        font-size: .8rem;
    }

    .hero-section,
    .hero--amped {
        padding: 3.5rem 1rem 2.75rem;
    }

    .proof-filters {
        grid-template-columns: 1fr 1fr;
    }

    .features-section {
        padding: 3rem .75rem;
    }

    .features-section .feature-block {
        width: 100%;
        padding: 1.25rem;
    }

    #suggestions,
    .suggestions-list {
        max-height: 230px;
    }
}

@media (max-width: 420px) {

    .pm-nav,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .accuracy-badge .circle {
        width: 95px;
        height: 95px;
    }

    .accuracy-badge .percent {
        font-size: 1.4rem;
    }

    .proof-filters {
        grid-template-columns: 1fr;
    }
}

@supports (-webkit-touch-callout: none) {
    body {
        background-color: #0B0F1A;
    }
}