/* ═══════════════════════════════════════════════════════════════════
   TNT — CS Innovations Studio
   Theme Stylesheet  ·  tnt-theme-innovations.css

   WHAT THIS FILE DOES:
   All color decisions for the CS Innovations Studio page live here.
   The base file (tnt-base.css) contains component structure.
   ═══════════════════════════════════════════════════════════════════ */


/* ─── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
    /* Primary course color: Innovations yellow */
    --accent:          #f4e542;
    --accent-rgb:      244, 229, 66;
    --accent-dark:     #c9bb1a;
    --accent-light:    #f9f07a;

    /* Page backgrounds */
    --page-bg:         #0d0d1f;
    --page-mid:        #13132b;
    --page-tint:       #1a0d2e;

    /* Navbar */
    --navbar-bg:       rgba(13, 13, 31, 0.95);

    /* Innovations-only secondary accents */
    --accent-orange:   #ff6b35;
    --accent-violet:   #a78bfa;
}


/* ─── NAVBAR & HERO ──────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #0d0d1f 0%, #1a1a3e 50%, #1a0d2e 100%);
}

/* Innovations hero highlight uses orange as the end color, not accent-light */
.hero h1 .highlight {
    background: linear-gradient(90deg, var(--accent), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ─── SECTION BACKGROUNDS ────────────────────────────────────────── */
.ff-section       { background: linear-gradient(180deg, #0d0d1f 0%, #111130 100%); }
.builds-section   { background: linear-gradient(180deg, #111130 0%, #0d0d1f 100%); }
.tools-section    { background: #111130; }
.journey-section  { background: linear-gradient(135deg, #130d2a 0%, #0d0d1f 100%); }
.spark-section    { background: linear-gradient(135deg, #0d0d1f, #2a1a4e); }
.inaction-section { background: linear-gradient(180deg, #0a0a1e 0%, #0d0d1f 100%); }
.pathway-section  { background: #0d0d1f; }
.cta-section      { background: linear-gradient(135deg, #130d2a, #0d0d1f); }


/* ─── FANTASTIC FOUR SECTION ─────────────────────────────────────── */
/* This section is unique to the Innovations course page.
   The "Fantastic Four" = HTML, CSS, JavaScript, and Python/p5.js  */
.ff-card {
    background: rgba(244,229,66,0.05);
    border: 1px solid rgba(244,229,66,0.25);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* Accent bar that slides in on hover — yellow to orange */
.ff-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.ff-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(244,229,66,0.12);
}

.ff-card:hover::before { transform: scaleX(1); }

.ff-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(244,229,66,0.12);
    line-height: 1;
    position: absolute;
    top: 12px;
    right: 18px;
    font-family: 'JetBrains Mono', monospace;
}

.ff-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.ff-card h3 {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.ff-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.7;
}


/* ─── SYNTAX HIGHLIGHTING ────────────────────────────────────────── */
/* HTML/CSS tokens shown in the Innovations code window */
.tag      { color: var(--accent-light); }
.atr      { color: #ff9f6b; }
.val      { color: #a5d6ff; }
.css-prop { color: var(--accent-violet); }
.css-val  { color: var(--accent-light); }


/* ─── TOOL CALLOUT (Innovations override) ────────────────────────── */
/* Innovations uses violet for the tool callout, not the course accent */
.tool-callout {
    border-color: rgba(167,139,250,0.25);
}

.tool-callout-text h3 { color: var(--accent-violet); }


/* ─── PROMPT TAG VARIANTS ────────────────────────────────────────── */
/* Innovations: yellow (initial), orange (follow-up), violet (validate) */
.prompt-tag.initial  {
    background: rgba(244,229,66,0.12);
    color: var(--accent);
    border: 1px solid rgba(244,229,66,0.3);
}
.prompt-tag.followup {
    background: rgba(255,107,53,0.12);
    color: var(--accent-orange);
    border: 1px solid rgba(255,107,53,0.3);
}
.prompt-tag.validate {
    background: rgba(167,139,250,0.12);
    color: var(--accent-violet);
    border: 1px solid rgba(167,139,250,0.3);
}

.prompt-body .user-tag { color: var(--accent-violet); }         /* "YOU ASKED:" */
.prompt-body em        { color: var(--accent-light); }           /* keyword highlights */


/* ─── PREREQUISITE BADGE ─────────────────────────────────────────── */
.prereq-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(167,139,250,0.1);
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 10px;
    padding: 14px 22px;
    font-size: 0.9rem;
    color: var(--accent-violet);
}


/* ─── CTA BUTTON ─────────────────────────────────────────────────── */
.btn-innovations {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--page-bg);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    display: inline-block;
}
.btn-innovations:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 35px rgba(244,229,66,0.35);
    color: var(--page-bg);
}

.btn-outline-innovations {
    background: transparent;
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 50px;
    border: 2px solid var(--accent);
    transition: all 0.25s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-innovations:hover {
    background: var(--accent);
    color: var(--page-bg);
}


/* ─── FOOTER OVERRIDE ────────────────────────────────────────────── */
footer { background: #080814; }


/* ─── UTILITY CLASSES ────────────────────────────────────────────── */
.text-innovations   { color: var(--accent); }
.text-accent-orange { color: var(--accent-orange); }
.text-accent-violet { color: var(--accent-violet); }
