/* ===== Custom Properties ===== */
:root {
  --purple-900: #2e1065;
  --purple-800: #3b0764;
  --purple-700: #6d28d9;
  --purple-600: #7C3AED;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --purple-200: #ddd6fe;
  --purple-100: #ede9fe;
  --cyan: #06D6A0;
  --cyan-light: #34ebc1;
  --pink: #FF6B9D;
  --pink-light: #ff8fb8;
  --dark-bg: #0f0a1a;
  --dark-bg-alt: #1a1033;
  --dark-footer: #0a0612;
  --light-bg: #ffffff;
  --light-bg-alt: #faf8ff;
  --text-dark: #e2d9f3;
  --text-muted: #9b8ab8;
  --text-body: #4a4358;
  --glass-bg: rgba(124, 58, 237, 0.08);
  --glass-border: rgba(124, 58, 237, 0.18);
  --glass-bg-dark: rgba(255,255,255,0.04);
  --glass-border-dark: rgba(255,255,255,0.08);
  --font-heading: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Space Grotesk', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-purple: 0 0 30px rgba(124, 58, 237, 0.25);
  --shadow-cyan: 0 0 30px rgba(6, 214, 160, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--dark-bg);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Sections ===== */
.section-dark {
  background: var(--dark-bg);
  color: var(--text-dark);
}

.section-dark-alt {
  background: var(--dark-bg-alt);
  color: var(--text-dark);
}

.section-light {
  background: var(--light-bg);
  color: var(--text-body);
}

.section-light-alt {
  background: var(--light-bg-alt);
  color: var(--text-body);
}

.section-padding {
  padding: 100px 0;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo .logo-accent {
  background: linear-gradient(135deg, var(--purple-500), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--cyan));
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--glass-border-dark);
}

.btn-primary {
  padding: 8px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: var(--dark-bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--purple-400);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(6, 214, 160, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--purple-300) 40%, var(--cyan) 70%, var(--pink) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  background: linear-gradient(135deg, var(--purple-500), var(--cyan), var(--pink));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.hero-cta:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), 0 0 80px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.stat-badge:nth-child(2) {
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-badge .stat-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.stat-badge .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Particle area */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
}

.particle:nth-child(1) { width: 4px; height: 4px; background: var(--purple-500); left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { width: 3px; height: 3px; background: var(--cyan); left: 25%; animation-duration: 10s; animation-delay: 2s; }
.particle:nth-child(3) { width: 5px; height: 5px; background: var(--pink); left: 40%; animation-duration: 14s; animation-delay: 4s; }
.particle:nth-child(4) { width: 3px; height: 3px; background: var(--purple-400); left: 55%; animation-duration: 11s; animation-delay: 1s; }
.particle:nth-child(5) { width: 4px; height: 4px; background: var(--cyan); left: 70%; animation-duration: 13s; animation-delay: 3s; }
.particle:nth-child(6) { width: 3px; height: 3px; background: var(--purple-300); left: 85%; animation-duration: 9s; animation-delay: 5s; }
.particle:nth-child(7) { width: 5px; height: 5px; background: var(--pink); left: 15%; animation-duration: 15s; animation-delay: 6s; }
.particle:nth-child(8) { width: 4px; height: 4px; background: var(--cyan); left: 60%; animation-duration: 11s; animation-delay: 2.5s; }
.particle:nth-child(9) { width: 3px; height: 3px; background: var(--purple-500); left: 80%; animation-duration: 12s; animation-delay: 4.5s; }
.particle:nth-child(10) { width: 4px; height: 4px; background: var(--pink); left: 35%; animation-duration: 10s; animation-delay: 1.5s; }

@keyframes particle-float {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px); opacity: 0; }
}

/* ===== Tracking Section ===== */
.tracking-section {
  background: var(--light-bg-alt);
}

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

.section-header .section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-tag-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-600);
}

.section-tag-cyan {
  background: rgba(6, 214, 160, 0.1);
  color: #059669;
}

.section-tag-dark {
  background: rgba(255,255,255,0.06);
  color: var(--purple-400);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header.dark h2 {
  color: #fff;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.75;
}

.tracking-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tracking-info {
  padding: 40px;
}

.tracking-order-num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tracking-order-id {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-700);
  margin-bottom: 28px;
}

.tracking-timeline {
  position: relative;
  padding-left: 28px;
  margin-bottom: 28px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple-600), var(--purple-200));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-200);
  border: 2px solid var(--purple-400);
}

.timeline-item.active::before {
  background: var(--purple-600);
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.timeline-item .time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.timeline-item .event {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1033;
}

.tracking-courier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--light-bg-alt);
  margin-bottom: 20px;
}

.courier-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.courier-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1033;
}

.courier-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tracking-eta {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(6,214,160,0.06));
  border: 1px solid rgba(124, 58, 237, 0.1);
  text-align: center;
}

.eta-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.eta-time {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple-700);
}

.tracking-map {
  position: relative;
  background: linear-gradient(135deg, #ede9fe, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  overflow: hidden;
}

.tracking-map::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, var(--purple-500), var(--cyan)) 1;
  opacity: 0.4;
}

.map-placeholder {
  text-align: center;
  color: var(--purple-600);
  opacity: 0.6;
}

.map-placeholder .map-icon {
  font-size: 4rem;
  margin-bottom: 12px;
}

.map-placeholder p {
  font-size: 0.9rem;
  font-weight: 500;
}

.map-route {
  position: absolute;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--cyan));
  top: 55%;
  left: 20%;
  border-radius: 2px;
}

.map-route::before, .map-route::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.map-route::before {
  left: -7px;
  background: var(--purple-600);
  box-shadow: 0 0 10px rgba(124,58,237,0.5);
}

