/* ═══════════════════════════════════════════════════════════
   CargoPel — Ultra Modern CSS
   Dark Theme · Glassmorphism · Motion Design · RTL Persian
   ═══════════════════════════════════════════════════════════ */

/* ── Google Font via HTML ── */

:root {
  /* Color System */
  --bg-0:          #03060f;
  --bg-1:          #080d1a;
  --bg-2:          #0d1427;
  --bg-3:          #111d35;
  --surface-1:     rgba(255,255,255,.04);
  --surface-2:     rgba(255,255,255,.07);
  --surface-3:     rgba(255,255,255,.11);
  --border:        rgba(255,255,255,.09);
  --border-bright: rgba(255,255,255,.18);

  --primary:       #4f8ef7;
  --primary-2:     #3b6fe0;
  --primary-glow:  rgba(79,142,247,.25);
  --cyan:          #22d3ee;
  --cyan-glow:     rgba(34,211,238,.2);
  --violet:        #a78bfa;
  --violet-glow:   rgba(167,139,250,.2);
  --green:         #34d399;
  --orange:        #fb923c;
  --rose:          #fb7185;

  --text-1:        #f1f5f9;
  --text-2:        #94a3b8;
  --text-3:        #64748b;
  --text-4:        #334155;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #4f8ef7 0%, #22d3ee 100%);
  --grad-hero:     linear-gradient(135deg, #4f8ef7 0%, #a78bfa 50%, #22d3ee 100%);
  --grad-card:     linear-gradient(145deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
  --grad-text:     linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  --grad-blue-violet: linear-gradient(135deg, #4f8ef7, #a78bfa);
  --grad-cyan-blue:   linear-gradient(135deg, #22d3ee, #4f8ef7);

  /* Typography */
  --font: 'Vazirmatn', 'Tahoma', sans-serif;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  /* Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.6);
  --shadow-glow-primary: 0 0 30px var(--primary-glow), 0 0 60px rgba(79,142,247,.1);
  --shadow-glow-cyan:    0 0 30px var(--cyan-glow);
  --shadow-glow-violet:  0 0 30px var(--violet-glow);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   0.15s;
  --dur-med:    0.3s;
  --dur-slow:   0.6s;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; scroll-behavior: smooth; }

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--primary-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--cyan); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
::selection { background: var(--primary); color: #fff; }

/* ─── Typography ─── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text-1); }
h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p  { color: var(--text-2); }

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.gradient-text-blue {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.section    { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-3xl) 0; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto var(--space-xl); }
.section-header .label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); background: rgba(79,142,247,.12);
  border: 1px solid rgba(79,142,247,.2);
  padding: 5px 16px; border-radius: var(--r-full); margin-bottom: 20px;
}
.section-header .label::before { content:''; width:6px; height:6px; background:var(--primary); border-radius:50%; display:block; animation: pulse 2s ease infinite; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; color: var(--text-2); }

.grid   { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ═══════════════════════════════════════════
   KEYFRAME ANIMATIONS
═══════════════════════════════════════════ */
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes floatX {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(-8px); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(79,142,247,.5); }
  50%      { opacity: .8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(79,142,247,0); }
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 20px rgba(79,142,247,.3); }
  50%      { box-shadow: 0 0 40px rgba(79,142,247,.7), 0 0 80px rgba(79,142,247,.3); }
}
@keyframes shimmer {
  0%   { transform: translateX(100%) skewX(-20deg); }
  100% { transform: translateX(-200%) skewX(-20deg); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes scanLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: .5; }
  90%  { opacity: .5; }
  100% { transform: translateY(500px); opacity: 0; }
}
@keyframes dotPulse {
  0%,80%,100% { transform: scale(0); opacity: 0; }
  40%          { transform: scale(1); opacity: 1; }
}
@keyframes glitch {
  0%,100% { clip-path: inset(0 0 100% 0); transform: none; }
  20%      { clip-path: inset(20% 0 60% 0); transform: translateX(-3px); }
  40%      { clip-path: inset(50% 0 30% 0); transform: translateX(3px); }
  60%      { clip-path: inset(80% 0 5% 0); transform: translateX(-2px); }
  80%      { clip-path: inset(10% 0 80% 0); transform: translateX(2px); }
}
@keyframes morphGradient {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--grad-hero);
  z-index: 1000;
  transform-origin: left center;
  transition: width .1s linear;
  width: 0%;
}

/* ═══════════════════════════════════════════
   BACKGROUND EFFECTS
═══════════════════════════════════════════ */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.bg-noise {
  position: absolute; inset: 0; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .5;
}

.glow-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,142,247,.3) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: float 8s ease-in-out infinite;
}

