/* ============================================================
   ABACI DOMAINS — Design System
   Premium Domain Registrar • abacidomain.top
   ============================================================ */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #6366F1;
  --color-accent-hover: #4F46E5;
  --color-accent-light: rgba(99, 102, 241, 0.08);
  --color-success: #10B981;
  --color-success-light: rgba(16, 185, 129, 0.1);
  --color-warning: #F59E0B;
  --color-warning-light: rgba(245, 158, 11, 0.1);
  --color-danger: #EF4444;
  --color-danger-light: rgba(239, 68, 68, 0.1);
  --color-info: #3B82F6;
  --color-info-light: rgba(59, 130, 246, 0.1);
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-accent: 0 4px 14px rgba(99, 102, 241, 0.35);

  /* Typography */
  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-overlay: 500;
  --z-modal: 510;
  --z-toast: 600;
  --z-loading: 700;

  /* Layout */
  --nav-height: 72px;
  --sidebar-width: 260px;
  --container-max: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background-color: var(--color-accent);
  color: #fff;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

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

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

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: -0.01em;
}

.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section--sm { padding: var(--space-12) 0; }
.section--lg { padding: var(--space-24) 0; }

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper > main { flex: 1; }

/* ============================================================
   5. NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-sticky);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--color-text);
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
}

.nav--transparent .nav-brand { color: #fff; }

.nav-brand__icon {
  width: 32px;
  height: 32px;
  background-image: url('../img/logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  position: relative;
  padding: var(--space-1) 0;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav--transparent .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

.nav--transparent .nav-links a:hover,
.nav--transparent .nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.nav-cart:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.nav--transparent .nav-cart {
  color: rgba(255, 255, 255, 0.8);
}

.nav--transparent .nav-cart:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
  cursor: pointer;
}

.nav--transparent .mobile-menu-btn { color: #fff; }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu.open {
  display: flex;
  animation: slideDown var(--duration-normal) var(--ease-out);
}

.mobile-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-md);
}

.mobile-menu a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.93rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
  user-select: none;
  position: relative;
  overflow: hidden;
}

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

.btn i { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
  border-color: var(--color-danger);
}

.btn-danger:hover {
  background: #DC2626;
  border-color: #DC2626;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-border-light);
  color: var(--color-text);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.83rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

.btn--loading .btn-text { visibility: hidden; }
.btn--loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ============================================================
   7. FORMS
   ============================================================ */
.label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.label span.required {
  color: var(--color-danger);
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

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

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

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

.form-error {
  font-size: 0.82rem;
  color: var(--color-danger);
  margin-top: var(--space-1);
  display: none;
}

.form-error.visible { display: block; }

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  flex: 1;
}

.input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex-shrink: 0;
}

.input-group .input-addon {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--color-border-light);
  border: 1.5px solid var(--color-border);
  border-left: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.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='%2394A3B8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: 0.93rem;
  color: var(--color-text-secondary);
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--color-border);
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.checkbox input[type="checkbox"]:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-group {
  margin-bottom: var(--space-5);
}

/* Toggle switch */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.toggle input { display: none; }

.toggle__track {
  width: 44px;
  height: 24px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  position: relative;
  transition: background var(--duration-fast) var(--ease-out);
}

.toggle input:checked + .toggle__track {
  background: var(--color-accent);
}

.toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-out);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle input:checked + .toggle__track::after {
  transform: translateX(20px);
}

/* ============================================================
   8. CARDS
   ============================================================ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3,
.card-header h4 {
  margin: 0;
}

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

.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg);
}

/* Stats Card */
.stats-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.stats-card:hover {
  box-shadow: var(--shadow-md);
}

.stats-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-card__icon--accent { background: var(--color-accent-light); color: var(--color-accent); }
.stats-card__icon--success { background: var(--color-success-light); color: var(--color-success); }
.stats-card__icon--warning { background: var(--color-warning-light); color: var(--color-warning); }
.stats-card__icon--danger { background: var(--color-danger-light); color: var(--color-danger); }
.stats-card__icon--info { background: var(--color-info-light); color: var(--color-info); }

.stats-card__info { flex: 1; }

.stats-card__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
  font-weight: 500;
}

.stats-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stats-card__change {
  font-size: 0.8rem;
  margin-top: var(--space-1);
}

/* Domain Card */
.domain-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: all var(--duration-normal) var(--ease-out);
}

.domain-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}

.domain-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-mono);
}

.domain-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.domain-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Pricing Card */
.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.pricing-card__tld {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: var(--space-3) 0;
  letter-spacing: -0.02em;
}

