:root {
    --ed-palette-bg-primary: #FDFBF7;
    --ed-palette-bg-secondary: #F7F4ED;
    --ed-palette-bg-card: #FFFFFF;
    --ed-palette-bg-dark: #1a1a2e;
    --ed-palette-text-primary: #1a1a2e;
    --ed-palette-text-secondary: #5a5a6e;
    --ed-palette-text-muted: #8a8a9a;
    --ed-palette-accent-primary: #7c3aed;
    --ed-palette-accent-secondary: #a78bfa;
    --ed-palette-accent-warm: #f59e0b;
    --ed-palette-accent-green: #10b981;
    --ed-palette-accent-rose: #e11d48;
    --ed-palette-gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c4b5fd 100%);
    --ed-palette-gradient-warm: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --ed-palette-border-subtle: rgba(26, 26, 46, 0.08);
    --ed-palette-border-medium: rgba(26, 26, 46, 0.12);
    --ed-palette-shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --ed-palette-shadow-md: 0 8px 24px rgba(26, 26, 46, 0.08);
    --ed-palette-shadow-lg: 0 24px 48px rgba(26, 26, 46, 0.12);
    --ed-palette-shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.2);
    --ed-palette-font-display: 'Crimson Pro', Georgia, serif;
    --ed-palette-font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --ed-palette-font-mono: 'JetBrains Mono', monospace;
    --ed-palette-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--ed-palette-font-body);
    background: var(--ed-palette-bg-primary);
    color: var(--ed-palette-text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

.ed-page-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.ed-page-header {
    padding: 24px 0;
    position: relative;
    z-index: 100;
}

.ed-page-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ed-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ed-palette-text-primary);
}

.ed-brand-icon {
    width: 40px;
    height: 40px;
    background: var(--ed-palette-gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ed-palette-shadow-glow);
}

.ed-brand-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.ed-brand-text {
    font-family: var(--ed-palette-font-display);
    font-size: 1.35rem;
    font-weight: 600;
}

.ed-brand-text span {
    background: var(--ed-palette-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ed-offer-hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.ed-offer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.ed-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
    animation: ed-animate-fade-in-up 0.6s var(--ed-palette-ease-out-expo) both;
}

.ed-intro-badge-icon {
    font-size: 1rem;
}

.ed-intro-badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ed-palette-accent-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ed-intro-title {
    font-family: var(--ed-palette-font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: ed-animate-fade-in-up 0.6s var(--ed-palette-ease-out-expo) 0.1s both;
    position: relative;
}

.ed-intro-title em {
    font-style: italic;
    background: var(--ed-palette-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ed-intro-subtitle {
    font-size: 1.1rem;
    color: var(--ed-palette-text-secondary);
    max-width: 550px;
    margin: 0 auto;
    animation: ed-animate-fade-in-up 0.6s var(--ed-palette-ease-out-expo) 0.2s both;
}

@keyframes ed-animate-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ed-offer-section {
    padding: 40px 0 100px;
}

.ed-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ed-offer-card {
    background: var(--ed-palette-bg-card);
    border: 1px solid var(--ed-palette-border-subtle);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.4s var(--ed-palette-ease-out-expo);
    animation: ed-animate-fade-in-up 0.6s var(--ed-palette-ease-out-expo) both;
    color: var(--ed-palette-text-primary);
}

.ed-offer-card:nth-child(1) { animation-delay: 0.1s; }

.ed-offer-card:nth-child(2) { animation-delay: 0.2s; }

.ed-offer-card:nth-child(3) { animation-delay: 0.3s; }

.ed-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--ed-palette-shadow-md);
}

.ed-offer-card.ed-state-featured {
    border-color: var(--ed-palette-accent-primary);
    box-shadow: var(--ed-palette-shadow-glow);
}

.ed-offer-card.ed-state-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ed-palette-gradient-primary);
    border-radius: 20px 20px 0 0;
}

.ed-offer-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ed-palette-gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ed-offer-popular.ed-offer-best-value {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ed-offer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ed-palette-text-primary);
}

