/* Page-specific styles - BeFlowed Design */

/* =====================================================
   LANDING PAGE - HERO
   ===================================================== */

.hero {
    text-align: center;
    padding: var(--space-24) 0;
    position: relative;
}

.hero h1 {
    font-family: var(--font-family-display);
    font-size: var(--font-size-display);
    font-weight: var(--font-weight-light);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1;
    margin-bottom: var(--space-6);
    color: var(--color-white);
    text-wrap: balance;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-muted);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-relaxed);
    text-wrap: pretty;
}

.hero-subtitle-line {
    display: block;
}

.hero-trust-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    text-wrap: balance;
}

.hero-status-card {
    max-width: 34rem;
    margin: 0 auto var(--space-8);
    padding: var(--space-5) var(--space-6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

.hero-status-kicker {
    margin-bottom: var(--space-2);
    color: var(--color-cyan);
    font-size: var(--font-size-sm);
    letter-spacing: 0.04em;
}

.hero-status-copy {
    margin: 0;
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-centered {
    margin-top: var(--space-8);
}

/* =====================================================
   LANDING PAGE - BENEFITS
   ===================================================== */

.benefits {
    padding: var(--space-20) 0;
}

.benefits h2 {
    text-align: center;
    margin-bottom: var(--space-12);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.benefit-item {
    text-align: center;
    padding: var(--space-6);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-pink);
    font-size: var(--font-size-2xl);
}

.benefit-item h3 {
    font-family: var(--font-family-display);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.benefit-item p {
    color: var(--color-text-muted);
    margin: 0;
    text-wrap: pretty;
}

/* =====================================================
   LANDING PAGE - STRUCTURE
   ===================================================== */

.structure {
    padding: var(--space-20) 0;
}

.structure h2 {
    text-align: center;
    margin-bottom: var(--space-12);
}

.structure-list {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.structure-item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-6);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.structure-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-pink);
}

.structure-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 90px;
    flex-shrink: 0;
}

.structure-title {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-normal);
    color: var(--color-white);
    text-wrap: pretty;
}

/* =====================================================
   LANDING PAGE - PRICING
   ===================================================== */

.pricing {
    padding: var(--space-20) 0;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--space-12);
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.pricing-card h2 {
    margin-bottom: var(--space-6);
}

.price {
    margin-bottom: var(--space-2);
}

.price-amount {
    font-family: var(--font-family-display);
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-light);
    color: var(--color-white);
}

.price-currency {
    font-size: var(--font-size-2xl);
    color: var(--color-text-muted);
    margin-left: var(--space-1);
}

