/* =====================================================
   CAUSTIC.INFO - Global Design System
   Modern Minimal | Purple/Violet Accent | Mobile-First
   ===================================================== */

/* =====================================================
   1. CSS VARIABLES (Design Tokens)
   ===================================================== */
:root {
  /* Primary Purple Palette */
  --primary-50: #faf5ff;
  --primary-100: #f3e8ff;
  --primary-200: #e9d5ff;
  --primary-300: #d8b4fe;
  --primary-400: #c084fc;
  --primary-500: #a855f7;
  --primary-600: #9333ea;
  --primary-700: #7c3aed;
  --primary-800: #6b21a8;
  --primary-900: #581c87;

  /* Neutral Grays */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;

  /* Semantic Colors */
  --success: #22c55e;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --error: #ef4444;
  --error-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Font Sizes (Mobile-first) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Spacing Scale */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
}

/* =====================================================
   2. RESET & BASE STYLES
   ===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--gray-800);
  background-color: var(--gray-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* =====================================================
   3. TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
}

h1 {
  font-size: var(--text-2xl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-lg);
}

h4 {
  font-size: var(--text-base);
}

p {
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-muted {
  color: var(--gray-500);
}

.text-center {
  text-align: center;
}

/* Responsive Typography */
@media (min-width: 640px) {
  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-xl);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-4xl);
  }

  h2 {
    font-size: var(--text-3xl);
  }
}

/* =====================================================
   4. HEADER & NAVIGATION
   ===================================================== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-logo:hover {
  color: var(--primary-600);
}

/* Navigation */
.header-container nav {
  position: static;
}

.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  z-index: 1000;
}

.nav-menu.active {
  display: flex;
}

.nav-menu li {
  width: 100%;
}

.nav-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--gray-700);
  font-weight: var(--font-medium);
  transition: all var(--transition-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary-50);
  color: var(--primary-600);
}

/* Menu Toggle Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hamburger Icon Lines */
.hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: var(--space-1);
  }

  .nav-menu li {
    width: auto;
  }

  .nav-menu a {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: var(--primary-50);
  }
}

@media (min-width: 1024px) {
  .nav-menu a {
    padding: var(--space-2) var(--space-4);
  }
}

/* =====================================================
   5. MAIN CONTENT LAYOUT
   ===================================================== */
.main-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4);
  width: 100%;
}

@media (min-width: 640px) {
  .main-content {
    padding: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .main-content {
    padding: var(--space-8);
  }
}

/* Section Spacing */
.section {
  margin-bottom: var(--space-8);
}

.section-header {
  margin-bottom: var(--space-6);
}

.section-title {
  margin-bottom: var(--space-2);
}

.section-description {
  color: var(--gray-500);
}

/* =====================================================
   6. CARDS
   ===================================================== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-accent {
  position: relative;
}

.card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
}

.card-body {
  padding: var(--space-5);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.card-text {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Tool Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

/* Tool Card Specific */
.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-card .card-text {
  flex: 1;
  margin-bottom: var(--space-4);
}

/* =====================================================
   7. BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}

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

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  box-shadow: 0 2px 4px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(147, 51, 234, 0.4);
  color: white;
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--gray-900);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--primary-600);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  min-height: 52px;
}

/* Full Width Button */
.btn-block {
  width: 100%;
}

/* =====================================================
   8. FORMS
   ===================================================== */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3);
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--gray-900);
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.form-input:disabled,
.form-select:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-10);
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-top: var(--space-1);
}

.form-error {
  color: var(--error);
}

.form-input.error {
  border-color: var(--error);
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px var(--error-light);
}

/* =====================================================
   9. TABLES
   ===================================================== */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: white;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background: var(--gray-50);
  font-weight: var(--font-semibold);
  color: var(--gray-700);
  white-space: nowrap;
}

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover {
  background: var(--gray-50);
}

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

/* Zebra Striping */
.table-striped tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.table-striped tbody tr:nth-child(even):hover {
  background: var(--gray-100);
}

