/* ============================================
   EIDONCORE — Design System & Styles
   Dark Glassmorphism Theme
   ============================================ */

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

:root {
  --bg: #0a0a1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(108, 99, 255, 0.4);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --primary: #6C63FF;
  --primary-glow: rgba(108, 99, 255, 0.25);
  --secondary: #00D4FF;
  --accent-pink: #FF6B9D;
  --accent-green: #4ADE80;
  --accent-amber: #F59E0B;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

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

.btn-ghost:hover {
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

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

.btn-arrow {
  transition: transform 0.3s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: var(--primary);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

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

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile CTA items — hidden on desktop, shown in mobile menu */
.mobile-cta-item {
  display: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(40px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(30px, 40px) scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

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

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

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  display: inline;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* --- Page Stats --- */
.page-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Built For --- */
.built-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.built-for-card {
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: var(--transition);
}

.built-for-card:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.04);
  transform: translateY(-2px);
}

.built-for-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--primary);
}

.built-for-icon svg {
  width: 28px;
  height: 28px;
}

.built-for-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.built-for-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .page-stats .stat {
    flex: 0 0 40%;
  }

  .built-for-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* --- Sections Common --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(108, 99, 255, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Features --- */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--primary)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.1);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent, var(--primary));
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent, var(--primary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.03), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Dashboard Mockup --- */
.dashboard-preview {
  padding: 100px 0;
}

.mockup-window {
  background: rgba(15, 15, 35, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(108, 99, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
  background: #FF5F57;
}

.mockup-dots span:nth-child(2) {
  background: #FFBD2E;
}

.mockup-dots span:nth-child(3) {
  background: #28CA42;
}

.mockup-content {
  display: flex;
  min-height: 380px;
}

.mockup-sidebar {
  width: 200px;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-item {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: var(--transition);
}

.sidebar-item.active {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
  font-weight: 600;
}

.mockup-main {
  flex: 1;
  padding: 24px;
}

.mockup-greeting {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.kpi-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin: 4px 0;
}

.kpi-change {
  font-size: 0.7rem;
  font-weight: 600;
}

.kpi-change.positive {
  color: var(--accent-green);
}

.kpi-change.negative {
  color: var(--accent-pink);
}

.mockup-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.chart-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), rgba(108, 99, 255, 0.3));
  border-radius: 4px 4px 0 0;
  height: var(--h);
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.health-rings {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.ring {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ring span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.ring-green span {
  background: rgba(74, 222, 128, 0.2);
  color: var(--accent-green);
}

.ring-yellow span {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.ring-red span {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

/* --- Screenshot Window (replaces old mockup-window) --- */
.screenshot-window {
  background: rgba(15, 15, 35, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(108, 99, 255, 0.08);
}

.screenshot-dots {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 35, 0.95);
}

.screenshot-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.screenshot-dots span:nth-child(1) {
  background: #FF5F57;
}

.screenshot-dots span:nth-child(2) {
  background: #FFBD2E;
}

.screenshot-dots span:nth-child(3) {
  background: #28CA42;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Detail-visual screenshot for sub-pages */
.detail-screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 40px rgba(108, 99, 255, 0.06);
}

.detail-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.03), transparent);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-label.active {
  color: #fff;
}

.save-badge {
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent-green);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

.toggle-switch.active .toggle-knob {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.06);
  box-shadow: 0 0 60px rgba(108, 99, 255, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.plan-price {
  margin-bottom: 4px;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  vertical-align: top;
}

.plan-price .amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  transition: var(--transition);
}

.plan-price .period {
  font-size: 1rem;
  color: var(--text-muted);
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.plan-features {
  margin-bottom: 32px;
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  padding-left: 24px;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.stars {
  color: var(--accent-amber);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card>p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  color: var(--text-heading);
  font-size: 0.9rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- FAQ --- */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.03), transparent);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
}

.faq-icon {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Related Features --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.15);
}

.related-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.related-icon svg {
  width: 32px;
  height: 32px;
}

.related-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- CTA --- */
.cta-section {
  padding: 100px 0;
}

.cta-content {
  text-align: center;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 24px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(60px);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  position: relative;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
  position: relative;
}

/* --- Footer --- */
.site-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

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

.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer-col h4 {
  color: var(--text-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

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

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s;
}

.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(108, 99, 255, 0.12);
  color: #fff !important;
}

/* --- Apple/Samsung-Style Premium Animations --- */

/* Base scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scale-up reveal (like Apple product hero) */
.anim-scale {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.anim-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Blur-to-focus (Samsung Galaxy style) */
.anim-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 0.8s ease, filter 1s ease, transform 0.9s ease;
  will-change: opacity, filter, transform;
}

.anim-blur.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Slide from left */
.anim-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.anim-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Text reveal word by word */
.text-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-reveal.visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* Cinematic fade (slow, dramatic) */
.anim-cinematic {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-cinematic.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Glow pulse on hover (like Apple product cards) */
.glow-hover {
  position: relative;
}

.glow-hover::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent-pink));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
  filter: blur(16px);
}