.price-info {
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

.price-promise {
    max-width: 34rem;
    margin: 0 auto var(--space-6);
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.price-status-label {
    margin-bottom: var(--space-3);
    color: var(--color-cyan);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.checkout-form {
    text-align: left;
    margin-bottom: var(--space-6);
}

.checkout-note {
    font-size: var(--font-size-sm);
    color: var(--color-text-subtle);
    margin: 0;
    text-wrap: pretty;
}

.checkout-notes {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.checkout-note-legal {
    font-size: var(--font-size-xs);
    font-style: italic;
}

/* =====================================================
   LANDING PAGE - FAQ
   ===================================================== */

.faq {
    padding: var(--space-20) 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--space-12);
}

.faq .faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item p {
    text-wrap: pretty;
}

/* =====================================================
   AUTH PAGES
   ===================================================== */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.auth-page h1 {
    text-align: center;
    font-size: var(--font-size-3xl);
}

.auth-description {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

.auth-form {
    margin-bottom: var(--space-6);
}

.auth-links {
    text-align: center;
}

.auth-links a {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.auth-links a:hover {
    color: var(--color-white);
}

.success-message {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-success-bg);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.success-message p {
    color: var(--color-success);
    margin: 0;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* =====================================================
   COURSE PAGE
   ===================================================== */

.course-page {
    padding: var(--space-8) 0;
}

.course-header {
    max-width: 48rem;
    margin: 0 auto var(--space-10);
    text-align: center;
}

.course-header h1 {
    margin-bottom: var(--space-3);
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.course-eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.course-progress-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin: 0 0 var(--space-4);
}

.course-progress-pill,
.content-progress-pill,
.course-module-order {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--color-white);
    font-size: var(--font-size-sm);
}

.course-progress-divider {
    width: 2.5rem;
    height: 1px;
    background: var(--color-border);
}

.course-progress-meta {
    color: var(--color-text-subtle);
    font-size: var(--font-size-sm);
    line-height: 1.45;
    text-wrap: pretty;
}

.course-welcome {
    margin-bottom: var(--space-10);
}

.course-welcome-card {
    max-width: 54rem;
    margin: 0 auto;
    padding: var(--space-9) var(--space-10);
    background:
        radial-gradient(circle at top left, rgba(171, 239, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    text-align: center;
}

.course-welcome-kicker {
    margin-bottom: var(--space-4);
    color: var(--color-cyan);
    font-size: var(--font-size-lg);
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.course-welcome-greeting {
    margin-bottom: var(--space-3);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.course-welcome-copy {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--color-text-muted);
    line-height: 1.6;
    text-wrap: pretty;
}

.course-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.course-welcome-next {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.5;
    text-wrap: pretty;
}

.course-guidance {
    margin-bottom: var(--space-12);
}

.course-guidance-card {
    max-width: 54rem;
    margin: 0 auto;
    padding: var(--space-8) var(--space-9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(6px);
}

.course-guidance-card h2 {
    margin-bottom: var(--space-4);
    text-align: left;
    font-size: var(--font-size-lg);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.course-guidance-list {
    margin: 0;
    padding-left: var(--space-6);
    margin-left: var(--space-3);
}

.course-guidance-list li {
    line-height: 1.6;
    text-wrap: pretty;
}

.course-guidance-list li + li {
    margin-top: var(--space-3);
}

.course-module-meta {
    display: inline-flex;
    align-self: flex-start;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-subtle);
    font-size: var(--font-size-xs);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.course-journey-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
}

.course-module-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--glass-blur);
}

.course-module-thumbnail {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.course-module-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.course-module-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--space-8);
}

.course-module-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.course-module-header > :first-child {
    min-width: 0;
}

.course-module-label {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.course-module-title {
    margin-bottom: 0;
    font-size: var(--font-size-2xl);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.course-module-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: rgba(171, 239, 255, 0.12);
    border: 1px solid rgba(171, 239, 255, 0.3);
    color: var(--color-cyan);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.course-module-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-2);
    flex-shrink: 0;
}

.course-module-order {
    color: var(--color-text-muted);
    white-space: nowrap;
    max-width: 100%;
}

.course-module-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-4);
}

.course-module-copy {
    display: grid;
    gap: var(--space-4);
    margin-bottom: auto;
}

.course-module-body p {
    margin: 0;
    line-height: 1.58;
    text-wrap: pretty;
}

.course-module-intro {
    color: var(--color-white);
}

.course-module-goal {
    color: var(--color-text-muted);
}

.course-module-summary {
    color: var(--color-text-muted);
    line-height: 1.58;
}

.course-module-next,
.course-module-outro {
    color: var(--color-text-subtle);
    line-height: 1.55;
}

.course-module-actions {
    margin-top: var(--space-6);
}

.course-module-actions .btn {
    width: 100%;
}

.empty-state {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--space-16) 0;
    background: var(--glass-bg);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   CONTENT PAGE
   ===================================================== */

.content-page {
    padding: var(--space-8) 0;
}

.content-page .container-content {
    margin: 0 auto;
}

.content-header {
    margin-bottom: var(--space-9);
    text-align: left;
}

.content-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.content-type {
    display: inline-flex;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.content-header h1 {
    margin-bottom: var(--space-4);
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.content-progress-summary {
    max-width: 24rem;
    margin: 0 0 var(--space-8);
    display: grid;
    gap: var(--space-4);
}

.content-progress-track {
    width: 100%;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.content-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-pink), var(--color-cyan));
}

.content-quick-nav {
    display: inline-flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    padding: var(--space-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.content-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.content-quick-link:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.content-quick-link-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.content-summary {
    max-width: 40rem;
    margin: 0;
    font-size: 1.03125rem;
    color: var(--color-text-muted);
    line-height: 1.66;
    text-wrap: pretty;
}

.content-overview-card {
    margin-bottom: var(--space-8);
    padding: var(--space-6) var(--space-8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(6px);
}

.content-overview-card p {
    margin: 0;
    line-height: 1.58;
    text-wrap: pretty;
}

.content-overview-card p + p {
    margin-top: var(--space-4);
}

.content-overview-intro {
    color: var(--color-white);
}

.content-overview-next {
    color: var(--color-text-subtle);
}

.content-closing-note {
    margin: var(--space-8) 0 var(--space-10);
    color: var(--color-text-subtle);
    font-size: var(--font-size-sm);
    text-align: center;
    line-height: 1.55;
    text-wrap: pretty;
}

.video-section {
    margin-bottom: var(--space-10);
}

@keyframes courseEntrance {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-welcome-card,
.course-guidance-card {
    animation: courseEntrance 420ms ease both;
}

.course-guidance-card {
    animation-delay: 60ms;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--color-glass-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-player {
    background: #000;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
}

.video-placeholder__icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    opacity: 0.7;
}

.video-placeholder__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.video-placeholder__info {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.video-placeholder--mock {
    background: linear-gradient(135deg, var(--color-glass-bg) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: var(--color-primary);
    position: relative;
    padding: 0;
    min-height: 400px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-placeholder--mock:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.video-placeholder__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-lg);
}

.video-placeholder__play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-placeholder--mock:hover .video-placeholder__play-btn {
    transform: scale(1.1);
    background: var(--color-primary-light);
}

.video-placeholder--error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.video-placeholder--error .video-placeholder__icon {
    color: #ef4444;
}

.dev-hint {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
    color: #fbbf24;
}

.content-body {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-muted);
}

.content-body > h2:first-child {
    display: none;
}

.content-body h2 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-5);
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--color-white);
    text-wrap: balance;
}

.content-body h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: var(--color-white);
    text-wrap: balance;
}

.content-body p {
    margin-bottom: var(--space-5);
    max-width: 44rem;
    text-wrap: pretty;
}

.content-body strong,
.content-body em {
    color: var(--color-white);
}

.content-body ul,
.content-body ol {
    margin-bottom: var(--space-5);
    padding-left: var(--space-6);
}

.content-body li + li {
    margin-top: var(--space-2);
}

/* =====================================================
   ACCOUNT PAGE
   ===================================================== */

.account-page {
    padding: var(--space-8) 0;
}

.account-page .glass-card {
    max-width: var(--container-content);
    margin: 0 auto;
}

.account-header {
    margin-bottom: var(--space-10);
}

.account-eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.account-header h1 {
    margin-bottom: 0;
    text-wrap: balance;
}

.account-form-header h1 {
    margin-bottom: var(--space-4);
}

.account-copy {
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.account-current-email {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-8);
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-dark-bg);
}

.account-current-email span {
    font-size: var(--font-size-sm);
    color: var(--color-text-subtle);
}

.account-current-email strong {
    color: var(--color-white);
    word-break: break-word;
}

.account-info-list {
    margin: 0;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
}

.account-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.account-info-row:first-child {
    padding-top: 0;
}

.account-info-row dt {
    color: var(--color-text-subtle);
}

.account-info-row dd {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-1);
    margin: 0;
    color: var(--color-white);
    text-align: right;
    word-break: break-word;
}

.account-info-row-stack {
    align-items: flex-start;
}

.account-info-row-stack dd {
    max-width: 24rem;
}

.account-info-value {
    color: var(--color-white);
}

.account-inline-link {
    font-size: var(--font-size-sm);
    color: var(--color-text-subtle);
}

.account-inline-link:hover {
    color: var(--color-white);
}

.account-section {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.account-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.account-section h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-5);
}

.access-status {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-4);
    text-wrap: pretty;
}

