/* ============================================================
   MAHALAK LANDING PAGE v3 — Premium Redesign
   Complete landing page styles with advanced animations
   ============================================================ */

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered entrance for grid children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.reveal-grid > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVBAR ========== */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.landing-header.scrolled {
  background: rgba(10, 10, 26, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 0.75rem 2.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.landing-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.landing-header .logo-icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--color-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), transparent);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.1);
  transition: box-shadow 0.3s;
}
.landing-header .logo:hover .logo-icon {
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.2);
}

.landing-header .logo-icon::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.landing-header .logo-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
  animation: logo-pulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--color-gold);
}

@keyframes logo-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.landing-header .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.landing-header .logo-text span {
  color: var(--color-gold);
}

.landing-header .nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.landing-header .nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  padding: 0.25rem 0;
}

.landing-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-300));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.landing-header .nav-link:hover {
  color: var(--color-gold);
}
.landing-header .nav-link:hover::after {
  transform: scaleX(1);
}

.landing-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 3;
}

/* ========== GLOBAL BUTTONS ========== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-600));
  border: none;
  color: #1a1a2e;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gold-300), var(--color-gold));
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201, 169, 110, 0.4);
}

.btn-gold:hover::before {
  opacity: 1;
}

.btn-gold > * {
  position: relative;
  z-index: 1;
}

.btn-gold-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-gold-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== HERO SECTION ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06061a 0%, #0e0e2e 25%, #15153a 50%, #0e0e2e 75%, #06061a 100%);
  padding: 7rem 2rem 2rem;
}

/* Animated mesh gradient overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(201, 169, 110, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(100, 80, 200, 0.04) 0%, transparent 50%);
  animation: mesh-shift 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes mesh-shift {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(1deg); }
  100% { transform: scale(1) rotate(-1deg); }
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: hero-shape-float 20s ease-in-out infinite;
  filter: blur(60px);
}

.hero-shape:nth-child(1) {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--color-gold), transparent 70%);
  top: -250px;
  right: -200px;
  animation-delay: 0s;
}
.hero-shape:nth-child(2) {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0891b2, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation-delay: -7s;
}
.hero-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06), transparent 70%);
  top: 30%;
  left: 15%;
  animation-delay: -14s;
}
.hero-shape:nth-child(4) {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 0;
  transform: rotate(45deg);
  bottom: 25%;
  right: 12%;
  animation: hero-shape-rotate 30s linear infinite;
  filter: none;
  opacity: 0.15;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 10s ease-in-out infinite;
}

.hero-particle:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 35%; left: 22%; animation-delay: 1.2s; width: 2px; height: 2px; }
.hero-particle:nth-child(3) { top: 55%; left: 12%; animation-delay: 2.4s; }
.hero-particle:nth-child(4) { top: 25%; left: 78%; animation-delay: 0.6s; }
.hero-particle:nth-child(5) { top: 65%; left: 72%; animation-delay: 1.8s; width: 2px; height: 2px; }
.hero-particle:nth-child(6) { top: 45%; left: 88%; animation-delay: 3s; }
.hero-particle:nth-child(7) { top: 10%; left: 45%; animation-delay: 3.6s; width: 4px; height: 4px; }
.hero-particle:nth-child(8) { top: 78%; left: 35%; animation-delay: 2s; }
.hero-particle:nth-child(9) { top: 50%; left: 50%; animation-delay: 4s; }
.hero-particle:nth-child(10) { top: 85%; left: 60%; animation-delay: 1s; }

@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.2; }
  50% { transform: translateY(-40px) scale(1.8); opacity: 0.35; }
  80% { opacity: 0.1; }
}

@keyframes hero-shape-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

@keyframes hero-shape-rotate {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 50px;
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.hero-badge:hover {
  background: rgba(201, 169, 110, 0.15);
  border-color: rgba(201, 169, 110, 0.35);
  transform: translateY(-1px);
}

.hero-badge i {
  font-size: 0.75rem;
  animation: badge-glow 2.5s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Typing effect with multiple lines */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-gold-200) 0%, var(--color-gold) 30%, var(--color-gold-400) 60%, #fdf08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title .typing-cursor {
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--color-gold);
  margin-right: 3px;
  animation: cursor-blink 0.9s step-end infinite;
  vertical-align: text-bottom;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.5);
}

