/* Almaz Pay v2 — RedotPay-inspired design
   Tone: Modern fintech, clean, premium, approachable
   Palette: White base + dark sections, electric blue accent, generous whitespace
   Typography: General Sans (body/display) — geometric, clean, modern
   Pattern: Alternating light/dark sections, bold headlines, large type */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700,800&display=swap');

:root {
  --font: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Colors */
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;

  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark: #2563eb;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --gold: #f5a623;

  /* Spacing */
  --section-pad: clamp(64px, 10vw, 120px);
  --container: 1200px;
  --gap: 24px;

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

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== GLOBAL ==================== */
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a:hover { opacity: 0.8; }

/* ==================== TYPOGRAPHY ==================== */
.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 560px;
}

/* dark section overrides */
.dark { background: var(--gray-950); color: var(--white); }
.dark .section-label { color: var(--blue-light); }
.dark .section-desc { color: var(--gray-400); }

.light-gray { background: var(--gray-50); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  transition: all 200ms var(--ease);
  white-space: nowrap;
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--blue-glow);
}
.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 300ms, backdrop-filter 300ms, box-shadow 300ms;
}
.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 300ms;
}
.header.scrolled .logo { color: var(--gray-900); }
.logo svg { flex-shrink: 0; width: 34px; height: 34px; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  transition: color 200ms;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); opacity: 1; }
.header.scrolled .nav-links a { color: var(--gray-500); }
.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active { color: var(--gray-900); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta .btn-outline-white {
  padding: 8px 20px;
  font-size: 14px;
}
.header.scrolled .header-cta .btn-outline-white {
  color: var(--gray-900);
  border-color: var(--gray-300);
}
.header.scrolled .header-cta .btn-outline-white:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 300ms;
}
.header.scrolled .mobile-menu-btn span { background: var(--gray-900); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gray-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(59,130,246,0.05) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero card visual (image-based) */
.hero-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}
.hero-card-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 25px 60px rgba(0,0,0,0.4)) drop-shadow(0 0 40px rgba(59,130,246,0.15));
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  transition: transform 400ms ease-out, filter 400ms ease-out;
  animation: heroCardFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroCardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.3;
  animation: float linear infinite;
}
.particle:nth-child(1) { left: 15%; top: 20%; animation-duration: 8s; width: 6px; height: 6px; opacity: 0.2; }
.particle:nth-child(2) { left: 70%; top: 30%; animation-duration: 12s; animation-delay: -3s; }
.particle:nth-child(3) { left: 40%; top: 70%; animation-duration: 10s; animation-delay: -5s; width: 5px; height: 5px; }
.particle:nth-child(4) { left: 85%; top: 60%; animation-duration: 9s; animation-delay: -2s; opacity: 0.15; width: 8px; height: 8px; }
.particle:nth-child(5) { left: 25%; top: 50%; animation-duration: 11s; animation-delay: -7s; }
.particle:nth-child(6) { left: 60%; top: 80%; animation-duration: 7s; animation-delay: -4s; width: 3px; height: 3px; opacity: 0.4; }
.particle:nth-child(7) { left: 50%; top: 15%; animation-duration: 9s; animation-delay: -1s; width: 3px; height: 3px; opacity: 0.25; }
.particle:nth-child(8) { left: 90%; top: 45%; animation-duration: 13s; animation-delay: -6s; width: 5px; height: 5px; opacity: 0.15; }
.particle:nth-child(9) { left: 10%; top: 75%; animation-duration: 8s; animation-delay: -3s; width: 4px; height: 4px; opacity: 0.2; }
.particle:nth-child(10) { left: 75%; top: 10%; animation-duration: 10s; animation-delay: -8s; opacity: 0.3; }
.particle:nth-child(11) { left: 35%; top: 40%; animation-duration: 14s; animation-delay: -5s; width: 3px; height: 3px; opacity: 0.18; }
.particle:nth-child(12) { left: 5%; top: 35%; animation-duration: 11s; animation-delay: -9s; width: 6px; height: 6px; opacity: 0.12; }
@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-30px) translateX(15px); }
  50% { transform: translateY(-10px) translateX(-10px); }
  75% { transform: translateY(-40px) translateX(20px); }
  100% { transform: translateY(0) translateX(0); }
}

