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

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Dark Theme Variables (Default) */
  --bg-color: #050811;
  --bg-grid-color: rgba(99, 102, 241, 0.03);
  --bg-radial-1: rgba(99, 102, 241, 0.15);
  --bg-radial-2: rgba(6, 182, 212, 0.12);

  --card-bg: rgba(13, 20, 38, 0.45);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(99, 102, 241, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  --primary: #6366f1;
  /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.5);
  --secondary: #06b6d4;
  /* Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.4);
  --accent: #10b981;
  /* Emerald */
  --accent-glow: rgba(16, 185, 129, 0.4);

  --nav-bg: rgba(5, 8, 17, 0.7);
  --selection-bg: rgba(99, 102, 241, 0.3);

  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-neon: 0 0 20px rgba(99, 102, 241, 0.15);
  --shadow-neon-strong: 0 0 30px rgba(99, 102, 241, 0.35);

  --transition-speed: 0.4s;
}

[data-theme="light"] {
  /* Light Theme Variables */
  --bg-color: #f8fafc;
  --bg-grid-color: rgba(99, 102, 241, 0.05);
  --bg-radial-1: rgba(99, 102, 241, 0.08);
  --bg-radial-2: rgba(6, 182, 212, 0.06);

  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(99, 102, 241, 0.08);
  --card-border-hover: rgba(99, 102, 241, 0.3);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-inverse: #f8fafc;

  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.3);
  --secondary: #0891b2;
  --secondary-glow: rgba(8, 145, 178, 0.25);
  --accent: #059669;
  --accent-glow: rgba(5, 150, 105, 0.25);

  --nav-bg: rgba(248, 250, 252, 0.8);
  --selection-bg: rgba(79, 70, 229, 0.15);

  --shadow-neon: 0 10px 30px rgba(79, 70, 229, 0.06);
  --shadow-neon-strong: 0 15px 35px rgba(79, 70, 229, 0.15);
}

/* --- RESET & BASIC STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  position: relative;
}

::selection {
  background-color: var(--selection-bg);
  color: var(--text-main);
}

/* --- FUTURISTIC GRID & GLOW ORBS --- */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, var(--bg-grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid-color) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  transition: all 1s ease;
}

.orb-1 {
  top: -10%;
  right: 10%;
  width: 45vw;
  height: 45vw;
  background: var(--bg-radial-1);
  animation: floatOrb1 25s infinite alternate ease-in-out;
}

.orb-2 {
  bottom: 10%;
  left: -5%;
  width: 35vw;
  height: 35vw;
  background: var(--bg-radial-2);
  animation: floatOrb2 20s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-8%, 12%) scale(1.1);
  }

  100% {
    transform: translate(5%, -5%) scale(0.9);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(12%, -8%) scale(0.9);
  }

  100% {
    transform: translate(-5%, 8%) scale(1.15);
  }
}

/* --- NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed) ease, padding 0.3s ease;
}

.navbar.scrolled {
  padding: 0.85rem 2rem;
  box-shadow: var(--shadow-neon);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  transition: transform 0.5s ease;
}

.nav-brand:hover img {
  transform: rotate(180deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.5s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(45deg);
}

/* Nav CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-inverse);
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-strong);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.5rem;
}

/* --- GENERAL SECTIONS & ROUTING --- */
main {
  padding-top: 80px;
  /* offset navbar */
  min-height: calc(100vh - 80px);
  position: relative;
}

.view-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.view-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- HERO SECTION --- */
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  min-height: 75vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary) 50%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-inverse);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-strong);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
}

/* Hero Visual Graphic */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Canvas synergy styles */
.canvas-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.canvas-container:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-neon-strong);
}

#synergyCanvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.canvas-hud {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

[data-theme="light"] .canvas-hud {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.15);
}

.hud-info-block {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hud-header {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.hud-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.1rem;
  font-family: var(--font-title);
}

.hud-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-tune-core {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-tune-core:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Sliding Console Drawer */
.canvas-console-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: rgba(5, 8, 17, 0.95);
  border-top: 1px solid var(--card-border-hover);
  border-radius: 0 0 24px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 50;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-mono);
}

