/* ==========================================================================
   APPLE DESIGN SYSTEM — Vin Sanjay Portfolio
   Pure Static Apple Dark Aesthetic (Floating Pill Navbar)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & APPLE DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Apple Dark Mode Palette */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-tertiary: #161618;
  
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-glass-border: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #86868b;
  
  --accent-neon-green: #30d158;
  
  --gradient-aurora: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #d2d2d7 50%, #86868b 100%);
  --gradient-accent-text: linear-gradient(135deg, #ffffff 0%, #d2d2d7 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --shadow-card: 0 24px 48px -12px rgba(0, 0, 0, 0.8);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  --font-display: 'SF Pro Display', 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --nav-height: 64px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS (Clean Native Browser Smooth Scrolling)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
}

/* Selection */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Disable expanding / dragging handle on textareas */
textarea {
  resize: none !important;
}

/* --------------------------------------------------------------------------
   3. ENHANCED APPLE TRANSPARENT FROSTED BLUR (ZERO HOVER EFFECTS)
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gradient-text {
  background: var(--gradient-accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-glass-border);
  backdrop-filter: blur(20px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-neon-green);
  box-shadow: 0 0 10px var(--accent-neon-green);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

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

/* Apple Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--surface-glass-border);
  backdrop-filter: blur(20px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. CANVAS & BACKGROUND GRAPHICS
   -------------------------------------------------------------------------- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.aurora-bg {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 120vw;
  height: 120vh;
  z-index: -3;
  pointer-events: none;
  opacity: 0.2;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.06), transparent 60%);
  filter: blur(100px);
}

/* --------------------------------------------------------------------------
   5. FLOATING PILL NAVBAR (MATCHING SCREENSHOT DESIGN)
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1240px;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(12, 12, 15, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  padding: 0 16px;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.navbar-wrapper.navbar--scrolled {
  background: rgba(8, 8, 10, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-avatar-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-links-capsule {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
}

.nav-item.active {
  color: #ffffff;
}

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

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-glass-border);
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(25px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  width: 80%;
  max-width: 320px;
  height: 100%;
  padding: 40px 24px;
  position: relative;
  background: #000000;
  border-left: 1px solid var(--surface-glass-border);
}

.close-drawer-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.mobile-nav-item {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 80px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.typing-target {
  color: #ffffff;
  font-weight: 600;
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Code Card Frame */
.hero-card-frame {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--surface-glass-border);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-filename {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-code-content pre {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   7. ABOUT & STATS
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.about-profile-card {
  padding: 40px 24px;
  text-align: center;
}

.avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  filter: blur(10px);
  opacity: 0.3;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--surface-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.profile-card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-card-role {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.profile-card-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.story-card {
  padding: 36px;
  margin-bottom: 24px;
}

.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.story-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 24px 16px;
  text-align: center;
}

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

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   8. SKILLS & PROJECTS
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-category-card {
  padding: 36px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.category-header i {
  color: #ffffff;
}

.category-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-percent {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: #ffffff;
  border-radius: var(--radius-full);
}

/* Projects Controls & Masonry */
.projects-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-secondary);
}

.filter-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.project-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  width: 300px;
}

.project-search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 100%;
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image-wrapper {
  height: 200px;
  background: var(--bg-tertiary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.placeholder-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  border: 1px solid var(--surface-glass-border);
}

.project-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.project-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.5;
}

.project-tech-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tech-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--surface-glass-border);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.view-project-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. EXPERIENCE TIMELINE
   -------------------------------------------------------------------------- */
.timeline-container {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 100%;
  background: var(--surface-glass-border);
}

.timeline-item {
  padding: 36px;
  margin-left: 48px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -56px;
  top: 40px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 4px 0;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.timeline-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.timeline-achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.timeline-achievements li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.timeline-achievements i {
  color: var(--accent-neon-green);
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   10. CONTACT & FOOTER
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card, .contact-form-card {
  padding: 40px;
}

.contact-info-card h3, .contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method-item i {
  color: #ffffff;
  width: 24px;
  height: 24px;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-value {
  font-weight: 600;
}

.copy-btn {
  margin-left: auto;
  color: var(--text-muted);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.social-link-btn {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Form inputs & Textarea */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.form-group textarea {
  resize: none !important;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
  border-top: 1px solid var(--surface-glass-border);
  padding: 40px 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. MODALS, TOASTS & CHAT WIDGET
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(25px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

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

.modal-card {
  width: 90%;
  max-width: 600px;
  padding: 36px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #fff;
}

.toast-success { border-left: 4px solid var(--accent-neon-green); }
.toast-info { border-left: 4px solid #ffffff; }
.toast-error { border-left: 4px solid #ff5f56; }

/* Chat Widget */
.chat-widget-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4000;
}

.chat-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.2);
  position: relative;
}

.chat-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-neon-green);
  border: 2px solid var(--bg-primary);
}

.chat-widget-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  height: 480px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.chat-widget-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-header {
  padding: 16px;
  border-bottom: 1px solid var(--surface-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-messages-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  max-width: 85%;
  line-height: 1.5;
}

.chat-msg.assistant {
  background: rgba(255, 255, 255, 0.08);
  align-self: flex-start;
}

.chat-msg.user {
  background: #ffffff;
  color: #000000;
  align-self: flex-end;
}

.chat-input-area {
  padding: 12px;
  border-top: 1px solid var(--surface-glass-border);
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.85rem;
}

.chat-send-btn {
  color: #ffffff;
}
