:root {
    --bg: #050816;
    --bg-alt: #070b1f;
    --card: #0b1024;
    --accent: #4ade80;
    --accent-soft: rgba(74, 222, 128, 0.1);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --danger: #f97373;
    --border: #111827;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(229, 231, 235, 0.9);
}

.logo {
    margin-top: 8px;
    height: 36px;
    width: auto;
    opacity: 0.9;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.badge span.highlight {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.9);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-top: 6px;
    margin-bottom: 56px;
}

@media (max-width: 840px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 14px 0 16px;
}

.hero-title span.accent {
    background: linear-gradient(120deg, #4ade80, #22c55e, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 20px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.hero-form {
    margin-top: 18px;
    margin-bottom: 10px;
}

.form-footnote {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}

.hero-sidecard {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.12), transparent 60%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.09), transparent 60%),
        var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 20px;
}

.sidecard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sidecard-title {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
}

.sidecard-chip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--muted);
}

.plan-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.9);
}

.plan-line {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 6px;
}

.plan-tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
}

.plan-insight {
    margin-top: 8px;
    padding: 10px 10px 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    font-size: 12px;
    color: var(--muted);
}

.plan-insight strong {
    color: var(--accent);
    font-weight: 500;
}

.sidecard-footer {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
}

.sidecard-dot-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
}

.dot.done {
    background: var(--accent);
}

.dot.skip {
    background: var(--danger);
}

.dot.pending {
    background: var(--muted);
}

.section {
    margin-top: 48px;
    margin-bottom: 48px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 840px) {
    .how-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    padding: 16px 16px 18px;
    font-size: 14px;
}

.card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 4px;
}

.card h3 {
    font-size: 14px;
    margin: 0 0 6px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
}

.author-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--muted);
}

.author-pill {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 18px;
}

@media (max-width: 840px) {
    .two-col {
        grid-template-columns: minmax(0, 1fr);
    }
}

.list {
    font-size: 14px;
    color: var(--muted);
    padding-left: 18px;
    line-height: 1.8;
}

.list li {
    margin-bottom: 6px;
}

.faq {
    margin-top: 8px;
}

.faq-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.faq-q {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Modal & Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.5);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    height: 80vh;
    max-height: 700px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    line-height: 1;
}

.modal-content iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 1);
    font-size: 11px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.archetype-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 1024px) {
    .archetype-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .archetype-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.arch-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 14px 14px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    font-size: 13px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.arch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.arch-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 4px;
}

.arch-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.arch-name {
    font-size: 15px;
    font-weight: 600;
}

.arch-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
}

.arch-body {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.arch-bullets {
    font-size: 12px;
    color: var(--muted);
    padding-left: 16px;
    margin: 0;
}

.arch-bullets li {
    margin-bottom: 4px;
}

.arch-cta-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
}