.pricing-card__price small {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-card__original {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: var(--space-1);
}

.pricing-card__sale {
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   9. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  line-height: 1.5;
  white-space: nowrap;
}

.badge-success {
  background: var(--color-success-light);
  color: #059669;
}

.badge-warning {
  background: var(--color-warning-light);
  color: #B45309;
}

.badge-danger {
  background: var(--color-danger-light);
  color: #DC2626;
}

.badge-info {
  background: var(--color-info-light);
  color: #2563EB;
}

.badge-neutral {
  background: var(--color-border-light);
  color: var(--color-text-secondary);
}

/* Status Dot */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot--active { background: var(--color-success); box-shadow: 0 0 0 3px var(--color-success-light); }
.status-dot--warning { background: var(--color-warning); box-shadow: 0 0 0 3px var(--color-warning-light); }
.status-dot--danger { background: var(--color-danger); box-shadow: 0 0 0 3px var(--color-danger-light); }
.status-dot--neutral { background: var(--color-text-muted); }

/* ============================================================
   10. TABLES
   ============================================================ */
.table-wrap,
.table-responsive {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.table td {
  padding: var(--space-3) var(--space-4);
  font-size: 0.93rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

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

.table-striped tbody tr:nth-child(even) {
  background: var(--color-bg);
}

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

.table tbody tr:hover {
  background: var(--color-accent-light);
}

.table-clickable tbody tr {
  cursor: pointer;
}

/* ============================================================
   11. MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

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

.modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp var(--duration-normal) var(--ease-out);
}

.modal-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 { font-size: 1.15rem; margin: 0; }

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.modal-close:hover {
  background: var(--color-border-light);
  color: var(--color-text);
}

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

/* ============================================================
   12. TOASTS
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
  max-width: 380px;
  width: 100%;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  pointer-events: all;
  animation: slideIn var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.toast-success::before { background: var(--color-success); }
.toast-error::before { background: var(--color-danger); }
.toast-info::before { background: var(--color-info); }
.toast-warning::before { background: var(--color-warning); }

.toast__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-success .toast__icon { color: var(--color-success); }
.toast-error .toast__icon { color: var(--color-danger); }
.toast-info .toast__icon { color: var(--color-info); }
.toast-warning .toast__icon { color: var(--color-warning); }

.toast__message {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

.toast__close {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.toast__close:hover { color: var(--color-text); }

.toast--exit {
  animation: slideOut var(--duration-normal) var(--ease-out) forwards;
}

/* ============================================================
   13. TABS
   ============================================================ */
.tabs {
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: var(--space-3) var(--space-5);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  background: none;
}

.tab-btn:hover {
  color: var(--color-text);
}

.tab-btn.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.tab-content {
  display: none;
  padding: var(--space-6) 0;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

.tab-content.active {
  display: block;
}

/* ============================================================
   14. SIDEBAR
   ============================================================ */
.layout-sidebar {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-4);
  position: fixed;
  top: var(--nav-height);
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 50;
}

.sidebar-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-4) var(--space-4) var(--space-2);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.sidebar-link:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.sidebar-link.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: 600;
}

.sidebar-link i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-link .sidebar-badge {
  margin-left: auto;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.layout-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: var(--space-8);
  max-width: calc(100% - var(--sidebar-width));
}

/* ============================================================
   15. HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-canvas canvas {
  width: 100% !important;
  height: 100% !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: var(--space-6);
}

.hero-content h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-5);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.hero-accent {
  color: var(--color-accent);
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  max-width: 620px;
  margin: 0 auto;
}

.search-bar:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-bar__input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1.1rem;
  background: transparent;
  color: #fff;
  border: none;
  min-width: 0;
}

.search-bar__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-bar__select {
  padding: 0 14px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  appearance: none;
  min-width: 80px;
  text-align: center;
}

.search-bar__select option {
  background: var(--color-primary);
  color: #fff;
}

.search-bar__btn {
  padding: 16px 28px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.search-bar__btn:hover {
  background: var(--color-accent-hover);
}

/* Search bar light variant (for search results page) */
.search-bar--light {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.search-bar--light .search-bar__input {
  color: var(--color-text);
}

.search-bar--light .search-bar__input::placeholder {
  color: var(--color-text-muted);
}

.search-bar--light .search-bar__select {
  color: var(--color-text-secondary);
  border-left-color: var(--color-border);
}

.search-bar--light .search-bar__select option {
  background: var(--color-surface);
  color: var(--color-text);
}

/* Hero Quick TLDs */
.hero-tlds {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.hero-tld {
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.hero-tld:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-tld strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

.footer-brand {
  margin-bottom: var(--space-4);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.footer ul li {
  margin-bottom: var(--space-3);
}

.footer ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: var(--space-12);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   17. SKELETON LOADING
   ============================================================ */
.skeleton, .skeleton-card, .skeleton-text, .skeleton-heading, .skeleton-avatar {
  position: relative;
  overflow: hidden;
  background: var(--color-border-light);
  border-radius: var(--radius-md);
}

.skeleton::after, .skeleton-card::after, .skeleton-text::after, .skeleton-heading::after, .skeleton-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
  transform: translateX(-100%);
}

.skeleton-text {
  height: 14px;
  width: 80%;
  margin-bottom: var(--space-2);
}

.skeleton-heading {
  height: 24px;
  width: 50%;
  margin-bottom: var(--space-4);
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-lg);
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}


/* Page Loading Boot Loader */
.page-loading {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: var(--z-loading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
  transition: opacity var(--duration-slow) var(--ease-out);
}

.page-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loading__logo-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2.5s infinite ease-in-out;
}

.page-loading__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: normal;
}

.page-loading__bar-container {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.page-loading__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-success) 100%);
  width: 0%;
  border-radius: var(--radius-pill);
  animation: loadProgress 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  35% { width: 50%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

/* ============================================================
   18. EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-6);
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--color-accent);
}

.empty-state h3 {
  margin-bottom: var(--space-3);
}

.empty-state p {
  max-width: 360px;
  margin: 0 auto var(--space-6);
}

/* ============================================================
   19. AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: var(--color-bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.auth-card__logo {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-card__logo a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-text);
  text-decoration: none;
}

.auth-card h2 {
  text-align: center;
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
}

.auth-card__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  margin-bottom: var(--space-8);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-6);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.auth-footer a {
  font-weight: 600;
}

/* ============================================================
   20. ADMIN STYLES
   ============================================================ */
.admin-sidebar {
  background: var(--color-primary);
}

.admin-sidebar .sidebar-label {
  color: rgba(255, 255, 255, 0.35);
}

.admin-sidebar .sidebar-link {
  color: rgba(255, 255, 255, 0.6);
}

.admin-sidebar .sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-sidebar .sidebar-link.active {
  background: rgba(99, 102, 241, 0.2);
  color: var(--color-accent);
}

.admin-sidebar .sidebar-brand {
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.admin-sidebar .sidebar-brand a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.warning-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-warning-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  color: #92400E;
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.warning-banner i { color: var(--color-warning); flex-shrink: 0; }

/* ============================================================
   21. ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(30px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.animate-fadeIn { animation: fadeIn var(--duration-normal) var(--ease-out); }
.animate-slideUp { animation: slideUp var(--duration-normal) var(--ease-out); }

/* ============================================================
   22. UTILITY CLASSES
   ============================================================ */
/* Display */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Grid */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Gap */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Text */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-accent { color: var(--color-accent); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

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

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

.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: 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); }

/* Width */
.w-full { width: 100%; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }

/* Visibility */
.hidden { display: none !important; }
.show { display: block !important; }
.invisible { visibility: hidden; }
.overflow-hidden { overflow: hidden; }

/* Misc */
.rounded-full { border-radius: var(--radius-pill); }
.border { border: 1px solid var(--color-border); }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.relative { position: relative; }

/* ============================================================
   23. RESPONSIVE
   ============================================================ */

/* Small phones */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }
  
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  
  .search-bar { flex-wrap: wrap; }
  .search-bar__input { min-width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .search-bar__select { flex: 1; border-left: none; padding: 12px 14px; }
  .search-bar__btn { flex: 1; justify-content: center; }
  
  .search-bar--light .search-bar__input { border-bottom-color: var(--color-border); }
  
  .container { padding: 0 var(--space-4); }
  
  .toast-container { left: var(--space-4); right: var(--space-4); max-width: none; }
}

/* Up to tablet */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }
  
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  
  /* Hide desktop auth buttons/dropdowns in nav-user on mobile */
  .nav-user > a:not(.nav-cart), 
  .nav-user > .nav-user-menu {
    display: none !important;
  }

  /* Prevent brand logo/text wrap on mobile and adjust font size */
  .nav-brand {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .nav__inner {
    padding: 0 var(--space-4);
  }
  
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  
  .sidebar { display: none; }
  .layout-main { margin-left: 0; max-width: 100%; padding: var(--space-5); }
  
  .sidebar.mobile-open {
    display: block;
    width: 100%;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal-overlay);
    animation: fadeIn var(--duration-normal) var(--ease-out);
  }
  
  .admin-sidebar.mobile-open { display: block; }
  
  .hero-content h1 { font-size: 2.5rem; }
  .hero-tlds { gap: var(--space-2); }
  
  .stats-card__value { font-size: 1.4rem; }
  
  .domain-card { flex-direction: column; align-items: flex-start; }
  .domain-card__actions { width: 100%; justify-content: flex-end; }
  
  .auth-card { padding: var(--space-8) var(--space-6); }
  
  .section { padding: var(--space-12) 0; }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  
  .hero-content h1 { font-size: 3rem; }
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* Fine-tune for standard desktops */
}

/* Large screens */
@media (min-width: 1441px) {
  :root {
    --container-max: 1320px;
  }
}

/* ============================================================
   24. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .skeleton::after { animation: none; }
}

/* ============================================================
   25. FAQ SECTION (GEO OPTIMIZED)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--space-5) var(--space-6);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  outline: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
