/* ============================
   Modern Portfolio CSS
   Matching Next.js UI Design
   ============================ */

:root {
  /* Colors */
  --color-background: #ffffff;
  --color-foreground: #09090b;
  --color-muted: #71717a;
  --color-muted-foreground: #52525b;
  --color-border: #e5e5e9;
  --color-accent: #f4f4f5;
  --color-accent-hover: #e4e4e7;
  --color-primary: #0171e3;
  --color-primary-hover: #0159b3;
  --color-secondary: #111827;
  --color-secondary-foreground: #f9fafb;
  --color-link: #3b82f6;
  --color-link-alt: #8b5cf6;
  --color-link-strong: #2563eb;
  --color-link-soft: rgba(59, 130, 246, 0.2);
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-button-contrast: #000000;
  --color-button-contrast-hover: #374151;
  --color-button-contrast-foreground: #ffffff;
  --color-blur-text: rgba(0, 0, 0, 0.03);
  --color-glass-soft: rgba(255, 255, 255, 0.3);
  --color-glass-soft-hover: rgba(255, 255, 255, 0.5);
  --color-chat-header-bg: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 30%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 100%
  );
  --color-chat-received-bg: #f4f4f5;
  --color-chat-received-border: #e5e5e9;
  --color-input-background: #ececf0;
  --color-glass-strong: rgba(255, 255, 255, 0.8);
  --color-glass-strong-hover: rgba(255, 255, 255, 0.9);
  --color-drawer-background: #f5f5f5;
  --color-drawer-handle: #d1d5db;
  --color-drawer-item-bg: #f7f8f9;
  --color-drawer-item-hover: #f0f0f2;
  --color-drawer-item-active: #e8e8ea;
  --color-drawer-special-bg: #000000;
  --color-drawer-special-fg: #ffffff;
  --color-card-background: #f5f5f7;
  --color-chip-background: #e5e7eb;
  --color-chip-foreground: #374151;
  --color-gallery-backdrop: rgba(15, 23, 42, 0.75);
  --color-gallery-background: #111827;
  --color-gallery-foreground: #f9fafb;
  --color-gallery-button-bg: rgba(255, 255, 255, 0.1);
  --color-gallery-button-hover: rgba(255, 255, 255, 0.2);
  --color-gallery-caption: rgba(229, 231, 235, 0.8);
  --color-gallery-counter: rgba(229, 231, 235, 0.65);
  --color-gallery-shadow: rgba(15, 23, 42, 0.35);
  --color-overlay: rgba(0, 0, 0, 0.5);
  --color-overlay-strong: rgba(0, 0, 0, 0.6);
  --color-glass-muted: rgba(244, 244, 245, 0.7);
  --color-glass-muted-alt: rgba(244, 244, 245, 0.6);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --header-height: 180px;
  --header-height-compact: 100px;
}

