/* ==========================================================================
   SHEIKH NAIM — BESPOKE VIBRANT DESIGN SYSTEM
   High-Energy, Saturated Cyber-Editorial Palette & Modern Interactions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VIBRANT DESIGN TOKENS (BREAKING OUT OF AI CLICHES)
   -------------------------------------------------------------------------- */
:root {
  /* Deep Obsidian Velvet Canvas */
  --bg-main: #07080d;
  --bg-card: #0d101a;
  --bg-card-hover: #131826;
  --bg-card-glass: rgba(13, 16, 26, 0.85);
  --bg-elevated: #161c2e;
  --bg-subtle: rgba(255, 255, 255, 0.03);

  /* High-Voltage Accent Ramp */
  --volt-lime: #ceff00;       /* Signature electric acid lime */
  --volt-lime-glow: rgba(206, 255, 0, 0.4);
  --hot-coral: #ff3366;       /* Radiant punchy coral/pink */
  --neon-orange: #ff6b00;     /* Saturated sunset orange */
  --hyper-cyan: #00f0ff;      /* Electric aqua cyan */
  --hyper-cyan-glow: rgba(0, 240, 255, 0.35);
  --ultraviolet: #8b5cf6;     /* Vivid cyber violet */
  --neon-mint: #00ff87;       /* Electrifying mint green */

  /* Platform Gradients */
  --grad-headline: linear-gradient(135deg, #ffffff 15%, #ceff00 65%, #00f0ff 100%);
  --grad-volt-btn: linear-gradient(135deg, #ceff00 0%, #a6e22e 100%);
  --grad-ios: linear-gradient(135deg, #ff3366 0%, #ff6b00 100%);
  --grad-android: linear-gradient(135deg, #8b5cf6 0%, #00f0ff 100%);
  --grad-web: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
  --grad-design: linear-gradient(135deg, #00ff87 0%, #ceff00 100%);

  /* Hairline Borders with Vibrant Highlights */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.16);
  --border-volt: rgba(206, 255, 0, 0.45);
  --border-cyan: rgba(0, 240, 255, 0.45);

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --text-accent: #ceff00;

  /* Typography Stack */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Saturated Shadows & Glows */
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.7);
  --shadow-card-hover: 0 20px 48px -10px rgba(0, 240, 255, 0.15);
  --shadow-volt: 0 6px 24px rgba(206, 255, 0, 0.35);
  --shadow-device: 0 25px 60px -15px rgba(0, 0, 0, 0.9);

  /* Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --trans-fast: 0.18s var(--ease-smooth);
  --trans-normal: 0.32s var(--ease-spring);
}

/* Vibrant Light Mode (Crisp Pearl with Neon Accents) */
body.light-theme {
  --bg-main: #f4f6fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-glass: rgba(255, 255, 255, 0.92);
  --bg-elevated: #edf2f7;
  --bg-subtle: rgba(0, 0, 0, 0.02);

  --border-hairline: #e2e8f0;
  --border-light: #cbd5e1;
  --border-volt: rgba(16, 185, 129, 0.4);
  --border-cyan: rgba(2, 132, 199, 0.4);

  --text-pure: #090d16;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-faint: #64748b;
  --text-accent: #059669;

  --grad-headline: linear-gradient(135deg, #090d16 20%, #2563eb 70%, #d946ef 100%);
  --grad-volt-btn: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  --shadow-volt: 0 6px 20px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--trans-normal), color var(--trans-normal);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 120px 0;
  position: relative;
}

.bg-alt {
  background-color: var(--bg-subtle);
}

/* Background Cyber Grid */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(206, 255, 0, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.6;
}

body.light-theme .bg-grid-pattern {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}

/* Vivid Luminous Ambient Atmosphere */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.glow-top {
  top: -200px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(206, 255, 0, 0.15) 0%, rgba(0, 240, 255, 0.1) 40%, transparent 75%);
}

.glow-bottom {
  bottom: -180px;
  left: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.12) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 75%);
}

/* --------------------------------------------------------------------------
   3. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: all var(--trans-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 12px 0;
  background: var(--bg-card-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-hairline);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--volt-lime);
  color: #000000;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-volt);
  transition: transform var(--trans-fast);
}

.brand-badge:hover .brand-monogram {
  transform: rotate(-6deg) scale(1.06);
}

body.light-theme .brand-monogram {
  background: #090d16;
  color: #ceff00;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--volt-lime);
  letter-spacing: 0.04em;
}

body.light-theme .brand-tagline {
  color: #2563eb;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-card-glass);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(16px);
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--trans-fast);
  padding: 4px 6px;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--volt-lime);
  border-radius: var(--radius-full);
}

body.light-theme .nav-link.active::after {
  background: #2563eb;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--trans-fast);
}

.control-btn:hover {
  border-color: var(--volt-lime);
  color: var(--volt-lime);
  transform: translateY(-2px);
}

body.light-theme .control-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-pure);
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-hairline);
  padding: 24px;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
  box-shadow: var(--shadow-card);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--trans-normal);
}

.mobile-drawer.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & UI CONTROLS (VIBRANT & PUNCHY)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
  border: 1px solid transparent;
  line-height: 1;
}

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

/* Acid Lime Primary Button */
.btn-primary {
  background: var(--grad-volt-btn);
  color: #000000;
  box-shadow: var(--shadow-volt);
  font-weight: 800;
}

body.light-theme .btn-primary {
  background: #090d16;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(206, 255, 0, 0.55);
}

body.light-theme .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-hairline);
  border-top-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--volt-lime);
  color: var(--volt-lime);
  transform: translateY(-2px);
}