.ed-offer-price {
    margin: 16px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ed-offer-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ed-palette-text-primary);
}

.ed-offer-amount {
    font-family: var(--ed-palette-font-display);
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ed-palette-text-primary);
}

.ed-offer-period-inline {
    font-size: 1.1rem;
    color: var(--ed-palette-text-muted);
    margin-left: 4px;
}

.ed-offer-desc {
    font-size: 0.9rem;
    color: var(--ed-palette-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.ed-offer-desc strong {
    color: var(--ed-palette-text-primary);
}

.ed-offer-note-text {
    font-size: 0.85rem;
    color: var(--ed-palette-text-muted);
    margin-bottom: 20px;
}

.ed-offer-features {
    list-style: none;
    margin-top: 28px;
}

.ed-offer-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--ed-palette-text-secondary);
}

.ed-offer-features li svg {
    width: 20px;
    height: 20px;
    color: var(--ed-palette-accent-green);
    flex-shrink: 0;
}

.ed-offer-cta {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: all 0.3s var(--ed-palette-ease-out-expo);
    cursor: pointer;
    border: none;
}

.ed-offer-cta.ed-state-primary {
    background: var(--ed-palette-gradient-primary);
    color: white;
    box-shadow: var(--ed-palette-shadow-glow);
}

.ed-offer-cta.ed-state-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
}

.ed-offer-cta.ed-detail-secondary {
    background: var(--ed-palette-bg-secondary);
    color: var(--ed-palette-text-primary);
    border: 1px solid var(--ed-palette-border-medium);
}

.ed-offer-cta.ed-detail-secondary:hover {
    background: var(--ed-palette-text-primary);
    color: var(--ed-palette-bg-primary);
}

.ed-comparison-section {
    padding: 80px 0;
    background: var(--ed-palette-bg-secondary);
}

.ed-section-heading-header {
    text-align: center;
    margin-bottom: 48px;
}

.ed-section-heading-label {
    font-family: var(--ed-palette-font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-palette-accent-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.ed-section-heading-title {
    font-family: var(--ed-palette-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.ed-comparison-table-wrapper {
    background: var(--ed-palette-bg-card);
    border: 1px solid var(--ed-palette-border-subtle);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ed-palette-shadow-md);
}

.ed-comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.ed-comparison-table thead {
    background: var(--ed-palette-bg-secondary);
}

.ed-comparison-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--ed-palette-border-subtle);
    font-size: 0.9rem;
}

.ed-comparison-table th:not(:first-child) {
    text-align: center;
}

.ed-comparison-table th.ed-state-highlighted {
    background: rgba(124, 58, 237, 0.08);
    color: var(--ed-palette-accent-primary);
}

.ed-comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--ed-palette-border-subtle);
    font-size: 0.9rem;
}

.ed-comparison-table td:not(:first-child) {
    text-align: center;
}

.ed-comparison-table td.ed-state-highlighted {
    background: rgba(124, 58, 237, 0.04);
}

.ed-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.ed-comparison-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.02);
}

.ed-icon-confirm {
    color: var(--ed-palette-accent-green);
}

.ed-icon-unavailable {
    color: var(--ed-palette-text-muted);
    opacity: 0.4;
}

.ed-faq-section {
    padding: 80px 0;
}

.ed-faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ed-faq-item {
    background: var(--ed-palette-bg-card);
    border: 1px solid var(--ed-palette-border-subtle);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ed-faq-item:hover {
    border-color: rgba(124, 58, 237, 0.2);
}

.ed-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
}

.ed-faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
}

.ed-faq-icon {
    width: 26px;
    height: 26px;
    background: var(--ed-palette-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--ed-palette-text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ed-faq-item.ed-state-active .ed-faq-icon {
    background: var(--ed-palette-gradient-primary);
    color: white;
    transform: rotate(45deg);
}

.ed-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ed-palette-ease-out-expo);
}

.ed-faq-item.ed-state-active .ed-faq-answer {
    max-height: 200px;
}

