/* ============================================================
   نَسَق — Landing Page Styles
   تصميم احترافي بنفس هوية الإضافة
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* الهوية اللونية — أزرق ملكي */
  --primary: #1E40AF;
  --primary-light: #3B82F6;
  --primary-lighter: #60A5FA;
  --primary-soft: #DBEAFE;
  --primary-dark: #1E3A8A;
  --primary-darker: #172554;
  --accent: #60A5FA;
  --gradient: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
  --gradient-text: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #1E40AF 100%);
  --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);

  /* الأسطح */
  --bg: #FAFBFD;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFC;
  --surface-hover: #F1F5F9;

  /* النصوص */
  --text: #0F172A;
  --text-soft: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  /* الحدود */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* القياسات */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* الظلال */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 64px rgba(30, 64, 175, 0.18);
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.3);

  /* الخطوط */
  --font-ui: 'IBM Plex Sans Arabic', 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  direction: rtl;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }

/* ============================================================
   خلفية حيّة — شبكة + توهّجات
   ============================================================ */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.bg-glow-1 {
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3B82F6, transparent 70%);
  animation: float-glow 18s ease-in-out infinite;
}
.bg-glow-2 {
  bottom: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #60A5FA, transparent 70%);
  animation: float-glow 22s ease-in-out infinite reverse;
}
@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 30px) scale(0.95); }
}

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(250, 251, 253, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}
.nav-logo {
  display: inline-flex;
  filter: drop-shadow(0 4px 10px rgba(30, 64, 175, 0.3));
}
.nav-brand-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 200ms;
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 200ms;
}
.nav-links a:hover::after { width: 100%; }

/* رابط "ادعم" مميّز بقلب نابض */
.nav-link-support {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  color: #DC2626 !important;
  font-weight: 800 !important;
  padding: 4px 10px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
  transition: all 200ms;
}
.nav-link-support svg {
  animation: heart-throb 1.2s ease-in-out infinite;
}
.nav-link-support:hover {
  background: linear-gradient(135deg, #DC2626, #B91C1C) !important;
  color: white !important;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}
.nav-link-support::after { display: none !important; }
@keyframes heart-throb {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
}

/* nav-cta — يحوي زر التثبيت + hamburger */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* زر hamburger — مخفي على الديسكتوب */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 200ms;
}
.nav-toggle:hover {
  background: var(--surface-soft);
  color: var(--primary);
  border-color: var(--primary-lighter);
}

/* ============ Mobile menu ============ */
@media (max-width: 860px) {
  .nav { padding: 12px 16px; flex-wrap: wrap; }

  .nav-install-btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    flex-direction: column;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    z-index: 60;
  }
  .nav-links.is-open {
    display: flex;
    animation: nav-drop 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  @keyframes nav-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
  }
  .nav-links a::after { display: none !important; }
  .nav-links a:hover {
    background: var(--surface-soft);
  }

  /* رابط ادعم في موبايل: شكل عادي مع لون مميز */
  .nav-links .nav-link-support {
    margin-top: 6px;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
    border-radius: 0;
    background: transparent !important;
    border-left: none;
    border-right: none;
    border-bottom: none;
    color: #DC2626 !important;
    justify-content: flex-start;
  }
  .nav-links .nav-link-support:hover {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    transform: none;
    box-shadow: none;
  }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-sm { padding: 8px 16px; font-size: 13px; gap: 6px; }
.btn-lg { padding: 16px 32px; font-size: 16px; gap: 10px; }

.btn-primary {
  background: var(--gradient);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  opacity: 0;
  transition: opacity 200ms;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.4);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  color: var(--text-soft);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-soft);
  color: var(--primary);
  border-color: var(--primary-lighter);
  transform: translateY(-1px);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; }
}

.hero-text { z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--text);
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: title-in 700ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.title-line:nth-child(1) { animation-delay: 100ms; }
.title-line:nth-child(2) { animation-delay: 250ms; }
.title-line:nth-child(3) { animation-delay: 400ms; }
@keyframes title-in {
  to { opacity: 1; transform: translateY(0); }
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================================
   Mockup للوحة الجانبية في الـ Hero
   ============================================================ */

.hero-mockup {
  position: relative;
  perspective: 1200px;
}

.mockup-window {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  animation: mockup-float 6s ease-in-out infinite;
}
.hero-mockup:hover .mockup-window {
  transform: rotateY(-3deg) rotateX(1deg) translateY(-8px);
}
@keyframes mockup-float {
  0%, 100% { transform: rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-12px); }
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mockup-dot-red { background: #EF4444; }
.mockup-dot-yellow { background: #F59E0B; }
.mockup-dot-green { background: #10B981; }
.mockup-url {
  margin-inline-start: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-body {
  padding: 0;
}

.mockup-sidepanel {
  background: var(--surface);
  padding: 16px;
}

.mp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.mp-brand { display: flex; align-items: center; gap: 8px; }
.mp-logo {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25);
  position: relative;
}
.mp-logo::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
}
.mp-logo::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.mp-title {
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mp-site-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-soft);
}
.mp-favicon {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 3px;
}

.mp-enable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--primary-soft);
}
.mp-enable-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
}
.mp-switch {
  width: 36px;
  height: 20px;
  background: var(--primary);
  border-radius: 999px;
  position: relative;
}
.mp-switch-knob {
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.mp-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.mp-picker {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 6px;
  flex-shrink: 0;
}
.mp-input {
  flex: 1;
  height: 28px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-soft);
}