:root[data-theme='dark'] {
  --color-background: #09090b;
  --color-foreground: #f4f4f5;
  --color-muted: #a1a1aa;
  --color-muted-foreground: #d4d4d8;
  --color-border: #27272a;
  --color-accent: #18181b;
  --color-accent-hover: #27272a;
  --color-primary: #60a5fa;
  --color-primary-hover: #3b82f6;
  --color-secondary: #f4f4f5;
  --color-secondary-foreground: #09090b;
  --color-link: #93c5fd;
  --color-link-alt: #c4b5fd;
  --color-link-strong: #bfdbfe;
  --color-link-soft: rgba(96, 165, 250, 0.25);
  --color-success: #34d399;
  --color-warning: #facc15;
  --color-button-contrast: #f4f4f5;
  --color-button-contrast-hover: #e4e4e7;
  --color-button-contrast-foreground: #09090b;
  --color-blur-text: rgba(255, 255, 255, 0.05);
  --color-glass-soft: rgba(39, 39, 42, 0.5);
  --color-glass-soft-hover: rgba(63, 63, 70, 0.5);
  --color-chat-header-bg: linear-gradient(
      to bottom,
      rgba(24, 24, 27, 0.95) 0%,
      rgba(24, 24, 27, 0.9) 30%,
      rgba(24, 24, 27, 0.6) 50%,
      rgba(24, 24, 27, 0) 100%
  );
  --color-chat-received-bg: #18181b;
  --color-chat-received-border: #27272a;
  --color-input-background: #1f1f23;
  --color-glass-strong: rgba(24, 24, 27, 0.85);
  --color-glass-strong-hover: rgba(39, 39, 42, 0.9);
  --color-drawer-background: #18181b;
  --color-drawer-handle: #3f3f46;
  --color-drawer-item-bg: #1f1f23;
  --color-drawer-item-hover: #27272a;
  --color-drawer-item-active: #2d2d30;
  --color-drawer-special-bg: #f4f4f5;
  --color-drawer-special-fg: #09090b;
  --color-card-background: #18181b;
  --color-chip-background: #27272a;
  --color-chip-foreground: #e4e4e7;
  --color-gallery-backdrop: rgba(9, 9, 11, 0.85);
  --color-gallery-background: #09090b;
  --color-gallery-foreground: #f4f4f5;
  --color-gallery-button-bg: rgba(63, 63, 70, 0.6);
  --color-gallery-button-hover: rgba(82, 82, 91, 0.75);
  --color-gallery-caption: rgba(212, 212, 216, 0.8);
  --color-gallery-counter: rgba(161, 161, 170, 0.75);
  --color-gallery-shadow: rgba(0, 0, 0, 0.4);
  --color-overlay: rgba(0, 0, 0, 0.7);
  --color-overlay-strong: rgba(0, 0, 0, 0.75);
  --color-glass-muted: rgba(39, 39, 42, 0.8);
  --color-glass-muted-alt: rgba(39, 39, 42, 0.65);
}

/* ============================
   Reset & Base Styles
   ============================ */

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

body {
  font-family: var(--font-sans), sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

/* ============================
   Landing Page Styles
   ============================ */

.landing-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 2.5rem;
  overflow: hidden;
}

.fluid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Blurred Footer Text */
.blurred-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.blurred-text {
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-blur-text);
  margin-bottom: -2.5rem;
  user-select: none;
  display: none;
}

@media (min-width: 640px) {
  .blurred-text {
    display: block;
  }
}

@media (min-width: 1024px) {
  .blurred-text {
    font-size: 16rem;
  }
}

/* Welcome Modal Trigger */
.welcome-modal-trigger {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 100;
}

.info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 1rem;
  background: transparent;
  transition: background-color 0.2s ease;
  color: var(--color-foreground);
}

.info-button:hover {
  background-color: var(--color-accent);
}

/* Landing Content */
.landing-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 6rem;
}

@media (min-width: 768px) {
  .landing-content {
    margin-top: 1rem;
  }
}

/* Header Section */
.landing-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .landing-header {
    margin-bottom: 1rem;
  }
}

.greeting {
  color: var(--color-muted-foreground);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .greeting {
    font-size: 1.5rem;
  }
}

.title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .title {
    font-size: 4.5rem;
  }
}

.description {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .description {
    font-size: 1.125rem;
  }
}

/* Avatar */
.avatar-container {
  position: relative;
  width: 13rem;
  height: 13rem;
  overflow: hidden;
  /*margin: 1rem 0;*/
}

@media (min-width: 640px) {
  .avatar-container {
    width: 18rem;
    height: 18rem;
  }
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transform: scale(1);
}

/* Interaction Section */
.interaction-section {
  width: 100%;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Search Form */
.search-form {
  width: 100%;
  max-width: 32rem;
}

.search-input-container {
  display: flex;
  align-items: center;
  background: var(--color-glass-soft);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.625rem 0.5rem 0.625rem 1.5rem;
  transition: border-color 0.2s ease;
}

.search-input-container:hover {
  border-color: var(--color-muted);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-foreground);
  outline: none;
}

.search-input::placeholder {
  color: var(--color-muted);
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border-radius: 9999px;
  padding: 0.625rem;
  transition: background-color 0.2s ease;
}

.search-button:hover:not(:disabled) {
  background: var(--color-primary-hover);
}

.search-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Quick Questions Grid */
.quick-questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .quick-questions {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .quick-questions {
    grid-template-columns: repeat(5, 1fr);
  }
}

.question-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 1rem;
  background: var(--color-glass-soft);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  transition: all 0.2s ease;
  color: var(--color-muted-foreground);
}

