/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blue:         #4f46e5;
    --blue-dark:    #3730a3;
    --blue-light:   #eef2ff;
    --gray-50:      #f9fafb;
    --gray-100:     #f3f4f6;
    --gray-200:     #e5e7eb;
    --gray-400:     #9ca3af;
    --gray-500:     #6b7280;
    --gray-700:     #374151;
    --gray-900:     #111827;
    --green:        #16a34a;
    --green-bg:     #f0fdf4;
    --radius:       12px;
    --shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:    0 8px 32px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 80px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

/* ---- Nav ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { font-weight: 700; font-size: 1.2rem; color: var(--gray-900); display: inline-flex; align-items: center; gap: 8px; }
.logo-text { color: var(--gray-900); }
.logo-mu { color: var(--blue); }
.logo-img { width: 28px; height: 28px; object-fit: contain; display: block; }
.nav-cta {
    background: var(--blue-dark);
    color: #fff;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    transition: background .15s;
}
.nav-cta:hover { background: var(--blue); }

/* ---- Buttons ---- */
.btn-primary {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    transition: background .15s, transform .1s;
    cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--gray-500);
    font-size: .875rem;
    font-weight: 500;
    padding: .5rem .75rem;
    border-radius: 6px;
    transition: color .15s;
}
.btn-ghost:hover { color: var(--gray-900); }
.btn-price-note {
    font-size: .8rem;
    color: var(--gray-400);
    margin-top: 10px;
}

/* ---- Hero ---- */
#hero {
    padding: 80px 0;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-card-col { order: -1; display: none !important;}
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
}

#hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}
#hero h1 em { font-style: normal; color: var(--blue); }
#hero p.sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 420px;
    margin-bottom: 2rem;
    line-height: 1.65;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

/* Hero card */
.hero-card-col {
    display: flex;
    justify-content: center;
}
.idea-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow-md);
}
.idea-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
    background: var(--blue-light);
    color: var(--blue);
}
.idea-card-headline {
    font-size: .9rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
    margin-bottom: 16px;
}
.idea-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.idea-card-book { font-size: .75rem; color: var(--gray-400); line-height: 1.35; }
.idea-card-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: var(--gray-900);
    color: white;
    font-size: .75rem;
    font-weight: 500;
    padding: .375rem .75rem;
    border-radius: 5px;
    white-space: nowrap;
}

/* ---- Problem / Contrast ---- */
#problem {
    background: var(--gray-900);
    padding: 80px 0;
    text-align: center;
}
#problem .inner { max-width: 680px; margin: 0 auto; }
#problem h2 {
    font-size: clamp(1.875rem, 4vw, 2.625rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}
#problem h2 em { font-style: normal; color: var(--blue-light); opacity: .9; }
#problem p {
    font-size: 1rem;
    color: var(--gray-400);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- How It Works ---- */
#how {
    background: var(--gray-50);
    text-align: center;
}
.section-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue);
    margin-bottom: .75rem;
}
#how h2, #cards h2, #quiz h2, #pricing h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -.02em;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.step {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
}
.step-num-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.step-num {
    width: 40px; height: 40px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
}
.step-seq { font-size: .75rem; font-weight: 600; color: var(--gray-200); }
.step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.step p  { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* ---- Card Preview ---- */
#cards { background: #fff; }
#cards h2 { text-align: center; margin-bottom: 3rem; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } }
.preview-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.preview-card .tag { margin-bottom: 12px; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
}
.tag-purple { background: #f3e8ff; color: #7c3aed; }
.tag-green  { background: #dcfce7; color: #15803d; }
.tag-blue   { background: var(--blue-light); color: var(--blue); }
.preview-card h3 { font-size: .95rem; font-weight: 600; color: var(--gray-900); line-height: 1.5; margin-bottom: 8px; }
.preview-card p  { font-size: .85rem; color: var(--gray-500); line-height: 1.6; }

/* ---- Recall / Quiz Preview ---- */
#quiz { background: var(--gray-50); }
.recall-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 768px) {
    .recall-inner { grid-template-columns: 1fr; gap: 3rem; }
}
.recall-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue);
    margin-bottom: .875rem;
}
#quiz h2 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}
#quiz .sub {
    font-size: .9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 380px;
    margin: 0;
}

.quiz-demo {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.quiz-demo .q-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}
.quiz-demo .q-meta-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; display: inline-block; }
.quiz-demo .q-text { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 20px; line-height: 1.5; }
.quiz-demo .option {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    margin-bottom: 8px;
    font-size: .875rem;
    color: var(--gray-700);
}
.quiz-demo .option.correct {
    border-color: #86efac;
    background: var(--green-bg);
    color: var(--green);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.quiz-demo .option.correct::after { content: '✓'; font-weight: 700; }
.quiz-demo .option.wrong {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #dc2626;
}
.quiz-demo .feedback {
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--green-bg);
    border-radius: 8px;
    font-size: .85rem;
    color: var(--green);
    line-height: 1.5;
}

/* ---- Pricing ---- */
#pricing {
    background: var(--blue-light);
    text-align: center;
}
#pricing h2 { margin-bottom: .75rem; }
#pricing .sub { color: var(--gray-500); margin-bottom: 3rem; font-size: 1rem; }

.pricing-card {
    background: #fff;
    border: 2px solid var(--blue);
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.pricing-card .plan-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.pricing-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}
.pricing-currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-top: 10px;
}
.pricing-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gray-900);
}
.pricing-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-400);
    align-self: flex-end;
    margin-bottom: 8px;
}
.pricing-card .per-month { font-size: .875rem; color: var(--gray-400); margin-bottom: 28px; }
.feature-list { list-style: none; text-align: left; margin-bottom: 32px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--gray-700);
    padding: 5px 0;
}
.feature-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ---- Footer ---- */
footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 40px 0;
    font-size: .875rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo { font-weight: 700; font-size: 1rem; color: #fff; }
.footer-logo .logo-mu { color: var(--blue-light); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { transition: color .15s; }
.footer-links a:hover { color: #fff; }

@media (max-width: 640px) {
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
