@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Surfaces */
  --bg-base: #060913;
  --bg-surface: #0d1322;
  --bg-card: rgba(17, 24, 39, 0.65);
  --bg-card-hover: rgba(24, 34, 56, 0.85);
  --border-color: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(255, 255, 255, 0.22);

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Brand & Role Accents */
  --student-primary: #10b981;
  --student-light: #34d399;
  --student-glow: rgba(16, 185, 129, 0.28);

  --teacher-primary: #3b82f6;
  --teacher-light: #60a5fa;
  --teacher-glow: rgba(59, 130, 246, 0.28);

  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;

  /* Motion & Layout */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.07) 0%, transparent 45%),
    linear-gradient(to bottom, #060913 0%, #090d1a 100%);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle dot-matrix grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out-expo);
}

ul {
  list-style: none;
}

/* ==========================================================================
   Animated Ambient Aurora Glow
   ========================================================================== */
.ambient-glow {
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 520px;
  pointer-events: none;
  z-index: -1;
  filter: blur(110px);
  opacity: 0.75;
  animation: auroraPulse 14s ease-in-out infinite alternate;
}

.ambient-glow::before,
.ambient-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.ambient-glow::before {
  width: 550px;
  height: 420px;
  left: 5%;
  top: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 70%);
  animation: floatOrbLeft 18s ease-in-out infinite alternate;
}

.ambient-glow::after {
  width: 580px;
  height: 440px;
  right: 5%;
  top: 20px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.32), transparent 70%);
  animation: floatOrbRight 15s ease-in-out infinite alternate;
}

/* ==========================================================================
   Interactive Verlet Cloth / Fiber Background
   ========================================================================== */
#cloth-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

body.cloth-dragging {
  user-select: none;
  -webkit-user-select: none;
}

.hero,
.section,
footer {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Glass Navigation
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 19, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--student-primary) 0%, var(--teacher-primary) 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  box-shadow: 0 6px 20px -4px rgba(59, 130, 246, 0.5);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.35));
  transition: transform 0.35s var(--ease-spring), filter 0.35s ease;
}

.logo-group:hover .logo-img {
  transform: rotate(-5deg) scale(1.08);
  filter: drop-shadow(0 8px 22px rgba(16, 185, 129, 0.55));
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-logo-box {
  display: inline-flex;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -10px rgba(16, 185, 129, 0.35), 0 0 30px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.hero-logo-box:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 50px -8px rgba(16, 185, 129, 0.55), 0 0 40px rgba(59, 130, 246, 0.35);
}

.hero-logo {
  width: 76px;
  height: 76px;
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
  display: block;
}

.logo-group:hover .logo-badge {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 8px 25px -2px rgba(16, 185, 129, 0.6);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--student-primary), var(--teacher-primary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out-expo);
}

nav a:not(.nav-cta):hover {
  color: var(--text-primary);
}

nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--student-primary), var(--teacher-primary));
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(59, 130, 246, 0.45);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 24px;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 15%, #e2e8f0 55%, #6ee7b7 85%, #93c5fd 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.8s var(--ease-out-expo) both, gradientShift 8s ease infinite;
}

.hero .lead {
  max-width: 670px;
  margin: 0 auto 40px;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-secondary);
  font-weight: 400;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.12s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.24s both;
}

/* ==========================================================================
   Buttons & Interactive Shimmer
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out-expo);
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease-out-expo);
  z-index: -1;
}

.btn:hover::before {
  left: 140%;
}

.btn svg {
  transition: transform 0.3s var(--ease-spring);
}

.btn:hover svg {
  transform: translateY(-2px) scale(1.08);
}

.btn-student {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 
    0 10px 28px -6px var(--student-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-student:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 36px -6px rgba(16, 185, 129, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-teacher {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 
    0 10px 28px -6px var(--teacher-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-teacher:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 36px -6px rgba(59, 130, 246, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.36s both;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out-expo);
}

.trust-badge-item svg {
  color: var(--student-light);
  transition: transform 0.3s var(--ease-spring);
}

.trust-badge-item:nth-child(even) svg {
  color: var(--teacher-light);
}

.trust-badge-item:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(30, 41, 59, 0.75);
  transform: translateY(-2px);
  color: #ffffff;
}

.trust-badge-item:hover svg {
  transform: scale(1.18) rotate(-5deg);
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teacher-light);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Download Cards (Student & Teacher)
   ========================================================================== */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Top glowing accent bar on each card */
.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0.85;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.student-highlight::before {
  background: linear-gradient(90deg, #059669, #34d399, #10b981);
}

.teacher-highlight::before {
  background: linear-gradient(90deg, #2563eb, #60a5fa, #3b82f6);
}

/* Subtle radial corner spotlight */
.download-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.18;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.student-highlight::after {
  background: var(--student-primary);
}

.teacher-highlight::after {
  background: var(--teacher-primary);
}

.download-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
}

.download-card:hover::after {
  opacity: 0.35;
  transform: scale(1.15);
}

.student-highlight:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 24px 48px -12px rgba(16, 185, 129, 0.18);
}

.teacher-highlight:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.2);
}

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

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.role-student {
  color: var(--student-light);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.role-teacher {
  color: var(--teacher-light);
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-version {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #cbd5e1;
  transition: transform 0.25s var(--ease-out-expo);
}

.feature-checklist li:hover {
  transform: translateX(4px);
}

.feature-checklist svg {
  flex-shrink: 0;
  margin-top: 3px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.feature-checklist strong {
  color: #ffffff;
  font-weight: 700;
}

.card-footer-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.card-footer-info strong {
  color: var(--text-primary);
}

.btn-card-download {
  width: 100%;
  padding: 16px 24px;
}

/* ==========================================================================
   Key Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.step-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--student-primary), var(--teacher-primary));
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.45);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.feature-card:hover .step-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--student-primary), var(--teacher-primary));
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.45);
}

.feature-icon {
  transform: scale(1.12) rotate(-4deg);
}

.feature-blue {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 20px -4px rgba(59, 130, 246, 0.25);
}

.feature-green {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.25);
}

.feature-purple {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 8px 20px -4px rgba(168, 85, 247, 0.25);
}

.feature-amber {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.25);
}

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

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   FAQ Grid
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}

.faq-item {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--student-primary), var(--teacher-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  background: rgba(23, 33, 54, 0.8);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.45);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.faq-item strong {
  color: var(--student-light);
  font-weight: 600;
}

.faq-item em {
  color: var(--teacher-light);
  font-style: normal;
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(4, 6, 14, 0.85);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 18px;
}

.footer-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

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

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes auroraPulse {
  0% {
    opacity: 0.55;
    transform: translateX(-50%) scale(0.96);
  }
  100% {
    opacity: 0.85;
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes floatOrbLeft {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(60px, 40px) scale(1.12);
  }
}

@keyframes floatOrbRight {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-60px, 30px) scale(1.1);
  }
}

/* ==========================================================================
   Responsive Design & Motion Preferences
   ========================================================================== */
@media (max-width: 768px) {
  .nav-wrapper {
    height: auto;
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
  }

  nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .downloads-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}