/* Base Values & Tokens */
:root {
  /* Colors - Light Spring Theme */
  --bg-main: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-pattern: linear-gradient(135deg, #16a34a, #22c55e);
  
  --primary-color: #22c55e;
  --primary-hover: #16a34a;
  --primary-light: #dcfce7;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --border-color: rgba(34, 197, 94, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(34, 197, 94, 0.08);
  
  /* Typography */
  --font-base: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
}
.text-center { text-align: center; }
.text-white { color: white !important; }
.text-white-opacity { color: rgba(255,255,255,0.8); }
.mt-lg { margin-top: 40px; }
.font-medium { font-weight: 500; }

.text-gradient {
  background: linear-gradient(90deg, #16a34a, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Glassmorphism */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}
.glass-card-white {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}
.btn-secondary {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.pulse-btn {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Logo (CSS Based) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  border-radius: 10px;
  position: relative;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 4px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.logo-icon-dark::after {
  background: #0f172a;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--primary-color);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-top: 1px solid var(--primary-light);
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  border-bottom: 1px solid var(--primary-light);
}
.mobile-menu a:last-child {
  border-bottom: none;
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
  background: var(--bg-main);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite alternate ease-in-out;
}
.blob-1 {
  top: -10%; left: -10%;
  width: 500px; height: 500px;
  background: #dcfce7;
}
.blob-2 {
  bottom: -20%; right: -10%;
  width: 600px; height: 600px;
  background: #bbf7d0;
  animation-delay: -5s;
}
.blob-3 {
  top: 40%; left: 50%;
  width: 400px; height: 400px;
  background: #f0fdf4;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-image-wrapper {
  position: relative;
  perspective: 1000px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* CSS Bank Card */
.css-bank-card {
  width: 100%;
  max-width: 380px;
  height: 240px;
  margin: 0 auto;
  background: linear-gradient(135deg, #d9f99d 0%, #22c55e 100%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(34, 197, 94, 0.3), inset 0 0 0 1px rgba(255,255,255,0.3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #0f172a;
  transform: rotateY(-15deg) rotateX(10deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  z-index: 2;
}

.css-bank-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
  box-shadow: 0 40px 80px rgba(34, 197, 94, 0.4), inset 0 0 0 1px rgba(255,255,255,0.5);
}

.css-bank-card::before {
  content: '';
  position: absolute;
  top: 50%; left: 0%;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.03);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 40px rgba(0,0,0,0.02), 0 0 0 80px rgba(0,0,0,0.02), 0 0 0 120px rgba(0,0,0,0.02), 0 0 0 160px rgba(0,0,0,0.02), 0 0 0 200px rgba(0,0,0,0.02);
  pointer-events: none;
  z-index: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  transform: translateZ(20px);
}

.card-tier {
  font-weight: 500;
  font-size: 1rem;
}

.card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
}

.card-logo-icon {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  border-radius: 4px;
  position: relative;
}
.card-logo-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%; width: 8px; height: 8px;
  background: white;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.card-balance-section {
  z-index: 2;
  transform: translateZ(25px);
  margin-top: auto; /* Pushes everything up and down properly */
  margin-bottom: 5px;
}

.card-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
  opacity: 0.8;
}

.card-balance {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.card-number {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
  z-index: 2;
  transform: translateZ(20px);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
  transform: translateZ(20px);
}

.card-holder {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floating {
  animation: float-y 6s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.mockup-card {
  position: absolute;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  white-space: nowrap;
}
.mockup-icon {
  font-size: 1.2rem;
}
.mockup-1 {
  top: -10px;
  right: -20px;
  animation: float-x 5s ease-in-out infinite alternate;
}
.mockup-2 {
  bottom: 10px;
  left: -20px;
  animation: float-x 7s ease-in-out infinite alternate-reverse;
}

@keyframes float-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-15px); }
}

/* Sections */
.section-header {
  margin-bottom: 50px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 30px;
}
.feature-card {
  padding: 40px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

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

.feature-card:nth-child(1) { grid-column: span 2; }
.feature-card:nth-child(2) { grid-row: span 2; }
.feature-card:nth-child(6) { grid-column: span 2; }

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.bg-icon-green {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.feature-list li {
  margin-bottom: 10px;
  line-height: 1.4;
}

.mt-3 { margin-top: 15px; }
.mt-auto { margin-top: auto; }

/* Flagship Card Styles */
.flagship-card {
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 252, 231, 0.6) 100%);
}
.flagship-card::before {
  opacity: 0.8 !important;
  transform: scale(1) !important;
  animation: breathe 4s infinite ease-in-out;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.25) 0%, transparent 60%);
}
@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.flagship-badge {
  position: absolute;
  top: 22px;
  right: -40px;
  background: var(--primary-color);
  color: white;
  padding: 6px 40px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
  z-index: 10;
  letter-spacing: 1px;
}
.btn-full {
  width: 100%;
}

/* Mini Card Variant */
.mini-card-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 30px;
  width: 100%;
}
.css-bank-card.mini-card {
  width: 340px;
  max-width: none;
  height: 170px;
  padding: 20px;
  transform: scale(0.7) rotateY(-15deg) rotateX(10deg);
  margin: -40px 0;
}
.css-bank-card.mini-card:hover {
  transform: scale(0.75) rotateY(0deg) rotateX(0deg) translateY(-10px);
}
.css-bank-card.mini-card .card-balance { font-size: 1.6rem; }
.css-bank-card.mini-card .card-number { font-size: 0.95rem; letter-spacing: 1px; gap: 8px; }
.css-bank-card.mini-card .card-logo { font-size: 0.95rem; }

.virtual-card-bottom-group {
  margin-top: auto;
  width: 100%;
}

@media (min-width: 993px) {
  .virtual-card-bottom-group {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: calc(100% - 80px);
  }
  .virtual-card-bottom-group .mini-card-wrapper {
    margin-bottom: 70px;
  }
}

/* All in One Layout */
.all-in-one-layout {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
  flex: 1;
}
.all-in-one-text {
  flex: 1;
}
.all-in-one-visual {
  flex: 1;
  position: relative;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.floating-screen {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.screen-back {
  height: 280px;
  transform: rotate(-6deg) translateX(-40px);
  z-index: 1;
  opacity: 0.9;
}
.screen-front {
  height: 320px;
  transform: rotate(4deg) translateX(30px);
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 992px) {
  .all-in-one-layout {
    flex-direction: column;
  }
  .all-in-one-visual {
    height: 260px;
    width: 100%;
    margin-top: 20px;
  }
  .screen-back {
    height: 220px;
    transform: rotate(-6deg) translateX(-30px);
  }
  .screen-front {
    height: 240px;
    transform: rotate(4deg) translateX(20px);
  }
}

/* How It Works Section */
#how-it-works {
  position: relative;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 40px;
}
/* Connecting horizontal line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  z-index: 0;
  opacity: 0.3;
}
.step-card {
  padding: 40px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 197, 94, 0.4);
}
.step-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(22,163,74,0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 1px solid rgba(34,197,94,0.2);
}
.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(34,197,94,0.4);
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-grid::before {
    display: none;
  }
}

.how-it-works {
  padding-bottom: 60px !important;
}

/* Video Section Separation */
.video-section {
  position: relative;
  padding-top: 50px !important;
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(34,197,94,0.04) 20%, rgba(34,197,94,0.06) 80%, rgba(255,255,255,1) 100%);
  border-top: 1px solid rgba(34,197,94,0.08); /* Soft separation line */
  border-bottom: 1px solid rgba(34,197,94,0.08);
  overflow: hidden;
  margin-top: 0;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.video-section .container {
  position: relative;
  z-index: 1;
}

/* Vertical Promo Video Layout */
.video-split-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}
.video-text-content {
  flex: 1;
  text-align: left;
}
.video-text-content .section-title,
.video-text-content .section-subtitle {
  text-align: left;
  margin-left: 0;
}
.video-visual-content {
  flex: 1;
  display: flex;
  justify-content: center;
}
.video-bullets {
  margin-top: 30px;
}
.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.bullet-icon {
  font-size: 1.8rem;
  background: rgba(34, 197, 94, 0.1);
  padding: 10px;
  border-radius: 12px;
}
.bullet-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.bullet-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  display: block;
}

