/*
Theme Name: Rashid Labs Theme
Theme URI: https://rashidlabs.com
Author: Rashid Labs
Author URI: https://rashidlabs.com
Description: Official high-performance custom WordPress theme for Rashid Labs (AI Tools & Masterclass LMS platform).
Version: 1.0.0
Text Domain: rashidlabs-theme
*/

/* Core theme stylesheet imported automatically via functions.php */


/* ==========================================================================
   RASHID LABS - CORE STYLESHEET & DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette derived directly from Rashid Labs Shield Logo */
  --bg-primary: #060e1a;
  --bg-secondary: #0b192e;
  --bg-tertiary: #10233f;
  --bg-card: rgba(11, 25, 46, 0.78);
  --bg-card-solid: #0b1c34;
  --bg-card-hover: rgba(16, 35, 63, 0.9);

  /* Signature Accents from Logo Shield Ribbon & Arrow */
  --copper-primary: #d88448;
  --copper-light: #f5b078;
  --copper-dark: #b5682e;
  --copper-gradient: linear-gradient(135deg, #f5b078 0%, #d88448 50%, #b5682e 100%);
  --copper-glow: rgba(216, 132, 72, 0.4);

  --amber-primary: #f59e0b;
  --amber-light: #fbbf24;
  --amber-dark: #d97706;

  --navy-light: #193f6e;
  --navy-border: rgba(25, 63, 110, 0.5);
  --navy-glow: rgba(25, 63, 110, 0.6);

  --cyan-accent: #38bdf8;
  --cyan-light: #7dd3fc;
  --green-status: #10b981;
  --red-status: #ef4444;

  /* Typography */
  --text-heading: #ffffff;
  --text-subheading: #f1f5f9;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-code: #e2e8f0;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-copper: rgba(216, 132, 72, 0.35);
  --border-copper-active: rgba(216, 132, 72, 0.85);
  --glass-blur: blur(16px);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.75);
  --shadow-copper: 0 0 25px rgba(216, 132, 72, 0.35);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --max-width: 1240px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--copper-primary);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copper-dark);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-body);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Gradient Text Utilities */
.text-copper-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #f3a96b 50%, #e08a4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-amber-gradient {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--cyan-accent);
}

.text-copper {
  color: var(--copper-primary);
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-spacing {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper-light);
  background: rgba(224, 138, 78, 0.1);
  border: 1px solid var(--border-copper);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* --- Navigation Bar --- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.navbar-wrapper.scrolled {
  padding: 12px 0;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}

.brand-logo svg, .brand-logo img {
  width: 42px;
  height: 46px;
  filter: drop-shadow(0 0 12px rgba(224, 138, 78, 0.4));
  transition: transform 0.3s ease;
}

.brand-logo:hover svg {
  transform: scale(1.06);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--copper-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  background: rgba(15, 26, 46, 0.6);
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* --- Buttons & Interactive Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--copper-gradient);
  color: #070d18;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(224, 138, 78, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 138, 78, 0.55);
  color: #000000;
}

.btn-secondary {
  background: rgba(15, 26, 46, 0.8);
  color: var(--text-heading);
  border: 1px solid var(--border-copper);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(224, 138, 78, 0.15);
  border-color: var(--copper-light);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
  padding: 10px 18px;
}