.glow-hover:hover::after {
  opacity: 0.3;
}

/* Floating animation for feature visuals */
@keyframes smoothFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float-anim {
  animation: smoothFloat 6s ease-in-out infinite;
}

/* Gradient border animation */
@keyframes gradientRotate {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.gradient-border {
  border: none;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--primary), var(--secondary), var(--accent-pink), var(--primary)) border-box;
  border: 2px solid transparent;
  background-size: 100% 100%, 300% 300%;
  animation: gradientRotate 8s ease infinite;
}

/* Parallax depth layers */
.parallax-container {
  perspective: 1000px;
}

.parallax-layer {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Staggered children animation */
.stagger-children .animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

.stagger-children .animate-on-scroll:nth-child(7) {
  transition-delay: 0.6s;
}

.stagger-children .animate-on-scroll:nth-child(8) {
  transition-delay: 0.7s;
}

/* Feature card link wrapper */
.feature-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mockup-sidebar {
    display: none;
  }

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

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

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile menu panel — single unified dropdown */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px 24px 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.open li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
  }

  /* Mobile dropdown submenu */
  .nav-links.open .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: unset;
    display: none;
  }

  .nav-links.open .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-links.open .dropdown-menu a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0;
  }

  /* Nav actions — appears inside the menu panel, NOT floating */
  .nav-actions {
    display: none !important;
  }

  /* Show mobile CTA items in the menu */
  .nav-links.open .mobile-cta-item {
    display: block;
    padding: 8px 0;
    border-bottom: none;
  }

  .nav-links.open .mobile-cta-item a {
    border-bottom: none;
    padding: 14px 24px;
    text-align: center;
  }

  .nav-links.open .mobile-cta-item:first-of-type {
    margin-top: 8px;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .stat-number,
  .stat-suffix {
    font-size: 2rem;
  }

  .mockup-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-charts {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    text-align: center;
  }

  .footer-brand .nav-logo {
    justify-content: center;
  }

  .footer-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter-form input {
    max-width: 100%;
    width: 100%;
  }

  .footer-newsletter-form button {
    width: 100%;
  }

  .footer-link-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .cta-content {
    padding: 48px 24px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .features,
  .how-it-works,
  .dashboard-preview,
  .pricing,
  .testimonials,
  .cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .mockup-kpis {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 90px 0 48px;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

/* --- Legal Content Pages --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 20px;
  margin-bottom: 10px;
}

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

.legal-section ul {
  margin: 12px 0 16px;
  padding-left: 20px;
}

.legal-section li {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 4px 0;
  position: relative;
  padding-left: 8px;
}

.legal-section li::marker {
  color: var(--primary);
}

/* --- Why Eidoncore (Differentiators) --- */
.differentiators {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.03), transparent);
}

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

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}

.diff-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.diff-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.diff-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .differentiators-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Trusted-By Bar --- */
.trusted-by {
  padding: 40px 0 20px;
  text-align: center;
}

.trusted-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.trusted-logos {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.trusted-logos span {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: -0.01em;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-icon {
  font-size: 1.1rem;
}

/* --- Workflow Pipeline --- */
.workflow-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-width: 90px;
  transition: var(--transition);
}

.pipeline-step:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.pipeline-icon {
  font-size: 2rem;
}

.pipeline-step span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.pipeline-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .pipeline-arrow {
    display: none;
  }

  .workflow-pipeline {
    gap: 10px;
  }

  .pipeline-step {
    min-width: 70px;
    padding: 16px 14px;
  }
}

/* --- Team Cards --- */
/* -- Team -- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

.team-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.95), transparent);
  pointer-events: none;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo {
  transform: scale(1.03);
}

.team-info {
  padding: 28px 28px 32px;
}

.team-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.team-quote {
  font-size: 0.82rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.65;
  border-left: 2px solid var(--primary);
  padding-left: 14px;
}

.team-social {
  display: flex;
  gap: 10px;
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.team-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

.team-social a svg {
  width: 15px;
  height: 15px;
}

.team-more {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.team-more-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

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

.team-more-dots span:nth-child(2) {
  background: rgba(255, 255, 255, 0.25);
}

.team-more p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* --- Changelog --- */
.changelog-search {
  margin-bottom: 40px;
}