@media (min-width: 768px) {
  .question-btn {
    padding: 1rem 1rem;
  }
}

.question-btn:hover {
  background: var(--color-glass-soft-hover);
  transform: scale(0.95);
}

.question-btn:active {
  transform: scale(0.95);
}

.question-btn span {
  font-size: 0.75rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .question-btn span {
    font-size: 0.875rem;
  }
}

/* ============================
   Chat Page Styles
   ============================ */

.chat-page {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--color-background);
}

/* Chat Info Button */
.chat-info-button {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 100;
}

/* Chat Header */
.chat-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-chat-header-bg);
  transition: all 0.3s ease;
}

.chat-header-content {
  padding: 1.5rem 0;
  transition: padding 0.3s ease;
}

.chat-header.compact .chat-header-content {
  padding: 1.5rem 0 0;
}

/* Avatar Wrapper */
.avatar-wrapper {
  display: flex;
  justify-content: center;
}

.avatar-container-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-header.compact .avatar-container-chat {
  width: 5rem;
  height: 5rem;
}

.avatar-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.8);
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* User Message Display */
.user-message-display {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chat Container */
.chat-container {
  height: 100vh;
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Chat Messages Area */
.chat-messages-area {
  flex: 1;
  overflow-y: auto;
  padding: var(--header-height) 0.5rem 1rem;
  transition: padding-top 0.3s ease;
}

.chat-header.compact ~ .chat-container .chat-messages-area {
  padding-top: var(--header-height-compact);
}

/* Chat Landing */
.chat-landing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 1.5rem 1rem;
}

.chat-landing-content {
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.chat-landing-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
}

.chat-landing-subtitle {
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 28rem;
}

/* Suggested Questions */
.suggested-questions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.suggested-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-glass-strong);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-align: left;
  color: var(--color-muted-foreground);
}

.suggested-btn:hover {
  background: var(--color-glass-strong-hover);
  transform: scale(1.02);
}

.suggested-btn:active {
  transform: scale(0.98);
}

.suggested-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
}

.suggested-btn span:last-child {
  color: var(--color-foreground);
}

/* Chat Bubbles */
.chat-bubble {
  margin-bottom: 1rem;
  animation: fadeInUp 0.3s ease-out;
}

.chat-bubble.sent {
  display: flex;
  justify-content: flex-end;
}

.chat-bubble.received {
  display: flex;
  justify-content: flex-start;
}

.bubble-content {
  max-width: 80%;
  padding: 0.875rem 1.125rem;
  border-radius: 1.375rem;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.chat-bubble.sent .bubble-content {
  background: var(--color-accent);
  color: var(--color-foreground);
}

.chat-bubble.received .bubble-content {
  background: var(--color-chat-received-bg);
  color: var(--color-foreground);
  border: 1px solid var(--color-chat-received-border);
}

/* Chat Bottom Bar */
.chat-bottom-bar {
  position: sticky;
  bottom: 0;
  background: var(--color-background);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .chat-bottom-bar {
    padding: 0.75rem 0 1rem;
  }
}

/* Chat Input Form */
.chat-input-form {
  width: 100%;
}

@media (min-width: 768px) {
  .chat-input-form {
    padding: 0 1rem;
  }
}

.chat-input-container {
  display: flex;
  align-items: center;
  background: var(--color-input-background);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-foreground);
  outline: none;
}

.chat-input::placeholder {
  color: var(--color-muted);
}

.chat-input:disabled {
  color: var(--color-muted);
}

.chat-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border-radius: 9999px;
  padding: 0.5rem;
  transition: opacity 0.2s ease;
}

.chat-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Powered By */
.powered-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.powered-brand {
  font-weight: 600;
  color: var(--color-foreground);
}

/* Loading Indicator */
.chat-loading {
  display: flex;
  gap: 0.375rem;
  padding: 1rem;
}

.loading-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-muted);
  border-radius: 9999px;
  animation: pulse 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 80%, 100% {
    opacity: 0.4;
  }
  40% {
    opacity: 1;
  }
}

/* ============================
   Modal Styles
   ============================ */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  position: relative;
  background: var(--color-background);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
  0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: scaleIn 0.2s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background: var(--color-accent);
}