.btn-ghost:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-wrapper {
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 26, 46, 0.8);
  border: 1px solid var(--border-copper);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: #f1f5f9;
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.12rem;
  color: #94a3b8;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-number.highlight {
  background: linear-gradient(180deg, #f3a96b 20%, #e08a4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* --- Interactive Code Terminal Mockup (Hero Right) --- */
.terminal-window {
  background: #09111e;
  border-radius: var(--radius-md);
  border: 1px solid rgba(224, 138, 78, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(224, 138, 78, 0.15);
  overflow: hidden;
  position: relative;
  font-family: var(--font-mono);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal-window:hover {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 45px rgba(224, 138, 78, 0.25);
}

.terminal-header {
  background: #0d1728;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-tabs {
  display: flex;
  gap: 4px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: #152238;
  color: var(--copper-light);
  border: 1px solid var(--border-copper);
}

.terminal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-run-btn {
  background: rgba(224, 138, 78, 0.15);
  border: 1px solid var(--border-copper);
  color: var(--copper-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.terminal-run-btn:hover {
  background: var(--copper-primary);
  color: #070d18;
}

.terminal-body {
  padding: 20px;
  font-size: 0.85rem;
  line-height: 1.7;
  min-height: 330px;
  max-height: 380px;
  overflow-y: auto;
  color: var(--text-code);
}

/* Syntax Highlighting Colors */
.syn-keyword { color: #f43f5e; font-weight: 600; }
.syn-func { color: #38bdf8; }
.syn-class { color: #f59e0b; }
.syn-str { color: #10b981; }
.syn-num { color: #a78bfa; }
.syn-comment { color: #64748b; font-style: italic; }
.syn-prop { color: #f3a96b; }
.syn-punct { color: #94a3b8; }

.terminal-footer {
  background: #080e18;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Credential Marquee Banner --- */
.marquee-section {
  padding: 24px 0;
  background: #091220;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 48px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.marquee-dot {
  color: var(--copper-primary);
  font-size: 1.1rem;
}

/* --- Capabilities Bento Grid --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
}

.card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(224, 138, 78, 0.12);
  border: 1px solid var(--border-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.bento-card:hover .card-icon-box {
  background: var(--copper-gradient);
  color: #070d18;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 20px var(--copper-glow);
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.card-description {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(15, 26, 46, 0.8);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

/* --- Projects & Products Showcase --- */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(15, 26, 46, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--text-heading);
  border-color: var(--border-copper);
}

.filter-btn.active {
  background: var(--copper-gradient);
  color: #070d18;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(224, 138, 78, 0.35);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-preview {
  height: 190px;
  background: linear-gradient(135deg, #0f1f38 0%, #08111e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.project-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 13, 24, 0.85);
  border: 1px solid var(--border-copper);
  color: var(--copper-light);
  backdrop-filter: blur(8px);
}

.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper-light);
}

.project-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* --- About & Bento Story Hub --- */
.about-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
}

.about-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: var(--glass-blur);
}

.profile-avatar-box {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 6px;
  background: var(--copper-gradient);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 30px rgba(224, 138, 78, 0.35);
}

.profile-avatar-box img, .profile-avatar-box .avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #08111e;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  font-size: 3rem;
}

.about-details-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: var(--glass-blur);
}

.skills-progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: var(--glass-blur);
}

.skill-bar-item {
  margin-bottom: 18px;
}

.skill-bar-item:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.skill-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--copper-gradient);
  border-radius: var(--radius-pill);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(224, 138, 78, 0.4);
}

/* --- Interactive Project Estimator Tool --- */
.estimator-card {
  background: linear-gradient(135deg, rgba(15, 26, 46, 0.95) 0%, rgba(9, 17, 30, 0.95) 100%);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.scope-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.scope-pill {
  background: rgba(7, 13, 24, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.scope-pill.selected {
  background: rgba(224, 138, 78, 0.15);
  border-color: var(--copper-primary);
  color: #ffffff;
}

.scope-pill input {
  display: none;
}

.custom-range-slider {
  width: 100%;
  accent-color: var(--copper-primary);
  margin: 16px 0;
  cursor: pointer;
}

.estimator-result-box {
  background: #08111e;
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.estimate-value {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--copper-light);
  line-height: 1;
  margin: 16px 0;
}

/* --- Newsletter Box --- */
.newsletter-card {
  background: linear-gradient(135deg, rgba(16, 29, 51, 0.8) 0%, rgba(8, 14, 24, 0.9) 100%);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 0 40px rgba(224, 138, 78, 0.2);
  position: relative;
  overflow: hidden;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 32px auto 16px;
  background: rgba(7, 13, 24, 0.9);
  border: 1px solid var(--border-copper);
  padding: 6px;
  border-radius: var(--radius-pill);
}

.newsletter-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: #64748b;
}

/* --- Footer --- */
.footer {
  background: #050912;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-text {
  max-width: 320px;
  margin: 16px 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-body);
}

.footer-link:hover {
  color: var(--copper-light);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* --- Modal & Toast Alerts --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: #0b1526;
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(224, 138, 78, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #070d18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--copper-primary);
  box-shadow: 0 0 10px rgba(224, 138, 78, 0.25);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0b1526;
  border: 1px solid var(--copper-primary);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(224, 138, 78, 0.3);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   4-PILLAR ARCHITECTURE STYLES (Free Tools, Paid Tools, Free Courses, Paid Courses)
   ========================================================================== */

/* Platform Pillar Navigation Tabs */
.pillar-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pillar-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pillar-tab-btn:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--border-copper);
  transform: translateY(-2px);
}

.pillar-tab-btn.active {
  background: linear-gradient(135deg, rgba(224, 138, 78, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  border-color: var(--copper-primary);
  color: var(--amber-light);
  box-shadow: 0 0 20px rgba(224, 138, 78, 0.25);
}

.pillar-tab-btn .badge-pill {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Pillar Content Section Containers */
.pillar-content-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.pillar-content-panel.active {
  display: block;
}

/* --------------------------------------------------------------------------
   1. FREE TOOLS ENGINE & WIDGETS
   -------------------------------------------------------------------------- */
.tools-hub-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.tools-sidebar {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.tool-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.tool-select-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.tool-select-item.active {
  background: rgba(224, 138, 78, 0.12);
  color: var(--copper-light);
  border: 1px solid var(--border-copper);
}

.tool-select-item svg {
  color: var(--copper-primary);
  flex-shrink: 0;
}

.tool-widget-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.tool-header-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.tool-header-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.tool-input-group {
  margin-bottom: 20px;
}

.tool-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-subheading);
  margin-bottom: 8px;
}

.tool-input, .tool-textarea {
  width: 100%;
  background: #070d18;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.tool-input:focus, .tool-textarea:focus {
  outline: none;
  border-color: var(--copper-primary);
  box-shadow: 0 0 12px rgba(224, 138, 78, 0.25);
}

.tool-output-box {
  background: #050912;
  border: 1px dashed var(--navy-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
}

.tool-output-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #ffffff;
}

.tool-output-item:last-child {
  margin-bottom: 0;
}

.copy-btn {
  background: rgba(224, 138, 78, 0.15);
  border: 1px solid var(--border-copper);
  color: var(--copper-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--copper-primary);
  color: #ffffff;
}

/* Word Counter Stats Grid */
.word-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-pill-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.stat-pill-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber-light);
}

.stat-pill-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   2. PAID TOOLS SHOWCASE & CUSTOM SALES LANDING PAGE TEMPLATE
   -------------------------------------------------------------------------- */
.paid-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.paid-tool-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.paid-tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-copper);
}

.paid-tool-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--amber-dark), var(--copper-primary));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.paid-tool-price {
  margin: 16px 0;
  font-family: var(--font-heading);
}

.price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
  margin-right: 8px;
}

.price-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber-light);
}

