/* ═══════════════════════════════════════════════════════════════════════════
   GROW by iViRTH — Global Styles
   Font: DM Sans | Palette: Black · White · Dark Green
   iViRTH Ark Project
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ── CSS Variables ── */
:root {
  --black:       #0a0a0a;
  --white:       #f8f9f5;
  --green-900:   #0d2b1a;
  --green-800:   #14401f;
  --green-700:   #1a5c2a;
  --green-600:   #226b30;
  --green-500:   #2d8a3e;
  --green-400:   #3aaa50;
  --green-300:   #5dca6e;
  --green-200:   #a0e4ab;
  --green-100:   #d4f4da;
  --green-50:    #f0fbf2;

  --bg:          #f8f9f5;
  --bg-2:        #eef2eb;
  --bg-card:     #ffffff;
  --bg-input:    #f2f5ef;
  --text-primary:#0a0a0a;
  --text-secondary:#3a4035;
  --text-muted:  #7a8874;
  --border:      #d0dac8;
  --border-focus:#2d8a3e;
  --accent:      #2d8a3e;
  --accent-dark: #1a5c2a;
  --accent-light:#d4f4da;
  --danger:      #c0392b;
  --warning:     #d68910;
  --info:        #2471a3;
  --success:     #1e8449;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:   0 16px 48px rgba(0,0,0,0.16);

  --font:        'DM Sans', sans-serif;
  --transition:  0.22s ease;
  --nav-h:       64px;
}

[data-theme="dark"] {
  --bg:          #0a0f0b;
  --bg-2:        #111a13;
  --bg-card:     #141f15;
  --bg-input:    #1a2a1c;
  --text-primary:#e8f0e5;
  --text-secondary:#adbfa6;
  --text-muted:  #6b8060;
  --border:      #233028;
  --border-focus:#3aaa50;
  --accent:      #3aaa50;
  --accent-dark: #2d8a3e;
  --accent-light:#1a5c2a;
  --danger:      #e74c3c;
  --warning:     #f39c12;
  --info:        #3498db;
  --success:     #27ae60;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.4);
  --shadow:      0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.6);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font-family: var(--font); font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.container-xs { max-width: 480px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }

/* ── Grid ── */
.grid { display: grid; gap: 1.5rem; }
.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-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Flex ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.navbar-brand .brand-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.navbar-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }
.page-body { padding-top: var(--nav-h); min-height: 100vh; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45,138,62,0.3);
}

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

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

.btn-dark {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}
.btn-dark:hover { opacity: 0.85; transform: translateY(-1px); }

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

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0.6rem; border-radius: var(--radius-sm); }

