/* =======================================
   SING THE EASY WAY - MAIN STYLES
   ======================================= */

/* =======================================
   ROOT VARIABLES
   ======================================= */
:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #ffffff;
    --text-secondary: #bbbbbb;
    --accent: #ff6b35;
    --accent-hover: #ff8555;
    --border: #333333;
    
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* =======================================
   NAVIGATION
   ======================================= */
nav {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 1002;
}

nav ul {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

nav a:hover {
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

nav ul.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

nav ul.active li {
    margin: 0;
    line-height: 1;
}

nav ul.active a {
    display: block;
    padding: 6px 0;
    font-size: 0.95rem;
    line-height: 1.2;
}

/* =======================================
   HERO SECTION
   ======================================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/pages/hero-waveform.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13,13,13,0.3), rgba(13,13,13,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero h1 .accent {
    color: var(--accent);
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-sm);
}

.sub-text {
    font-size: 0.95rem !important;
    opacity: 0.8;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* =======================================
   BUTTONS
   ======================================= */
.cta-block {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin: var(--space-lg) 0 var(--space-md);
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

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

.btn.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn.secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255,255,255,0.1);
}

/* =======================================
   PAGE HEADER (for subpages)
   ======================================= */
.page-header {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.page-header .hero-bg {
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/pages/hero-waveform.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13,13,13,0.4), rgba(13,13,13,0.95));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

/* =======================================
   PAGE CONTENT
   ======================================= */
.page-content {
    padding: var(--space-lg) 0 var(--space-xl);
    min-height: 50vh;
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.page-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.page-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.page-content li {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}

/* =======================================
   ABOUT SECTION
   ======================================= */
.about-section {
    padding: var(--space-xl) 0;
    background: var(--bg-dark);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =======================================
   PRICING SECTION
   ======================================= */
.pricing {
    padding: var(--space-xl) 0;
    background: linear-gradient(to bottom, var(--bg-dark), #151515);
}

.pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

/* Pricing cards styled to be predominantly black & orange */
.pricing-card {
    background: linear-gradient(180deg, #000000, #0a0a0a);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.pricing-card:hover {
    border-color: var(--accent-hover);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card .badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent);
    border: none;
    color: #000;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    align-self: center;
}

.pricing-card .badge.save {
    background: rgba(0,0,0,0.6);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: var(--space-sm) 0;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.pricing-card ul {
    list-style: none;
    margin: var(--space-md) 0;
    flex-grow: 1;
    text-align: left;
    padding-left: 0;
}

.pricing-card li {
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.pricing-card .btn {
    margin-top: auto;
}

/* Savings Display */
.savings-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.saving-item {
    text-align: center;
}

.saving-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.saving-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.saving-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* =======================================
   PAYMENT OPTIONS
   ======================================= */
.payment-section {
    padding: var(--space-xl) 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.payment-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.payment-section .section-subtitle {
    margin-bottom: var(--space-lg);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.payment-option {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--accent);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.payment-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.payment-via {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Payment Option Buttons */
.payment-option-btn {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    width: 100%;
    color: var(--text-primary);
    font-family: inherit;
}

.payment-option-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.payment-option-btn:active {
    transform: translateY(0);
}

/* Rest of CSS unchanged... */


/* =======================================
   KEYBOARD FOCUS STATE (accessibility)
   ======================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius);
}


/* =======================================
   IMAGE PROPORTIONS
   Stops images distorting when width and
   height attributes are present.
   ======================================= */
/* IMAGE PROPORTIONS */
img {
    max-width: 100%;
}

img[width][height] {
    height: auto;
}


/* =======================================
   CONTENT SECTIONS
   Shared layout for written page sections.
   Added because .section had no base rules,
   so headings, paragraphs and lists had no
   spacing and lists had no bullets.
   ======================================= */
/* HOMEPAGE AND CONTENT SECTIONS */
.section {
    padding: var(--space-xl) 0;
}

.section > .container > h2,
.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: var(--space-md);
}

.section h3 {
    font-size: 1.15rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    max-width: 70ch;
}

.section p.lead {
    color: var(--text-primary);
    font-size: 1.12rem;
}

.section ul {
    list-style: none;
    margin: 0 0 var(--space-md) 0;
}

.section ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    max-width: 70ch;
}

.section ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.section-intro {
    color: var(--text-secondary);
    max-width: 70ch;
    margin-bottom: var(--space-lg);
}

/* Two column block, image beside text */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Cards used for the three audience paths */
.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.path-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition);
}

.path-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.path-card h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.path-card p {
    margin-bottom: 0;
}

/* The hour, step by step */
.lesson-timeline {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.timeline-step {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}

.timeline-step .step-time {
    font-weight: 700;
    color: var(--accent);
}

.timeline-step p {
    margin-bottom: 0;
}

/* Credibility and case study cards */
.credit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.credit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.credit-card h3 {
    margin-top: 0;
}

.credit-card p {
    margin-bottom: 0;
}

/* Reassurance line under a call to action */
.cta-reassure {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: var(--space-sm);
}

/* Closing call to action band */
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(13, 13, 13, 0.9) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: var(--text-secondary);
    max-width: 60ch;
    margin: 0 auto var(--space-md) auto;
}

.text-link {
    color: var(--accent);
    text-decoration: underline;
}

.text-link:hover {
    color: var(--accent-hover);
}

@media (max-width: 900px) {
    .split-grid,
    .path-grid,
    .credit-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .section {
        padding: var(--space-lg) 0;
    }
}


/* =======================================
   COMMUNITY SIGNUP
   ======================================= */
/* COMMUNITY SIGNUP */
.signup-section {
    padding: var(--space-lg) 0;
}

.signup-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    max-width: 760px;
    margin: 0 auto;
}

.signup-box h2 {
    margin-bottom: var(--space-sm);
}

.signup-box p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.signup-small {
    font-size: 0.88rem;
}

.signup-form {
    margin-top: var(--space-md);
}

.signup-form iframe {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    background: transparent;
}


/* =======================================
   BLOG VOICE BLOCKS
   ======================================= */
/* BLOG VOICE BLOCKS */
.matt-hook {
    border-left: 4px solid var(--accent);
    background: rgba(255, 107, 53, 0.06);
    padding: var(--space-md);
    border-radius: var(--radius);
    margin: var(--space-md) 0 var(--space-lg) 0;
}

.matt-hook p {
    margin-bottom: var(--space-sm);
}

.matt-hook p:last-child {
    margin-bottom: 0;
}

.matt-hook p:first-child {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.matt-lesson {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
}

.matt-lesson h2 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.matt-lesson p {
    margin-bottom: var(--space-md);
}


/* =======================================
   EMBEDDED FORMS
   Keeps third party form embeds from
   looking bolted on, especially on phones.
   ======================================= */
/* EMBEDDED FORMS */
.signup-form iframe,
.jotform-container iframe {
    background: transparent;
    color-scheme: normal;
}

@media (max-width: 700px) {
    .jotform-container {
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .signup-box {
        padding: var(--space-md);
    }

    .signup-form iframe,
    .jotform-container iframe {
        border-radius: var(--radius);
    }
}


/* =======================================
   BLOG ASIDES
   Matt's own comments inside an article.
   ======================================= */
/* BLOG ASIDES */
.matt-aside {
    border-left: 3px solid var(--accent);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.matt-aside p {
    margin-bottom: 0;
}

.matt-aside strong {
    color: var(--accent);
}


/* Beginner reassurance, first screen */
.hero-beginners {
    max-width: 640px;
    margin: var(--space-md) auto 0 auto;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-beginners strong {
    color: var(--text-primary);
}
