:root {
  /* Tech Startup Palette (Vercel / Linear inspired) */
  --bg-deep: #020617;
  --bg-surface: #0f172a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  /* The "Tech Gradient" */
  --tech-cyan: #0070f3;
  --tech-purple: #7928ca;
  --gradient-main: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple));
  --gradient-secondary: linear-gradient(135deg, #f59e0b, #ec4899); /* For Skillnxy */
  --gradient-tertiary: linear-gradient(135deg, #ef4444, #f43f5e); /* For Petmarrie (Warm/Heart vibe) */
  --gradient-quaternary: linear-gradient(135deg, #eab308, #d97706); /* For Chaauf (Gold/Premium vibe) */
  --gradient-quinary: linear-gradient(135deg, #10b981, #06b6d4); /* For Boorly (Hyperlocal Sharing & Eco vibe) */
  --gradient-senary: linear-gradient(135deg, #4f46e5, #8b5cf6); /* For ByDroop (Luggage Storage & Smart Vault vibe) */
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-x pan-y;
}

body.modal-open {
  overflow: hidden;
}

/* Background Grids & Glows */
.grid-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  z-index: -2;
  pointer-events: none;
}


@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}



/* Typography Utilities */
.gradient-text {
  background: var(--gradient-main);
  background-size: 200% auto;
  animation: gradientFlow 5s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 3px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 800;
  display: inline-block;
}

/* Pulse Dot */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Navigation */
.tech-nav {
  position: fixed;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  /* backdrop-filter: blur(12px); */
  /* -webkit-backdrop-filter: blur(12px); */
  border-bottom: 1px solid var(--border-light);
}

.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.nav-brand-text {
  background: linear-gradient(90deg, #3b82f6, #a855f7, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 3s linear infinite;
}

@keyframes shine-text {
  to {
    background-position: 200% center;
  }
}

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

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: var(--text-main);
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-deep);
  border: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20%, 100% { left: 100%; }
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

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

.btn-primary.large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

/* Main Layout */
.main-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5vh;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg-card);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

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

/* Live Stats Badge */
.live-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 1rem 1.8rem;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  /* backdrop-filter: blur(12px); */
  /* -webkit-backdrop-filter: blur(12px); */
}

.stat-pulse {
  width: 14px; height: 14px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 16px #10b981;
  animation: pulse 2s infinite;
}

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

.stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

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

/* About Section */
.about-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-light);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 3rem;
}

.about-text-wrapper {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Projects Section (Bento Grid) */
.projects-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-light);
}

.projects-container {
  display: flex;
  flex-direction: column;
}

.project-header {
  margin-top: 6rem;
  margin-bottom: 2rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.project-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.5rem;
}

.bento-item {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.bento-item.span-2 {
  grid-column: span 2;
  justify-content: flex-start;
}

.bento-icon-wrapper {
  width: 70px; height: 70px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex; justify-content: center; align-items: center;
  font-size: 1.5rem; color: #fff;
  margin-bottom: 1.5rem;
  padding: 10px;
}

.highlight-box.secondary .bento-icon-wrapper {
  background: var(--gradient-secondary);
}

.highlight-box.tertiary .bento-icon-wrapper {
  background: var(--gradient-tertiary);
}

.highlight-box.quaternary .bento-icon-wrapper {
  background: var(--gradient-quaternary);
}

.highlight-box.quinary .bento-icon-wrapper {
  background: var(--gradient-quinary);
}

.highlight-box.senary .bento-icon-wrapper {
  background: var(--gradient-senary);
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.bento-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-divider {
  height: 1px;
  width: 100%;
  background: var(--border-light);
  margin: 4rem 0 0;
}

/* Modal System (Popups) */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: #0f0f11;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  transform: scale(1.1);
}

.modal-header {
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, rgba(121, 40, 202, 0.05) 0%, transparent 100%);
}

.modal-header.secondary {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.05) 0%, transparent 100%);
}

.modal-icon {
  width: 48px; height: 48px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex; justify-content: center; align-items: center;
  font-size: 1.5rem; color: white;
  margin-bottom: 1.5rem;
}

.modal-header.secondary .modal-icon {
  background: var(--gradient-secondary);
}

.modal-header.tertiary .modal-icon {
  background: var(--gradient-tertiary);
}

.modal-header.quaternary {
  background: var(--gradient-quaternary);
}

.modal-header.quaternary .modal-icon {
  background: var(--gradient-quaternary);
}

.modal-header.quinary {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
}

.modal-header.quinary .modal-icon {
  background: var(--gradient-quinary);
}

.modal-header.senary {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.12) 0%, transparent 100%);
}

.modal-header.senary .modal-icon {
  background: var(--gradient-senary);
}

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

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.modal-section h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 8px;
}

.modal-section h4 i {
  color: var(--tech-cyan);
}

.modal-header.secondary ~ .modal-body .modal-section h4 i {
  color: #ec4899;
}

.modal-header.quinary ~ .modal-body .modal-section h4 i {
  color: #10b981;
}

.modal-header.senary ~ .modal-body .modal-section h4 i {
  color: #818cf8;
}

.modal-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  padding: 10rem 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 4rem;
  border-radius: 16px;
  width: 100%;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* AI Assistant */