/* OAuth Buttons */
.btn-google {
  background: #fff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  font-weight: 500;
}
.btn-google:hover { background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #3c4043; }
[data-theme="dark"] .btn-google { background: #2a2a2a; color: #e0e0e0; border-color: #444; }

.btn-helix {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border: none;
}
.btn-helix:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

.btn-mp {
  background: linear-gradient(135deg, #1a237e, #283593);
  color: #fff;
  border: none;
}
.btn-mp:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card-hover:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-accent { border-left: 3px solid var(--accent); }
.card-header { padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.card-title { font-size: 1rem; font-weight: 700; }
.card-body { }
.card-footer { padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 1rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(45,138,62,0.12);
}
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.3rem; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 1rem;
  top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-green { background: var(--accent-light); color: var(--accent-dark); }
.badge-black { background: var(--text-primary); color: var(--bg); }
.badge-white { background: var(--bg-2); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-danger { background: #fde8e6; color: var(--danger); }
.badge-warning { background: #fef9e7; color: var(--warning); }
.badge-info { background: #ebf5fb; color: var(--info); }
[data-theme="dark"] .badge-green { background: var(--accent-light); color: var(--green-300); }
[data-theme="dark"] .badge-danger { background: rgba(192,57,43,0.2); }

/* ── Alerts ── */
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 3px solid;
  margin-bottom: 1rem;
}
.alert-success { background: var(--green-50); border-color: var(--accent); color: var(--accent-dark); }
.alert-danger { background: #fde8e6; border-color: var(--danger); color: var(--danger); }
.alert-warning { background: #fef9e7; border-color: var(--warning); color: var(--warning); }
.alert-info { background: #ebf5fb; border-color: var(--info); color: var(--info); }
[data-theme="dark"] .alert-success { background: rgba(45,138,62,0.15); }
[data-theme="dark"] .alert-danger { background: rgba(192,57,43,0.15); }

/* ── Stats/Numbers ── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.stat-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }
.stat-trend-up { color: var(--success); }
.stat-trend-down { color: var(--danger); }

/* ── Progress ── */
.progress {
  height: 6px;
  background: var(--bg-2);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.6s ease;
}
.progress-bar-black { background: var(--text-primary); }

/* ── Steps ── */
.steps { display: flex; gap: 0; align-items: center; }
.step-item { display: flex; align-items: center; flex: 1; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 1;
}
.step-num.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-num.done { background: var(--text-primary); border-color: var(--text-primary); color: var(--bg); }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 0.25rem; }
.step-line.done { background: var(--text-primary); }
.step-label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); margin-top: 0.3rem; text-align: center; }

/* ── Table ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg-2);
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-2); }

/* ── Tabs ── */
.tabs { display: flex; border-bottom: 1px solid var(--border); gap: 0; margin-bottom: 1.5rem; }
.tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none; border-left: none; border-right: none;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Range slider ── */
.range-wrap { position: relative; }
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-2);
  border-radius: 100px;
  outline: none;
  border: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(45,138,62,0.3);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}
.range-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

/* ── Hero Section ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(45,138,62,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 10% 80%, rgba(45,138,62,0.05) 0%, transparent 60%);
  pointer-events: none;
}
[data-theme="dark"] .hero-bg {
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(58,170,80,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 10% 80%, rgba(58,170,80,0.04) 0%, transparent 60%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--text-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--text-primary) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .hero-tag { background: rgba(45,138,62,0.2); color: var(--green-300); }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-desc { font-size: 1.15rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Feature Cards ── */
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
[data-theme="dark"] .feature-icon { background: rgba(45,138,62,0.2); }

/* ── Pricing Cards ── */
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-tag { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); }
.price-unit { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }

/* ── Dashboard Layout ── */
.dash-layout { display: flex; min-height: calc(100vh - var(--nav-h)); }
.dash-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.dash-main { flex: 1; padding: 2rem; max-width: calc(100vw - 240px); }
.sidebar-section { margin-bottom: 2rem; }
.sidebar-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-nav a:hover { background: var(--bg-2); color: var(--text-primary); }
.sidebar-nav a.active { background: var(--accent-light); color: var(--accent-dark); font-weight: 600; }
[data-theme="dark"] .sidebar-nav a.active { background: rgba(45,138,62,0.2); color: var(--green-300); }
.sidebar-icon { font-size: 1rem; flex-shrink: 0; }

/* ── Land Parcel Card ── */
.parcel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.parcel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.parcel-map {
  height: 140px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.parcel-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.parcel-body { padding: 1rem 1.25rem; }
.parcel-code { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.parcel-name { font-weight: 700; font-size: 1rem; margin: 0.2rem 0 0.5rem; }

/* ── ROI Calculator ── */
.roi-result-card {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
}
[data-theme="dark"] .roi-result-card { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); }
.roi-metric { text-align: center; }
.roi-metric-val { font-size: 2rem; font-weight: 800; color: var(--green-300); }
[data-theme="dark"] .roi-metric-val { color: var(--accent); }
.roi-metric-lbl { font-size: 0.78rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; }

/* ── Onboarding ── */
.onboard-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.onboard-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.onboard-sub { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Auth Page ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-xl);
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .logo-text { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text-primary); }
.auth-logo .logo-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }
.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Scheme Badges ── */
.scheme-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: #ebf5fb;
  color: #1a5276;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
[data-theme="dark"] .scheme-tag { background: rgba(26,82,118,0.2); color: #85c1e9; }

/* ── Footer ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.footer-tagline { font-size: 0.82rem; margin-top: 0.25rem; }
.footer-link { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-link:hover { color: var(--green-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-ivirth {
  color: var(--green-400);
  font-weight: 700;
}

/* ── Loading / Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--border) 50%, var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast ── */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--black);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toast.success { border-left: 3px solid var(--green-400); }
.toast.error { border-left: 3px solid var(--danger); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Misc Utils ── */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }
.shadow { box-shadow: var(--shadow); }
.hidden { display: none !important; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.opacity-50 { opacity: 0.5; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .dash-sidebar { display: none; }
  .dash-main { max-width: 100%; padding: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .navbar-nav { display: none; }
  .hero { padding: 2rem 0; }
  .hero-actions { flex-direction: column; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .auth-card { padding: 2rem 1.25rem; }
  .pricing-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { gap: 0; }
  .tab { padding: 0.6rem 0.75rem; font-size: 0.8rem; }
}

/* ── Scroll ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── PWA ── */
@media (display-mode: standalone) {
  .navbar { padding-top: env(safe-area-inset-top); }
}

/* ── Print ── */
@media print {
  .navbar, .dash-sidebar, .footer, .btn { display: none !important; }
  .dash-main { padding: 0; max-width: 100%; }
}