@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars .trust-avatar-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #0e0e2e;
  margin-right: -10px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-600));
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s;
}
.hero-trust-avatars .trust-avatar-placeholder:hover {
  transform: translateY(-3px) scale(1.05);
}

.hero-trust-avatars .trust-avatar-placeholder:first-child {
  margin-right: 0;
}

.hero-trust-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.hero-trust-text strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  transition: transform 0.3s;
}
.hero-stat:hover {
  transform: translateY(-4px);
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(201, 169, 110, 0.1);
}

.hero-stat-number .counter-suffix {
  font-size: 1.25rem;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-top: 0.35rem;
}

/* ========== HERO MOCKUP (3D Perspective) ========== */
.hero-mockup-section {
  position: relative;
  z-index: 2;
  margin-top: -1rem;
  padding: 0 2rem 4rem;
  perspective: 1200px;
}

.hero-mockup-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  transform: rotateX(2deg) rotateY(-1deg);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-mockup-wrapper.reveal-scale.visible {
  transform: rotateX(2deg) rotateY(-1deg) scale(1);
}

.hero-mockup-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.3), rgba(201, 169, 110, 0.05), rgba(201, 169, 110, 0.2));
  z-index: -1;
  animation: border-glow 4s ease-in-out infinite alternate;
}

@keyframes border-glow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-mockup {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 169, 110, 0.1);
  background: linear-gradient(135deg, #16163a 0%, #222250 50%, #1e1e42 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-mockup-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  width: 100%;
  height: 100%;
  gap: 0;
  position: relative;
  z-index: 1;
}

.mockup-sidebar {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-sidebar-item {
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 0.625rem;
  gap: 0.5rem;
  transition: background 0.3s;
}

.mockup-sidebar-item.active {
  background: rgba(201, 169, 110, 0.12);
  border-right: 2px solid var(--color-gold);
}

.mockup-sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.mockup-sidebar-item.active .mockup-sidebar-dot {
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.4);
}

