/* ============================================
   CSS Variables - Warm Dashboard Design
   ============================================ */
:root {
  /* Primary Colors */
  --primary-main: #7C3AED;
  --primary-light: #A78BFA;
  --primary-lighter: #EDE9FE;
  --primary-dark: #5B21B6;

  /* Accent */
  --accent-main: #F59E0B;
  --accent-light: #FCD34D;
  --accent-lighter: #FEF3C7;

  /* Status Colors */
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --error: #EF4444;
  --error-light: #FEE2E2;
  --info: #3B82F6;
  --info-light: #DBEAFE;

  /* Backgrounds */
  --bg-cream: #FAF8F5;
  --bg-white: #FFFFFF;
  --bg-sidebar: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);

  /* Text */
  --text-heading: #1F2937;
  --text-body: #4B5563;
  --text-muted: #9CA3AF;

  /* Shadows */
  --shadow-warm: 0 4px 20px rgba(124, 58, 237, 0.08);
  --shadow-hover: 0 8px 30px rgba(124, 58, 237, 0.15);
  --shadow-card: 0 2px 12px rgba(124, 58, 237, 0.06);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
}

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

@font-face {
  font-family: 'IRANYekanX';
  src: url('/static/fonts/IRANYekanX-Bold.ttf') format('truetype');
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: 'IRANYekanX';
  src: url('/static/fonts/IRANYekanX-Regular.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANYekanX';
  src: url('/static/fonts/IRANYekanX-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

body {
  font-family: 'IRANYekanX', system-ui, -apple-system, sans-serif;
  background: var(--bg-cream);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Dashboard Layout
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* ============================================
   Sidebar - گرم و دوستانه
   ============================================ */
.sidebar {
  width: 280px;
  background: var(--bg-white);
  background-image: var(--bg-sidebar);
  border-left: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 4px 0 20px rgba(124, 58, 237, 0.05);
}

.sidebar-header {
  padding: var(--space-md);
  border-bottom: 1px solid #E5E7EB;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.2));
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-main) 0%, var(--accent-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.env-badge,
.version-badge {
  display: inline-block;
  padding: 6px var(--space-sm);
  background: var(--info-light);
  color: var(--info);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  flex: 1;
  padding: var(--space-sm);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.nav-item:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(245, 158, 11, 0.08));
  color: var(--text-heading);
  transform: translateX(-4px);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(245, 158, 11, 0.12));
  color: var(--primary-main);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.nav-icon {
  font-size: 20px;
}

.sidebar-footer {
  padding: var(--space-sm);
  border-top: 1px solid #E5E7EB;
}

.nav-item-danger,
.nav-item.logout {
  color: var(--error);
}

.nav-item-danger:hover,
.nav-item.logout:hover {
  background: var(--error-light);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  flex: 1;
  margin-right: 280px;
  padding: var(--space-md);
  max-width: 1400px;
}

/* ============================================
   Page Header
   ============================================ */
.page-header,
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

/* ============================================
   CSS Variables - Warm & Inviting Theme
   ============================================ */
@font-face {
  font-family: 'IRANYekanX';
  src: url('/fonts/IRANYekanX-Bold.ttf') format('truetype');
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: 'IRANYekanX';
  src: url('/fonts/IRANYekanX-Regular.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANYekanX';
  src: url('/fonts/IRANYekanX-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  /* 🟣 Primary Colors (بنفش دوستانه) */
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;

  /* 🟠 Accent Colors (نارنجی گرم) */
  --accent: #F59E0B;
  --accent-light: #FCD34D;

  /* 🌿 Success (سبز آرامش‌بخش) */
  --success: #10B981;
  --success-light: #D1FAE5;

  /* 🔴 Error (قرمز نرم) */
  --error: #EF4444;
  --error-light: #FEE2E2;

  /* 🔵 Info (آبی ملایم) */
  --info: #3B82F6;
  --info-light: #DBEAFE;

  /* 🎨 Backgrounds (گرم و دوستانه) */
  --bg-cream: #FAF8F5;
  --bg-white: #FFFFFF;
  --bg-light: #F5F3FF;

  /* 📝 Text Colors */
  --text-heading: #1F2937;
  --text-body: #4B5563;
  --text-muted: #9CA3AF;
  --text-link: #7C3AED;

  /* 🔲 Borders */
  --border-color: #E5E7EB;

  /* ✨ Shadows (گرم و نرم) */
  --shadow-sm: 0 4px 20px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 30px rgba(124, 58, 237, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* 📐 Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50px;

  /* 📏 Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
}

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

body {
  font-family: 'IRANYekanX', 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  color: var(--text-body);
  line-height: 1.7;
  padding: var(--space-lg) 0;
}

/* ============================================
   Animated Background Particles
   ============================================ */
.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
  will-change: transform, opacity;
}

@keyframes float {

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

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ============================================
   Main Container
   ============================================ */
.container {
  background: var(--bg-white);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 64px 80px;
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  width: 90%;
  z-index: 10;
  animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 40px 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  text-align: center;
  margin-bottom: 64px;
}

.rocket {
  font-size: 80px;
  animation: rocketLaunch 3s ease-in-out infinite;
  display: inline-block;
  margin-bottom: 24px;
  will-change: transform;
}

@keyframes rocketLaunch {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

h1 {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.subtitle {
  font-size: 20px;
  color: var(--text-body);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.7;
}

.badge {
  background: linear-gradient(135deg, var(--accent) 0%, #EC4899 100%);
  color: white;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
  animation: pulse 2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
  }
}

/* ============================================
   Sections
   ============================================ */
section {
  margin-bottom: 64px;
}

h2 {
  font-size: 28px;
  color: var(--text-heading);
  margin-bottom: 24px;
  font-weight: 600;
  line-height: 1.4;
}

h3 {
  font-size: 18px;
  color: var(--text-heading);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.5;
}

/* Info Box */
.info-box {
  background: var(--bg-light);
  border-right: 4px solid var(--primary);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: right;
  margin-bottom: 24px;
}

.info-box p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
}

/* ============================================
   Features Grid
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  background: white;
  border: 2px solid var(--border-color);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================
   Workflow Steps
   ============================================ */
.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.step-number {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: linear-gradient(135deg, var(--primary), #EC4899);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.step p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: var(--primary);
  font-weight: bold;
}

/* ============================================
   Use Cases
   ============================================ */
.use-case-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.use-case {
  background: white;
  border-right: 3px solid var(--primary);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-body);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.7;
}

.use-case:hover {
  background: var(--bg-light);
  transform: translateX(-5px);
  box-shadow: var(--shadow-sm);
}

.use-case strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* ============================================
   Tech Stack
   ============================================ */
.tech-section {
  text-align: center;
}

.tech-stack {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.tech-badge {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.tech-badge:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* ============================================
   Quick Start
   ============================================ */
.quick-start {
  text-align: center;
}

.code-block {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: left;
  overflow-x: auto;
  margin: 32px 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: var(--shadow-md);
}

.code-block code {
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #EC4899);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
  margin-top: 16px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--primary);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 2px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer strong {
  color: var(--primary);
  font-weight: 600;
}

.footer-subtitle {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #EC4899;
  text-decoration: underline;
}

/* ============================================
   Sparkles Decoration
   ============================================ */
.sparkle {
  position: absolute;
  font-size: 24px;
  animation: sparkle 3s ease-in-out infinite;
  pointer-events: none;
  will-change: opacity, transform;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

.sparkle:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
  bottom: 15%;
  left: 20%;
  animation-delay: 1.4s;
}

.sparkle:nth-child(4) {
  bottom: 25%;
  right: 10%;
  animation-delay: 2.1s;
}

/* ============================================
   New Components
   ============================================ */

/* Badges Row */
.badges-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.badge-success {
  background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.badge-version {
  background: linear-gradient(135deg, var(--primary), #A78BFA);
  animation: none;
}

.badge-status {
  background: var(--bg-light);
  color: var(--text-heading);
  animation: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-online {
  background: var(--success);
}

.status-offline {
  background: var(--error);
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.badge-online {
  background: var(--success-light) !important;
  color: #065F46 !important;
}

.badge-offline {
  background: var(--error-light) !important;
  color: #991B1B !important;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

/* Section Subtitle */
.section-subtitle {
  text-align: center;
  color: var(--text-body);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Code Tabs */
.code-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: 'IRANYekanX', sans-serif;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Code Block Improvements */
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #1e1e1e;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -32px -32px 0 -32px;
}

.code-lang {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.code-block pre {
  margin: 0;
  padding: 24px 0 0 0;
}

.code-block code {
  font-size: 14px;
  line-height: 1.8;
}

/* Documentation Grid */
.docs-section {
  margin-top: 64px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.doc-card {
  background: white;
  border: 2px solid var(--border-color);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  color: var(--text-heading);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.doc-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.doc-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 600;
}

.doc-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Footer Copyright */
.footer-copyright {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   Accessibility & Performance
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 48px 32px;
    margin: 24px 16px;
    border-radius: var(--radius-lg);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 18px;
  }

  .rocket {
    font-size: 60px;
  }

  .workflow-steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tech-stack {
    gap: 8px;
  }

  .tech-badge {
    font-size: 13px;
    padding: 10px 20px;
  }

  .badges-row {
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 32px 24px;
    margin: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .badge {
    font-size: 14px;
    padding: 10px 24px;
  }

  .code-block {
    font-size: 12px;
    padding: 24px 16px;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  section {
    margin-bottom: 48px;
  }

  .info-box {
    padding: 24px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .step {
    padding: 24px 20px;
  }
}