.mp-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.mp-label {
  flex: 0 0 70px;
  font-weight: 700;
  color: var(--text-soft);
  font-size: 11px;
}
.mp-select {
  flex: 1;
  height: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 28px 5px 10px;
  font-size: 11px;
  color: var(--text-soft);
  position: relative;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.mp-select::after {
  content: '▼';
  position: absolute;
  left: 8px;
  font-size: 8px;
  color: var(--text-muted);
}
.mp-select-small {
  flex: 0 0 60px;
  font-family: var(--font-mono);
}
.mp-typing::after {
  content: 'Tajawal';
  animation: typing 6s infinite;
}
@keyframes typing {
  0%, 25% { content: 'Tajawal'; }
  35%, 55% { content: 'IBM Plex Arabic'; }
  65%, 90% { content: 'Amiri'; }
}

.mp-direction {
  background: var(--gradient-soft);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.mp-dir-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-dark);
}
.mp-dir-btns {
  display: flex;
  gap: 3px;
  flex: 1;
}
.mp-dir-btn {
  flex: 1;
  height: 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-soft);
}
.mp-dir-active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  animation: dir-bounce 3s ease infinite;
}
@keyframes dir-bounce {
  0%, 90%, 100% { transform: scale(1); }
  95% { transform: scale(1.05); }
}

/* Floating cards حول الـ mockup */
.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--border);
}
.float-card-1 {
  top: 10%;
  left: -30px;
  animation: float-1 5s ease-in-out infinite;
}
.float-card-2 {
  bottom: 15%;
  right: -20px;
  animation: float-2 6s ease-in-out infinite;
}
.fc-icon { font-size: 20px; }
.fc-text { color: var(--text-soft); }
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  opacity: 0.5;
}
.scroll-indicator span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--text-dim);
  border-radius: 2px;
  margin: 6px auto;
  animation: scroll-down 1.8s ease infinite;
}
@keyframes scroll-down {
  0% { opacity: 0; transform: translateY(-4px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================================
   Section common
   ============================================================ */

section { padding: 100px 0; position: relative; z-index: 1; }
@media (max-width: 768px) { section { padding: 60px 0; } }

.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: var(--primary-soft);
  border-radius: 999px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   Features Grid
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 300ms;
  z-index: 0;
}
.feature > * { position: relative; z-index: 1; }
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}
.feature:hover::before { opacity: 0.4; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: white;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
  transition: all 300ms;
}
.feature:hover .feature-icon {
  transform: scale(1.08) rotate(-6deg);
}

/* تنويع ألوان أيقونات الميزات */
.feature-icon-1 { background: linear-gradient(135deg, #3B82F6, #1E40AF); }
.feature-icon-2 { background: linear-gradient(135deg, #60A5FA, #2563EB); }
.feature-icon-3 { background: linear-gradient(135deg, #8B5CF6, #4F46E5); }
.feature-icon-4 { background: linear-gradient(135deg, #06B6D4, #0E7490); }
.feature-icon-5 { background: linear-gradient(135deg, #10B981, #059669); }
.feature-icon-6 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.feature-icon-7 { background: linear-gradient(135deg, #EC4899, #BE185D); }
.feature-icon-8 { background: linear-gradient(135deg, #6366F1, #3730A3); }

.feature h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   Supported browsers bar
   ============================================================ */

.supported-browsers {
  margin-top: 48px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.sb-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 14px;
}
.sb-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.sb-item {
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--primary-lighter);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}
.sb-item strong {
  color: var(--primary);
  font-weight: 800;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.sb-cta {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.sb-cta:hover {
  text-decoration: underline;
}

/* ============================================================
   How it works
   ============================================================ */

.how { background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.03), transparent); }

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  text-align: center;
  position: relative;
  transition: all 300ms;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.step-arrow {
  display: flex;
  align-items: center;
  font-size: 32px;
  color: var(--primary-lighter);
  font-weight: 300;
}
@media (max-width: 900px) {
  .step-arrow { transform: rotate(90deg); }
  .steps { flex-direction: column; align-items: center; }
}

/* ============================================================
   Demo
   ============================================================ */

.demo-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
}
@media (max-width: 768px) {
  .demo-container { grid-template-columns: 1fr; padding: 24px; }
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.demo-control-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-soft);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.demo-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.demo-btn {
  padding: 9px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-soft);
  transition: all 200ms;
  flex: 1;
  min-width: 0;
}
.demo-btn:hover {
  border-color: var(--primary-lighter);
  color: var(--primary);
}
.demo-btn-active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.demo-range {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.demo-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gradient);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}
.demo-value {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Segoe UI', monospace;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.demo-preview {
  background: var(--gradient-soft);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: 1px dashed var(--primary-lighter);
}
.demo-text {
  text-align: center;
  color: var(--primary-darker);
  line-height: 1.8;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Privacy
   ============================================================ */

.privacy-card {
  background: var(--gradient-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.privacy-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent 60%);
  pointer-events: none;
}
.privacy-card > * { position: relative; z-index: 1; }
.privacy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.privacy-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
}
.privacy-card p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all 200ms;
}
.badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ============================================================
   CTA
   ============================================================ */

.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  background-image:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 50%),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.06), transparent 50%);
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.cta-card > p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cta-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: var(--surface-soft);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
}
.footer-brand strong {
  font-size: 15px;
  color: var(--text);
}
.footer-brand span {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 200ms;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