.modal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal-content p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background: var(--color-foreground);
  color: var(--color-background);
  border-radius: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.modal-btn:hover {
  opacity: 0.9;
}

/* ============================
   HelperBoost Component
   ============================ */

.helper-boost {
  width: 100%;
  margin-bottom: 0.75rem;
}

.helper-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  transition: color 0.2s ease;
}

.toggle-btn:hover {
  color: var(--color-muted-foreground);
}

.toggle-icon {
  transition: transform 0.2s ease;
}

.helper-boost.collapsed .toggle-icon {
  transform: rotate(180deg);
}

.quick-questions-container {
  transition: all 0.3s ease;
  overflow: hidden;
}

.helper-boost.collapsed .quick-questions-container {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.quick-questions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .quick-questions-grid {
    gap: 0.75rem;
  }
}

.quick-question-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 100px;
  padding: 0.75rem 1rem;
  background: var(--color-glass-strong);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.quick-question-btn:hover {
  background: var(--color-glass-strong-hover);
  transform: scale(0.95);
}

.quick-question-btn:active {
  transform: scale(0.95);
}

.more-questions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 0.75rem 1rem;
  background: var(--color-glass-strong);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-muted-foreground);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.more-questions-btn:hover {
  background: var(--color-glass-strong-hover);
  transform: scale(0.95);
}

/* ============================
   Questions Drawer
   ============================ */

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: flex-end;
}

.drawer.active {
  display: flex;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-overlay-strong);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

.drawer-content {
  position: relative;
  width: 100%;
  max-height: 80vh;
  height: min(80vh, 720px);
  background: var(--color-drawer-background);
  border-radius: 0.625rem 0.625rem 0 0;
  animation: slideUp 0.3s ease-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .drawer-content {
    max-height: 60vh;
  }
}

.drawer-handle {
  width: 3rem;
  height: 0.375rem;
  background: var(--color-drawer-handle);
  border-radius: 9999px;
  margin: 1rem auto 0;
}

.drawer-body {
  flex: 1 1 auto;
  padding: 1rem;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.drawer-categories {
  max-width: 28rem;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.category-section {
  margin-bottom: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.category-header h3 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin: 0;
}

.category-questions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.question-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-drawer-item-bg);
  border: none;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-foreground);
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
}

.question-item:hover {
  background: var(--color-drawer-item-hover);
}

.question-item:active {
  background: var(--color-drawer-item-active);
  transform: scale(0.98);
}

.question-item.special {
  background: var(--color-drawer-special-bg);
  color: var(--color-drawer-special-fg);
}

.question-item.special:hover {
  background: var(--color-drawer-special-bg);
}

.question-item.special:active {
  background: var(--color-drawer-special-bg);
}

.question-item svg {
  margin-right: 0.5rem;
}

.question-item::after {
  content: '→';
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.question-item:hover::after {
  transform: translateX(4px);
}

.question-item.special::after {
  color: var(--color-drawer-special-fg);
}

/* ============================
   Animations
   ============================ */

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

/* ============================
   Tool Components
   ============================ */

.tool-component-container {
  margin: 1rem 0;
  animation: fadeInUp 0.3s ease-out;
}

.tool-component {
  width: 100%;
  max-width: 100%;
}

/* Presentation Component */
.presentation-component {
  padding: 1.5rem 0;
}

.presentation-container {
  max-width: 80rem;
  margin: 0 auto;
}

.presentation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .presentation-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.presentation-image {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 1;
}

.image-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.presentation-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.presentation-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.presentation-name {
  background: linear-gradient(to right, var(--color-foreground), var(--color-muted));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .presentation-name {
    font-size: 1.875rem;
  }
}

.presentation-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .presentation-meta {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.presentation-role,
.presentation-location {
  color: var(--color-muted);
  margin: 0;
}

.meta-separator {
  display: none;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--color-border);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .meta-separator {
    display: block;
  }
}

.presentation-description {
  color: var(--color-foreground);
  line-height: 1.6;
  white-space: pre-line;
  margin: 0;
}

.presentation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--color-secondary);
  color: var(--color-secondary-foreground);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* Skills Component */
.skills-component {
  padding: 1.5rem 0;
}

.skills-container {
  max-width: 80rem;
  margin: 0 auto;
}