body.light-theme .btn-secondary:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-hairline);
}

.btn-outline:hover {
  border-color: var(--volt-lime);
  color: var(--volt-lime);
}

body.light-theme .btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--trans-fast);
}

.btn-icon:hover {
  border-color: var(--hyper-cyan);
  color: var(--hyper-cyan);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 140px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(206, 255, 0, 0.08);
  border: 1px solid rgba(206, 255, 0, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--volt-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--volt-lime);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.4); }
}

.status-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--volt-lime);
  letter-spacing: 0.02em;
}

body.light-theme .status-text {
  color: #059669;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-pure);
  margin-bottom: 22px;
}

.headline-gradient {
  background: var(--grad-headline);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtext {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-subtext strong {
  color: var(--text-pure);
  font-weight: 700;
}

.hero-subtext em {
  color: var(--volt-lime);
  font-style: normal;
  font-weight: 600;
}

body.light-theme .hero-subtext em {
  color: #2563eb;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 32px;
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, var(--hyper-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-hairline);
}

/* --------------------------------------------------------------------------
   6. HERO SHOWCASE CARD (VIBRANT DISCIPLINE INDEX)
   -------------------------------------------------------------------------- */
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 50px -10px rgba(0, 240, 255, 0.15);
}

.showcase-header {
  padding: 18px 24px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-hairline);
}

.showcase-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-badge {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--volt-lime);
}

body.light-theme .showcase-badge {
  color: #2563eb;
}

.showcase-location {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}

.discipline-list {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.discipline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.discipline-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.discipline-icon.ios {
  background: rgba(255, 51, 102, 0.15);
  color: var(--hot-coral);
  border: 1px solid rgba(255, 51, 102, 0.35);
}

.discipline-icon.android {
  background: rgba(139, 92, 246, 0.15);
  color: var(--ultraviolet);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.discipline-icon.web {
  background: rgba(0, 240, 255, 0.15);
  color: var(--hyper-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.discipline-icon.learning {
  background: rgba(206, 255, 0, 0.15);
  color: var(--volt-lime);
  border: 1px solid rgba(206, 255, 0, 0.35);
}

.discipline-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 2px;
}

.discipline-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.showcase-footer {
  padding: 14px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-hairline);
}

.showcase-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-faint);
  font-weight: 500;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-mint);
  box-shadow: 0 0 8px var(--neon-mint);
}

/* --------------------------------------------------------------------------
   7. SECTION HEADINGS & VIBRANT FILTER BAR
   -------------------------------------------------------------------------- */
.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--volt-lime);
  background: rgba(206, 255, 0, 0.08);
  border: 1px solid rgba(206, 255, 0, 0.25);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