.glow-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,.25) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.glow-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34,211,238,.2) 0%, transparent 70%);
  top: 50%; right: 20%;
  animation: float 6s ease-in-out infinite 2s;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  border: 1px solid transparent;
  transition: all var(--dur-med) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

/* Shimmer on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; right: -100%; bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn:hover::after {
  animation: shimmer .6s ease forwards;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(79,142,247,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,142,247,.5), 0 0 60px rgba(79,142,247,.2);
  color: #fff;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--border-bright);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(79,142,247,.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-1);
  color: var(--text-1);
  border-color: var(--border-bright);
}

.btn-cyan {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(34,211,238,.3);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34,211,238,.5);
  color: #fff;
}

.btn-lg { padding: 17px 40px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* Magnetic button wrapper */
.btn-magnetic {
  display: inline-block;
  position: relative;
}

/* ═══════════════════════════════════════════
   BADGES & LABELS
═══════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: .75rem; font-weight: 600;
}
.badge-blue   { background: rgba(79,142,247,.15); color: var(--primary); border: 1px solid rgba(79,142,247,.25); }
.badge-cyan   { background: rgba(34,211,238,.12); color: var(--cyan);    border: 1px solid rgba(34,211,238,.2); }
.badge-violet { background: rgba(167,139,250,.12); color: var(--violet); border: 1px solid rgba(167,139,250,.2); }
.badge-green  { background: rgba(52,211,153,.12); color: var(--green);   border: 1px solid rgba(52,211,153,.2); }
.badge-orange { background: rgba(251,146,60,.12); color: var(--orange);  border: 1px solid rgba(251,146,60,.2); }
.badge-gray   { background: var(--surface-2); color: var(--text-2);      border: 1px solid var(--border); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: all var(--dur-med) var(--ease);
}

.navbar-bg {
  position: absolute; inset: 0;
  background: rgba(3,6,15,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all var(--dur-med) var(--ease);
}

.navbar.scrolled .navbar-bg {
  background: rgba(3,6,15,.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
  z-index: 1;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.02em;
}

.navbar-logo {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; color: #fff;
  box-shadow: 0 4px 12px rgba(79,142,247,.4);
  position: relative;
  overflow: hidden;
}

.navbar-logo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 60%);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar-nav a {
  padding: 7px 16px;
  border-radius: var(--r-md);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--dur-fast) var(--ease);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; right: 50%; left: 50%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-spring);
}

.navbar-nav a:hover { color: var(--text-1); }
.navbar-nav a:hover::after { right: 16px; left: 16px; }
.navbar-nav a.active { color: var(--text-1); }
.navbar-nav a.active::after { right: 16px; left: 16px; }

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

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-nav.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-nav-panel {
  background: var(--bg-1);
  border-left: 1px solid var(--border);
  width: 300px; height: 100%;
  margin-right: 0;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-close { display: flex; justify-content: flex-end; margin-bottom: 32px; }
.mobile-nav-close button { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-1); border-radius: var(--r-sm); padding: 8px 14px; font-size: 1rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a { padding: 13px 16px; border-radius: var(--r-md); color: var(--text-2); font-weight: 500; display: block; transition: all var(--dur-fast) var(--ease); border: 1px solid transparent; }
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: var(--surface-1); color: var(--text-1); border-color: var(--border); }
.mobile-nav-cta { margin-top: 32px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
  padding: 120px 0 80px;
}

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

/* Animated gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .35;
}

.hero-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(79,142,247,.5), rgba(79,142,247,.1) 50%, transparent);
  top: -200px; right: -100px;
  animation: morphGradient 12s ease-in-out infinite, float 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,.4), rgba(167,139,250,.1) 50%, transparent);
  bottom: -100px; left: -50px;
  animation: morphGradient 15s ease-in-out infinite reverse, float 10s ease-in-out infinite 3s;
}

.hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34,211,238,.3), transparent 70%);
  top: 40%; left: 40%;
  animation: float 7s ease-in-out infinite 1s;
}

.hero-grid { position: absolute; inset: 0; opacity: 1; }

/* Animated grid SVG lines */
.hero-content-wrap {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(79,142,247,.1);
  border: 1px solid rgba(79,142,247,.25);
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 32px;
  animation: slideDown .8s var(--ease-out) both;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-1);
  margin-bottom: 28px;
  animation: fadeInUp .9s var(--ease-out) .1s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 44px;
  max-width: 540px;
  animation: fadeInUp .9s var(--ease-out) .2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp .9s var(--ease-out) .3s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInUp .9s var(--ease-out) .4s both;
}