.access-active {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.access-expired {
    background: var(--color-error-bg);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.account-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.account-actions form {
    margin: 0;
}

.account-form-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: center;
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */

.legal-page {
    padding: var(--space-8) 0;
}

.legal-header {
    margin-bottom: var(--space-8);
}

.legal-header h1 {
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.legal-intro,
.legal-card-copy {
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.legal-card-copy p {
    margin: 0;
}

/* =====================================================
   CHECKOUT RESULT PAGES
   ===================================================== */

.checkout-result {
    text-align: center;
    padding: var(--space-16) 0;
}

.checkout-result .glass-card {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.result-eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.result-intro {
    max-width: 28rem;
    margin: 0 auto var(--space-6);
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
    text-wrap: pretty;
}

.result-panel {
    margin: 0 0 var(--space-8);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: left;
}

.result-panel p {
    margin: 0;
    text-wrap: pretty;
}

.result-panel p + p {
    margin-top: var(--space-4);
}

.result-panel-warning {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background: var(--color-success);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    margin: 0 auto var(--space-6);
    box-shadow: 0 0 3rem rgba(74, 222, 128, 0.3);
}

.cancel-icon {
    width: 5rem;
    height: 5rem;
    background: var(--color-warning);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    margin: 0 auto var(--space-6);
}

.status-icon {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    margin: 0 auto var(--space-6);
}

.status-icon-warning {
    background: var(--color-warning);
    color: var(--color-white);
}

.next-steps {
    text-align: left;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin: var(--space-8) 0;
}

.next-steps h2 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-4);
}

.next-steps ol {
    margin: 0;
    color: var(--color-text-muted);
}

.support-note {
    font-size: var(--font-size-sm);
    color: var(--color-text-subtle);
    text-wrap: pretty;
}

.action-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.action-buttons form {
    margin: 0;
}

.action-buttons .btn {
    min-width: 13rem;
}

.buddy-confirmation-card,
.buddy-offer-status-card {
    text-align: center;
}

.buddy-confirmation-panel h2 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-4);
    text-align: left;
}

.buddy-confirmation-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.buddy-confirmation-steps li {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
}

.buddy-confirmation-steps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.buddy-confirmation-steps li:first-child {
    padding-top: 0;
}

.step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.buddy-confirmation-steps strong {
    display: block;
    margin-bottom: 0.25rem;
}

.buddy-confirmation-steps p {
    margin: 0;
    color: var(--color-text-muted);
}

.buddy-confirmation-note {
    text-align: left;
}

.buddy-offer-status-panel {
    text-align: center;
}

.buddy-offer-status-copy {
    color: var(--color-text-subtle);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .hero {
        padding: var(--space-16) 0;
    }

    .hero h1 {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .benefits,
    .structure,
    .pricing,
    .faq {
        padding: var(--space-12) 0;
    }

    .benefits-grid {
        gap: var(--space-4);
    }

    .structure-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }

    .structure-label {
        width: auto;
    }

    .course-progress-strip {
        gap: var(--space-2);
    }

    .course-progress-divider {
        display: none;
    }

    .course-journey-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .course-module-header {
        flex-direction: column;
    }

    .course-module-badges {
        align-items: flex-start;
    }

    .course-welcome-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-welcome-actions .btn {
        width: 100%;
    }

    .content-header-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-progress-summary {
        width: 100%;
    }

    .content-quick-nav {
        width: 100%;
    }

    .content-quick-link {
        flex: 1 1 0;
        min-width: 0;
    }

    .pricing-card {
        padding: var(--space-8);
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .account-actions {
        flex-direction: column;
    }

    .account-actions .btn {
        width: 100%;
    }

    .account-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .account-form-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-welcome-card,
    .course-guidance-card {
        animation: none;
    }
}