.ed-faq-answer p {
    padding: 0 24px 20px;
    color: var(--ed-palette-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.ed-confidence-section {
    padding: 60px 0;
    border-top: 1px solid var(--ed-palette-border-subtle);
}

.ed-confidence-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.ed-confidence-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ed-palette-text-muted);
}

.ed-confidence-item svg {
    width: 24px;
    height: 24px;
    color: var(--ed-palette-accent-green);
}

.ed-confidence-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.ed-assurance-banner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 800px;
    margin: 40px auto 0;
}

.ed-assurance-icon {
    width: 64px;
    height: 64px;
    background: var(--ed-palette-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--ed-palette-shadow-glow);
}

.ed-assurance-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.ed-assurance-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ed-assurance-content p {
    color: var(--ed-palette-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .ed-offer-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .ed-offer-card.ed-state-featured {
        transform: none;
    }

    .ed-offer-card.ed-state-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .ed-comparison-table {
        font-size: 0.8rem;
    }

    .ed-comparison-table th,
    .ed-comparison-table td {
        padding: 12px 16px;
    }

    .ed-confidence-grid {
        gap: 32px;
    }

    .ed-assurance-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}

.ed-pricing-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(480px, calc(100% - 32px));
    margin: 0;
    padding: 20px 24px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    background: #ecfdf5;
    color: #14532d;
    font-size: 0.9rem;
    line-height: 1.6;
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    pointer-events: none;
    box-shadow: var(--ed-palette-shadow-lg);
    animation: ed-pricing-welcome-arrive 350ms var(--ed-palette-ease-out-expo) backwards;
    transition: opacity 350ms ease, translate 350ms ease;
}

.ed-pricing-welcome.ed-state-leaving { opacity: 0; translate: 0 -10px; }

@keyframes ed-pricing-welcome-arrive {
    from { opacity: 0; transform: translate(-50%, -12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.ed-pricing-welcome-symbol {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.ed-pricing-welcome-title {
    display: block;
    margin-bottom: 3px;
    font-size: 1rem;
}

.ed-pricing-celebration {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: hidden;
    pointer-events: none;
}

.ed-pricing-celebration-particle {
    position: absolute;
    left: var(--ed-celebration-left);
    top: -20px;
    width: 8px;
    height: 12px;
    border-radius: 2px;
    background: var(--ed-celebration-color);
    animation: ed-pricing-celebration-fall var(--ed-celebration-duration) var(--ed-celebration-delay) ease-in both;
    will-change: transform, opacity;
}

.ed-pricing-celebration-particle:nth-child(3n) {
    height: 8px;
    border-radius: 50%;
}

@keyframes ed-pricing-celebration-fall {
    0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate3d(var(--ed-celebration-drift), calc(100vh + 30px), 0) rotate(var(--ed-celebration-spin)); opacity: 0; }
}

@media (max-width: 480px) {
    .ed-pricing-welcome {
        align-items: flex-start;
        gap: 12px;
        padding: 18px;
        top: 80px;
    }

    .ed-pricing-welcome-symbol {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ed-pricing-welcome { animation: none; transition: none; }
    .ed-pricing-celebration { display: none; }
    .ed-pricing-celebration-particle { animation: none; }
}

.ed-access-window {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 14px 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    background: #f3edff;
    color: #5b21b6;
    font-family: var(--ed-palette-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.ed-access-window svg { flex-shrink: 0; }
.ed-access-window-time { font-variant-numeric: tabular-nums; font-size: 1.125rem; font-weight: 700; color: var(--ed-palette-text-primary); }
.ed-intake-reservation { margin: 0 0 28px; }
.ed-pricing-reservation { padding: 8px 20px 0; }
.ed-intake-reservation[hidden], .ed-pricing-reservation[hidden], [data-access-time][hidden] { display: none; }

@media (max-width: 480px) {
    .ed-access-window { gap: 8px; padding: 12px 14px; font-size: 0.8rem; }
}

