:root {
  /* Brand Colors - Dark Tech Theme (Default) */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-card: rgba(15, 23, 42, 0.55);
  --header-bg: rgba(9, 13, 22, 0.8);
  --ribbon-bg: rgba(15, 23, 42, 0.65);

  /* Borders & Accents */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);
  --border-cyan-glow: rgba(6, 182, 212, 0.35);

  /* Primary Gradient */
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  --text-gradient: linear-gradient(135deg, #ffffff 20%, #94a3b8 100%);
  --text-glow-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Glows */
  --glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --glow-indigo: 0 0 35px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  /* Clean, Premium Modern Light Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(0, 0, 0, 0.03);
  --bg-glass-card: rgba(255, 255, 255, 0.9);
  --header-bg: rgba(255, 255, 255, 0.95);
  --ribbon-bg: rgba(255, 255, 255, 0.9);

  --border-subtle: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(99, 102, 241, 0.2);
  --border-cyan-glow: rgba(6, 182, 212, 0.2);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dark: #64748b;
  --text-gradient: linear-gradient(135deg, #0f172a 20%, #334155 100%);
  --text-glow-gradient: linear-gradient(135deg, #0284c7 0%, #4338ca 50%, #7e22ce 100%);

  --glow-cyan: 0 4px 25px rgba(6, 182, 212, 0.15);
  --glow-indigo: 0 4px 25px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  line-height: 1.6;
}

/* Background Atmosphere */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-1 {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-orb-2 {
  position: absolute;
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
  border-radius: 50%;
  filter: blur(70px);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 80px) scale(1.1); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -40px) scale(1.15); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--text-glow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-brand {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
}

.logo-brand {
  font-size: 1.55rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
}

.logo-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
}

.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

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

/* Nav Actions */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--border-cyan-glow);
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}

.theme-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
  user-select: none;
}

.nav-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
}

.menu-toggle:hover {
  border-color: var(--border-cyan-glow);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(9, 13, 22, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-160%);
  transition: var(--transition-smooth);
  z-index: 99;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0;
}

/* Floating Dynamic Language Selector (Positioned like Daylu Tech in Screenshot 2) */
.floating-lang-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px;
  gap: 3px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.15);
  transition: var(--transition-smooth);
}

.floating-lang-pill:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.25);
}

.floating-lang-pill .lang-btn {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
  transition: var(--transition-smooth);
}

.floating-lang-pill .lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.floating-lang-pill .lang-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.flag-svg {
  display: inline-block;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  vertical-align: middle;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats Ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--text-glow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Section Header */
.section {
  padding: 6rem 0;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.6rem;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

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

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-chip {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  color: var(--text-muted);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan-glow);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), var(--glow-cyan);
}

.portfolio-preview {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.portfolio-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.2) 0%, rgba(9, 13, 22, 0.95) 100%);
}

.portfolio-badge {
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.badge-edtech { color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }
.badge-photo { color: #ec4899; border-color: rgba(236, 72, 153, 0.3); }
.badge-client { color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); }
.badge-business { color: #10b981; border-color: rgba(16, 185, 129, 0.3); }
.badge-admin { color: #8b5cf6; border-color: rgba(139, 92, 246, 0.3); }

.portfolio-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-title {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.portfolio-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
  margin-top: auto;
}

.portfolio-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

.portfolio-link-highlight {
  color: #f5e2a3;
  font-weight: 700;
}

.portfolio-link-highlight:hover {
  color: #ffffff;
}

/* About / Tech Stack Banner */
.about-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.about-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 1rem;
}

.feature-check {
  color: var(--accent-emerald);
  font-size: 1.2rem;
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.tech-badge-large:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Footer & MEI Information */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
  transition: var(--transition-smooth);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  letter-spacing: -0.3px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

/* MEI Card in Footer */
.mei-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.mei-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mei-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mei-details strong {
  color: var(--text-main);
  font-weight: 600;
}

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

/* Light Theme Component Overrides */
[data-theme="light"],
[data-theme="light"] html,
[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .bg-glow-container {
  background-color: #f8fafc !important;
  opacity: 0.25 !important;
}

[data-theme="light"] .glow-orb-1 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 70%) !important;
}

[data-theme="light"] .glow-orb-2 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0) 70%) !important;
}

