/* ═══════════════════════════════════════════════════════════════
   NERD NURSE BOUTIQUE — High-End Design System
   Editorial Luxury · Warm · Handcrafted
   ═══════════════════════════════════════════════════════════════ */

/* ── Page header (replaces ALL gradient heroes) ───────────────── */
.page-header {
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    background: var(--cream, #EFEFEF);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cream-deep, #E4E3E1), transparent);
}

.page-header .eyebrow { margin-bottom: 1.25rem; }

.page-header h1 {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink, #1C1917);
    margin-bottom: 1.1rem;
}

.page-header p {
    color: var(--ink-mid, #6B6460);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 48ch;
    margin: 0 auto;
}

/* Dark variant */
.page-header--dark {
    background: var(--ink, #1C1917);
}
.page-header--dark h1 { color: #fff; }
.page-header--dark p  { color: rgba(255,255,255,0.55); }
.page-header--dark::after { opacity: 0.2; }

/* ── Sections ─────────────────────────────────────────────────── */
.section {
    padding: 6rem 0;
}
.section--sm  { padding: 4rem 0; }
.section--lg  { padding: 8rem 0; }
.section--cream { background: var(--cream, #EFEFEF); }
.section--light { background: var(--bg, #F6F6F6); }
.section--white { background: #fff; }
.section--dark  { background: var(--ink, #1C1917); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p  { color: rgba(255,255,255,0.6); }

/* ── Section title ────────────────────────────────────────────── */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}
.section-title p {
    color: var(--ink-mid);
    font-size: 1rem;
    margin: 0 auto;
}

/* ── Grids ────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }

/* ── Premium card ─────────────────────────────────────────────── */
.ds-card {
    background: var(--surface, #fff);
    border-radius: var(--r-lg, 24px);
    padding: 2rem;
    box-shadow:
        0 1px 2px  rgba(28,25,23,0.04),
        0 4px 12px rgba(28,25,23,0.06),
        0 16px 40px rgba(28,25,23,0.08);
    transition: transform 380ms var(--spring, cubic-bezier(0.34,1.56,0.64,1)),
                box-shadow 380ms ease;
}
.ds-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 2px 4px  rgba(28,25,23,0.04),
        0 10px 24px rgba(28,25,23,0.09),
        0 32px 60px rgba(28,25,23,0.13);
}

/* ── Stat block ───────────────────────────────────────────────── */
.stat-block {
    text-align: center;
    padding: 2rem 1rem;
}
.stat-block .stat-number {
    display: block;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink, #1C1917);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-block .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mid, #6B6460);
}

/* ── Feature item ─────────────────────────────────────────────── */
.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.feature-item .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--sage-tint, rgba(123,158,123,0.10));
    border: 1px solid var(--sage-border, rgba(123,158,123,0.22));
    border-radius: var(--r-md, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}
.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}
.feature-item p {
    color: var(--ink-mid);
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 30ch;
}

/* ── Premium inputs ───────────────────────────────────────────── */
.ds-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid rgba(28,25,23,0.14);
    border-radius: var(--r-md, 16px);
    background: var(--surface, #fff);
    font-family: var(--font-body, sans-serif);
    font-size: 0.92rem;
    color: var(--ink, #1C1917);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    appearance: none;
}
.ds-input:focus {
    border-color: var(--sage, #B07A8A);
    box-shadow: 0 0 0 3px rgba(123,158,123,0.12);
}
.ds-input::placeholder { color: var(--ink-light, #9E9790); }

.ds-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid, #6B6460);
    margin-bottom: 0.5rem;
}

.ds-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--r-pill, 9999px);
    font-family: var(--font-body, sans-serif);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: background 200ms ease, transform 240ms var(--spring), box-shadow 200ms ease;
    white-space: nowrap;
}
.ds-btn:active { transform: scale(0.97); }

.ds-btn--dark {
    background: var(--ink, #1C1917);
    color: #fff;
    box-shadow: 0 4px 16px rgba(28,25,23,0.18);
}
.ds-btn--dark:hover {
    background: #2d2924;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28,25,23,0.22);
}

.ds-btn--sage {
    background: var(--sage, #B07A8A);
    color: #fff;
    box-shadow: 0 4px 14px rgba(176,122,138,0.25);
}
.ds-btn--sage:hover {
    background: var(--sage-dark, #8A5068);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(176,122,138,0.32);
}

.ds-btn--outline {
    background: transparent;
    color: var(--ink, #1C1917);
    border: 1.5px solid rgba(28,25,23,0.22);
}
.ds-btn--outline:hover {
    background: rgba(28,25,23,0.05);
    transform: translateY(-2px);
}

.ds-btn--ghost {
    background: transparent;
    color: var(--ink-mid, #6B6460);
    border: none;
    padding: 0.85rem 1.25rem;
}
.ds-btn--ghost:hover { color: var(--ink); background: rgba(28,25,23,0.05); }

.ds-btn--sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.ds-btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ── Accordion (FAQ) ──────────────────────────────────────────── */
.ds-accordion { display: flex; flex-direction: column; gap: 0; }

.ds-accordion-item {
    border-bottom: 1px solid rgba(28,25,23,0.08);
}
.ds-accordion-item:first-child { border-top: 1px solid rgba(28,25,23,0.08); }

.ds-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 1rem;
    transition: color 180ms ease;
}
.ds-accordion-trigger:hover { color: var(--sage-dark, #8A5068); }

.ds-accordion-trigger h3 {
    font-family: var(--font-body, sans-serif);
    font-size: 1rem;
    font-weight: 500;
    color: inherit;
    letter-spacing: 0;
    line-height: 1.4;
}

.ds-accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(28,25,23,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 260ms var(--spring), background 180ms ease;
}
.ds-accordion-item.open .ds-accordion-icon {
    transform: rotate(45deg);
    background: var(--sage-tint);
    color: var(--sage-dark);
}

.ds-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 380ms var(--ease-out), padding 280ms ease;
}
.ds-accordion-item.open .ds-accordion-body { max-height: 600px; }

.ds-accordion-body p {
    color: var(--ink-mid, #6B6460);
    font-size: 0.92rem;
    line-height: 1.75;
    padding-bottom: 1.5rem;
    max-width: none;
}

/* ── Info row (contact/info items) ────────────────────────────── */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(28,25,23,0.07);
}
.info-row:last-child { border-bottom: none; }

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--sage-tint);
    border: 1px solid var(--sage-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid);
    margin-bottom: 0.25rem;
}
.info-content p, .info-content a {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}

/* ── Tier badge ───────────────────────────────────────────────── */
.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.tier-badge--bronze  { background: #F5EDE0; color: #8B6535; }
.tier-badge--silver  { background: #EFEFEF; color: #6B6B6B; }
.tier-badge--gold    { background: #FEF3C7; color: #92640A; }
.tier-badge--platinum{ background: #EDE9FE; color: #5B21B6; }

/* ── Progress bar ─────────────────────────────────────────────── */
.ds-progress {
    height: 8px;
    background: rgba(28,25,23,0.08);
    border-radius: var(--r-pill);
    overflow: hidden;
}
.ds-progress-fill {
    height: 100%;
    background: var(--sage, #B07A8A);
    border-radius: var(--r-pill);
    transition: width 800ms var(--ease-out);
}

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}
.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    opacity: 0.35;
    display: block;
}
.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}
.empty-state p {
    color: var(--ink-mid);
    margin: 0 auto 2rem;
    font-size: 0.95rem;
}

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band {
    background: var(--ink, #1C1917);
    padding: 5rem 0;
    text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.55); margin: 0 auto 2.5rem; font-size: 1rem; }
.cta-band .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Gift card visual ─────────────────────────────────────────── */
.gift-card-visual {
    background: linear-gradient(135deg, var(--ink, #1C1917) 0%, #2d2924 50%, #3d3530 100%);
    border-radius: var(--r-lg, 24px);
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1.586;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gift-card-visual::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(123,158,123,0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.gift-card-visual .card-brand {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.gift-card-visual .card-amount {
    font-family: var(--font-display, Georgia, serif);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}
.gift-card-visual .card-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* ── Reward card ──────────────────────────────────────────────── */
.reward-card {
    background: var(--surface, #fff);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    border: 1px solid rgba(28,25,23,0.07);
    box-shadow: 0 2px 12px rgba(28,25,23,0.06), 0 8px 32px rgba(28,25,23,0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 350ms var(--spring), box-shadow 350ms ease;
}
.reward-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 16px rgba(28,25,23,0.08), 0 20px 48px rgba(28,25,23,0.10);
}
.reward-card .reward-cost {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sage-dark);
    letter-spacing: -0.02em;
}
.reward-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
}
.reward-card p {
    color: var(--ink-mid);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 4rem 0; }
    .section--lg { padding: 5rem 0; }
    .page-header { padding: 4rem 0 3rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .cta-band .cta-actions { flex-direction: column; align-items: center; }
    .ds-btn--lg { width: 100%; }
}