.sales-feature-list {
  list-style: none;
  margin: 20px 0;
}

.sales-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-subheading);
  margin-bottom: 10px;
}

.sales-feature-list li svg {
  color: var(--green-status);
  flex-shrink: 0;
}

/* Sales Landing Modal / Dynamic View */
.sales-landing-view {
  background: var(--bg-secondary);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 30px;
  display: none;
}

.sales-landing-view.active {
  display: block;
}

.sales-hero-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  text-align: center;
}

.sales-hero-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.sales-pricing-box {
  background: var(--bg-tertiary);
  border: 2px solid var(--copper-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(224, 138, 78, 0.2);
}

/* --------------------------------------------------------------------------
   3. FREE COURSES & TUTOR LMS PLAYER
   -------------------------------------------------------------------------- */
.course-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.course-card:hover {
  border-color: var(--copper-primary);
  transform: translateY(-4px);
}

.course-thumb-box {
  height: 180px;
  background: linear-gradient(135deg, #0b1526 0%, #1e3a5f 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-play-icon {
  width: 54px;
  height: 54px;
  background: rgba(224, 138, 78, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(224, 138, 78, 0.6);
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-badge-free {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-status);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.course-badge-paid {
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* LMS Interactive Course Player Modal / Shell */
.lms-player-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 30px;
}

.lms-sidebar {
  background: var(--bg-card-solid);
  border-right: 1px solid var(--border-subtle);
  padding: 20px;
  max-height: 600px;
  overflow-y: auto;
}

.lms-module-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.lms-lesson-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lms-lesson-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.lms-lesson-item.active {
  background: rgba(224, 138, 78, 0.15);
  color: var(--copper-light);
  font-weight: 600;
}

.lms-video-viewport {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.video-embed-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   4. PAID COURSES & EMERGE AI INSPIRED STUDENT DASHBOARD
   -------------------------------------------------------------------------- */
.student-dashboard-wrapper {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.dash-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(11, 21, 38, 0.9) 0%, rgba(30, 58, 95, 0.8) 100%);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.student-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--copper-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
}

.my-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.my-course-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  margin: 14px 0;
  overflow: hidden;
}

.course-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--copper-primary), var(--amber-light));
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* ==========================================================================
   REFERENCE LAYOUT STYLES (Ticker Marquee, Mac IDE Window, Bento Grids)
   ========================================================================== */

/* Marquee Ticker Banner */
.ticker-marquee-wrapper {
  width: 100%;
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.ticker-marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-subheading);
}

.ticker-item span.highlight {
  color: var(--copper-light);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Capabilities Bento Grid ("What I'm Good At") */
.capabilities-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-capability-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-capability-card:hover {
  border-color: var(--copper-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-copper);
}

.capability-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(216, 132, 72, 0.12);
  border: 1px solid var(--border-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  margin-bottom: 20px;
}

.capability-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.capability-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* About Me Story Bento Layout */
.about-bento-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}