[data-theme="light"] .canvas-console-drawer {
  background: rgba(248, 250, 252, 0.98);
  border-top-color: rgba(99, 102, 241, 0.25);
}

.canvas-console-drawer.active {
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

[data-theme="light"] .drawer-header {
  border-bottom-color: rgba(99, 102, 241, 0.1);
}

.btn-close-drawer {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.btn-close-drawer:hover {
  color: #ef4444;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.slider-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.slider-label span {
  color: var(--secondary);
  font-weight: 600;
}

/* Custom Sliding Inputs */
.slider-futuristic {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: background 0.3s ease;
}

[data-theme="light"] .slider-futuristic {
  background: rgba(99, 102, 241, 0.1);
}

.slider-futuristic::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid var(--text-main);
  box-shadow: 0 0 8px var(--secondary-glow);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-futuristic::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 6rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--card-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SERVICE PAGE --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 15px var(--primary-glow);
}

.service-card svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* --- CS PROJECTS & STUDENT HUB --- */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* College projects support intro banner */
.student-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.07), rgba(6, 182, 212, 0.07));
  border: 1px solid var(--card-border-hover);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.student-banner-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.student-banner-tag {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 600;
}

.student-banner h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: 1.2;
}

.student-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Detailed Step-by-Step CS project support workflow */
.project-steps {
  margin-top: 1rem;
}

.project-steps-title {
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--primary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-neon);
  transition: all 0.3s ease;
}

.timeline-step:hover .step-num {
  transform: scale(1.15);
  border-color: var(--secondary);
  box-shadow: var(--shadow-neon-strong);
}

.timeline-step h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-top: 0.5rem;
}

.timeline-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Idea Generator & Custom Request layout */
.generator-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.generator-config {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.select-futuristic {
  background: var(--bg-color);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.select-futuristic:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* Generator Output Display */
.generator-output {
  min-height: 380px;
  border: 1px dashed var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 20, 38, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.generator-output.has-content {
  border-style: solid;
  border-color: var(--card-border);
  background: var(--card-bg);
  align-items: flex-start;
  justify-content: flex-start;
}

.output-placeholder {
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.output-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.5;
  animation: floatSphere 4s infinite ease-in-out;
}

.project-idea-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.idea-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1rem;
}

.idea-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
}

.idea-meta {
  display: flex;
  gap: 0.5rem;
}

.idea-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.tag-domain {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.tag-level {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.idea-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.idea-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.idea-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.idea-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  list-style-type: square;
  margin-left: 1.2rem;
}

.idea-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
}

.idea-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

/* Student Direct Contact / Help Section */
.student-cta-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.student-cta-box::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  bottom: -50px;
  right: -50px;
  pointer-events: none;
}

.student-cta-box h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
}

.student-cta-box p {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 1.05rem;
}

/* --- ABOUT US --- */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about-metric-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.about-metric-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.about-metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Team Grid and Hover Effects */
.team-title {
  text-align: center;
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

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

.team-avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 0.5rem;
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  background: #111827;
}

.avatar-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .avatar-glow {
  opacity: 1;
}

.team-card h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
}

.team-role {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.team-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.team-socials a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.team-socials a:hover {
  color: var(--primary);
}

.team-socials svg {
  width: 18px;
  height: 18px;
}

/* --- CONTACT SECTION --- */
.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item-text h5 {
  font-family: var(--font-title);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-futuristic {
  background: var(--bg-color);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

.input-futuristic::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.input-futuristic:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

textarea.input-futuristic {
  resize: vertical;
  min-height: 120px;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-color);
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  z-index: 10;
  transition: background-color var(--transition-speed) ease;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-main);
  text-decoration: none;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links-col h5 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-links-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* --- MODAL DIALOGS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-hover);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(20px);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-neon-strong);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--card-bg);
  border: 1px solid var(--accent);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  transform: translateX(100px);
  opacity: 0;
  animation: slideInToast 0.3s ease forwards;
}

