/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-darker: #06080d;
  --bg-dark: #0b0f19;
  --bg-card: rgba(13, 20, 35, 0.45);
  --bg-card-hover: rgba(20, 30, 55, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.15);
  
  /* Accent Colors (Neon Palette) */
  --accent-primary: #6366f1;   /* Indigo */
  --accent-secondary: #a855f7; /* Purple */
  --accent-pink: #ec4899;      /* Pink */
  --accent-green: #10b981;     /* Emerald */
  --accent-orange: #f59e0b;    /* Amber */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  /* Font Families */
  --font-header: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

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

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

body {
  background-color: var(--bg-darker);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Neural Canvas Layer */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* ==========================================================================
   BACKGROUND GLOW BLOBS
   ========================================================================== */
.blob-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -9;
  opacity: 0.35;
  pointer-events: none;
}

.blob-1 {
  background: radial-gradient(circle, var(--accent-primary) 0%, rgba(0,0,0,0) 70%);
  top: -10%;
  right: -10%;
  animation: float-slow 15s infinite alternate;
}

.blob-2 {
  background: radial-gradient(circle, var(--accent-secondary) 0%, rgba(0,0,0,0) 70%);
  bottom: -15%;
  left: -10%;
  animation: float-slow 20s infinite alternate-reverse;
}

.blob-3 {
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(0,0,0,0) 70%);
  top: 40%;
  left: 45%;
  width: 25vw;
  height: 25vw;
  opacity: 0.15;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.1); }
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0 4rem;
  position: relative;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-text:hover {
  color: var(--accent-secondary);
  gap: 0.75rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
}

.glass-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 8, 13, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.nav-logo {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.nav-logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-link:hover {
  color: #ffffff;
}

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

.nav-socials {
  display: flex;
  gap: 1.25rem;
}

.nav-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-socials a:hover {
  color: #ffffff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Scroll effect navigation bar */
.nav-scrolled {
  padding: 0.5rem 1.5rem;
  background: rgba(6, 8, 13, 0.85);
  border-color: rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text-area {
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 550px;
}

.highlight-name {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.highlight-name::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(99, 102, 241, 0.4);
  z-index: -1;
}

.typewriter-container {
  font-size: 1.5rem;
  font-family: var(--font-header);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
}

.typewriter-static {
  color: var(--text-muted);
}

.typewriter-dynamic {
  color: var(--accent-pink);
  font-weight: 600;
  border-right: 2px solid var(--accent-pink);
  white-space: nowrap;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-pink); }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Hero Portrait Frame */
.hero-image-area {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-frame-container {
  position: relative;
  width: 320px;
  height: 420px;
  z-index: 2;
}

.profile-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-pink));
  filter: blur(15px);
  opacity: 0.4;
  z-index: 1;
  animation: rotate-glow 8s linear infinite;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.profile-card:hover .profile-img {
  transform: scale(1.05);
}

.profile-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(6, 8, 13, 0.95) 0%, rgba(6, 8, 13, 0.5) 60%, rgba(0,0,0,0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-overlay-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.profile-overlay-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-card {
  padding: 3rem;
}

.about-text-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-text-card h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-primary);
  margin-top: 0.5rem;
}

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

.meta-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

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

.stat-num {
  font-family: var(--font-header);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.focus-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: flex-start;
}

.focus-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.focus-card:nth-child(2) .focus-icon {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
  color: var(--accent-secondary);
}

.focus-card:nth-child(3) .focus-icon {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.2);
  color: var(--accent-pink);
}

.focus-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.focus-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (EVOLV Lite)
   ========================================================================== */
