/**
 * DrCoder Official Website Design System
 * Aesthetic: Ultra-Clean, Modern White / Light Theme
 * Inspired by Apple, Stripe, and modern developer workstations.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Surface Colors — Pure White Theme */
  --bg-primary: #f8fafc;         /* Slate-50 body background */
  --bg-secondary: #ffffff;       /* Pure white containers & cards */
  --bg-tertiary: #f1f5f9;        /* Slate-100 alternate sections */
  --bg-card: #ffffff;            /* Pure white cards */
  --bg-card-hover: #ffffff;
  --bg-input: #f8fafc;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;      /* Slate-200 */
  --border-medium: #cbd5e1;      /* Slate-300 */
  --border-focus: #38bdf8;
  
  /* Brand Accents */
  --brand-blue: #0284c7;         /* Sky-600 */
  --brand-primary: #2563eb;      /* Blue-600 */
  --brand-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --brand-glow: rgba(2, 132, 199, 0.15);
  
  --accent-emerald: #059669;     /* Emerald-600 */
  --accent-emerald-bg: #ecfdf5;  /* Emerald-50 */
  --accent-emerald-border: #a7f3d0;
  
  --accent-purple: #7c3aed;      /* Purple-600 */
  --accent-purple-bg: #f5f3ff;
  --accent-purple-border: #ddd6fe;

  --accent-amber: #d97706;       /* Amber-600 */
  --accent-amber-bg: #fffbeb;
  --accent-amber-border: #fde68a;

  --accent-rose: #e11d48;        /* Rose-600 */
  --accent-rose-bg: #fff1f2;
  --accent-rose-border: #fecdd3;
  
  /* Typography Colors */
  --text-main: #0f172a;          /* Slate-900 high contrast */
  --text-secondary: #334155;     /* Slate-700 readable body */
  --text-muted: #64748b;         /* Slate-500 secondary / captions */
  --text-code: #0369a1;          /* Slate-800 / Sky-700 */

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1240px;
  --header-height: 74px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-window: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

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

/* Ambient Subtle Lighting */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, rgba(37, 99, 235, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 10%, #0284c7 60%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary);
}

code {
  font-family: var(--font-mono);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-code);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 7px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
}

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: #94a3b8;
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.btn-emerald:hover {
  background: #047857;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.36);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item svg {
  color: var(--accent-emerald);
}

/* Hero Showcase Mockup */
.mockup-container {
  margin-top: 52px;
  position: relative;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.mockup-inner {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.mockup-topbar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-title {
  margin-left: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hotspots on Mockup */
.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--brand-primary);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
  transition: transform var(--transition-fast);
  z-index: 10;
}

.hotspot:hover {
  transform: scale(1.22);
}

/* Sections */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Platform Download Cards - STRICT VERTICAL FLEX LAYOUT (NO OVERLAPPING!) */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.download-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;         /* CRITICAL: Explicit column direction */
  justify-content: space-between; /* Evenly spaced elements */
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-md);
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-xl);
}

.download-card.highlight {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2), var(--shadow-lg);
  background: #ffffff;
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand-blue);
}

.platform-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.platform-compat {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 48px;
  line-height: 1.5;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.secondary-downloads {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.secondary-download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.secondary-download-link:hover {
  background: #f1f5f9;
  border-color: var(--border-medium);
  color: var(--text-main);
}

.hash-container {
  margin-top: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hash-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  background: none;
  border: none;
  color: var(--brand-blue);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.btn-copy:hover {
  color: var(--brand-primary);
}

/* Checksum Table Section */
.checksum-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.checksum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.checksum-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.checksum-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

/* Feature Showcase Tabs */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-main);
  background: #f8fafc;
}

.tab-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .showcase-panel.active {
    grid-template-columns: 1fr;
  }
}

.showcase-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.showcase-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-bullet svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.showcase-img-wrap {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-window);
  cursor: zoom-in;
}

.showcase-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.showcase-img-wrap:hover img {
  transform: scale(1.02);
}

.img-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  backdrop-filter: blur(8px);
}

/* Feature Grid Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tutorials Page Styles */
.tutorial-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 36px;
}

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

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.step-item:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #bae6fd;
}

.step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.callout-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 8px;
}

.callout-warning {
  background: var(--accent-amber-bg);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber-border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}

.callout-info {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  display: block;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: #0f172a;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--brand-blue);
}

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