/* ==================== PARTNERS ==================== */
.partners {
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}
.partner-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity 200ms;
}
.partner-logo:hover { opacity: 1; }

/* ==================== PARTNERS MARQUEE ==================== */
.partners-marquee {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.partners-marquee .partners-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}
.marquee-logo {
  flex-shrink: 0;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s ease;
  height: 28px;
  display: flex;
  align-items: center;
}
.marquee-logo:hover {
  color: rgba(255,255,255,0.7);
}
.marquee-logo svg {
  height: 28px;
  width: auto;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Pause on hover */
.marquee-track:hover {
  animation-play-state: paused;
}
/* Edge fade */
.partners-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
@media (max-width: 768px) {
  .marquee-content { gap: 40px; padding-right: 40px; }
  .marquee-logo svg { height: 22px; }
  .marquee-track { animation-duration: 30s; }
}

/* ==================== BENEFITS CARDS ==================== */
.benefits {
  padding: var(--section-pad) 0;
}
.benefits-header {
  text-align: center;
  margin-bottom: 56px;
}
.benefits-header .section-desc { margin: 0 auto; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--gray-50);
  border-radius: var(--r-xl);
  padding: 40px 28px;
  text-align: center;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue);
}
.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.benefit-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==================== CARD SHOWCASE (dark) ==================== */
.card-showcase {
  padding: var(--section-pad) 0;
}
.card-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.card-showcase .section-title { color: var(--white); }
.card-showcase .feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59,130,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}
.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Card stack visual (image-based) */
.card-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  perspective: 1200px;
}
/* Stack cards — target both picture>img and direct img */
.card-stack picture {
  position: absolute;
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 600ms var(--ease);
}
.stack-card {
  width: 380px;
  height: auto;
  border-radius: 4px;
  display: block;
}
.card-stack picture:first-child {
  z-index: 2;
  transform: rotate(-5deg) translateX(-30px) translateY(-30px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: stackCardFloat1 5s ease-in-out infinite;
}
.card-stack picture:last-child {
  z-index: 1;
  transform: rotate(8deg) translateX(60px) translateY(40px);
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.4));
  animation: stackCardFloat2 6s ease-in-out infinite;
}
.card-stack:hover picture:first-child {
  transform: rotate(-8deg) translateX(-60px) translateY(-40px) scale(1.03);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(59,130,246,0.25));
}
.card-stack:hover picture:last-child {
  transform: rotate(10deg) translateX(80px) translateY(50px) scale(1.03);
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5)) drop-shadow(0 0 25px rgba(245,166,35,0.2));
}
@keyframes stackCardFloat1 {
  0%, 100% { transform: rotate(-5deg) translateX(-30px) translateY(-30px); }
  50% { transform: rotate(-5deg) translateX(-30px) translateY(-38px); }
}
@keyframes stackCardFloat2 {
  0%, 100% { transform: rotate(8deg) translateX(60px) translateY(40px); }
  50% { transform: rotate(8deg) translateX(60px) translateY(32px); }
}

