/* ========================================
   Plus Nine Coaching — Styles
   ======================================== */

:root {
    --primary: #0376BB;
    --primary-dark: #025a8e;
    --primary-light: #e8f4fd;
    --text: #1a1a2e;
    --text-secondary: #4a5568;
    --bg-light: #f7f9fc;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1100px;
}

/* ---- Reset ---- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- Layout ---- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.section-cta p {
    max-width: 640px;
    margin: 0 auto 24px;
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* ---- Typography ---- */

h1, h2, h3 {
    line-height: 1.2;
    color: var(--text);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 48px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

p {
    font-size: 1.0625rem;
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

.hide-mobile {
    display: inline;
}

/* ---- Buttons ---- */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

/* ---- Navigation ---- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.navbar--scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 24px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle--open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(170deg, var(--primary-light) 0%, var(--white) 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.hero-text {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 40px 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-right: -64px;
}

.hero-text h1 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 460px;
    height: 460px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* ---- Stakes ---- */

.stakes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.stake-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.stake-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 2px;
}

.stake-item h3 {
    margin-bottom: 4px;
}

.stake-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.stakes-tier {
    margin-bottom: 48px;
}

.stakes-tier:last-of-type {
    margin-bottom: 0;
}

.stakes-tier-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-align: center;
    margin-bottom: 28px;
}

.stakes-grid--three {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1100px;
}

/* ---- Services ---- */

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-card--featured {
    border-top-color: var(--primary);
}

.service-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    flex-grow: 1;
    margin-bottom: 24px;
}

.service-card .btn {
    align-self: flex-start;
}

/* ---- Plan ---- */

.plan-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.plan-step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.375rem;
    margin: 0 auto 20px;
}

.plan-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.plan-step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ---- About ---- */

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 12px;
}

/* ---- Footer ---- */

.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 32px 0;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    opacity: 0.5;
}

.footer p {
    font-size: 0.875rem;
    margin: 0;
}

/* ---- Product Subpages ---- */

.product-hero {
    padding: 140px 0 80px;
    background: linear-gradient(170deg, var(--primary-light) 0%, var(--white) 60%);
    text-align: center;
}

.product-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.product-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
}

.product-desc {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: -24px auto 40px;
    color: var(--text-secondary);
}

/* Check list */
.check-list {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 2px solid var(--primary);
}

/* Detail grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.detail-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.detail-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.detail-note {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-secondary);
}

/* Phase grid */
.phase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.phase-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.phase-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
}

.phase-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 8px;
}

.phase-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.phase-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.module-list {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.module-list li {
    font-size: 0.9375rem;
    color: var(--text);
    padding: 4px 0;
    font-weight: 500;
}

/* Outcome grid */
.outcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.outcome-item {
    padding: 24px;
}

.outcome-item h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.outcome-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Product CTA */
.product-cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.product-cta h2 {
    color: var(--white);
}

.product-cta p {
    max-width: 560px;
    margin: -24px auto 32px;
    opacity: 0.9;
}

/* ---- Scroll Animations ---- */

.section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Hero always visible (not a .section) */
.hero {
    opacity: 1;
}

/* ---- Responsive: Tablet ---- */

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-right {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0 24px 24px;
        gap: 16px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-right.nav-right--open {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        margin: 0;
        padding: 0 0 0 16px;
        background: none;
        border-radius: 0;
    }

    .dropdown-menu li a {
        padding: 8px 0;
        font-size: 0.875rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu li a:hover {
        background: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-text {
        margin-right: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image img {
        width: 260px;
        height: 260px;
    }

    .hide-mobile {
        display: none;
    }

    h2 {
        font-size: 1.625rem;
    }

    .section {
        padding: 72px 0;
    }

    .stakes-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stakes-grid--three {
        grid-template-columns: 1fr;
    }

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

    .plan-steps {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
    }

    .product-hero {
        padding: 100px 0 60px;
    }

    .product-hero h1 {
        font-size: 1.875rem;
    }

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

    .phase-grid,
    .phase-grid--three {
        grid-template-columns: 1fr;
    }

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

/* ---- Responsive: Small Mobile ---- */

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.375rem;
        margin-bottom: 32px;
    }

    .section {
        padding: 56px 0;
    }

    .service-card {
        padding: 24px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
