/* ===== Theme: Midnight Ember ===== */
:root {
  --bg-deep: #0c0e14;
  --bg-card: #141922;
  --bg-elevated: #1a1f2e;
  --accent: #f97316;
  --accent-soft: #fb923c;
  --accent-glow: rgba(249, 115, 22, 0.35);
  --text: #f1f5f9;
  --text-muted: #b8c5d6;
  --border: rgba(248, 250, 252, 0.08);
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Prevent fixed nav from covering section titles when jumping to anchor */
section[id] {
  scroll-margin-top: 5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-soft);
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text);
}
.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: block;
    padding: 1rem;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-greeting {
  color: var(--accent);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-tagline {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 28ch;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #0c0e14;
  border: none;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 1px var(--border), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-photo-placeholder {
  display: none;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 3px dashed var(--border);
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero-photo-placeholder.visible {
  display: flex;
}
.hero-photo-placeholder code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-soft);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll a {
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tagline {
    max-width: none;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-photo-wrap {
    justify-self: center;
  }
}

/* ----- Sections ----- */
.section {
  padding: 5rem 2rem;
  min-height: 50vh;
}

.section-alt {
  background: var(--bg-card);
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin-top: 0.5rem;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ----- About ----- */
.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 65ch;
}
.about-lead {
  font-size: 1.15rem;
  color: var(--text) !important;
}

/* ----- Timeline (Experience / Education) ----- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.timeline-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.timeline-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-body p:last-child {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.timeline-logo-wrap {
  align-self: center;
  justify-self: center;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.timeline-logo {
  max-width: 110px;
  max-height: 55px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (max-width: 600px) {
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .timeline-logo-wrap {
    margin-top: 0.75rem;
    justify-self: flex-start;
  }
}

/* Certifications: 2-column layout (no logo) */
.certifications-list .timeline-item {
  grid-template-columns: 140px 1fr;
}
.certifications-list .timeline-logo-wrap {
  display: none;
}
.cert-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}
.cert-link:hover {
  color: var(--accent-soft);
}

/* ----- Projects (accordion) ----- */
.projects-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.project-item:hover {
  border-color: rgba(249, 115, 22, 0.4);
}
.project-item.is-open {
  border-color: var(--accent);
}

.project-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.project-heading:hover {
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent-soft);
}

.project-heading-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.project-title {
  display: block;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.project-company,
.project-client {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.24), rgba(15, 23, 42, 0.9));
  color: #fed7aa;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  max-width: 100%;
}

.project-company {
  opacity: 0.9;
}

.project-client {
  opacity: 0.9;
}

.project-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}
.project-toggle::before {
  content: '↓';
}
.project-item.is-open .project-toggle {
  transform: rotate(180deg);
}

.project-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.project-item.is-open .project-body {
  max-height: 800px;
}

.project-body-inner {
  padding: 0.5rem 1.25rem 1.25rem;
}

@media (max-width: 600px) {
  .project-title {
    white-space: normal;
  }
}
.project-body p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-body p:last-child {
  margin-bottom: 0;
}
.project-body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.project-body ul:last-child {
  margin-bottom: 0;
}

.project-responsibilities {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.project-responsibilities-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.project-responsibilities ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}
.project-responsibilities li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.project-responsibilities li:last-child {
  margin-bottom: 0;
}

/* ----- Skills ----- */
.skills-tabs {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(249, 115, 22, 0.18), transparent 55%),
    radial-gradient(700px 420px at 90% 20%, rgba(249, 115, 22, 0.10), transparent 60%),
    var(--bg-elevated);
}

.skills-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.03);
}

.skills-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.skills-tab:hover {
  color: var(--text);
  border-color: rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.06);
}
.skills-tab.is-active {
  color: #0c0e14;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.skills-panels {
  margin-top: 1rem;
}

.skills-panel {
  display: none;
  padding: 1rem 0.25rem 0.25rem;
}
.skills-panel.is-active {
  display: block;
}

.skills-panel-hint {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.skills-panel-note {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.skills-panel-note code {
  font-family: var(--font-mono);
  color: var(--accent-soft);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-item {
  position: relative;
  padding: 0.6rem 1.2rem;
  background: rgba(248, 250, 252, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), color var(--transition);
  cursor: default;
}
.skill-item:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.skill-label {
  display: inline-block;
}

.skill-popup {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  max-width: 320px;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 50;
  pointer-events: none;
}
.skill-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--accent);
}
.skill-item:hover .skill-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

.skill-popup p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.skill-popup p:last-child {
  margin-bottom: 0;
}
.skill-popup img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .skill-popup {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 100%;
    transform: translateX(-50%) translateY(8px);
  }
  .skill-popup::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: var(--accent);
  }
  .skill-item:hover .skill-popup {
    transform: translateX(-50%) translateY(12px);
  }
}

/* Recent learnings cards */
.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.learning-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.03);
  transition: border-color var(--transition), transform var(--transition);
}
.learning-card:hover {
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
}

.learning-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.learning-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.learning-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

.learning-desc {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.02);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Pipeline list */
.pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pipeline-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.03);
}

.pipeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.pipeline-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pipeline-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.02);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pipeline-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .learning-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Chat launcher / shell ----- */
.chat-shell {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  background: rgba(12, 14, 20, 0.9);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.chat-launcher:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(249, 115, 22, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
}

.chat-launcher-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.35);
}

.chat-launcher-text {
  white-space: nowrap;
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 3.5rem;
  width: min(340px, 90vw);
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.97), rgba(12, 10, 18, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.chat-shell.is-open .chat-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}

.chat-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.1rem;
}
.chat-close:hover {
  color: var(--text);
}

.chat-body {
  padding: 0.75rem 0.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-message {
  max-width: 85%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-message-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
}

.chat-message-user {
  align-self: flex-end;
  background: var(--accent);
  color: #0c0e14;
  border-radius: 12px 12px 4px 12px;
}

.chat-placeholder-note {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
}

.chat-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text);
}
.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send {
  border-radius: 999px;
  border: none;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  background: var(--accent);
  color: #0c0e14;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.chat-send:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.chat-send[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 600px) {
  .chat-shell {
    right: 1rem;
    bottom: 1rem;
  }
  .chat-window {
    width: min(100vw - 2rem, 360px);
  }
}

/* ----- Contact ----- */
.contact-section {
  padding-bottom: 6rem;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}
.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.contact-link:hover .contact-icon {
  color: var(--accent);
}
.contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition);
}

/* ------Admin Page Table ---*/

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table thead th {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: rgba(248, 250, 252, 0.03);
}

.admin-table td {
  color: var(--text-muted);
}

.admin-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
}
/* ----- Footer ----- */
.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}
