/* 
  RXHAL | PERSONAL BRAND LANDING PAGE 
  CSS CUSTOM PROPERTIES - Feel free to adjust these for color/font changes
*/
:root {
    /* Colors: Dark Premium Palette */
    --bg-color: #050505;        /* Deep Black */
    --surface-color: #111111;  /* Subtle Surface for contrast */
    --text-primary: #ffffff;    /* Pure White for readability */
    --text-secondary: #999999;  /* Muted Grey for secondary info */
    --accent-color: #ffffff;    /* White as primary accent */
    --border-color: #222222;    /* Subtle dividers */

    /* Short-name aliases — used by dashboard/login; kept in sync */
    --bg:      var(--bg-color);
    --surface: var(--surface-color);
    --text:    var(--text-primary);
    --muted:   var(--text-secondary);
    --border:  var(--border-color);

    /* Status / accent tokens — replace all hardcoded #44ff88 / #ff4444 */
    --status-active: #44ff88;
    --status-error:  #ff4444;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-editorial: 'Playfair Display', serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-spacing: 160px;
    --nav-height: 80px;
}

/* 1. RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}

.navbar, main, footer {
    position: relative;
    z-index: 1;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* 2. NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-logo {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.2em;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* 3. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-content {
    max-width: 800px;
}

.founder-name {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.brand-title {
    font-family: var(--font-editorial);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 40px;
    font-style: italic;
    letter-spacing: -0.02em;
}

.hero-statement {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 60px;
    color: var(--text-secondary);
    font-weight: 300;
    text-wrap: pretty;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 32px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: inset 0 0 0 1px var(--accent-color);
    opacity: 1;
}

.btn-secondary {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    opacity: 1;
}

/* 4. SECTIONS COMMON */
section {
    padding: var(--section-spacing) 0;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* 5. ABOUT SECTION */
.about-content {
    max-width: 800px;
}

.about-content h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    text-wrap: pretty;
}

/* 6. VISION GRID — homepage roadmap (index.html) */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border-color);
}
.vision-item {
    background: var(--bg-color);
    border: none;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
}
.vision-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: 0%;
    background: var(--text-primary);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.vision-item:hover {
    background: #0d0d0d;
    border-color: transparent;
}
.vision-item:hover::before { height: 100%; }
.vision-item h3 {
    font-family: var(--font-editorial);
    font-size: 1.3rem;
    margin-bottom: 14px;
    line-height: 1.2;
}
.vision-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.vision-status {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--status-active);
    margin-bottom: 20px;
}
.vision-status.soon { color: #666666; }
@media (max-width: 900px) {
    .vision-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vision-grid { grid-template-columns: 1fr; }
}

/* 7. COACHING / PRICING SECTION */
.coaching-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.coaching-header h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.coaching-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-wrap: pretty;
}

.pricing-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
}

.pricing-card-left {
    padding: 60px;
    border-right: 1px solid var(--border-color);
}

.pricing-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 40px;
}

.price-number {
    font-family: var(--font-editorial);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    font-feature-settings: 'tnum';
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

.pricing-card-right {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.checkout-trigger {
    width: 100%;
    text-align: center;
}

.checkout-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* Stripe checkout container */
#stripe-checkout {
    width: 100%;
}

/* Checkout message — only styled when visible */
#checkout-message:not(:empty) {
    padding: 20px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
    width: 100%;
}

/* Loading state */
.btn-loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 8. CONTACT SECTION */
.contact-content h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

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

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link {
    font-size: 1.5rem;
    font-weight: 400;
    width: fit-content;
    position: relative;
    padding-bottom: 2px;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover {
    opacity: 1;
}

.contact-link:hover::after {
    width: 100%;
}

/* 9. FOOTER */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer p {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* 10. RESPONSIVE DESIGN */
@media (max-width: 768px) {
    :root {
        --section-spacing: 100px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .brand-title {
        font-size: 4rem;
    }
    
    .about-content h2,
    .contact-content h2,
    .coaching-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-link {
        font-size: 1.1rem;
    }

    .pricing-card {
        grid-template-columns: 1fr;
    }

    .pricing-card-left {
        padding: 40px 24px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .pricing-card-right {
        padding: 40px 24px;
    }

    .price-number {
        font-size: 3.5rem;
    }
}

/* 11. SHARED COMPONENTS (extracted from per-page inline styles) */

/* Page eyebrow — consolidates .vertical-label (coaching) + .dev-vertical-label (development) */
.page-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    margin-bottom: 32px;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; padding: 16px 0 24px; }
.mobile-menu li { border-bottom: 1px solid #161616; }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-link {
    display: block;
    padding: 18px 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}
.mobile-link:hover { color: var(--text-primary); opacity: 1; }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-login { padding: 8px 16px; font-size: 0.75rem; }
}

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    padding: 28px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}
.faq-q:hover { opacity: 0.7; }
.faq-q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-a p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    padding-bottom: 28px;
    max-width: 720px;
}