.map-route::after {
  right: -7px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(6,214,160,0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ===== AI Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.12), 0 0 60px rgba(124, 58, 237, 0.04);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== Generative UI Section ===== */
.gen-ui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gen-ui-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition: var(--transition);
}

.gen-ui-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
}

.gen-ui-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--purple-100), #f0fdfa);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.gen-ui-header .dot-group {
  display: flex;
  gap: 5px;
}

.gen-ui-header .dot-group span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gen-ui-header .dot-group span:nth-child(1) { background: #ef4444; }
.gen-ui-header .dot-group span:nth-child(2) { background: #f59e0b; }
.gen-ui-header .dot-group span:nth-child(3) { background: #22c55e; }

.gen-ui-header .ui-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-700);
}

.gen-ui-body {
  padding: 24px 20px;
}

.gen-ui-body .mock-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e5e1ee;
  background: var(--light-bg-alt);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.gen-ui-body .mock-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.gen-ui-body .mock-tag {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-tag-purple {
  background: var(--purple-100);
  color: var(--purple-700);
}

.mock-tag-cyan {
  background: #ecfdf5;
  color: #059669;
}

.mock-tag-pink {
  background: #fdf2f8;
  color: #db2777;
}

.gen-ui-body .mock-result {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(6,214,160,0.04));
  border: 1px dashed rgba(124, 58, 237, 0.15);
  font-size: 0.82rem;
  color: var(--text-body);
  margin-top: 14px;
}

.mock-result strong {
  color: var(--purple-700);
}

.gen-ui-body .mock-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 12px;
}

.gen-ui-body .mock-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ecf5;
  font-size: 0.85rem;
}

.gen-ui-body .mock-list-item:last-child {
  border-bottom: none;
}

.mock-status {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.mock-status-green { background: #ecfdf5; color: #059669; }
.mock-status-yellow { background: #fffbeb; color: #d97706; }
.mock-status-red { background: #fef2f2; color: #dc2626; }

/* ===== Enterprise Section ===== */
.section-gradient-purple {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-900), #1a0533);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-gradient-purple::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.enterprise-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.enterprise-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.enterprise-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.enterprise-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.enterprise-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enterprise-card ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding-left: 18px;
  position: relative;
}

.enterprise-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ===== Developer Section ===== */
.dev-section {
  background: var(--dark-bg-alt);
}

.dev-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dev-text h3 {
  font-size: 1rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.dev-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

.dev-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.dev-logo-item {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--cyan));
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(6, 214, 160, 0.3), 0 0 60px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.code-block {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0820;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-header .dot-group {
  display: flex;
  gap: 6px;
}

.code-header .dot-group span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-header .dot-group span:nth-child(1) { background: #ef4444; }
.code-header .dot-group span:nth-child(2) { background: #f59e0b; }
.code-header .dot-group span:nth-child(3) { background: #22c55e; }

.code-header .code-lang {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.code-body {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  overflow-x: auto;
}

.code-body pre {
  white-space: pre;
}

.code-keyword { color: var(--purple-400); }
.code-string { color: var(--cyan); }
.code-comment { color: #5a5278; }
.code-func { color: var(--pink); }
.code-var { color: #e2d9f3; }
.code-punct { color: #8b7aaa; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.06);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.04);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-400), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a1033;
}

.testimonial-company {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600), #0891b2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  position: relative;
}

.cta-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
  position: relative;
}

.cta-form input {
  flex: 1;
  padding: 16px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}

.cta-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.cta-form input:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
}

.cta-form button {
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  background: #fff;
  color: var(--purple-700);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}

.cta-form button:hover {
  box-shadow: 0 0 30px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-footer);
  padding-top: 0;
}

.footer-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-600), var(--cyan), var(--pink), transparent);
  margin-bottom: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--purple-400);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--purple-400);
}

/* ===== Cookie Consent Bar ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(15, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-consent p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.cookie-consent p a {
  color: var(--purple-400);
  text-decoration: underline;
}

.cookie-btn-group {
  display: flex;
  gap: 10px;
}

.cookie-btn-accept {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-decline {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition);
}

/* ===== Cookie Policy Page ===== */
.cookie-page {
  padding-top: 100px;
}

.cookie-page-header {
  text-align: center;
  padding: 60px 0 40px;
  background: var(--dark-bg);
}

.cookie-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--purple-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.cookie-page-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.cookie-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
}

.cookie-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-700);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--purple-100);
}

.cookie-content h2:first-child {
  margin-top: 0;
}

.cookie-content p, .cookie-content li {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 12px;
}

.cookie-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.cookie-content ul li {
  position: relative;
  padding-left: 16px;
  list-style: none;
}

.cookie-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
}

.cookie-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cookie-table thead {
  background: var(--dark-bg);
  color: #fff;
}

.cookie-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f0ecf5;
  color: var(--text-body);
}

.cookie-table tbody tr:nth-child(even) {
  background: var(--light-bg-alt);
}

.cookie-table tbody tr:hover {
  background: var(--purple-100);
}

.cookie-type-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-necessary { background: #ecfdf5; color: #059669; }
.badge-analytics { background: var(--purple-100); color: var(--purple-700); }
.badge-marketing { background: #fdf2f8; color: #db2777; }
.badge-functional { background: #eff6ff; color: #2563eb; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid,
  .gen-ui-grid,
  .enterprise-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .tracking-card {
    grid-template-columns: 1fr;
  }

  .tracking-map {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(15, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  }

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

  .nav-mobile-toggle {
    display: flex;
  }

  .features-grid,
  .gen-ui-grid,
  .enterprise-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .section-padding {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-form {
    flex-direction: column;
  }

  .cookie-consent .container {
    flex-direction: column;
    text-align: center;
  }
}