.vertical-video-wrapper {
  position: relative;
  max-width: 320px; 
  margin: 0 auto; 
  z-index: 1;
}

.vertical-video-wrapper::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: -15px; bottom: -15px;
  background: linear-gradient(45deg, rgba(34,197,94,0.3), rgba(0,0,0,0.05), rgba(22,163,74,0.2));
  z-index: -1;
  border-radius: 40px;
  filter: blur(25px);
  animation: pulseGlow 4s infinite alternate;
}

.promo-video {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  display: block;
  background-color: #0f172a;
  border: 6px solid #f8fafc; 
  object-fit: cover;
  aspect-ratio: 9/16;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; filter: blur(20px); transform: scale(0.98); }
  100% { opacity: 0.8; filter: blur(30px); transform: scale(1.02); }
}

/* Video Overlay & Play Button */
.video-overlay {
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border-radius: 24px;
  background: #0a0a0a; /* Solid black base */
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.css-poster-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #020617, #064e3b, #0f172a, #14532d);
  background-size: 300% 300%;
  animation: bgShift 12s ease infinite;
  opacity: 0.8;
  transition: transform 0.8s ease, filter 0.8s ease;
  filter: saturate(1.2);
}
.css-poster-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 140px; height: 140px;
  background: var(--primary-color);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
  animation: pulseGlow 4s infinite alternate;
}
.video-overlay:hover .css-poster-bg {
  transform: scale(1.1);
  filter: saturate(1.5) brightness(1.2);
}
@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.play-btn-pulse {
  position: relative;
  width: 90px; height: 90px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  z-index: 11;
  box-shadow: 0 10px 30px rgba(34,197,94,0.6);
  transition: transform 0.3s ease, background 0.3s ease;
}
.play-btn-pulse:hover {
  transform: scale(1.05);
  background: var(--primary-hover);
}
.play-btn-pulse::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: -1;
  animation: playPing 2s infinite;
}
@keyframes playPing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 900px) {
  .video-split-layout {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .video-text-content {
    text-align: center;
  }
  .video-text-content .section-title,
  .video-text-content .section-subtitle {
    text-align: center;
  }
  .bullet-item {
    text-align: left;
  }
}

@media (max-width: 500px) {
  .vertical-video-wrapper {
    max-width: 280px;
  }
}

/* Reviews */
.bg-light { background-color: var(--bg-secondary); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.review-card {
  padding: 30px;
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.3);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.review-name {
  font-weight: 700;
  color: var(--text-main);
}
.stars { color: #fbbf24; font-size: 0.9rem; }
.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--primary-hover);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
}
.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid var(--primary-light);
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary-color); }
.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: #f8fafc;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 20px;
}
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
.footer {
  background: #0f172a;
  color: white;
  padding: 80px 0 0;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-desc {
  color: #94a3b8;
  margin-top: 20px;
  max-width: 300px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: white;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 15px;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 30px 0;
  text-align: center;
  color: #64748b;
}

/* Animations (Intersection Observer classes) */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in { opacity: 0; transition: opacity 0.6s ease; }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

.fade-up.visible, .fade-in.visible, .fade-in-right.visible {
  opacity: 1; transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* Responsive */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .mockup-1 { right: 0; }
  .mockup-2 { left: 0; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-links { text-align: left; }
  .footer-desc { margin: 20px auto; }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card:nth-child(1) { grid-column: span 2; }
  .feature-card:nth-child(2) { grid-row: auto; grid-column: span 2; }
  .feature-card:nth-child(5) { grid-column: span 2; }
  .feature-card:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .section { padding: 60px 0; }
  .slider-container { height: 350px; }
  .slider-wrapper { padding: 15px; }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}
