/* ========================================
   TETRA Website - Main Styles
   ======================================== */

/* CSS Variables */
:root {
  /* Background Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a24;
  --bg-elevated: #22222e;
  --bg-hover: #2a2a38;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-tertiary: #606070;
  --text-muted: #404050;

  /* Border Colors */
  --border-primary: #2a2a38;
  --border-secondary: #1a1a24;

  /* App Accent Colors */
  --motus: #a855f7;
  --atlas: #5a9be0;
  --orbis: #3dc4d4;
  --omnis: #f07167;
  --dexus: #4ade80;
  --signum: #e3b341;
  --mercatus: #a78bfa;
  --cursor: #38bdf8;

  /* Primary Brand Gradient */
  --gradient-primary: linear-gradient(135deg, #a855f7 0%, #38bdf8 50%, #4ade80 100%);
  --gradient-text: linear-gradient(90deg, #a855f7, #38bdf8, #4ade80);

  /* Status Colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.3);

  /* Container */
  --container-max: 1280px;
  --container-padding: 24px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-tertiary);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.btn-text:hover {
  color: var(--text-primary);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 16px;
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  border-bottom-color: var(--border-primary);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 20px;
  font-weight: 700;
}

.logo-icon {
  font-size: 24px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon-img {
  height: 26px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 340px;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 14px;
}

.dropdown-item:hover {
  background: var(--bg-tertiary);
}

.app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.app-name {
  font-weight: 500;
  color: var(--text-primary);
}

.app-desc {
  margin-left: auto;
  color: var(--text-tertiary);
  font-size: 12px;
  padding-left: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.geometric-lines {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, transparent 49.5%, rgba(168, 85, 247, 0.1) 49.5%, rgba(168, 85, 247, 0.1) 50.5%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(56, 189, 248, 0.05) 49.5%, rgba(56, 189, 248, 0.05) 50.5%, transparent 50.5%);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-left: var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-primary);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.orb-container {
  position: relative;
  width: 500px;
  height: 500px;
}

.orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.3), rgba(56, 189, 248, 0.2), rgba(74, 222, 128, 0.1));
  box-shadow: 
    0 0 60px rgba(168, 85, 247, 0.3),
    0 0 120px rgba(56, 189, 248, 0.2),
    inset 0 0 60px rgba(255, 255, 255, 0.1);
  animation: orb-pulse 4s ease-in-out infinite;
}

.orb-inner {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2), transparent 60%);
}

.orb-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  animation: orb-glow 3s ease-in-out infinite alternate;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-1 {
  width: 280px;
  height: 280px;
  animation-duration: 15s;
}

.orbit-2 {
  width: 360px;
  height: 360px;
  animation-duration: 20s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 440px;
  height: 440px;
  animation-duration: 25s;
}

.orbit-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--color);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color);
}

/* ========================================
   Trusted Section
   ======================================== */

.trusted-section {
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

.trusted-label {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2xl);
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4xl);
  flex-wrap: wrap;
}

.logo-placeholder {
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-secondary);
  border: 1px dashed var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ========================================
   Section Common
   ======================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Products Section
   ======================================== */

.products-section {
  padding: 120px 0;
}

.product-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--space-xl);
  transition: transform var(--transition-slow);
}

.product-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 380px;
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card:hover {
  border-color: var(--glow-color, var(--border-primary));
  transform: translateY(-8px);
}

.product-card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--glow-color), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: 0;
}

.card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 24px;
}

.icon-placeholder {
  font-size: 24px;
}

.icon-placeholder.large {
  font-size: 36px;
}

/* App abbreviation chip (replaces emoji icons in product cards) */
.icon-abbr {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.icon-abbr.large {
  font-size: 26px;
}

/* ========================================
   Hub Spotlight Section
   ======================================== */
.hub-spotlight-section {
  padding: 80px 0 40px;
}

.hub-spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(56, 189, 248, 0.05) 50%, rgba(74, 222, 128, 0.08) 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 28px;
  overflow: hidden;
}

.hub-spotlight-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 180%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 65%);
  pointer-events: none;
}

.hub-spotlight-content {
  position: relative;
  z-index: 1;
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hub-badge-dot {
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  animation: hub-pulse 2s ease-in-out infinite;
}

@keyframes hub-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.hub-spotlight-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hub-spotlight-tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hub-spotlight-description {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hub-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.hub-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hub-feature-item-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.hub-feature-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.hub-feature-item span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.hub-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hub-spotlight-meta {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

/* Orbital visual */
.hub-spotlight-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.hub-orbit-container {
  position: relative;
  width: 380px;
  height: 380px;
}

.hub-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(168, 85, 247, 0.18);
  border-radius: 50%;
  animation: hub-spin 60s linear infinite;
}

.hub-orbit-ring-1 { width: 210px; height: 210px; }
.hub-orbit-ring-2 { width: 290px; height: 290px; border-color: rgba(56, 189, 248, 0.15); animation-duration: 90s; animation-direction: reverse; }
.hub-orbit-ring-3 { width: 380px; height: 380px; border-color: rgba(74, 222, 128, 0.12); animation-duration: 120s; }

@keyframes hub-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hub-orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 26px;
  color: white;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 16px 56px rgba(168, 85, 247, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.hub-orbit-app {
  position: absolute;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color);
  border-radius: 14px;
  color: white;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 2;
  transition: transform var(--transition-normal);
}

.hub-orbit-app:hover {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 4;
}

/* Responsive */
@media (max-width: 968px) {
  .hub-spotlight-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 32px;
  }
  .hub-spotlight-title { font-size: 40px; }
  .hub-orbit-container { width: 300px; height: 300px; }
  .hub-orbit-ring-1 { width: 170px; height: 170px; }
  .hub-orbit-ring-2 { width: 230px; height: 230px; }
  .hub-orbit-ring-3 { width: 300px; height: 300px; }
  .hub-orbit-center { width: 90px; height: 90px; font-size: 22px; }
  .hub-orbit-app { width: 44px; height: 44px; font-size: 15px; }
}

.card-tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.card-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.card-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.card-features li {
  position: relative;
  padding-left: var(--space-xl);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--space-md);
}