.hero-trust-label { font-size: .82rem; color: var(--text-3); }

.hero-trust-badges { display: flex; gap: 12px; }

.trust-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 600; color: var(--text-2);
  background: var(--surface-1);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--r-full);
}

/* Hero visual side */
.hero-visual {
  position: relative;
  animation: fadeInLeft .9s var(--ease-out) .3s both;
}

.hero-phone-mock {
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(79,142,247,.15);
  overflow: hidden;
}

.hero-phone-mock::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 2px;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

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

.mock-title {
  font-size: .85rem; font-weight: 700;
  color: var(--text-1);
}

.mock-status {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--green);
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.2);
  padding: 3px 10px; border-radius: var(--r-full);
}

.mock-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

.mock-stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 20px;
}

.mock-stat-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  transition: all var(--dur-med) var(--ease);
}

.mock-stat-card:hover {
  border-color: var(--primary);
  background: var(--surface-2);
}

.mock-stat-num {
  font-size: 1.4rem; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.mock-stat-label { font-size: .72rem; color: var(--text-3); }

.mock-list { display: flex; flex-direction: column; gap: 10px; }

.mock-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: all var(--dur-med) var(--ease);
}

.mock-item:hover {
  border-color: rgba(79,142,247,.3);
  background: var(--surface-2);
  transform: translateX(-4px);
}

.mock-item-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

.mock-item-text {
  flex: 1;
  font-size: .82rem; color: var(--text-2);
}

.mock-item-badge {
  font-size: .7rem; font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-full);
}

/* Floating cards around mock */
.hero-float-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  min-width: 160px;
}

.hero-float-1 {
  z-index: 1;
  top: -47px; left: -139px;
  animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
  z-index: 1;
  bottom:-44px; left: -144px;
  animation: float 8s ease-in-out infinite 2s;
}

.float-card-label { font-size: .7rem; color: var(--text-3); margin-bottom: 4px; }
.float-card-value { font-weight: 700; color: var(--text-1); font-size: .88rem; }
.float-card-sub { font-size: .7rem; color: var(--text-3); margin-top: 4px; }
.float-card-indicator { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .7rem; font-weight: 600; }

/* ═══════════════════════════════════════════
   STATS MARQUEE
═══════════════════════════════════════════ */
.stats-strip {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}

.stats-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.strip-stat {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}

.strip-stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.strip-stat-body {}
.strip-stat-num {
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
.strip-stat-label { font-size: .78rem; color: var(--text-3); margin-top: 2px; }

.strip-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* ═══════════════════════════════════════════
   GLASS CARDS
═══════════════════════════════════════════ */
.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease);
  backdrop-filter: blur(8px);
}

.card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}

.card:hover {
  border-color: rgba(79,142,247,.3);
  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 30px rgba(79,142,247,.1);
  transform: translateY(-6px);
}

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