.ai-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ai-fab {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-fab:hover {
  background: var(--border-hover);
}

.ai-chat-box {
  width: 360px;
  height: 450px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  display: none;
  flex-direction: column;
  transform-origin: bottom right;
  animation: popIn 0.2s ease forwards;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.ai-chat-box.show { display: flex; }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

.ai-branding {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 700;
}

#ai-close {
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.2rem; cursor: pointer;
}

.ai-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-msg {
  max-width: 85%;
  font-size: 0.9rem;
}

.msg-content {
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.5;
}

.ai-msg.bot { align-self: flex-start; }
.ai-msg.bot .msg-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.ai-msg.user { align-self: flex-end; }
.ai-msg.user .msg-content {
  background: var(--text-main);
  color: var(--bg-deep);
  font-weight: 500;
}

.ai-input-area {
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 1rem;
}

#ai-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

#ai-send {
  background: none; border: none;
  color: var(--text-main);
  font-size: 1.2rem; cursor: pointer;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.span-2 { grid-column: span 1; }
  .contact-box { padding: 2rem; }

  /* Ensure all projects, cards, and headers are ALWAYS visible on mobile */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
  }

  .projects-section,
  .projects-container,
  .bento-container,
  .bento-item,
  .project-header,
  .project-header-boorly,
  .project-header-bydroop {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .bento-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .project-header {
    margin-top: 3rem !important;
    margin-bottom: 1.25rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .project-title {
    font-size: 1.85rem;
  }
  .project-subtitle {
    font-size: 0.72rem;
    letter-spacing: 1px;
    line-height: 1.4;
  }

  /* AI Assistant Mobile Fullscreen */
  .ai-container {
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    pointer-events: none;
  }

  .ai-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    pointer-events: auto;
  }

  .ai-chat-box {
    width: 100vw !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none !important;
    z-index: 1001;
    pointer-events: auto;
  }
}

/* Preloader Animation */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: var(--bg-deep);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-logo {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100px;
}

.pre-bar {
  width: 26px;
  border-radius: 4px;
  transform-origin: bottom right;
}

.pre-bar1 { height: 40px; background: linear-gradient(to top, #3b82f6, #38bff8); animation: pulseHeight 0.8s infinite alternate ease-in-out; }
.pre-bar2 { height: 70px; background: linear-gradient(to top, #6366f1, #818cf8); animation: pulseHeight 0.8s infinite alternate ease-in-out 0.2s; }
.pre-bar3 { height: 100px; background: linear-gradient(to top, #a855f7, #c084fc); animation: pulseHeight 0.8s infinite alternate ease-in-out 0.4s; }

@keyframes pulseHeight {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0.6); }
}

#preloader.loaded .pre-bar {
  animation: none;
}

#preloader.loaded .pre-bar3 { animation: topple 0.5s forwards cubic-bezier(0.55, 0.085, 0.68, 0.53); }
#preloader.loaded .pre-bar2 { animation: topple 0.5s forwards cubic-bezier(0.55, 0.085, 0.68, 0.53) 0.15s; }
#preloader.loaded .pre-bar1 { animation: topple 0.5s forwards cubic-bezier(0.55, 0.085, 0.68, 0.53) 0.3s; }

@keyframes topple {
  to {
    transform: rotate(90deg) translateY(40px);
    opacity: 0;
  }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Bot Code Snippet Area */
.code-snippet-container {
  background: var(--bg-deep);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 15px;
  overflow-x: auto;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 13px;
  color: #a8b2d1;
  max-height: 300px;
  overflow-y: auto;
}
.code-snippet-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.code-snippet-container::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

kbd {
  background-color: var(--bg-deep);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.2), 0 2px 0 0 rgba(255,255,255,0.1) inset;
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  white-space: nowrap;
}

/* Premium UI Enhancements */
body {
  background-color: #020617; /* Daha derin, modern bir lacivert-siyah ton */
}

.bento-item {
  background: rgba(15, 23, 42, 0.4);
  /* backdrop-filter: blur(12px); */
  /* -webkit-backdrop-filter: blur(12px); */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.bot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.bento-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover .bento-icon {
  transform: scale(1.12) rotate(4deg);
}

.bot-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: #38bdf8;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.2rem 0 1.5rem;
}

.bot-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bot-tag i {
  color: #00f2fe;
  font-size: 0.85rem;
}

.bot-cta {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38f9d7 0%, #4facfe 100%);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.4));
}

.modal-content {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* Fix Bento Grid Alignment */
/* Premium UI Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
  padding: 2.2rem !important;
}
.glass-panel:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(0, 242, 254, 0.25) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.12) !important;
}

.bot-badge.badge-green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.bot-badge.badge-orange {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.bot-icon-1 { 
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #3b82f6 100%) !important; 
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4) !important; 
}

.bot-icon-2 { 
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important; 
  box-shadow: 0 6px 20px rgba(0, 198, 255, 0.35) !important; 
}

.bot-icon-3 { 
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%) !important; 
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important; 
}

.bot-icon-4 { 
  background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f59e0b 100%) !important; 
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4) !important; 
}

.glow-btn {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1)) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glow-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.5), 0 0 10px rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.glass-modal {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(6, 9, 19, 0.98)) !important;
  backdrop-filter: blur(10px) !important; /* Reduced blur for performance */
  -webkit-backdrop-filter: blur(10px) !important; /* Reduced blur for performance */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.1) !important;
  border-radius: 24px !important;
}

.code-container pre code {
  color: #f8f9fa !important;
}


/* KESİN ÇÖZÜM: KOD BLOĞU BEYAZ YAZI */
.code-container pre, 
.code-container pre code, 
.code-container pre code span, 
.code-container pre code.language-javascript {
    color: #ffffff !important;
    text-shadow: none !important;
}