body.light-theme .section-tag {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-tab:hover {
  color: var(--text-pure);
  border-color: var(--border-light);
}

.filter-tab.active {
  background: var(--grad-volt-btn);
  color: #000000;
  border-color: transparent;
  box-shadow: var(--shadow-volt);
}

body.light-theme .filter-tab.active {
  background: #090d16;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. FLAGSHIP CASE STUDIES
   -------------------------------------------------------------------------- */
.projects-layout {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.project-flagship {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 40px;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-normal);
  position: relative;
}

.project-flagship:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-light);
}

.flagship-visual {
  background: linear-gradient(135deg, #07090e, #111827);
  border-right: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 28px;
  position: relative;
  overflow: hidden;
}

body.light-theme .flagship-visual {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.device-mockup-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/* Realistic Phone Frame */
.phone-frame {
  width: 250px;
  height: 480px;
  background: #000000;
  border: 6px solid #1e293b;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-device);
  transition: transform var(--trans-normal);
}

.ios-frame .phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.android-frame .phone-camera-dot {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  background: #111827;
  border-radius: 50%;
  border: 1.5px solid #374151;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-flagship:hover .phone-frame {
  transform: scale(1.03);
}

.ambient-backlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: 1;
}

.backlight-ios { background: rgba(255, 51, 102, 0.25); }
.backlight-android { background: rgba(139, 92, 246, 0.25); }

.flagship-content {
  padding: 44px 44px 44px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-pill {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pill-ios {
  background: rgba(255, 51, 102, 0.15);
  color: var(--hot-coral);
  border: 1px solid rgba(255, 51, 102, 0.35);
}

.pill-android {
  background: rgba(139, 92, 246, 0.15);
  color: var(--ultraviolet);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.pill-web {
  background: rgba(0, 240, 255, 0.15);
  color: var(--hyper-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.pill-design {
  background: rgba(0, 255, 135, 0.15);
  color: var(--neon-mint);
  border: 1px solid rgba(0, 255, 135, 0.35);
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 600;
}

.flagship-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  line-height: 1.22;
  margin-bottom: 16px;
}

.flagship-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.spec-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(206, 255, 0, 0.15);
  color: var(--volt-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

body.light-theme .spec-icon {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.spec-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.spec-text strong {
  color: var(--text-pure);
  font-weight: 700;
}

.tech-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.tech-chip:hover {
  border-color: var(--volt-lime);
  color: var(--volt-lime);
}

.flagship-actions {
  display: flex;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   9. SECONDARY PROJECTS GRID
   -------------------------------------------------------------------------- */
.projects-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-cyan);
}

.browser-mockup {
  background: #090c14;
  border-bottom: 1px solid var(--border-hairline);
  height: 240px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.browser-bar {
  height: 34px;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #374151;
}

.window-dots span:nth-child(1) { background: #ff3366; }
.window-dots span:nth-child(2) { background: #ffaa00; }
.window-dots span:nth-child(3) { background: #00ff87; }

.browser-address {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.browser-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.browser-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--trans-normal);
}

.project-card:hover .browser-viewport img {
  transform: scale(1.04);
}

.card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 600;
}

.card-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 12px;
}

.card-summary {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.card-footer-action {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hyper-cyan);
  transition: gap var(--trans-fast), color var(--trans-fast);
}

body.light-theme .link-btn {
  color: #2563eb;
}

.link-btn:hover {
  gap: 12px;
  color: var(--volt-lime);
}

/* --------------------------------------------------------------------------
   10. SKILLS BENTO GRID (VIBRANT CHIPS)
   -------------------------------------------------------------------------- */
.skills-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-card-hover);
}

.bento-ios { grid-column: span 6; }
.bento-android { grid-column: span 6; }
.bento-web { grid-column: span 5; }
.bento-roadmap { grid-column: span 4; }
.bento-tools { grid-column: span 3; }

.bento-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.bento-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bento-icon-badge.ios {
  background: rgba(255, 51, 102, 0.15);
  color: var(--hot-coral);
  border: 1px solid rgba(255, 51, 102, 0.35);
}

.bento-icon-badge.android {
  background: rgba(139, 92, 246, 0.15);
  color: var(--ultraviolet);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.bento-icon-badge.web {
  background: rgba(0, 240, 255, 0.15);
  color: var(--hyper-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.bento-icon-badge.roadmap {
  background: rgba(206, 255, 0, 0.15);
  color: var(--volt-lime);
  border: 1px solid rgba(206, 255, 0, 0.35);
}

.bento-icon-badge.tools {
  background: rgba(0, 255, 135, 0.15);
  color: var(--neon-mint);
  border: 1px solid rgba(0, 255, 135, 0.35);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 2px;
}

.bento-subtitle {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  transition: all var(--trans-fast);
}

.skill-badge:hover {
  color: var(--text-pure);
  border-color: var(--volt-lime);
}

.skill-badge.primary {
  color: var(--text-pure);
  font-weight: 700;
  background: rgba(206, 255, 0, 0.08);
  border-color: rgba(206, 255, 0, 0.3);
}

.skill-badge.learning {
  color: var(--volt-lime);
  font-weight: 700;
  background: rgba(206, 255, 0, 0.1);
  border-color: rgba(206, 255, 0, 0.35);
}

body.light-theme .skill-badge.primary {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563eb;
}

body.light-theme .skill-badge.learning {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.3);
  color: #9333ea;
}

/* --------------------------------------------------------------------------
   11. CAREER & EDUCATION TIMELINE
   -------------------------------------------------------------------------- */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: flex-start;
  transition: all var(--trans-normal);
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
}

.timeline-card.highlight-card {
  border-color: rgba(206, 255, 0, 0.4);
  background: linear-gradient(135deg, rgba(206, 255, 0, 0.04), var(--bg-card));
}

body.light-theme .timeline-card.highlight-card {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), var(--bg-card));
}

.timeline-date-badge {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 14px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  display: inline-block;
  text-align: center;
}

.timeline-date-badge.now {
  color: var(--volt-lime);
  border-color: rgba(206, 255, 0, 0.35);
  background: rgba(206, 255, 0, 0.1);
}

body.light-theme .timeline-date-badge.now {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(5, 150, 105, 0.1);
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.timeline-org {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--hyper-cyan);
  margin-bottom: 12px;
}

body.light-theme .timeline-org {
  color: #2563eb;
}

.timeline-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.timeline-bullets {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-bullets li {
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   12. CONTACT & INQUIRIES
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.contact-info-panel,
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.panel-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-pure);
}

.panel-subtext {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 34px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt-lime);
  font-size: 1.15rem;
  flex-shrink: 0;
}

body.light-theme .channel-icon {
  color: #2563eb;
}

.channel-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  display: block;
}

.channel-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
}

.status-available {
  color: var(--volt-lime);
}

body.light-theme .status-available {
  color: #059669;
}

.social-links-row {
  display: flex;
  gap: 12px;
}

.social-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-pure);
  transition: all var(--trans-fast);
}