.card-visual {
  padding: 0 var(--space-2xl) var(--space-2xl);
}

.card-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-secondary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--bg-tertiary);
  border: 2px dashed var(--border-primary);
  border-radius: var(--radius-lg);
  color: var(--text-tertiary);
  text-align: center;
  padding: var(--space-xl);
}

.visual-placeholder span {
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.visual-placeholder small {
  font-size: 12px;
  color: var(--text-muted);
}

.visual-placeholder.small {
  min-height: 120px;
}

.visual-placeholder.large {
  min-height: 280px;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 20px;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

.carousel-dots {
  display: flex;
  gap: var(--space-sm);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--text-tertiary);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-md);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   How It Works Section
   ======================================== */

.how-section {
  padding: 120px 0;
}

.steps-container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.step {
  flex: 1;
  position: relative;
  padding: var(--space-2xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: var(--space-2xl);
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border-primary);
  margin-top: 80px;
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: var(--space-md);
}

.stat-card .stat-value {
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card .stat-label {
  margin-top: var(--space-sm);
}

/* ========================================
   Token Preview Section
   ======================================== */

.token-preview-section {
  padding: 120px 0;
}

.token-preview-card {
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
  padding: var(--space-4xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.token-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.token-preview-content {
  flex: 1;
}

.token-preview-content h2 {
  font-size: 36px;
  margin-bottom: var(--space-lg);
}

.token-preview-content > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.token-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.token-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.token-stat .value {
  font-size: 24px;
  font-weight: 700;
}

.token-stat .label {
  font-size: 13px;
  color: var(--text-tertiary);
}

.token-actions {
  display: flex;
  gap: var(--space-md);
}

.token-preview-visual {
  flex: 0 0 300px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: var(--space-lg);
}

.cta-content > p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.cta-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.decoration-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 80px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
}

.footer-main {
  display: flex;
  gap: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.footer-brand {
  flex: 0 0 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.footer-brand > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--bg-elevated);
}

.footer-links {
  flex: 1;
  display: flex;
  gap: var(--space-4xl);
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-primary);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-badges {
  display: flex;
  gap: var(--space-md);
}

.footer-badges .badge {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ========================================
   Modal
   ======================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  overflow-y: auto;
  padding: var(--space-2xl);
}

.modal-large {
  max-width: 720px;
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 20px;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* Token Modal */
.token-modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.token-logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
}

.token-logo-placeholder {
  font-size: 32px;
  color: var(--bg-primary);
}

.token-header-info h2 {
  font-size: 24px;
  margin-bottom: var(--space-xs);
}

.token-ticker {
  font-size: 14px;
  color: var(--text-tertiary);
}

.token-modal-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.token-stat-card {
  padding: var(--space-lg);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.token-stat-card .label {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.token-stat-card .value {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.token-stat-card .change {
  display: inline-block;
  margin-left: var(--space-sm);
  font-size: 12px;
}

.token-stat-card .change.positive {
  color: var(--success);
}

.token-stat-card .change.negative {
  color: var(--error);
}

.token-modal-section {
  margin-bottom: var(--space-2xl);
}

.token-modal-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.contract-address {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.contract-address code {
  flex: 1;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.contract-warning {
  font-size: 12px;
  color: var(--warning);
}

.exchange-links {
  display: flex;
  gap: var(--space-md);
}

.exchange-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.exchange-link:hover {
  background: var(--bg-elevated);
}

.exchange-icon {
  font-size: 18px;
}

.chart-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.chart-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.chart-link:hover {
  background: var(--bg-elevated);
}

.external-icon {
  color: var(--text-tertiary);
}

.token-modal-actions {
  display: flex;
  gap: var(--space-md);
}

.token-modal-actions .btn-primary,
.token-modal-actions .btn-secondary {
  flex: 1;
  justify-content: center;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1200px) {
  .hero-visual {
    display: none;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 var(--container-padding);
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .product-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .token-preview-card {
    flex-direction: column;
    text-align: center;
  }
  
  .token-preview-visual {
    order: -1;
  }
  
  .token-stats {
    justify-content: center;
  }
  
  .token-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
  
  .nav-menu,
  .nav-actions {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .product-card {
    flex: 0 0 100%;
    min-width: unset;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    flex-direction: column;
  }
  
  .footer-brand {
    flex: 1;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .token-modal-stats {
    grid-template-columns: 1fr;
  }
  
  .chart-links {
    grid-template-columns: 1fr;
  }
  
  .exchange-links {
    flex-direction: column;
  }
}
