/* ===== ROOT & FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Inter:wght@400;600;700;800&display=swap');

:root {
  --bg: #03050f;
  --bg2: #060a18;
  --fg: #eef2ff;
  --muted: #7880a0;
  --accent: #4f7eff;
  --accent2: #7c3aed;
  --accent3: #ec4899;
  --accent-glow: rgba(79, 126, 255, 0.4);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.025);
  --gold: #f59e0b;
  --green: #10b981;
  --cyan: #06b6d4;
  --rose: #f43f5e;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'IBM Plex Sans Arabic', sans-serif;
  direction: rtl;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.7;
}
html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }


/* ===== GRID OVERLAY ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(79,126,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,126,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== BUTTONS ===== */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 60px var(--accent-glow), 0 20px 40px rgba(79,126,255,0.2); }
.btn-glow:hover::before { opacity: 1; }
.btn-glow.btn-lg { padding: 18px 44px; font-size: 1.1rem; }
.btn-glow.btn-block { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(79,126,255,0.4); }
.btn-ghost.btn-lg { padding: 18px 44px; font-size: 1.1rem; }
.play-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(79,126,255,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--fg);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,126,255,0.06); }
.btn-outline.btn-block { width: 100%; padding: 14px; font-size: 1rem; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.4s ease;
}
#navbar.scrolled {
  background: rgba(3, 5, 15, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 800;
  cursor: auto;
  text-decoration: none;
}
.logo-link { color: #ffffff; }
.logo-dot { color: #4f7eff; }
.logo-privex { background: linear-gradient(135deg, #7c3aed, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.brand-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-logo.large .brand-logo {
  height: 160px;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
#lang-toggle { padding: 8px 16px; font-size: 0.82rem; }
.hamburger { display: none; background: none; border: 1px solid var(--glass-border); color: var(--fg); padding: 8px 12px; border-radius: 10px; cursor: pointer; border-radius: var(--radius-xs); }
.hamburger i svg { width: 22px; height: 22px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 130px 6% 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Particles canvas bg */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(79,126,255,0.18), transparent 70%); top: -150px; right: -150px; animation-delay: 0s; }
.orb2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(124,58,237,0.14), transparent 70%); bottom: -100px; left: 10%; animation-delay: -4s; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(236,72,153,0.1), transparent 70%); top: 40%; left: 30%; animation-delay: -8s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-content { flex: 1; max-width: 600px; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(79,126,255,0.12), rgba(124,58,237,0.12));
  border: 1px solid rgba(79,126,255,0.3);
  color: #a5b4ff;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  animation: fadeSlideDown 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 0px;
  letter-spacing: -1.5px;
}
.blue-text-inline {
  color: var(--accent);
}
.title-line {
  display: block;
  margin-bottom: 0px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.7s ease forwards;
}
.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }

.gradient-text {
  background: linear-gradient(135deg, #4f7eff 0%, #a855f7 45%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 4s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: -5px;
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.4s ease forwards;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.5s ease forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.6s ease forwards;
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 1px;
  direction: ltr !important;
}
.stat-plus, .stat-plus-symbol {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
  opacity: 0.8;
}
.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--fg);
  order: 1;
}
.stat-plus { 
  font-size: 1.4rem; 
  font-weight: 800; 
  color: var(--accent); 
  order: 2;
}
.stat-label { font-size: 0.82rem; color: var(--muted); }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* ===== PHONE MOCKUP ===== */
.hero-mockup {
  flex: 0 0 auto;
  z-index: 2;
  position: relative;
  opacity: 0;
  animation: fadeSlideLeft 0.9s 0.3s ease forwards;
}
.mockup-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,126,255,0.25), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.phone-frame {
  width: 270px;
  min-height: 540px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 44px;
  background: rgba(8,12,28,0.95);
  backdrop-filter: blur(30px);
  padding: 16px;
  box-shadow: 
    0 40px 100px rgba(0,0,0,0.6), 
    0 0 80px rgba(79,126,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}
.phone-notch {
  width: 100px; height: 28px;
  background: rgba(0,0,0,0.8);
  border-radius: 0 0 18px 18px;
  margin: 0 auto 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
}

.phone-screen { height: 100%; display: flex; flex-direction: column; gap: 12px; }
.mock-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.65rem; font-weight: 600; color: var(--fg);
  padding: 0 4px;
}
.mock-icons { display: flex; gap: 4px; align-items: center; }

.mock-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.mock-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  z-index: -1;
  animation: spin 3s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mock-avatar svg { width: 100%; height: 100%; }