.changelog-input {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.changelog-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.changelog-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.changelog-entry:hover {
  border-color: var(--border-hover);
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.changelog-version {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-right: 12px;
}

.changelog-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.changelog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.changelog-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.changelog-changes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.changelog-change {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.changelog-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.badge-feature {
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}

.badge-improvement {
  background: rgba(96, 165, 250, 0.15);
  color: #60A5FA;
}

.badge-fix {
  background: rgba(251, 146, 60, 0.15);
  color: #FB923C;
}

.changelog-load-more {
  text-align: center;
  margin-top: 32px;
}

.changelog-empty,
.changelog-error {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
}

.changelog-error a {
  color: var(--primary);
}

.loading-skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(108, 99, 255, 0.05) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: var(--radius);
  height: 120px;
  margin-bottom: 16px;
}

.loading-skeleton.short {
  height: 80px;
}

@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card>p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-points {
  margin: 0 0 16px;
  padding-left: 18px;
}

.blog-points li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 3px 0;
  line-height: 1.5;
}

.blog-points li::marker {
  color: var(--primary);
}

.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.blog-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Docs Page --- */
.docs-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.doc-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.doc-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #00D4FF);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.doc-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.doc-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.doc-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.doc-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.doc-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.doc-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .docs-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .docs-steps {
    grid-template-columns: 1fr;
  }

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

/* --- Docs Browser (dynamic article viewer) --- */
.docs-browser {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  min-height: 60vh;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 99, 255, 0.3) transparent;
}

.docs-sidebar::-webkit-scrollbar {
  width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, 0.3);
  border-radius: 4px;
}

.docs-search {
  margin-bottom: 24px;
}

.docs-search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.docs-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}

.docs-search-wrap {
  position: relative;
}

.docs-search-wrap::before {
  content: '⌕';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.docs-nav-group {
  margin-bottom: 20px;
}

.docs-nav-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding-left: 8px;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.docs-nav-link:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

.docs-nav-link.active {
  background: rgba(108, 99, 255, 0.12);
  color: var(--primary);
  font-weight: 600;
}

.docs-nav-link .nav-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.docs-nav-link.hidden {
  display: none;
}

.docs-article {
  min-width: 0;
}

.docs-article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.docs-article-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.docs-article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.docs-article-category {
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
}

.docs-article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.docs-article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 28px 0 12px;
}

.docs-article-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}

.docs-article-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.docs-article-body ul,
.docs-article-body ol {
  margin: 8px 0 16px;
  padding-left: 24px;
}

.docs-article-body li {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 3px 0;
}

.docs-article-body li::marker {
  color: var(--primary);
}

.docs-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.88rem;
}

.docs-article-body th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 2px solid rgba(108, 99, 255, 0.2);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.docs-article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.docs-article-body tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.docs-article-body code {
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.docs-article-body pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 16px 0 24px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.6;
}

.docs-article-body pre code {
  background: none;
  color: var(--text);
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.docs-article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  margin: 16px 0;
  background: rgba(108, 99, 255, 0.05);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.docs-article-body blockquote p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.docs-article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.docs-article-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.docs-article-body a:hover {
  opacity: 0.8;
}

.docs-article-body strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* Docs welcome (when no article is selected) */
.docs-welcome {
  text-align: center;
  padding: 80px 20px;
}

.docs-welcome h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.docs-welcome p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* Mobile sidebar toggle */
.docs-sidebar-toggle {
  display: none;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}

.docs-sidebar-toggle:hover {
  border-color: var(--primary);
}

/* Responsive docs browser */
@media (max-width: 900px) {
  .docs-browser {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .docs-sidebar-toggle {
    display: block;
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 998;
    width: auto;
    margin-bottom: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 26, 0.92);
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(108, 99, 255, 0.25);
    border-radius: 40px;
    padding: 12px 24px;
    font-weight: 600;
  }

  .docs-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    max-height: 100vh;
    background: var(--bg);
    border-right: 1px solid var(--border);
    z-index: 1000;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .docs-sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
  }

  .docs-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .docs-sidebar-backdrop.open {
    display: block;
  }
}


/* --- 404 Page --- */
.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #00D4FF, #FF6B9D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.error-links {
  margin-top: 20px;
}

.error-link-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.error-link-grid a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.error-link-grid a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }
}

/* --- Skip to Content --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* --- Focus Ring (Accessibility) --- */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    text-align: center;
  }
}

/* --- Footer Social Links --- */
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--primary);
}

/* --- Mobile Table Scroll --- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px;
}

.table-scroll .comparison-table {
  min-width: 700px;
}

/* --- Zipchat AI Widget positioning fix --- */
#zipchat-widget-wrapper,
[id*="zipchat"],
iframe[src*="zipchat"] {
  z-index: 10000 !important;
}

/* On mobile, move back-to-top to bottom-left to avoid Zipchat widget overlap */
@media (max-width: 768px) {
  .back-to-top {
    right: auto;
    left: 20px;
    bottom: 24px;
  }

  .back-to-top:hover {
    transform: translateY(-4px);
  }
}

/* --- UI Preview Mock-up Cards --- */
.ui-preview {
  background: rgba(15, 15, 35, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}

.ui-preview-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.ui-preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.ui-preview-bar span:first-child {
  background: #FF5F57;
}

.ui-preview-bar span:nth-child(2) {
  background: #FFBD2E;
}

.ui-preview-bar span:nth-child(3) {
  background: #28CA41;
}

.ui-preview-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ui-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.ui-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ui-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.ui-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(108, 99, 255, 0.2);
  color: #fff;
  letter-spacing: 0.01em;
}