/* ==================== FEATURES (alternating) ==================== */
.feature-section {
  padding: var(--section-pad) 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-grid.reverse .feature-text { order: 2; }
.feature-grid.reverse .feature-visual { order: 1; }

.feature-visual {
  background: var(--gray-100);
  border-radius: var(--r-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.feature-visual.dark-bg {
  background: var(--gray-900);
}
.feature-visual-icon {
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.dark-bg .feature-visual-icon {
  background: rgba(59,130,246,0.15);
  color: var(--blue-light);
}

.feature-text .section-title { font-size: clamp(28px, 3.5vw, 44px); }

/* ==================== STATS ==================== */
.stats {
  padding: var(--section-pad) 0;
  text-align: center;
}
.stats-header { margin-bottom: 56px; }
.stats-header .section-desc { margin: 0 auto; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.stat-item {}
.stat-value {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1;
}
.dark .stat-value { color: var(--blue-light); }
.stat-label {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 500;
}
.dark .stat-label { color: var(--gray-400); }

/* ==================== FAQ ==================== */
.faq-section {
  padding: var(--section-pad) 0;
}
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.dark .faq-item { border-color: rgba(255,255,255,0.1); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 300ms var(--ease);
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}
.dark .faq-answer p { color: var(--gray-400); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  padding: var(--section-pad) 0;
  text-align: center;
}
.cta-banner .section-title {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 16px;
}
.cta-tagline {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--gray-400);
  margin-bottom: 40px;
  font-weight: 500;
}
.cta-tagline .dot {
  color: var(--blue);
  font-weight: 700;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--gray-950);
  padding: 64px 0 32px;
  color: var(--gray-400);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 200ms;
}
.footer-col a:hover { color: var(--white); opacity: 1; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--white); opacity: 1; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-card-wrapper { margin-top: 40px; }
  .hero-card-img { max-width: 420px; }
  .card-showcase-inner { grid-template-columns: 1fr; text-align: center; }
  .card-showcase .section-desc { margin: 0 auto; }
  .card-showcase .feature-list { align-items: center; }
  .card-stack { min-height: 280px; }
  .stack-card { width: 300px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reverse .feature-text { order: 1; }
  .feature-grid.reverse .feature-visual { order: 2; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .header-cta .btn-outline-white { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-card-img { max-width: 300px; }
  .stack-card { width: 240px; }
  .card-stack { min-height: 200px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==================== PRICING PAGE ==================== */
.page-header {
  padding: 140px 0 64px;
  text-align: center;
}
.page-header .section-desc { margin: 0 auto; }
.dark .page-header { background: var(--gray-950); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.pricing-card.featured {
  border-color: var(--blue);
  background: var(--gray-950);
  color: var(--white);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.pricing-card.featured .pricing-period { color: var(--gray-400); }
.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-features li {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gray-600);
}
.pricing-card.featured .pricing-features li { color: var(--gray-400); }
.pricing-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 64px; }
}

/* ==================== ABOUT PAGE ==================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.about-card {
  background: var(--gray-50);
  border-radius: var(--r-xl);
  padding: 40px 28px;
}
.about-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.about-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}
.dark .about-card {
  background: var(--gray-800);
}
.dark .about-card p { color: var(--gray-400); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ==================== HOW IT WORKS CAROUSEL ==================== */
.hiw-carousel-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  overflow: hidden;
}

.hiw-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0 40px;
}

.hiw-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.hiw-card {
  flex: 0 0 320px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transform: scale(0.88);
  opacity: 0.5;
  filter: blur(1px);
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
}

.hiw-card.active {
  transform: scale(1.05);
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--blue);
}

.hiw-card.prev,
.hiw-card.next {
  transform: scale(0.92);
  opacity: 0.6;
  filter: blur(0);
}

.hiw-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hiw-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hiw-card.active .hiw-card-img img {
  transform: scale(1.05);
}

.hiw-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
  pointer-events: none;
}

.hiw-step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.hiw-card-body {
  padding: 24px;
}

.hiw-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.hiw-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  margin: 0;
}

/* Dots */
.hiw-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.hiw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hiw-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 5px;
}

/* Mobile */
@media (max-width: 768px) {
  .hiw-card {
    flex: 0 0 280px;
  }
  .hiw-card-img {
    height: 180px;
  }
  .hiw-card.active {
    transform: scale(1.02);
  }
}

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher {
  position: relative;
  margin-left: 12px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray-300);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
.lang-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--gray-950);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.lang-switcher.open .lang-dropdown {
  display: block;
}
.lang-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s;
}
.lang-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.lang-dropdown a.active-lang {
  color: var(--blue);
  font-weight: 600;
}

/* Scrolled header lang btn */
.header.scrolled .lang-btn {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
  color: var(--gray-600);
}
.header.scrolled .lang-btn:hover {
  background: rgba(0,0,0,0.1);
  color: var(--gray-900);
}
.header.scrolled .lang-dropdown {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.header.scrolled .lang-dropdown a {
  color: var(--gray-600);
}
.header.scrolled .lang-dropdown a:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}
.header.scrolled .lang-dropdown a.active-lang {
  color: var(--blue);
}

/* RTL support */
[dir="rtl"] .header-inner { direction: rtl; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