.about-left-avatar-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-image-frame {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #0b1c34 0%, #193f6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-right-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.story-card-full {
  grid-column: span 2;
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.skills-progress-box {
  grid-column: span 2;
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.skill-bar-item {
  margin-bottom: 16px;
}

.skill-bar-item:last-child {
  margin-bottom: 0;
}

.skill-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-subheading);
  margin-bottom: 6px;
}

.skill-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--copper-primary), var(--amber-light));
  border-radius: var(--radius-pill);
  transition: width 1s ease;
}

.social-channel-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.social-channel-card:hover {
  border-color: var(--copper-primary);
  transform: translateY(-4px);
}

.youtube-icon-red {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
}

/* Newsletter Card */
.newsletter-box-card {
  background: linear-gradient(135deg, rgba(11, 28, 52, 0.9) 0%, rgba(25, 63, 110, 0.8) 100%);
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 720px;
  margin: 60px auto 0;
  box-shadow: var(--shadow-lg);
}

.newsletter-form-row {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
}

/* ==========================================================================
   EMERGE AI UNIFIED STUDENT PORTAL STYLES (Matching Uploaded Screenshots)
   ========================================================================== */

.emerge-portal-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

/* Left Sidebar Profile Card */
.emerge-profile-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.emerge-profile-banner {
  height: 100px;
  background: linear-gradient(135deg, rgba(216, 132, 72, 0.3) 0%, rgba(56, 189, 248, 0.2) 100%), #0b1c34;
  background-image: radial-gradient(circle at 50% 50%, rgba(216, 132, 72, 0.2) 10%, transparent 10.5%);
  background-size: 20px 20px;
}

.emerge-profile-body {
  padding: 0 20px 24px;
  text-align: center;
  margin-top: -45px;
}

.emerge-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 4px solid var(--bg-card-solid);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.emerge-avatar-circle svg {
  width: 50px;
  height: 50px;
  color: #64748b;
}

.emerge-student-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.emerge-student-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.emerge-btn-edit {
  background: var(--copper-gradient);
  color: #ffffff;
  border: none;
  padding: 8px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(216, 132, 72, 0.3);
}

.emerge-btn-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(216, 132, 72, 0.45);
}

/* Left Sidebar Navigation Menu */
.emerge-nav-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.emerge-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-subheading);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4px;
  border: 1px solid transparent;
}

.emerge-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.emerge-nav-item.active {
  background: linear-gradient(135deg, rgba(216, 132, 72, 0.25) 0%, rgba(245, 158, 11, 0.2) 100%);
  border-color: var(--copper-primary);
  color: var(--amber-light);
  box-shadow: 0 4px 16px rgba(216, 132, 72, 0.25);
}

.emerge-nav-item.active svg {
  color: var(--amber-light);
}

/* Right Main Content Area */
.emerge-main-container {
  background: var(--bg-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.emerge-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.emerge-main-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
}

.emerge-search-input {
  background: #060e1a;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  color: var(--text-heading);
  font-size: 0.9rem;
  width: 280px;
}

.emerge-search-input:focus {
  outline: none;
  border-color: var(--copper-primary);
  box-shadow: 0 0 12px rgba(216, 132, 72, 0.25);
}

/* Course Items 3-Column Grid (From Screenshots) */
.emerge-course-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.emerge-course-item-card {
  background: #060e1a;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.emerge-course-item-card:hover {
  border-color: var(--copper-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-copper);
}

.emerge-item-thumb-box {
  aspect-ratio: 16 / 9;
  background: #0a0f1d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.emerge-thumb-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.emerge-thumb-tag {
  font-size: 0.8rem;
  color: var(--cyan-accent);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.emerge-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.emerge-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--copper-primary), var(--amber-light));
  border-radius: 0 4px 4px 0;
}

.emerge-item-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.emerge-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  min-height: 48px;
}

.emerge-btn-watch {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.emerge-btn-watch:hover {
  background: rgba(216, 132, 72, 0.15);
  border-color: var(--copper-primary);
  color: var(--copper-light);
}

/* Pagination Control */
.emerge-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.emerge-page-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--navy-border);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.emerge-page-btn.active {
  background: var(--copper-primary);
  color: #ffffff;
  border-color: var(--copper-primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .emerge-portal-grid {
    grid-template-columns: 1fr;
  }
  .emerge-course-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .emerge-course-items-grid {
    grid-template-columns: 1fr;
  }
}