.skills-header {
  margin-bottom: 3rem;
}

.skills-title {
  color: var(--color-primary);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skill-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-icon {
  color: var(--color-muted-foreground);
}

.skill-category {
  color: var(--color-accent-foreground);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.2s ease;
}

.skill-badge:hover {
  transform: scale(1.04);
}

/* Contact Component */
.contact-component {
  padding: 1.5rem 0;
}

.contact-container {
  background: var(--color-accent);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .contact-container {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .contact-container {
    padding: 3rem 4rem;
  }
}

.contact-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-title {
  color: var(--color-foreground);
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 2.25rem;
  }
}

.contact-handle {
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .contact-handle {
    margin-top: 0;
  }
}

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

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-item {
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.5rem;
  transition: border-color 0.2s ease;
}

.email-item {
  cursor: pointer;
}

.email-item:hover {
  border-color: var(--color-link-soft);
}

.contact-item-content {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-email {
  color: var(--color-link);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

@media (min-width: 640px) {
  .contact-email {
    font-size: 1.125rem;
  }
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-arrow {
  color: var(--color-link);
  transition: transform 0.3s ease;
}

.email-item:hover .contact-arrow {
  transform: translateX(0.25rem);
}

.contact-description {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.contact-text {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.contact-link {
  color: var(--color-link);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .social-links {
    gap: 2rem;
  }
}

.social-link {
  color: var(--color-muted);
  font-size: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--color-foreground);
}

/* Resume Component */
.resume-component {
  padding: 1.5rem 0;
}

.resume-container {
  max-width: 100%;
}

.resume-card {
  background: var(--color-accent);
  border-radius: 0.75rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.resume-card:hover {
  transform: scale(1.01);
}

.resume-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
}

.resume-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.resume-title {
  color: var(--color-foreground);
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

.resume-description {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.resume-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-button-contrast);
  color: var(--color-button-contrast-foreground);
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}

.resume-card:hover .download-icon {
  background: var(--color-button-contrast-hover);
}

/* Crazy Component */
.crazy-component {
  padding: 1.5rem 0;
}

.crazy-container {
  max-width: 100%;
}

.crazy-header {
  margin-bottom: 1.5rem;
}

.crazy-title {
  color: var(--color-foreground);
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .crazy-title {
    font-size: 2.25rem;
  }
}

.crazy-content {
  background: var(--color-glass-muted);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .crazy-content {
    padding: 2rem;
  }
}

.crazy-description {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Sports Component */
.sports-component {
  padding: 1.5rem 0;
}

.sports-container {
  max-width: 100%;
}

.sports-header {
  margin-bottom: 2rem;
}

.sports-title {
  color: var(--color-foreground);
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .sports-title {
    font-size: 2.25rem;
  }
}

.sports-subtitle {
  color: var(--color-muted);
  margin: 1rem 0 0;
}

.sports-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sports-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.award-card {
  background: var(--color-glass-muted-alt);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.award-year {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--color-muted);
}

.award-title {
  color: var(--color-foreground);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.5rem 0 0;
}

.award-description {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0.75rem 0 0;
  flex: 1;
}

.award-link {
  color: var(--color-link);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 1rem;
  display: inline-flex;
}

/* Internship Component */
.internship-component {
  padding: 1.5rem 0;
}

.internship-container {
  background: var(--color-accent);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .internship-container {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .internship-container {
    padding: 3rem 4rem;
  }
}

.internship-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .internship-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.internship-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.internship-avatar {
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.internship-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.internship-name {
  color: var(--color-foreground);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.internship-role {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .live-badge {
    margin-top: 0;
  }
}

.live-indicator {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}

.live-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-success);
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-indicator::after {
  content: '';
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-success);
  border-radius: 50%;
}

.live-badge span:last-child {
  color: var(--color-success);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-success);
  border-radius: 9999px;
  padding: 0.125rem 0.75rem;
}

.internship-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .internship-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.internship-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.internship-item.full-width {
  grid-column: 1 / -1;
}

.internship-icon {
  margin-top: 0.25rem;
  color: var(--color-link);
}

.internship-item.full-width .internship-icon {
  color: var(--color-link-alt);
}

.internship-item-content {
  flex: 1;
}

.internship-item-label {
  color: var(--color-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

.internship-item-text {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
}

.tech-lists {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .tech-lists {
    grid-template-columns: 1fr 1fr;
  }
}

.tech-list {
  list-style: disc;
  padding-left: 1rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.tech-link {
  color: var(--color-link);
  text-decoration: underline;
  cursor: pointer;
}

.highlights-section {
  margin-bottom: 2.5rem;
}

.highlights-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-foreground);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.highlights-icon {
  color: var(--color-warning);
}

.highlights-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.highlights-list li {
  margin-bottom: 0.5rem;
}

.experience-timeline {
  margin-bottom: 2.5rem;
}

.experience-title {
  color: var(--color-foreground);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.experience-entries {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .experience-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.experience-entry {
  background: var(--color-glass-strong);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.experience-entry-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 480px) {
  .experience-entry-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
  }
}

.experience-entry-role {
  color: var(--color-foreground);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.experience-entry-period {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.experience-entry-company {
  color: var(--color-link-strong);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.experience-entry-description {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.contact-button-section {
  display: flex;
  justify-content: center;
}

.contact-button {
  background: var(--color-button-contrast);
  color: var(--color-button-contrast-foreground);
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background: var(--color-button-contrast-hover);
}

/* Projects Component */
.projects-component {
  padding: 1.5rem 0;
}

.projects-container {
  max-width: 100%;
}

.projects-title {
  color: var(--color-foreground);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .projects-title {
    font-size: 1.875rem;
  }
}

.projects-carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project-card {
  background: var(--color-card-background);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-2px);
}

.project-image {
  width: 100%;
  height: 12rem;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-category {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.project-date {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.project-title {
  color: var(--color-foreground);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.project-description {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

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

.tech-tag {
  background: var(--color-chip-background);
  color: var(--color-chip-foreground);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.project-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-link);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

.project-gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
}

.project-gallery-modal.is-open {
  display: flex;
}

.project-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-gallery-backdrop);
  backdrop-filter: blur(4px);
}

.project-gallery-dialog {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  background: var(--color-gallery-background);
  color: var(--color-gallery-foreground);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--color-gallery-shadow);
  display: flex;
  flex-direction: column;
}

.project-gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-gallery-button-bg);
  border: none;
  border-radius: 9999px;
  color: inherit;
  padding: 0.25rem;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 1000;
}

.project-gallery-close:hover {
  background: var(--color-gallery-button-hover);
}

.project-gallery-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 3.5rem 4.5rem 2rem;
}

.project-gallery-stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.project-gallery-stage img,
.project-gallery-stage video {
  max-width: 100%;
  max-height: 520px;
  border-radius: 1rem;
  box-shadow: 0 10px 30px var(--color-gallery-shadow);
}

.gallery-nav {
  background: var(--color-gallery-button-bg);
  border: none;
  color: inherit;
  border-radius: 9999px;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
  background: var(--color-gallery-button-hover);
  transform: translateY(-2px);
}

.gallery-nav:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.project-gallery-meta {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-gallery-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.project-gallery-caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gallery-caption);
}

.project-gallery-counter {
  font-size: 0.875rem;
  color: var(--color-gallery-counter);
}

@media (max-width: 768px) {
  .project-gallery-inner {
    padding: 3.25rem 2.5rem 1.5rem;
  }

  .gallery-nav {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (max-width: 560px) {
  .project-gallery-dialog {
    border-radius: 1rem;
  }

  .project-gallery-inner {
    padding: 3.25rem 1.5rem 1.25rem;
  }

  .project-gallery-stage {
    min-height: 240px;
  }
}

/* Animations */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ============================
   Theme Toggle
   ============================ */

.theme-toggle {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--color-accent);
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.theme-toggle [data-theme-icon] {
  display: none;
}

:root[data-theme='light'] .theme-toggle [data-theme-icon="sun"],
:root[data-theme='dark'] .theme-toggle [data-theme-icon="moon"] {
  display: block;
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 2.75rem;
    height: 2.75rem;
    top: 1rem;
    left: 1rem;
  }
}

/* ============================
   Utility Classes
   ============================ */

.hidden {
  display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing-page {
    padding-bottom: 3rem;
  }

  .chat-messages-area {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