.mock-name { font-size: 0.78rem; font-weight: 700; color: var(--fg); }
.mock-badge-green {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
}

.mock-links { display: flex; flex-direction: column; gap: 8px; }
.mock-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mock-link-btn span { flex: 1; }
.blue-btn { background: linear-gradient(135deg, #2563eb, #4f7eff); }
.green-btn { background: linear-gradient(135deg, #059669, #10b981); }
.purple-btn { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.mock-grid-item {
  background: rgba(255,255,255,0.06);
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s;
}
.mock-grid-item i { color: var(--accent); }

.phone-shadow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 40px;
  background: radial-gradient(ellipse, rgba(79,126,255,0.3), transparent 70%);
  filter: blur(15px);
}

/* Floating pills */
.float-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8,12,28,0.92);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg);
  backdrop-filter: blur(20px);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  direction: ltr !important;
}
.pill1 { top: 80px; left: -110px; animation: pillFloat1 4s ease-in-out infinite; }
.pill2 { bottom: 120px; left: -90px; animation: pillFloat2 4s ease-in-out infinite 1s; }
.pill3 { top: 200px; right: -100px; animation: pillFloat1 4s ease-in-out infinite 2s; }
@keyframes pillFloat1 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(4px); }
}
@keyframes pillFloat2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(8px) translateX(-4px); }
}

/* ===== MARQUEE ===== */
.marquee-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(79,126,255,0.04), rgba(124,58,237,0.04));
  padding: 18px 0;
  overflow: hidden;
  direction: ltr !important;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  direction: ltr !important;
}
.marquee-content {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.marquee-track span svg { color: var(--accent); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 6%;
  position: relative;
  z-index: 1;
}
.section-dark { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(79,126,255,0.1), rgba(124,58,237,0.1));
  border: 1px solid rgba(79,126,255,0.25);
  color: #a5b4ff;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79,126,255,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79,126,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(79,126,255,0.08);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  position: relative;
  width: 60px; height: 60px;
  margin-bottom: 24px;
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.feature-icon.blue { background: linear-gradient(135deg, rgba(79,126,255,0.2), rgba(79,126,255,0.08)); border: 1px solid rgba(79,126,255,0.25); color: #7fa7ff; }
.feature-icon.green { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.08)); border: 1px solid rgba(16,185,129,0.25); color: #34d399; }
.feature-icon.purple { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(124,58,237,0.08)); border: 1px solid rgba(124,58,237,0.25); color: #c084fc; }
.feature-icon.gold { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.08)); border: 1px solid rgba(245,158,11,0.25); color: #fcd34d; }
.feature-icon.cyan { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.08)); border: 1px solid rgba(6,182,212,0.25); color: #67e8f9; }
.feature-icon.rose { background: linear-gradient(135deg, rgba(244,63,94,0.2), rgba(244,63,94,0.08)); border: 1px solid rgba(244,63,94,0.25); color: #fb7185; }

.icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(16px);
}
.blue-glow { background: rgba(79,126,255,0.4); }
.green-glow { background: rgba(16,185,129,0.4); }
.purple-glow { background: rgba(124,58,237,0.4); }
.gold-glow { background: rgba(245,158,11,0.4); }
.cyan-glow { background: rgba(6,182,212,0.4); }
.rose-glow { background: rgba(244,63,94,0.4); }
.feature-card:hover .icon-glow { opacity: 0.5; }

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

.card-shine {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(79,126,255,0.4), transparent);
  transform: translateX(100%);
  transition: transform 0.5s ease;
}
.feature-card:hover .card-shine { transform: translateX(-100%); }