@keyframes slideInToast {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    padding: 1rem;
  }

  .stat-item:nth-child(2n) {
    border-left: 1px solid var(--card-border);
  }

  .student-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem;
  }

  .student-banner-text {
    align-items: center;
  }

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .steps-timeline::before {
    display: none;
  }

  .generator-section {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 99;
  }

  .nav-links.mobile-active {
    transform: translateY(0);
  }

  .nav-actions {
    display: none;
    /* simple mobile version */
  }

  .nav-links .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

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

  .stat-item:nth-child(2n) {
    border-left: none;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

/* --- TERMINAL CONSOLE WIDGET --- */
.terminal-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.terminal-widget {
  background: #050811;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), var(--shadow-neon);
  overflow: hidden;
  font-family: var(--font-mono);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .terminal-widget {
  background: #0f172a;
  border-color: rgba(99, 102, 241, 0.15);
}

.terminal-widget:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.5), var(--shadow-neon-strong);
}

/* CRT Scanline Scan effect overlay */
.terminal-widget::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 20;
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  opacity: 0.85;
}

.terminal-header {
  background: rgba(13, 20, 38, 0.65);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}

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

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

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.terminal-title {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.terminal-status {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.terminal-body {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #38bdf8;
  /* cyber blue console color */
  line-height: 1.6;
  text-align: left;
}

.terminal-row {
  word-break: break-all;
  white-space: pre-wrap;
}

.terminal-row.system-msg {
  color: var(--accent);
}

.terminal-row.error-msg {
  color: #f87171;
}

.terminal-row.success-msg {
  color: #34d399;
}

.terminal-row.info-msg {
  color: #a855f7;
}

.cmd-highlight {
  color: #f59e0b;
  font-weight: 600;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f43f5e;
}

.terminal-prompt {
  font-weight: 600;
  flex-shrink: 0;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: #e2e8f0;
  /* fixed bright white color independent of page theme */
  caret-color: #38bdf8;
  /* bright cyan typing indicator cursor */
  font-family: var(--font-mono);
  font-size: 0.9rem;
  width: 100%;
}

.terminal-input::placeholder {
  color: rgba(226, 232, 240, 0.35);
  /* faint, visible placeholder text */
}

/* Custom Scrollbar for terminal body */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
}

.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.25);
  border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.45);
}

/* Preset command buttons under terminal */
.terminal-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(13, 20, 38, 0.4);
  border-top: 1px solid var(--card-border);
  align-items: center;
}

.preset-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.preset-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 10px var(--primary-glow);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* --- TEAM CARDS UNIQUE HOVER GLOWS --- */
.team-card:nth-child(1):hover {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.team-card:nth-child(2):hover {
  border-color: var(--secondary);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
}

.team-card:nth-child(3):hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.team-card:nth-child(4):hover {
  border-color: #f97316;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.25);
}

/* --- PRODUCTS SECTION --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 340px;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  pointer-events: none;
  transition: transform 0.5s ease, background 0.5s ease;
  z-index: 0;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-hover);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:nth-child(1):hover {
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}
.product-card:nth-child(1)::after {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
}

.product-card:nth-child(2):hover {
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}
.product-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
}

.product-card:nth-child(3):hover {
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}
.product-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
}

.product-card:nth-child(4):hover {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}
.product-card:nth-child(4)::after {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
}

.product-card:nth-child(5):hover {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}
.product-card:nth-child(5)::after {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
}

.product-card:nth-child(6):hover {
  border-color: #a855f7;
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.15);
}
.product-card:nth-child(6)::after {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
}

.product-badge {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #818cf8;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-card:nth-child(3) .product-badge {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--secondary);
}

.product-card:nth-child(4) .product-badge,
.product-card:nth-child(5) .product-badge {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--accent);
}

.product-card:nth-child(6) .product-badge {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.product-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  z-index: 1;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.btn-product {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #ffffff !important;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.btn-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--secondary-glow);
}

.btn-product-outline {
  background: transparent;
  color: var(--text-main) !important;
  border: 1px solid var(--card-border-hover);
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.btn-product-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

@media (max-width: 768px) {
  .product-card {
    padding: 2.2rem 1.8rem;
    min-height: auto;
  }
}