.simulator-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.simulator-header {
  background: rgba(10, 14, 23, 0.8);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-buttons {
  display: flex;
  gap: 0.5rem;
  width: 15%;
}

.window-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.window-buttons span:nth-child(1) { background: #ff5f56; }
.window-buttons span:nth-child(2) { background: #ffbd2e; }
.window-buttons span:nth-child(3) { background: #27c93f; }

.window-title {
  width: 70%;
  text-align: center;
  font-family: var(--font-header);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.window-status {
  width: 15%;
  text-align: right;
  font-size: 0.8rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.status-active {
  animation: pulse-green 2s infinite;
  font-size: 0.6rem;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.simulator-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 480px;
}

/* Sim Sidebar */
.sim-sidebar {
  background: rgba(8, 11, 18, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sim-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sim-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.sim-user-details h5 {
  font-size: 0.9rem;
  font-weight: 600;
}

.sim-user-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sim-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.sim-nav-item.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary);
  border-left: 3px solid var(--accent-primary);
}

/* Sim Content Panel */
.sim-main-panel {
  padding: 2.5rem;
  background: rgba(11, 16, 26, 0.25);
  display: flex;
  flex-direction: column;
}

.sim-tab-content {
  display: none;
  animation: fade-in-up 0.5s ease forwards;
}

.sim-tab-content.active {
  display: block;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TAB 1: Nutrition Scanner Styles */
.nutrition-scanner-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.scanner-left h3, .habits-container h3, .forex-container h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.scanner-left p, .habits-container p, .forex-container p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.food-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.food-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.food-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.food-option.selected {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
}

.food-emoji {
  font-size: 1.6rem;
}

.food-preview-box {
  position: relative;
  height: 140px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.food-placeholder-icon {
  font-size: 1.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.scan-laser {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  z-index: 5;
}

.scanning .scan-laser {
  display: block;
  animation: laser-sweep 2s ease-in-out infinite;
}

@keyframes laser-sweep {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* Results panel */
.sim-glass-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.sim-glass-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}

.scan-status-indicator {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.scan-status-indicator i {
  color: var(--accent-primary);
}

.nutrition-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.macro-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.macro-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.macro-val {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.health-insight-box {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 8px;
  padding: 0.85rem;
  transition: var(--transition-smooth);
}

.health-insight-box h5 {
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 0.3rem;
}

.health-insight-box p {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* TAB 2: Habits & Study Styles */
.habits-container {
  display: flex;
  flex-direction: column;
}

.habits-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.streak-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-orange);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.streak-badge i {
  animation: pulse-orange 1.5s infinite alternate;
}

@keyframes pulse-orange {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5)); }
}

.habits-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.habits-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.habit-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  transition: var(--transition-fast);
}

.habit-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Custom Checkbox Design */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 22px;
  width: 22px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: rgba(255, 255, 255, 0.35);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.habit-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.habit-name {
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.checkbox-container input:checked ~ .habit-details .habit-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.habit-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  width: max-content;
}

.habit-category.study { background: rgba(99, 102, 241, 0.15); color: var(--accent-primary); }
.habit-category.dev { background: rgba(168, 85, 247, 0.15); color: var(--accent-secondary); }
.habit-category.finance { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.habit-category.health { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }

/* Progress Ring Design */
.habits-progress-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.progress-ring-container {
  position: relative;
  width: 160px;
  height: 160px;
}

.progress-ring__circle {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.35s;
}

.progress-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.progress-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  max-width: 200px;
}

/* TAB 3: Forex Risk Optimizer Styles */
.forex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.forex-inputs-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.input-group input, .input-group select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.input-group input:focus, .input-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

.fx-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fx-lbl {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.fx-val {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.fx-val.highlight-val {
  color: var(--accent-pink);
}

.fx-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.fx-badge.safe { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.fx-badge.warning { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.fx-badge.danger { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.risk-gauge-container {
  margin-top: 1.5rem;
}

.risk-gauge-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.risk-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange), #ef4444);
  width: 0%;
  transition: width 0.35s;
}

.risk-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-filter-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.projects-filter {
  display: flex;
  background: rgba(13, 20, 35, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem;
  border-radius: 50px;
  gap: 0.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: var(--transition-smooth);
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.project-card.hide {
  display: none;
}

.project-card.show {
  animation: scale-up-project 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes scale-up-project {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.project-media {
  height: 180px;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.project-overlay-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
  transition: var(--transition-smooth);
}

.project-evolv-glow { background: var(--accent-primary); }
.project-agri-glow { background: var(--accent-green); }
.project-forex-glow { background: var(--accent-pink); }
.project-parking-glow { background: var(--accent-orange); }
.project-terra-glow { background: var(--accent-green); }
.project-dine-glow { background: #06b6d4; }
.project-sec-glow { background: var(--accent-secondary); }
.project-b2b-glow { background: var(--accent-primary); }
.project-e3-glow { background: var(--accent-green); }
.project-voice-glow { background: var(--accent-pink); }
.project-typo-glow { background: var(--accent-orange); }

.project-card:hover .project-overlay-glow {
  transform: scale(1.3);
  opacity: 0.45;
}

.project-icon {
  font-size: 3rem;
  z-index: 2;
  transition: var(--transition-smooth);
}

.project-card:hover .project-icon {
  transform: scale(1.1) translateY(-5px);
}

.project-card:nth-child(1) .project-icon { color: var(--accent-primary); }
.project-card:nth-child(2) .project-icon { color: var(--accent-green); }
.project-card:nth-child(3) .project-icon { color: var(--accent-pink); }
.project-card:nth-child(4) .project-icon { color: var(--accent-orange); }
.project-card:nth-child(5) .project-icon { color: var(--accent-green); }
.project-card:nth-child(6) .project-icon { color: #06b6d4; }
.project-card:nth-child(7) .project-icon { color: var(--accent-secondary); }
.project-card:nth-child(8) .project-icon { color: var(--accent-primary); }
.project-card:nth-child(9) .project-icon { color: var(--accent-green); }
.project-card:nth-child(10) .project-icon { color: var(--accent-pink); }
.project-card:nth-child(11) .project-icon { color: var(--accent-orange); }

.project-banner-title {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.15;
  letter-spacing: 0.05em;
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-weight: 500;
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.project-tech-stack {
  font-size: 0.85rem;
  color: var(--text-main);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  flex-grow: 1;
}

.project-tech-stack strong {
  color: var(--accent-primary);
  font-family: var(--font-header);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.status-badge {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category-card {
  padding: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.category-header i {
  font-size: 1.4rem;
  color: var(--accent-primary);
}

.skill-category-card:nth-child(2) .category-header i { color: var(--accent-secondary); }
.skill-category-card:nth-child(3) .category-header i { color: var(--accent-pink); }
.skill-category-card:nth-child(4) .category-header i { color: var(--accent-orange); }

.category-header h3 {
  font-size: 1.25rem;
}

.skills-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.skill-badge:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}

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

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

.contact-info h3 {
  font-size: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
}

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

.info-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.info-item i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

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

.contact-social-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.social-pill:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}

.social-pill i {
  font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
  padding: 3rem;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: rgba(6, 8, 13, 0.9);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  z-index: 10;
  position: relative;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-top: 4rem;
  }
  
  .hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .typewriter-container {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .simulator-body {
    grid-template-columns: 200px 1fr;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .glass-nav {
    border-radius: 24px;
    padding: 0.8rem 1.5rem;
  }
  
  .nav-links {
    display: none; /* Add JS class toggling for responsive menu */
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  
  .nav-links.mobile-active {
    display: flex;
  }
  
  .nav-socials {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .simulator-body {
    grid-template-columns: 1fr;
  }
  
  .sim-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
  }
  
  .sim-nav {
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem;
  }
  
  .sim-nav-item {
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
  }
  
  .sim-nav-item.active {
    border-left: none;
    border-bottom: 2px solid var(--accent-primary);
  }
  
  .sim-user {
    display: none;
  }
  
  .nutrition-scanner-container, .habits-main-grid, .forex-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .profile-frame-container {
    width: 280px;
    height: 360px;
  }
}