/* Colored top border variants */
.card-blue::after   { content:''; position:absolute; top:0; right:0; left:0; height:2px; background:var(--grad-cyan-blue); }
.card-violet::after { content:''; position:absolute; top:0; right:0; left:0; height:2px; background:var(--grad-blue-violet); }
.card-green::after  { content:''; position:absolute; top:0; right:0; left:0; height:2px; background:linear-gradient(90deg,var(--green),var(--cyan)); }
.card-orange::after { content:''; position:absolute; top:0; right:0; left:0; height:2px; background:linear-gradient(90deg,var(--orange),var(--rose)); }

/* Feature card */
.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease);
  cursor: default;
}

.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
  z-index: 0;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-card:hover {
  border-color: rgba(79,142,247,.4);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), var(--shadow-glow-primary);
}

.feature-icon {
  width: 54px; height: 54px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.feature-icon::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}

.icon-blue   { background: rgba(79,142,247,.15);   border: 1px solid rgba(79,142,247,.2); }
.icon-cyan   { background: rgba(34,211,238,.12);   border: 1px solid rgba(34,211,238,.2); }
.icon-violet { background: rgba(167,139,250,.12);  border: 1px solid rgba(167,139,250,.2); }
.icon-green  { background: rgba(52,211,153,.12);   border: 1px solid rgba(52,211,153,.2); }
.icon-orange { background: rgba(251,146,60,.12);   border: 1px solid rgba(251,146,60,.2); }
.icon-rose   { background: rgba(251,113,133,.12);  border: 1px solid rgba(251,113,133,.2); }
.icon-teal   { background: rgba(20,184,166,.12);   border: 1px solid rgba(20,184,166,.2); }
.icon-indigo { background: rgba(99,102,241,.12);   border: 1px solid rgba(99,102,241,.2); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.feature-card p  { font-size: .9rem; color: var(--text-2); line-height: 1.7; }

/* Module cards */
.module-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: all var(--dur-med) var(--ease);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 0;
  background: var(--grad-primary);
  opacity: .07;
  transition: height var(--dur-med) var(--ease);
}

.module-card:hover {
  border-color: rgba(79,142,247,.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(79,142,247,.12);
}

.module-card:hover::before { height: 100%; }
.module-card .module-icon { font-size: 1.8rem; margin-bottom: 14px; }
.module-card h4 { font-size: .95rem; margin-bottom: 7px; }
.module-card p  { font-size: .84rem; color: var(--text-2); }

/* ═══════════════════════════════════════════
   WORKFLOW STEPS
═══════════════════════════════════════════ */
.workflow-steps { max-width: 820px; margin: 0 auto; }

.step {
  display: flex;
  gap: 28px;
  position: relative;
  padding-bottom: 52px;
}

.step:last-child { padding-bottom: 0; }

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px; right: 25px;
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
}

.step-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(79,142,247,.15), var(--shadow-glow-primary);
  animation: pulseGlow 3s ease-in-out infinite;
}

.step-body h3 { margin-top: 12px; margin-bottom: 8px; }
.step-body p  { font-size: .93rem; color: var(--text-2); }

/* ═══════════════════════════════════════════
   BENEFIT ITEMS
═══════════════════════════════════════════ */
.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: rgba(79,142,247,.12);
  border: 1px solid rgba(79,142,247,.2);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  transition: all var(--dur-med) var(--ease);
}

.benefit-item:hover .benefit-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-primary);
  transform: scale(1.1) rotate(5deg);
}

.benefit-item h4 { margin-bottom: 5px; }
.benefit-item p  { font-size: .9rem; color: var(--text-2); }

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
  background: var(--bg-1);
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(79,142,247,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(167,139,250,.12) 0%, transparent 60%);
}

.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p  { font-size: 1.05rem; color: var(--text-2); margin-bottom: 44px; }
.cta-actions  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   HIGHLIGHT BOX
═══════════════════════════════════════════ */
.highlight-box {
  background: var(--surface-1);
  border: 1px solid rgba(79,142,247,.25);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 2px;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--bg-1);
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(79,142,247,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(167,139,250,.12) 0%, transparent 60%);
}