[data-theme="light"] .hero {
  background: transparent !important;
}

[data-theme="light"] .hero-title {
  color: #0f172a !important;
}

[data-theme="light"] .hero-desc {
  color: #334155 !important;
}

[data-theme="light"] .hero-desc strong {
  color: #0f172a !important;
}

[data-theme="light"] .section-title {
  color: #0f172a !important;
}

[data-theme="light"] .section-desc {
  color: #475569 !important;
}

[data-theme="light"] .section-tag {
  background: rgba(99, 102, 241, 0.08) !important;
  border-color: rgba(99, 102, 241, 0.25) !important;
  color: #4338ca !important;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #4338ca 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .gradient-brand {
  background: linear-gradient(135deg, #4338ca 0%, #0284c7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .logo-brand {
  color: #0f172a;
}

[data-theme="light"] .nav-links a {
  color: #475569;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: #4338ca;
}

[data-theme="light"] .menu-toggle {
  color: #0f172a;
}

[data-theme="light"] .bg-grid-overlay {
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .hero-pill {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4338ca;
}

[data-theme="light"] .stats-ribbon {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .stat-label {
  color: #64748b;
}

[data-theme="light"] .service-card,
[data-theme="light"] .portfolio-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .portfolio-card:hover {
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08), 0 0 25px rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .service-title,
[data-theme="light"] .portfolio-title {
  color: #0f172a;
}

[data-theme="light"] .service-text,
[data-theme="light"] .portfolio-desc {
  color: #475569;
}

[data-theme="light"] .service-icon-box {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #4f46e5;
}

[data-theme="light"] .tech-chip {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .portfolio-link:hover {
  color: #4338ca;
}

[data-theme="light"] .about-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .about-features li {
  color: #1e293b;
}

[data-theme="light"] .tech-badge-large {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1e293b;
}

[data-theme="light"] .tech-badge-large:hover {
  background: #eef2ff;
  border-color: #6366f1;
  color: #4338ca;
}

[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cta-title {
  color: #0f172a;
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: #6366f1;
  color: #4338ca;
}

[data-theme="light"] .footer {
  background: #f1f5f9;
  border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-title {
  color: #0f172a;
}

[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links a,
[data-theme="light"] .mei-details {
  color: #475569;
}

[data-theme="light"] .footer-links a:hover {
  color: #4338ca;
}

[data-theme="light"] .mei-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .mei-details strong {
  color: #0f172a;
}

[data-theme="light"] .footer-bottom {
  border-top-color: #e2e8f0;
  color: #64748b;
}

[data-theme="light"] .floating-lang-pill {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .floating-lang-pill .lang-btn {
  color: #475569;
}

[data-theme="light"] .floating-lang-pill .lang-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

[data-theme="light"] .floating-lang-pill .lang-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .menu-toggle {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

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

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

  .hero {
    padding: 4.5rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.7rem);
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.2rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .portfolio-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .portfolio-actions .portfolio-link {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-box {
    padding: 2rem 1.5rem;
  }

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .floating-lang-pill {
    bottom: 16px;
    right: 16px;
    padding: 3px;
  }

  .floating-lang-pill .lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    height: 70px;
  }

  .logo-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .logo-brand {
    font-size: 1.25rem;
  }

  .logo-tag {
    display: none;
  }

  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-ribbon {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 0.8rem;
  }

  .service-card,
  .portfolio-card {
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
  }

  .tech-cloud {
    gap: 0.5rem;
  }

  .tech-badge-large {
    font-size: 0.82rem;
    padding: 0.5rem 0.8rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .floating-lang-pill {
    bottom: 12px;
    right: 12px;
    padding: 2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  }

  .floating-lang-pill .lang-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
  }

  .floating-lang-pill .flag-svg {
    width: 14px;
    height: 10px;
  }
}

@media (max-width: 340px) {
  .stats-ribbon {
    grid-template-columns: 1fr;
  }
}