.mockup-sidebar-line {
  height: 8px;
  width: 55px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-main {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-topbar-left {
  display: flex;
  gap: 0.5rem;
}

.mockup-topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform 0.3s;
}
.mockup-topbar-dot:nth-child(1) { background: #ff5f56; }
.mockup-topbar-dot:nth-child(2) { background: #ffbd2e; }
.mockup-topbar-dot:nth-child(3) { background: #27c93f; }
.mockup-topbar-dot:hover { transform: scale(1.5); }

.mockup-topbar-right {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}

.mockup-topbar-right .mockup-sidebar-line {
  width: 60px;
  background: rgba(255, 255, 255, 0.06);
}
.mockup-topbar-right .mockup-sidebar-dot {
  width: 24px;
  height: 24px;
  background: rgba(201, 169, 110, 0.2);
  border-radius: 50%;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  flex: 1;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.mockup-card-header {
  display: flex;
  justify-content: space-between;
}
.mockup-card-header .mockup-sidebar-line { width: 40px; }
.mockup-card-header .mockup-sidebar-line:last-child { width: 20px; }

.mockup-card-body {
  display: flex;
  gap: 0.5rem;
}

.mockup-card-bar {
  height: 40px;
  border-radius: 4px;
  flex: 1;
  background: rgba(201, 169, 110, 0.06);
  transition: background 0.3s;
}
.mockup-card-bar.gold { background: rgba(201, 169, 110, 0.25); }
.mockup-card-bar.gold-light { background: rgba(201, 169, 110, 0.1); }

/* ========== WAVE DIVIDER ========== */
.wave-divider {
  position: relative;
  height: 120px;
  overflow: hidden;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-divider.top {
  transform: rotate(180deg);
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.section-dark { background: linear-gradient(180deg, #13133a 0%, #0e0e2e 100%); color: #e0e0e0; }
.section-light { background: #f5f5f0; color: #1a1a2e; }
.section-white { background: #ffffff; color: #1a1a2e; }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 1.1rem;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 50px;
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.section-tag:hover {
  background: rgba(201, 169, 110, 0.18);
  transform: translateY(-1px);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-dark .section-title { color: #ffffff; }
.section-light .section-title,
.section-white .section-title { color: #1a1a2e; }

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.75;
  opacity: 0.7;
  font-weight: 400;
}
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.55); }
.section-light .section-subtitle,
.section-white .section-subtitle { color: rgba(26, 26, 46, 0.5); }

/* ========== FEATURES GRID (Premium Cards with Hover 3D) ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  transform-style: preserve-3d;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-gold-300), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201, 169, 110, 0.03));
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
  border-color: var(--color-gold);
}

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

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.12), rgba(201, 169, 110, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.875rem;
  color: rgba(26, 26, 46, 0.55);
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.feature-dots {
  display: flex;
  gap: 0.375rem;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.feature-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-neutral-200);
  transition: all 0.3s;
}

.feature-card:hover .feature-dot.active {
  background: var(--color-gold);
  width: 36px;
}

.feature-dot.active {
  background: var(--color-gold);
}

/* ========== HOW IT WORKS (Premium Timeline) ========== */
.steps-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), rgba(201, 169, 110, 0.2), var(--color-gold));
  opacity: 0.15;
}

.step-card {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
  transition: transform 0.4s;
}
.step-card:hover {
  transform: translateY(-6px);
}

.step-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
  position: relative;
  transition: all 0.4s;
}
.step-card:hover .step-number {
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.4);
  transform: scale(1.05);
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.2);
  animation: step-ring 3s ease-in-out infinite;
}

@keyframes step-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  font-weight: 400;
}

/* ========== BUSINESS TYPES (Premium Grid) ========== */
.business-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.business-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.business-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--color-gold);
}

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

.business-card:hover .business-icon {
  transform: scale(1.2) rotate(-8deg);
  color: var(--color-gold-600);
}

.business-card .business-icon {
  font-size: 2.25rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.business-card .business-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a2e;
  position: relative;
  z-index: 1;
}

/* ========== PRICING (Premium Cards) ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 169, 110, 0.3);
}
.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold), 0 25px 60px rgba(201, 169, 110, 0.15);
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 0 0 2px var(--color-gold), 0 35px 70px rgba(201, 169, 110, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1.25rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-600));
  color: #1a1a2e;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.pricing-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-neutral-500);
}

.pricing-currency {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--color-neutral-500) !important;
}

.pricing-desc {
  font-size: 0.8125rem;
  color: var(--color-neutral-500);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: right;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  color: var(--color-neutral-700);
  transition: transform 0.25s;
}
.pricing-card:hover .pricing-features li:hover {
  transform: translateX(-3px);
}

.pricing-features li i {
  color: var(--color-success);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--color-neutral-400);
}

.pricing-features li.disabled i {
  color: var(--color-neutral-300);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle span {
  font-size: 0.9375rem;
  color: var(--color-neutral-500);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.pricing-toggle span.active {
  color: #1a1a2e;
  font-weight: 700;
}

.pricing-save-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(201, 169, 110, 0.12);
  color: var(--color-gold-700);
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Premium toggle switch */
.toggle {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.toggle-input {
  display: none;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: #d4d4d8;
  border-radius: 50px;
  transition: all 0.35s;
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  right: 3px;
  transition: all 0.35s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggle-input:checked + .toggle-track {
  background: var(--color-gold);
}

.toggle-input:checked + .toggle-track::before {
  right: 27px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-4px) scale(1.01);
}

.testimonial-card .testimonial-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.testimonial-card .testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(26, 26, 46, 0.65);
  margin-bottom: 1.5rem;
  font-weight: 400;
  position: relative;
  padding-right: 0.5rem;
}

.testimonial-card .testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.15;
  position: absolute;
  top: -0.75rem;
  right: -0.25rem;
  line-height: 1;
  font-weight: 900;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1a1a2e;
  flex-shrink: 0;
}

.testimonial-card .testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1a1a2e;
}