.page-hero::after {
  content: '';
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

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

.page-hero .label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,142,247,.1);
  border: 1px solid rgba(79,142,247,.2);
  padding: 5px 16px;
  border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: .08em;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { color: var(--text-2); font-size: 1.1rem; max-width: 540px; }

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--dur-med) var(--ease);
}

.blog-card:hover {
  border-color: rgba(79,142,247,.35);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 30px rgba(79,142,247,.12);
}

.blog-card-img {
  height: 200px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(79,142,247,.1), rgba(167,139,250,.1));
}

.blog-card-body { padding: 26px; }
.blog-meta { display: flex; gap: 16px; font-size: .78rem; color: var(--text-3); margin-bottom: 12px; }
.blog-card h2, .blog-card h3 { font-size: 1.02rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h2 a, .blog-card h3 a { color: var(--text-1); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: .87rem; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.blog-read-more { font-size: .87rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: gap var(--dur-fast) var(--ease); }
.blog-read-more:hover { gap: 12px; color: var(--cyan); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.sidebar-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-card h4 { font-size: .95rem; margin-bottom: 18px; color: var(--text-1); }

.category-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  font-size: .9rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease);
}
.category-list li:last-child a { border-bottom: none; }
.category-list li a:hover { color: var(--primary); }
.category-count { font-size: .75rem; background: var(--surface-2); padding: 2px 8px; border-radius: var(--r-full); color: var(--text-3); }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section { padding: var(--space-2xl) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 36px; }

.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
  transition: transform var(--dur-fast) var(--ease);
}

.contact-item:hover { transform: translateX(-4px); }

.contact-item-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: rgba(79,142,247,.1);
  border: 1px solid rgba(79,142,247,.2);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--dur-med) var(--ease);
}

.contact-item:hover .contact-item-icon {
  background: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}

.contact-item h5 { font-size: .85rem; color: var(--text-3); margin-bottom: 2px; font-weight: 500; }
.contact-item p, .contact-item a { font-size: .95rem; font-weight: 500; color: var(--text-1); }

.contact-form-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-form-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 2px;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card .subtitle { margin-bottom: 32px; font-size: .95rem; color: var(--text-2); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-1);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .93rem;
  color: var(--text-1);
  transition: all var(--dur-med) var(--ease);
  direction: rtl;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-4); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--bg-2);
  box-shadow: 0 0 0 4px rgba(79,142,247,.12);
}

.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════════════
   TEAM CARDS
═══════════════════════════════════════════ */
.team-card {
  text-align: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 24px;
  transition: all var(--dur-med) var(--ease);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-blue-violet);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}

.team-card:hover {
  border-color: rgba(79,142,247,.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), var(--shadow-glow-primary);
}

.team-card:hover::before { opacity: .05; }
.team-card > * { position: relative; z-index: 1; }

.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--grad-blue-violet);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 30px rgba(79,142,247,.35);
  transition: transform var(--dur-med) var(--ease-spring);
}

.team-card:hover .team-avatar { transform: scale(1.1) rotate(5deg); }

.team-card h4    { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { font-size: .83rem; color: var(--primary); font-weight: 600; }
.team-card p     { font-size: .87rem; margin-top: 14px; color: var(--text-2); }

/* ═══════════════════════════════════════════
   VALUE CARDS
═══════════════════════════════════════════ */
.value-card {
  border-right: 3px solid var(--primary);
  padding: 24px 24px 24px 0;
  padding-right: 28px;
  transition: all var(--dur-med) var(--ease);
}

.value-card:hover { border-color: var(--cyan); padding-right: 36px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p  { font-size: .9rem; color: var(--text-2); }

/* ═══════════════════════════════════════════
   POST BODY
═══════════════════════════════════════════ */
.post-header {
  background: var(--bg-1);
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.post-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(79,142,247,.12) 0%, transparent 60%);
}

.post-meta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 24px;
}