/* ===== THEMES ===== */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.theme-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: auto;
}
.theme-card:hover { transform: translateY(-10px) scale(1.02); }
.theme-card-inner {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.theme-card:hover .theme-card-inner { border-color: rgba(79,126,255,0.3); }
.theme-top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.theme-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.medical-icon { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.store-icon { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.restaurant-icon { background: linear-gradient(135deg, #f97316, #dc2626); }
.farm-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.engineer-icon { background: linear-gradient(135deg, #64748b, #334155); }
.beauty-icon { background: linear-gradient(135deg, #ec4899, #a855f7); }
.theme-label { font-size: 1rem; font-weight: 700; }
.theme-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.theme-card li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--muted);
}
.theme-card li svg { color: var(--green); flex-shrink: 0; }

.theme-preview {
  height: 6px;
  border-radius: 3px;
  margin-top: 8px;
}
.medical-preview { background: linear-gradient(90deg, #0ea5e9, #2563eb); }
.store-preview { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.restaurant-preview { background: linear-gradient(90deg, #f97316, #dc2626); }
.farm-preview { background: linear-gradient(90deg, #22c55e, #16a34a); }
.engineer-preview { background: linear-gradient(90deg, #64748b, #334155); }
.beauty-preview { background: linear-gradient(90deg, #ec4899, #a855f7); }

/* ===== STEPS ===== */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.step-card {
  flex: 1;
  min-width: 200px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,126,255,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.step-num {
  width: 60px; height: 60px;
  position: relative;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.step-num span {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}
.step-ring {
  position: absolute;
  inset: 0;
  width: 60px; height: 60px;
}
.step-ring-path { transition: stroke-dashoffset 1.5s ease; }
.step-card.visible .step-ring-path { stroke-dashoffset: 0 !important; }

.step-icon {
  margin-bottom: 16px;
  color: var(--muted);
}
.step-card:hover .step-icon { color: var(--accent); }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  opacity: 0.5;
}
.connector-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ===== NFC SECTION ===== */
.nfc-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  background: linear-gradient(135deg, rgba(79,126,255,0.04), rgba(124,58,237,0.04));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.nfc-content { flex: 1; max-width: 520px; }
.nfc-content .section-badge { margin-bottom: 16px; }
.nfc-content h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.nfc-content > p { color: var(--muted); font-size: 1rem; margin-bottom: 36px; line-height: 1.8; }

.nfc-benefits { display: flex; flex-direction: column; gap: 18px; margin-bottom: 44px; }
.nfc-benefits li { display: flex; align-items: center; gap: 14px; }
.benefit-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,126,255,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(79,126,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.nfc-benefits li > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.nfc-benefits li strong { font-size: 0.95rem; font-weight: 700; color: var(--fg); }
.nfc-benefits li span { font-size: 0.82rem; color: var(--muted); }

.nfc-visual { flex: 0 0 auto; }
.nfc-scene { position: relative; display: flex; align-items: center; justify-content: center; width: 340px; height: 280px; }

.nfc-card-3d {
  width: 290px; height: 180px;
  border-radius: 18px;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: cardTilt 6s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 50px rgba(79,126,255,0.2);
}
@keyframes cardTilt {
  0%, 100% { transform: rotateY(0deg) rotateX(5deg); }
  33% { transform: rotateY(-12deg) rotateX(8deg); }
  66% { transform: rotateY(8deg) rotateX(3deg); }
}
.nfc-card-front {
  width: 100%; height: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f1d4e, #1a0a3e, #0d1a3a);
  border: 1px solid rgba(79,126,255,0.4);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.nfc-card-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(79,126,255,0.25) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(124,58,237,0.2) 0%, transparent 50%);
}
.nfc-logo { font-size: 1.1rem; font-weight: 800; position: relative; z-index: 1; }
.nfc-logo span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nfc-chip-area { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.nfc-chip {
  width: 42px; height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4af37, #f0c040, #b8860b);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.chip-lines { display: flex; flex-direction: column; gap: 3px; padding: 4px; }
.chip-lines div { height: 2px; background: rgba(180,130,20,0.6); border-radius: 1px; }
.chip-lines div:nth-child(1) { width: 28px; }
.chip-lines div:nth-child(2) { width: 20px; }
.chip-lines div:nth-child(3) { width: 24px; }
.nfc-card-number { font-size: 0.7rem; color: rgba(255,255,255,0.5); font-family: monospace; letter-spacing: 2px; position: relative; z-index: 1; }

.nfc-phone-mini {
  position: absolute;
  top: -20px; left: -30px;
  color: var(--accent);
  animation: phoneHover 3s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes phoneHover {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-10px) rotate(-8deg); }
}
.nfc-ping {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.nfc-ping::before, .nfc-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: nfcPing 2s ease-out infinite;
}
.nfc-ping::after { animation-delay: 0.5s; }
@keyframes nfcPing {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(3); }
}

.nfc-waves {
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
}
.wave {
  border: 1.5px solid rgba(79,126,255,0.25);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
  animation: nfcWave 2.5s ease-out infinite;
}
.w1 { width: 50px; height: 50px; animation-delay: 0s; }
.w2 { width: 90px; height: 90px; animation-delay: 0.4s; }
.w3 { width: 130px; height: 130px; animation-delay: 0.8s; }
.w4 { width: 170px; height: 170px; animation-delay: 1.2s; }
@keyframes nfcWave {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all 0.4s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pricing-card.featured {
  background: linear-gradient(160deg, rgba(79,126,255,0.1), rgba(124,58,237,0.08));
  border-color: rgba(79,126,255,0.4);
  box-shadow: 0 0 60px rgba(79,126,255,0.12);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 20px rgba(79,126,255,0.4);
}

.pricing-card-header { margin-bottom: 28px; }
.plan-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  margin-bottom: 16px;
}
.featured-icon { background: linear-gradient(135deg, rgba(79,126,255,0.2), rgba(124,58,237,0.2)); border-color: rgba(79,126,255,0.3); color: #a5b4ff; }
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.price-tag { font-size: 2.6rem; font-weight: 900; color: var(--fg); line-height: 1; }
.price-tag span { font-size: 0.9rem; color: var(--muted); font-weight: 400; }

.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem;
}
.price-features li.has { color: var(--fg); }
.price-features li.has svg { color: var(--green); }
.price-features li.disabled { color: var(--muted); opacity: 0.4; }
.price-features li.disabled svg { color: var(--rose); }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,126,255,0.12), transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}
.cta-orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 65%);
  animation-delay: -2s;
}
.cta-content { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.cta-content h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta-content > p { color: var(--muted); margin-bottom: 48px; font-size: 1.05rem; }

.cta-form { display: flex; flex-direction: column; gap: 14px; }
.form-group {
  position: relative;
  display: flex;
  align-items: center;
}
.form-group > svg {
  position: absolute;
  right: 16px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}
.cta-form input, .cta-form select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 48px 16px 20px;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
}
.cta-form input:focus, .cta-form select:focus {
  border-color: rgba(79,126,255,0.5);
  background: rgba(79,126,255,0.05);
  box-shadow: 0 0 0 3px rgba(79,126,255,0.1);
}
.cta-form input::placeholder { color: var(--muted); }
.cta-form select option { background: #0d1229; }

.btn-submit {
  position: relative;
  justify-content: center;
  padding: 18px;
}
.btn-arrow {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
}
.btn-submit:hover .btn-arrow { opacity: 1; transform: translateX(0); }
.cta-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  padding: 80px 6% 32px;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(79,126,255,0.06), transparent 70%);
  pointer-events: none;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,126,255,0.1); }
.social-btn.whatsapp:hover { border-color: var(--green); color: var(--green); background: rgba(16,185,129,0.1); }

.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--fg); }
.footer-col a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a svg { opacity: 0.6; }

.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}
.footer-bottom p { 
  color: var(--accent); 
  opacity: 0.9;
  font-size: 0.88rem; 
  font-weight: 500;
}
.footer-link-highlight {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s;
}
.footer-link-highlight:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.footer-badges { display: flex; gap: 16px; }
.footer-badges span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, rgba(16,185,129,0.95), rgba(5,150,105,0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(16,185,129,0.4);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 40px rgba(16,185,129,0.3);
  z-index: 9999;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; align-items: center; gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== KEYFRAMES ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-mockup { transform: scale(0.9); }
  .features-grid, .themes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero { flex-direction: column; text-align: center; padding-top: 140px; gap: 40px; }
  .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-mockup { transform: scale(0.85); margin-top: 20px; }
  
  .nfc-section { flex-direction: column; text-align: center; padding: 80px 6%; gap: 60px; }
  .nfc-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .nfc-benefits { align-items: center; text-align: right; }
  
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 5%; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-actions .btn-glow { display: none; }
  
  .hero-title { 
    font-size: clamp(1.8rem, 8vw, 2.3rem); 
    line-height: 2.2 !important;
    text-align: center;
    margin-bottom: 25px;
  }
  .title-line {
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
    display: block;
  }
  .blue-text-inline {
    display: inline-block;
    margin-top: 15px;
    line-height: 1.8;
  }
  .hero-subtitle { 
    font-size: 0.95rem; 
    line-height: 1.6;
    margin-top: 15px;
    max-width: 90%;
  }
  
  .features-grid, .themes-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: scale(1); }
  
  .steps-container { flex-direction: column; gap: 20px; }
  .step-connector { display: none; }
  
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
  
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: default; }
  
  .brand-logo { height: 70px; }
  .nav-logo.large .brand-logo { height: 100px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-cta .btn-lg { width: 100%; justify-content: center; padding: 16px 24px; font-size: 1rem; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .stat-num { font-size: 1.5rem; }
  .hero-mockup { transform: scale(0.7) translateY(-40px); margin-bottom: -60px; }
  .pill1, .pill2, .pill3 { display: none; }
  
  .section-header h2 { font-size: 1.7rem; }
  .cta-form input, .cta-form select { font-size: 0.95rem; }
  
  .brand-logo { height: 60px; }
  .nav-logo.large .brand-logo { height: 90px; }
}


