/* =====================================================================
   GrowForgeAI — SHARED DESIGN SYSTEM   (design-system.css)
   ---------------------------------------------------------------------
   Minimal, mature, near-monochrome. Neutrals do the work; a single
   restrained indigo accent appears sparingly. No gradient text, no
   gradient-filled buttons, no decorative motion. Sections get a quiet
   low-chroma tint via --ds-a — used only on small touches (eyebrow,
   icon glyph, thin rules, links), never large fills.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------- */
:root {
    /* section accent (defaults to the house indigo) */
    --ds-a: var(--primary);
    --ds-a-rgb: var(--primary-rgb);

    /* solid button ink (mature near-black / near-white) */
    --ds-ink: #1b1f24;
    --ds-on-ink: #ffffff;

    /* radius — restrained */
    --ds-r-sm: 8px;
    --ds-r:    10px;
    --ds-r-lg: 14px;
    --ds-r-xl: 18px;
    --ds-r-pill: 999px;

    /* elevation — barely-there */
    --ds-shadow-sm: 0 1px 2px rgba(16, 19, 24, 0.05);
    --ds-shadow:    0 1px 3px rgba(16, 19, 24, 0.07), 0 1px 2px rgba(16, 19, 24, 0.04);
    --ds-shadow-lg: 0 6px 20px rgba(16, 19, 24, 0.08);

    --ds-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ds-t: 0.18s var(--ds-ease);

    --ds-section-y: 4.5rem;
}

.dark-theme {
    --ds-ink: #eceef2;
    --ds-on-ink: #14171c;
    --ds-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --ds-shadow:    0 1px 3px rgba(0, 0, 0, 0.45);
    --ds-shadow-lg: 0 8px 26px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------------
   2. TYPOGRAPHY — Inter everywhere
   ------------------------------------------------------------------- */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    letter-spacing: -0.005em;
}
h1, h2, h3, h4, h5, .ds-display {
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.18;
    font-weight: 650;
    color: var(--text);
}

/* ---------------------------------------------------------------------
   3. SECTION TINTS  (quiet, desaturated — small touches only)
   ------------------------------------------------------------------- */
.vibe-marketing { --ds-a: #6d5ed0; --ds-a-rgb: 109, 94, 208; }
.vibe-tech      { --ds-a: #3f6fc0; --ds-a-rgb: 63, 111, 192; }
.vibe-learning  { --ds-a: #2f8f72; --ds-a-rgb: 47, 143, 114; }

/* ---------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   ------------------------------------------------------------------- */
.ds-section { padding: var(--ds-section-y) 0; position: relative; z-index: 1; }

.ds-section-head { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.ds-section-head.start { text-align: left; margin-left: 0; }

.ds-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ds-a);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.ds-eyebrow::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--ds-a);
    opacity: 0.6;
}

.ds-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 680;
    margin-bottom: 0.9rem;
    color: var(--text);
}
/* .gradient kept for template compatibility — now a solid ink heading */
.ds-title.gradient { color: var(--text); background: none; -webkit-text-fill-color: currentColor; }

.ds-lede {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}
.ds-section-head.start .ds-lede { margin-left: 0; }

/* ---------------------------------------------------------------------
   5. CARD
   ------------------------------------------------------------------- */
.ds-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--ds-r-lg);
    padding: 1.75rem;
    box-shadow: var(--ds-shadow-sm);
    position: relative;
    transition: transform var(--ds-t), box-shadow var(--ds-t), border-color var(--ds-t);
}
.ds-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ds-shadow);
    border-color: rgba(var(--ds-a-rgb), 0.4);
}
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* ---------------------------------------------------------------------
   6. ICON  — quiet tinted tile, accent glyph (no gradient)
   ------------------------------------------------------------------- */
.ds-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--ds-r);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--ds-a);
    background: rgba(var(--ds-a-rgb), 0.1);
    border: 1px solid rgba(var(--ds-a-rgb), 0.16);
    margin-bottom: 1.1rem;
}
.ds-icon.round { border-radius: 50%; }

/* ---------------------------------------------------------------------
   7. BUTTONS  — solid ink primary, hairline outline secondary
   ------------------------------------------------------------------- */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.4rem;
    border-radius: var(--ds-r);
    font-family: inherit;
    font-weight: 550;
    font-size: 0.94rem;
    letter-spacing: -0.005em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--ds-t), background var(--ds-t), border-color var(--ds-t), color var(--ds-t);
}
.ds-btn:active { transform: translateY(1px); }

.ds-btn-primary { background: var(--ds-ink); color: var(--ds-on-ink); }
.ds-btn-primary:hover { background: var(--ds-a); color: #fff; }

.ds-btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.ds-btn-outline:hover { border-color: var(--ds-a); color: var(--ds-a); }

.ds-btn-ghost { background: transparent; color: var(--ds-a); }
.ds-btn-ghost:hover { background: rgba(var(--ds-a-rgb), 0.08); }

.ds-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--ds-t);
}
.ds-back:hover { color: var(--ds-a); }

/* ---------------------------------------------------------------------
<<<<<<< HEAD
=======
   GLOBAL BACK BUTTON — single canonical style used site-wide
   Glassmorphism dark pill matching the Courses page design.
   ------------------------------------------------------------------- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1.5rem;
    width: fit-content;
}
.back-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateX(-3px);
    color: #ffffff;
}
.back-btn i {
    transition: transform 0.3s ease;
}
.back-btn:hover i {
    transform: translateX(-3px);
}
.back-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
@media (max-width: 480px) {
    .back-btn {
        font-size: 0.8rem;
        padding: 7px 14px;
    }
}

/* ---------------------------------------------------------------------
>>>>>>> 10d0b57195332f4c62c27bdb368deefbeb732280
   8. FEATURE LIST
   ------------------------------------------------------------------- */
.ds-features { list-style: none; padding: 0; margin: 0; }
.ds-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.4rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}
.ds-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--ds-a);
    font-size: 0.7rem;
    margin-top: 0.28rem;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ---------------------------------------------------------------------
   9. STAT  — solid ink number
   ------------------------------------------------------------------- */
.ds-stat { text-align: center; }
.ds-stat-num {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    font-weight: 680;
    line-height: 1;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}
.ds-stat-label { color: var(--text-light); font-size: 0.92rem; }

/* ---------------------------------------------------------------------
   10. CTA  — calm bordered surface panel (no saturated gradient)
   ------------------------------------------------------------------- */
.ds-cta {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--ds-r-xl);
    padding: 3rem 2rem;
    text-align: center;
}
.ds-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.8rem; color: var(--text); }
.ds-cta p { font-size: 1.05rem; color: var(--text-light); max-width: 560px; margin: 0 auto 1.75rem; line-height: 1.6; }

/* ---------------------------------------------------------------------
   11. PAGE HERO
   ------------------------------------------------------------------- */
.ds-hero { text-align: center; padding: 3rem 1.5rem 2.25rem; position: relative; z-index: 1; }
.ds-hero .ds-title { font-size: clamp(2rem, 4.5vw, 3rem); }

/* ---------------------------------------------------------------------
   12. REVEAL ON SCROLL (subtle)
   ------------------------------------------------------------------- */
.ds-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ds-ease), transform 0.5s var(--ds-ease);
    will-change: opacity, transform;
}
.ds-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ds-reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------------------------------------------------------------------
   13. RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 768px) {
    :root { --ds-section-y: 3rem; }
    .ds-card { padding: 1.4rem; }
    .ds-cta { padding: 2.25rem 1.25rem; }
}