/* Bottom CTA section — shared by coaching + development */
.cta-bottom {
    padding: var(--section-spacing) 0;
    text-align: center;
}
.cta-bottom h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.cta-bottom p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}
.cta-bottom .checkout-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .cta-bottom h2 { font-size: 2.2rem; }
}

/* Scroll progress line — R01 */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 1px;
    width: 0%;
    background: var(--text-primary);
    z-index: 1001;
}

/* Section label serif numeral — R03 */
.section-label .label-num {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-primary);
    margin-right: 2px;
}


/* CTA arrow micro-animation — R06 */
.btn .btn-arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Text-link CTA third tier — R07 */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 2px;
}
.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-text:hover { opacity: 1; }
.btn-text:hover::after { width: 100%; }

/* Nav current-page indicator — R10 */
.nav-links a.active {
    color: var(--text-primary);
    opacity: 1;
    position: relative;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 1px;
    background: var(--text-primary);
}

/* Success message after payment */
.success-message {
    padding: 20px 0;
}

.success-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.success-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   12. INDEX — Nav Right & FAQ heading
   ───────────────────────────────────────────── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-login {
    padding: 10px 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}
.faq-header h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 60px;
    line-height: 1.2;
}

/* ─────────────────────────────────────────────
   13. COACHING PAGE — orphan, noindex (coaching.html)
   ───────────────────────────────────────────── */
.coaching-page .nav-back {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}
.coaching-page .nav-back:hover { color: var(--text-primary); opacity: 1; }

@keyframes coachingFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.coaching-page .fade-up   { opacity: 0; animation: coachingFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.coaching-page .fade-up-1 { animation-delay: 0.1s; }
.coaching-page .fade-up-2 { animation-delay: 0.2s; }
.coaching-page .fade-up-3 { animation-delay: 0.3s; }
.coaching-page .fade-up-4 { animation-delay: 0.4s; }
.coaching-page .fade-up-5 { animation-delay: 0.5s; }

.coaching-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}
.coaching-hero-content { max-width: 800px; }
.coaching-hero h1 {
    font-family: var(--font-editorial);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
    font-style: italic;
}
.coaching-hero-statement {
    font-size: 1.15rem;
    max-width: 620px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 48px;
}
.coaching-hero .hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-price-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.outcomes-section { padding: var(--section-spacing) 0; }
.outcomes-header {
    max-width: 700px;
    margin-bottom: 60px;
}
.outcomes-header h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.outcomes-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
}
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
}
.outcome-item {
    background: var(--bg-color);
    padding: 40px;
}
.outcome-number {
    font-family: var(--font-editorial);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--border-color);
    margin-bottom: 20px;
    line-height: 1;
}
.outcome-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.outcome-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.pricing-section { padding: var(--section-spacing) 0; }

.process-section { padding: var(--section-spacing) 0; }
.process-header { max-width: 700px; margin-bottom: 60px; }
.process-header h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.process-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 300;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
}
.process-step { background: var(--bg-color); padding: 40px; }
.step-number {
    font-family: var(--font-editorial);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--border-color);
    margin-bottom: 20px;
    line-height: 1;
}
.step-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.02em; }
.step-body { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; font-weight: 300; }

.coach-section { padding: var(--section-spacing) 0; }
.coach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.coach-left h2 {
    font-family: var(--font-editorial);
    font-size: 3rem;
    margin-bottom: 32px;
    line-height: 1.2;
}
.coach-left p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 24px;
}
.coach-left p:last-child { margin-bottom: 0; }
.coach-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-color);
}
.coach-stat {
    padding: 32px 40px;
    border-bottom: 1px solid var(--border-color);
}
.coach-stat:last-child { border-bottom: none; }
.coach-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.coach-stat-value {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}
.coach-stat-value a {
    border-bottom: 1px solid #333;
    transition: border-color 0.2s ease;
}
.coach-stat-value a:hover { border-color: var(--text-primary); }

.faq-section { padding: var(--section-spacing) 0; }

@media (max-width: 768px) {
    .coaching-hero { min-height: 60vh; }
    .outcomes-grid { grid-template-columns: 1fr 1fr; }
    .outcome-item { padding: 32px 24px; }
    .process-steps { grid-template-columns: 1fr; }
    .process-step { padding: 32px 24px; }
    .coach-grid { grid-template-columns: 1fr; gap: 48px; }
    .coach-left h2,
    .outcomes-header h2,
    .process-header h2,
    .faq-header h2 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .outcomes-grid { grid-template-columns: 1fr; }
}