.social-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--volt-lime);
  color: var(--volt-lime);
  transform: translateY(-2px);
}

body.light-theme .social-box:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-field label .req {
  color: var(--hot-coral);
}

.form-field input,
.form-field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-pure);
  padding: 13px 18px;
  border-radius: var(--radius-xs);
  font-size: 0.94rem;
  outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--volt-lime);
  box-shadow: 0 0 0 3px rgba(206, 255, 0, 0.2);
}

body.light-theme .form-field input:focus,
body.light-theme .form-field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   13. TOAST NOTIFICATION PORTAL
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0d101a;
  color: #ffffff;
  border: 1px solid rgba(206, 255, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(16px);
  opacity: 0;
  animation: toast-fade-in 0.3s var(--ease-spring) forwards;
}

@keyframes toast-fade-in {
  to { transform: translateY(0); opacity: 1; }
}

.toast-success i {
  color: var(--volt-lime);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 48px 0;
  background: var(--bg-main);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
}

.footer-logo span {
  color: var(--volt-lime);
}

body.light-theme .footer-logo span {
  color: #2563eb;
}

.footer-copy {
  font-size: 0.86rem;
  color: var(--text-faint);
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color var(--trans-fast);
}

.footer-nav a:hover {
  color: var(--volt-lime);
}

body.light-theme .footer-nav a:hover {
  color: #2563eb;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-flagship {
    grid-template-columns: 1fr;
  }

  .flagship-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }

  .flagship-content {
    padding: 36px;
  }

  .bento-ios,
  .bento-android,
  .bento-web,
  .bento-roadmap,
  .bento-tools {
    grid-column: span 12;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-resume-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .projects-subgrid {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .metric-divider {
    display: none;
  }
}
