/* ============================================================
   AtlasWealth — Premium Fintech Landing Page
   Dark theme · Blue-purple accents · Mobile-first
   ============================================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #070B14;
  color: #E2E8F0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --indigo: #6366F1;
  --indigo-light: #818CF8;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;

  --bg-base: #070B14;
  --bg-surface: #0D1321;
  --bg-card: #111827;
  --bg-card-border: rgba(99,102,241,0.15);
  --bg-input: #1E293B;

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border-subtle: rgba(148,163,184,0.1);
  --border-medium: rgba(148,163,184,0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ---- UTILITY CLASSES ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo-light), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.green { color: var(--green); }

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--indigo-light);
}

.badge--glow {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 0 20px rgba(99,102,241,0.2);
}

.badge--green {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.3);
  color: #34D399;
  font-size: 11px;
  padding: 3px 8px;
}

.badge--light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #CBD5E1;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.5);
  background: linear-gradient(135deg, #7477F5, #9D70F7);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn--outline:hover {
  border-color: var(--indigo);
  color: var(--indigo-light);
  background: rgba(99,102,241,0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 8px;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- SECTION DEFAULTS ---- */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), border-color var(--transition-slow);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 4px;
  border-radius: 6px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255,255,255,0.05);
}

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(7,11,20,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu__link {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}

.mobile-menu__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  bottom: 0;
  right: -80px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero__subtext {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

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

.trust-signal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Dashboard visual */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-card {
  background: linear-gradient(145deg, #111827, #0D1321);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.dashboard-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dashboard-card__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.dashboard-card__value {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.dashboard-card__cents {
  font-size: 24px;
  color: var(--text-secondary);
}

.chart-svg {
  width: 100%;
  height: 80px;
  margin-bottom: 20px;
}

.alloc-bar {
  display: flex;
  height: 8px;
  border-radius: 100px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 12px;
}

.alloc-bar__fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.5s ease;
}

.alloc-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.alloc-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.alloc-legend__item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-card__label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-card__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.mini-card__value.green {
  color: var(--green);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}

.trust-logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.trust-logo:hover {
  opacity: 1;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.12);
}

.feature-card--highlight {
  background: linear-gradient(145deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
  border-color: rgba(99,102,241,0.25);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card__list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-card__list li:last-child {
  border-bottom: none;
}

.feature-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  flex-shrink: 0;
}

/* ============================================================
   RISK PROFILE
   ============================================================ */
.risk-section {
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04) 50%, transparent);
}

.risk-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.risk-tabs__nav {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 6px;
  gap: 4px;
  margin-bottom: 32px;
}

.risk-tab {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  text-align: center;
}

.risk-tab.active {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.risk-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.risk-tabs__content {
  position: relative;
}

.risk-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.risk-panel.active {
  display: grid;
}

.risk-panel__header {
  margin-bottom: 28px;
}

.risk-panel__header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0 12px;
}

.risk-panel__header p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.risk-badge--low {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34D399;
}

.risk-badge--med {
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: #FBBF24;
}

.risk-badge--high {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #F87171;
}

.risk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.risk-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.risk-stat__label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.risk-stat__value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Donut charts */
.donut-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.donut-svg {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.donut-legend {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donut-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.donut-legend__item i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.donut-legend__item span {
  flex: 1;
  color: var(--text-secondary);
}

.donut-legend__item b {
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   PORTFOLIOS
   ============================================================ */
.portfolios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.12);
}

.portfolio-card--featured {
  border-color: rgba(99,102,241,0.35);
  background: linear-gradient(145deg, rgba(99,102,241,0.07), var(--bg-card));
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
}

.portfolio-card__featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.portfolio-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.portfolio-card__type {
  font-size: 13px;
  color: var(--text-muted);
}

.portfolio-card__return {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}

.portfolio-card__return span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.alloc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
}

.alloc-row__name {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alloc-row__bar-wrap {
  width: 100px;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.alloc-row__bar {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease;
}

.alloc-row__pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 32px;
  text-align: right;
}

.portfolio-card__footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.portfolios-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   DASHBOARD MOCKUP
   ============================================================ */
.dashboard-section {
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03));
}