.testimonial-card .testimonial-role {
  font-size: 0.75rem;
  color: rgba(26, 26, 46, 0.4);
  font-weight: 400;
}

/* ========== CTA SECTION (Premium Gradient) ========== */
.cta-section {
  padding: 6rem 2rem;
  position: relative;
  background: linear-gradient(135deg, #06061a 0%, #0e0e2e 30%, #15153a 60%, #0e0e2e 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
  animation: cta-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cta-glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.cta-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}

.cta-particle:nth-child(1) { top: 25%; left: 8%; animation-delay: 0s; }
.cta-particle:nth-child(2) { top: 55%; left: 18%; animation-delay: 1.5s; }
.cta-particle:nth-child(3) { top: 35%; left: 82%; animation-delay: 2.5s; }
.cta-particle:nth-child(4) { top: 65%; left: 88%; animation-delay: 0.8s; }
.cta-particle:nth-child(5) { top: 18%; left: 48%; animation-delay: 3s; }
.cta-particle:nth-child(6) { top: 75%; left: 45%; animation-delay: 1.8s; }

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.cta-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'Tajawal', sans-serif;
  transition: all 0.3s;
  text-align: right;
}

.cta-input::placeholder { color: rgba(255, 255, 255, 0.25); }

.cta-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12), 0 0 30px rgba(201, 169, 110, 0.05);
  background: rgba(255, 255, 255, 0.08);
}

.cta-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-note i { color: #22c55e; }

.cta-note span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cta-note span::after {
  content: '·';
  color: rgba(255, 255, 255, 0.15);
  margin-right: 0.5rem;
}

.cta-note span:last-child::after {
  display: none;
}

/* ========== FOOTER ========== */
.landing-footer {
  background: linear-gradient(180deg, #08081a 0%, #04040e 100%);
  padding: 5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.landing-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.15), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand .logo-text span { color: var(--color-gold); }

.footer-brand p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.75;
  font-weight: 400;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.625rem; }

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.25s;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-col ul li a:hover {
  color: var(--color-gold);
  transform: translateX(-3px);
}

[dir="ltr"] .footer-col ul li a:hover {
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-social a:hover {
  background: var(--color-gold);
  color: #1a1a2e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.2);
  border-color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.18);
  font-weight: 400;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: scroll-indicator-fade 3s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
  letter-spacing: 2px;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.4), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--color-gold);
  border-radius: 4px;
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-8px); }
  100% { transform: translateY(40px); }
}

@keyframes scroll-indicator-fade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ========== LANDING RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .landing-header { padding: 0.75rem 1rem; }
  .landing-header.scrolled { padding: 0.6rem 1rem; }
  .landing-header .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  .landing-header .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 12px;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  }

  .features-grid { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; gap: 2rem; }
  .steps-container::before { display: none; }
  .business-types-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-mockup-inner { grid-template-columns: 140px 1fr; }
  .mockup-sidebar { padding: 0.75rem 0.5rem; }
  .mockup-sidebar-line { width: 30px; }

  .hero-stats-row { gap: 1.5rem; }
  .hero-stat-number { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-social { justify-content: center; }

  .cta-form { flex-direction: column; }
  .cta-note span::after { display: none; }
  .cta-note { gap: 0.5rem; }

  .section { padding: 4rem 1.25rem; }
  .hero-mockup-wrapper { transform: none !important; }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .business-types-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .business-card { padding: 1.25rem 1rem; }
  .hero-mockup-inner { grid-template-columns: 100px 1fr; }
  .mockup-sidebar { padding: 0.5rem 0.375rem; }
  .landing-header .header-actions .btn-ghost-light { display: none; }
  .landing-header .header-actions .btn-gold { padding: 0.5rem 1rem; font-size: 0.8125rem; }
}