.post-meta span {
  font-size: .83rem; color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}

.post-body {
  max-width: 760px; margin: 0 auto; padding: 64px 24px;
}

.post-body h2 { font-size: 1.45rem; margin: 44px 0 16px; color: var(--text-1); }
.post-body h3 { font-size: 1.15rem; margin: 32px 0 12px; color: var(--text-1); }
.post-body p  { font-size: 1rem; line-height: 1.9; margin-bottom: 20px; color: var(--text-2); }
.post-body ul, .post-body ol { padding-right: 24px; margin-bottom: 20px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { font-size: 1rem; line-height: 1.8; color: var(--text-2); margin-bottom: 8px; }

.post-body blockquote {
  border-right: 3px solid var(--primary);
  padding: 20px 24px;
  background: rgba(79,142,247,.08);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 32px 0;
}

.post-body blockquote p { color: var(--primary); font-weight: 500; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: var(--text-3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .4; }

/* ═══════════════════════════════════════════
   TAGS
═══════════════════════════════════════════ */
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: .78rem; color: var(--text-2);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
}
.tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   ALERTS
═══════════════════════════════════════════ */
.alert {
  padding: 16px 20px;
  border-radius: var(--r-lg);
  font-size: .9rem;
  display: flex; align-items: flex-start; gap: 12px;
}
.alert-success { background: rgba(52,211,153,.1); color: var(--green); border: 1px solid rgba(52,211,153,.2); }
.alert-info    { background: rgba(79,142,247,.1); color: var(--primary); border: 1px solid rgba(79,142,247,.2); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--violet), transparent);
  opacity: .4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

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

.footer-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--text-1); }
.footer-col p { font-size: .88rem; color: var(--text-3); line-height: 1.75; }
.footer-col h5 {
  font-size: .77rem; font-weight: 700; color: var(--text-2);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .88rem; color: var(--text-3); transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: .83rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: .83rem; color: var(--text-4); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS (JS-triggered)
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-spring);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.0s !important; }
.stagger-2 { transition-delay: 0.1s !important; }
.stagger-3 { transition-delay: 0.2s !important; }
.stagger-4 { transition-delay: 0.3s !important; }
.stagger-5 { transition-delay: 0.4s !important; }
.stagger-6 { transition-delay: 0.5s !important; }

/* ═══════════════════════════════════════════
   TILT EFFECT
═══════════════════════════════════════════ */
.tilt { transform-style: preserve-3d; transform: perspective(1200px); }

/* ═══════════════════════════════════════════
   CURSOR GLOW
═══════════════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left .15s var(--ease), top .15s var(--ease);
}

/* ═══════════════════════════════════════════
   MISC UTILS
═══════════════════════════════════════════ */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.text-center { text-align: center; }
.prose-intro { font-size: 1.08rem; line-height: 1.8; color: var(--text-2); }

.mt-16  { margin-top: 16px; } .mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; } .mt-48  { margin-top: 48px; }
.mb-16  { margin-bottom: 16px; } .mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; } .mb-48  { margin-bottom: 48px; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; }

/* FAQ */
details {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  transition: all var(--dur-med) var(--ease);
}
details:hover { border-color: rgba(79,142,247,.3); }
details[open] { border-color: rgba(79,142,247,.35); background: var(--surface-2); }
details summary { font-weight: 600; cursor: pointer; font-size: .97rem; color: var(--text-1); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: '+'; font-size: 1.2rem; color: var(--primary); transition: transform var(--dur-med) var(--ease); }
details[open] summary::after { content: '−'; transform: rotate(180deg); }
details p { margin-top: 14px; font-size: .92rem; color: var(--text-2); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-content-wrap { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }

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

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-direction: column; align-items: flex-start; }

  .section, .section-lg { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .blog-grid { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-strip-inner { gap: 24px; }
  .strip-divider { display: none; }
  .contact-form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { padding: 14px 28px; font-size: .95rem; }
  .hero-trust-badges { flex-wrap: wrap; }
}
