/* ===========================
   BecomingMaySelf — Design System
   =========================== */

/* ===== VARIABLES ===== */
:root {
    --bg:           #FBF8F4;
    --bg-white:     #FFFFFF;
    --bg-pink:      #FCEEF2;
    --bg-dark:      #2D2A26;
    --bg-card:      #FFFFFF;
    --accent:       #C91A6E;
    --accent-dark:  #A8145C;
    --accent-light: rgba(201, 26, 110, 0.06);
    --heading:      #2D2A26;
    --body-text:    rgba(45, 42, 38, 0.72);
    --muted:        rgba(45, 42, 38, 0.42);
    --border:       rgba(0, 0, 0, 0.07);
    --white:        #FFFFFF;
    --shadow:       0 2px 16px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius:       16px;
    --radius-sm:    10px;
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--heading);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--body-text); line-height: 1.8; font-weight: 400; }

/* ===== SECTION BACKGROUNDS ===== */
.bg-vanilla  { background: var(--bg); }
.bg-white    { background: var(--bg-white); }
.bg-pink     { background: var(--bg-pink); }
.bg-dark     { background: var(--bg-dark); color: var(--white); }
.bg-dark p   { color: rgba(255,255,255,0.65); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .section-label { color: #F9BEC8; }
.bg-dark .section-label::before { background: #F9BEC8; }
.bg-dark .pillar-tag { background: rgba(249,190,200,0.15); color: #F9BEC8; border-color: rgba(249,190,200,0.25); }

/* ===== NAV ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 244, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 2rem;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav-logo { font-weight: 800; font-size: 1.15rem; color: var(--heading); letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-decoration: none;
}
.nav-brand-text {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    line-height: 1;
    margin-bottom: 2px;
}
.nav-logo-img {
    height: 32px;
    width: auto;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--body-text); transition: color var(--transition); }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.55rem 1.3rem;
    border-radius: 100px;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(201, 26, 110, 0.30);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 26, 110, 0.40);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
    background: rgba(0, 0, 0, 0.05);
    color: var(--heading);
    border: 1px solid rgba(0, 0, 0, 0.10);
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.btn-white {
    background: var(--white);
    color: var(--accent);
    font-weight: 700;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

/* ===== PLACEHOLDER ===== */
.placeholder {
    border: 2px dashed rgba(201, 26, 110, 0.25);
    background: rgba(201, 26, 110, 0.03);
    border-radius: var(--radius-sm);
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 1rem 0;
}
.placeholder-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.25rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}
.placeholder-icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; opacity: 0.4; }
.placeholder p { font-size: 0.88rem; color: var(--muted); }
.placeholder p + p { margin-top: 0.5rem; }

/* ===== SECTION LABEL ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== PILLAR TAG ===== */
.pillar-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    border: 1px solid rgba(201, 26, 110, 0.15);
}

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== HERO ===== */
.hero { padding: 6rem 0 5rem; text-align: center; }
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p  { font-size: 1.15rem; max-width: 560px; margin: 0 auto 2.5rem; font-weight: 500; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-hero .eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* ===== MODULE CARD ===== */
.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.module-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.module-number { font-size: 0.7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.module-card h3 { margin-bottom: 0.1rem; }
.module-card > p { font-size: 0.88rem; flex: 1; }
.module-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.module-card ul li { font-size: 0.84rem; color: var(--body-text); padding-left: 1.1rem; position: relative; }
.module-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 0.75rem; }
.module-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.module-duration { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

/* ===== PILLAR CARD ===== */
.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.pillar-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.pillar-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border: 2px solid rgba(201, 26, 110, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}
.pillar-number { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.pillar-card h3 { font-size: 1.25rem; }
.pillar-card > p { font-size: 0.88rem; flex: 1; }

/* ===== WEEK BLOCK ===== */
.week-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.week-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.week-content h3 { margin-bottom: 0.25rem; }
.week-content > p { font-size: 0.88rem; margin-bottom: 1rem; }
.week-placeholders { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.week-placeholder-pill {
    background: rgba(201, 26, 110, 0.06);
    border: 1px dashed rgba(201, 26, 110, 0.25);
    border-radius: 100px;
    padding: 0.32rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

/* ===== SECTION HEADING ===== */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p { max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ===== INTRO BAND ===== */
.intro-band {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0;
    text-align: center;
}
.intro-band blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--heading);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}
.intro-band blockquote em { color: var(--accent); font-style: normal; }

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; padding: 5rem 0; }
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { margin-bottom: 2rem; }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FUTURE PILLS ===== */
.future-grid { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.future-pill {
    background: rgba(0, 0, 0, 0.04);
    border: 1px dashed rgba(201, 26, 110, 0.20);
    border-radius: 100px;
    padding: 0.6rem 1.25rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--body-text);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    text-align: center;
}
.footer-logo { font-weight: 800; font-size: 1.2rem; color: var(--heading); margin-bottom: 0.4rem; }
.footer-logo span { color: var(--accent); }
.footer-logo img { height: 40px; margin: 0 auto 0.75rem; }
.footer-tagline { font-size: 0.84rem; color: var(--muted); margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; list-style: none; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.84rem; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    nav { padding: 0.9rem 1.25rem; }
    .nav-links { display: none; }
    .section { padding: 3.5rem 0; }
    .section-sm { padding: 2.5rem 0; }
    .container { padding: 0 1.25rem; }
    .hero { padding: 4rem 0 3rem; }
    .week-block { grid-template-columns: 1fr; }
    .week-number { display: none; }
}