.dashboard-preview {
  display: flex;
  justify-content: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 860px;
  background: var(--bg-card);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(99,102,241,0.12);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mockup-dots span:nth-child(1) { background: rgba(239,68,68,0.5); }
.mockup-dots span:nth-child(2) { background: rgba(245,158,11,0.5); }
.mockup-dots span:nth-child(3) { background: rgba(16,185,129,0.5); }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 4px 12px;
  max-width: 200px;
  margin: 0 auto;
}

.mockup-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 400px;
}

.mockup-sidebar {
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mockup-logo-mini {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.mockup-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mockup-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 8px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.mockup-nav__item.active {
  background: rgba(99,102,241,0.15);
  color: var(--indigo-light);
}

.mockup-main {
  padding: 20px;
  overflow: hidden;
}

.mockup-greeting {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.mockup-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mockup-stat-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.mockup-stat-change {
  font-size: 9px;
  color: var(--text-muted);
}
.mockup-stat-change.green { color: var(--green); }

.mockup-chart-area {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.mockup-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 600;
}

.mockup-time-btns {
  display: flex;
  gap: 4px;
}

.mockup-time-btn {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.mockup-time-btn.active {
  background: rgba(99,102,241,0.2);
  color: var(--indigo-light);
}

.mockup-chart-svg {
  width: 100%;
  height: 60px;
}

.mockup-holdings {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
}

.mockup-holdings-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.mockup-holding-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 10px;
}

.mockup-holding-row:last-child { border-bottom: none; }

.mockup-ticker {
  font-weight: 700;
  color: var(--indigo-light);
  font-size: 10px;
}

.mockup-ticker-name {
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-ticker-pct {
  font-weight: 700;
  font-size: 10px;
}
.mockup-ticker-pct.green { color: var(--green); }

.mockup-ticker-val {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   SECURITY
   ============================================================ */
.security-section {
  background: var(--bg-surface);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.security-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-2px);
}

.security-card__icon {
  margin-bottom: 20px;
}

.security-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.security-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  background: linear-gradient(180deg, transparent, rgba(139,92,246,0.04) 50%, transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 32px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(145deg, rgba(99,102,241,0.08), var(--bg-card));
  box-shadow: 0 8px 40px rgba(99,102,241,0.18);
}

.pricing-card__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__tier {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo-light);
  margin-bottom: 12px;
}

.pricing-card__price {
  margin-bottom: 16px;
}

.pricing-card__amount {
  font-size: 44px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-card__period {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card__features li.included::before {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%2310B981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.pricing-card__features li.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-card__features li.excluded::before {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-container {
  max-width: 740px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(99,102,241,0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--indigo-light);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--indigo-light);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist-section {
  padding: 80px 0;
}

.waitlist-card {
  position: relative;
  background: linear-gradient(145deg, rgba(99,102,241,0.1), rgba(139,92,246,0.07));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}

.waitlist-card__orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.waitlist-card__content {
  position: relative;
  z-index: 1;
}

.waitlist-card .badge {
  margin-bottom: 20px;
}

.waitlist-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.waitlist-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.65;
}

.waitlist-form {
  max-width: 520px;
  margin: 0 auto 32px;
}

.waitlist-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.waitlist-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

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

.waitlist-input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.waitlist-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.waitlist-form__error {
  font-size: 13px;
  color: #F87171;
  min-height: 20px;
  text-align: left;
}

.waitlist-form__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  padding: 12px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.waitlist-form__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.waitlist-form__note a {
  color: var(--indigo-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.waitlist-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

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

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.65;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(99,102,241,0.1);
  border-color: var(--indigo);
  color: var(--indigo-light);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.footer__legal {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — TABLET (640px+)
   ============================================================ */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .risk-panel {
    grid-template-columns: 1fr 1fr;
  }

  .donut-chart {
    flex-direction: row;
    align-items: center;
  }

  .waitlist-form__fields {
    flex-direction: row;
  }

  .footer__links {
    grid-template-columns: repeat(4, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolios-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header__actions {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolios-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 2fr;
  }
}

/* ============================================================
   RESPONSIVE — LARGE (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .mockup-body {
    grid-template-columns: 80px 1fr;
  }

  .mockup-sidebar {
    padding: 20px 12px;
  }

  .mockup-nav__item {
    font-size: 9px;
  }

  .risk-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   SCROLLBAR CUSTOMIZATION
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(99,102,241,0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99,102,241,0.5);
}

/* ============================================================
   FOCUS STYLES (ACCESSIBILITY)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(99,102,241,0.3);
  color: var(--text-primary);
}