/* Responsive Table */
@media (max-width: 639px) {
  .table th,
  .table td {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
}

/* =====================================================
   10. ALERTS & MESSAGES
   ===================================================== */
.alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.alert-success {
  background: var(--success-light);
  color: #166534;
  border: 1px solid #86efac;
}

.alert-warning {
  background: var(--warning-light);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.alert-error {
  background: var(--error-light);
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-info {
  background: var(--info-light);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* =====================================================
   11. LOADER
   ===================================================== */
.loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.loader-lg {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-8);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =====================================================
   12. FOOTER
   ===================================================== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  margin-top: auto;
}

.site-footer p {
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.site-footer a {
  color: var(--gray-300);
}

.site-footer a:hover {
  color: white;
}

/* =====================================================
   13. UTILITY CLASSES
   ===================================================== */

/* Display */
.hidden {
  display: none !important;
}

.block {
  display: block;
}

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

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

/* Flexbox */
.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Spacing */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }

.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

/* Width */
.w-full {
  width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

/* =====================================================
   14. STRATEGY/RESULT BOXES
   ===================================================== */
.result-box {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  color: white;
}

.result-box-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

.result-box-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.result-box h3 {
  color: white;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.result-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2);
}

.result-box .value {
  font-weight: var(--font-semibold);
  color: white;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

/* =====================================================
   15. AUTH CONTAINER (Login/Signup)
   ===================================================== */

/* Auth loading wrapper - centers content while auth state is being checked */
.auth-loading-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Hide auth elements by default until JS determines auth state */
.auth-container,
.main-content[data-auth-required] {
  display: none;
}

/* Show auth container when explicitly made visible */
.auth-container.visible {
  display: block;
}

/* Show main content when explicitly made visible */
.main-content.visible {
  display: block;
}

.auth-container {
  max-width: 400px;
  margin: var(--space-8) auto;
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.auth-container h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.auth-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.auth-tab {
  flex: 1;
  padding: var(--space-3);
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-medium);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background: var(--primary-500);
  color: white;
}

.auth-tab:hover:not(.active) {
  background: var(--gray-200);
}

/* Token Display */
.token-display {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.token-count {
  font-weight: var(--font-semibold);
  color: var(--primary-600);
}

/* =====================================================
   16. EXPANDABLE ROWS
   ===================================================== */
.expandable-row {
  cursor: pointer;
  transition: background var(--transition-fast);
}

.expandable-row:hover {
  background: var(--primary-50);
}

.expandable-row td:first-child {
  position: relative;
  padding-left: var(--space-8);
}

.expandable-row td:first-child::before {
  content: '';
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--primary-500);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform var(--transition-fast);
}

.expandable-row.expanded td:first-child::before {
  transform: translateY(-50%) rotate(90deg);
}

.detail-row {
  display: none;
  background: var(--gray-50);
}

.detail-row.visible {
  display: table-row;
}

.detail-content {
  padding: var(--space-4) var(--space-6);
}

.detail-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

.detail-card:last-child {
  margin-bottom: 0;
}

.detail-header {
  font-weight: var(--font-semibold);
  color: var(--gray-800);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--gray-200);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-2);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
}

.detail-item .label {
  color: var(--gray-500);
}

.detail-item .value {
  font-weight: var(--font-medium);
  color: var(--gray-800);
}

/* =====================================================
   17. HERO SECTION
   ===================================================== */
.hero {
  text-align: center;
  padding: var(--space-10) var(--space-4);
  margin-bottom: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-600), var(--primary-400));
}

.hero h1 {
  margin-bottom: var(--space-4);
}

.hero p {
  font-size: var(--text-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero {
    padding: var(--space-16) var(--space-8);
  }
}

/* =====================================================
   18. INFO SECTION
   ===================================================== */
.info {
  text-align: center;
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  color: var(--gray-600);
}

.info a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info a:hover {
  color: var(--primary-700);
}

/* =====================================================
   19. NAVBAR LOGOUT BUTTON
   ===================================================== */
.nav-logout {
  display: none;
}

.nav-logout.visible {
  display: flex;
}

.nav-logout .btn-logout {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--gray-600);
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-logout .btn-logout:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--gray-800);
}

/* Mobile menu logout styling */
@media (max-width: 767px) {
  .nav-logout {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--gray-200);
    margin-top: var(--space-2);
  }

  .nav-logout .btn-logout {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* Auth error message styling */
.auth-error {
  color: var(--error);
  font-size: var(--text-sm);
  text-align: center;
  margin-bottom: var(--space-4);
  min-height: 1.25rem;
}

.auth-switch {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.auth-switch a {
  color: var(--primary-600);
  font-weight: var(--font-medium);
}

.auth-switch a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}
