/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  --primary: #5B6BE6;
  --primary-light: #7B8AEF;
  --primary-dark: #4452D6;
  --accent: #3B82F6;
  --gradient-start: #6C5CE7;
  --gradient-end: #3B82F6;
  --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  --gradient-text: linear-gradient(135deg, #6C5CE7, #3B82F6, #06B6D4);

  --bg: #FAFBFF;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F9FF;
  --bg-muted: #F1F3F9;

  --text-primary: #1A1D2E;
  --text-secondary: #5A5F7A;
  --text-muted: #8B90A8;
  --text-white: #FFFFFF;

  --border: #E5E7F0;
  --border-light: #F0F1F7;

  --shadow-sm: 0 1px 3px rgba(91, 107, 230, 0.06);
  --shadow-md: 0 4px 16px rgba(91, 107, 230, 0.08);
  --shadow-lg: 0 12px 40px rgba(91, 107, 230, 0.12);
  --shadow-xl: 0 20px 60px rgba(91, 107, 230, 0.15);
  --shadow-glow: 0 0 60px rgba(91, 107, 230, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Typography Utilities
   ======================================== */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(59, 130, 246, 0.1));
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(91, 107, 230, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(91, 107, 230, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(91, 107, 230, 0.04);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(91, 107, 230, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-contact {
  padding: 0 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: rgba(91, 107, 230, 0.06);
}

.btn-contact svg {
  flex-shrink: 0;
}

.btn-contact:hover {
  background: rgba(91, 107, 230, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(91, 107, 230, 0.15);
}

@keyframes contactPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 107, 230, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(91, 107, 230, 0); }
}

.btn-contact {
  animation: contactPulse 3s ease-in-out infinite;
}

.btn-contact:hover {
  animation: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(108, 92, 231, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 107, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 107, 230, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

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

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: hintBounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes hintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   Background Decorations (shared)
   ======================================== */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.bg-blob-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
  background: rgba(108, 92, 231, 0.07);
}

.bg-blob-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
  background: rgba(59, 130, 246, 0.06);
}

.bg-blob-3 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(108, 92, 231, 0.05);
}

.bg-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.bg-deco-dots {
  top: 40px;
  right: 0;
  width: 300px;
  opacity: 0.5;
}

.bg-deco-wave {
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.bg-deco-circles {
  top: -60px;
  left: -60px;
  width: 500px;
  opacity: 0.7;
}

/* ========================================
   Hero Background Images
   ======================================== */
.hero-bg-img {
  position: absolute;
  width: 340px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  opacity: 0.08;
  filter: blur(1px) saturate(0.6);
  pointer-events: none;
}

.hero-bg-img-left {
  left: -40px;
  bottom: 10%;
  transform: rotate(-6deg);
}

.hero-bg-img-right {
  right: -40px;
  top: 15%;
  transform: rotate(4deg);
}

/* ========================================
   Features Section
   ======================================== */
.features {
  position: relative;
  padding: 120px 0;
  background: var(--bg-white);
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.features-grid-5 .feature-card-wide:nth-child(4),
.features-grid-5 .feature-card-wide:nth-child(5) {
  grid-column: span 1;
}

.feature-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-card.featured {
  border-color: rgba(91, 107, 230, 0.25);
  background: linear-gradient(180deg, rgba(91, 107, 230, 0.03), transparent);
  box-shadow: 0 4px 24px rgba(91, 107, 230, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-tag {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(59, 130, 246, 0.08));
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ========================================
   Demo / Phone Mockup Section
   ======================================== */
.demo {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}

.demo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.demo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(108, 92, 231, 0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(59, 130, 246, 0.02) 25%, transparent 25%),
    linear-gradient(315deg, rgba(108, 92, 231, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, rgba(59, 130, 246, 0.02) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.demo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.phone-mockup {
  position: relative;
  flex-shrink: 0;
}

.phone-frame {
  position: relative;
  width: 300px;
  height: 620px;
  background: #1A1D2E;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    var(--shadow-xl),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1A1D2E;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-notch::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #2A2D3E;
  border-radius: 50%;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(26, 29, 46, 0.4);
  backdrop-filter: blur(2px);
  transition: all var(--transition);
  cursor: pointer;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.play-btn svg {
  margin-left: 4px;
}

.play-text {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.phone-reflection {
  position: absolute;
  bottom: -60px;
  left: 10%;
  right: 10%;
  height: 60px;
  background: linear-gradient(180deg, rgba(26, 29, 46, 0.15), transparent);
  filter: blur(10px);
  border-radius: 50%;
}

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 340px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
}

.step:hover,
.step.active {
  border-color: rgba(91, 107, 230, 0.3);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.step.active {
  border-left: 3px solid var(--primary);
}

.step-number {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages {
  position: relative;
  padding: 120px 0;
  background: var(--bg-white);
  overflow: hidden;
}

.advantages-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.advantage-icon img {
  width: 24px;
  height: 24px;
}

.advantage-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(91, 107, 230, 0.05);
  line-height: 1;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Platforms Section
   ======================================== */
.platforms {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}

.platforms-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.platforms-showcase {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 36px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  min-width: 180px;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 107, 230, 0.2);
}

.platform-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-logo img {
  width: 48px;
  height: 48px;
}

.platform-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.platform-status {
  font-size: 12px;
  font-weight: 600;
  color: #10B981;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-full);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

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

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6C5CE7 0%, #5B6BE6 40%, #3B82F6 100%);
}

.cta-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 20% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.cta-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px, 60px 60px, 100px 100px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.trust-item svg {
  stroke: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 80px 0 32px;
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-logo .logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-logo .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.footer-slogan {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   Hero Highlight (AB Page)
   ======================================== */
.hero-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text-secondary);
}

.highlight-item svg {
  stroke: var(--primary);
  flex-shrink: 0;
}

.highlight-item strong {
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   Contact Modal
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 29, 46, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-xl);
  max-width: 380px;
  width: 90%;
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.modal-body .qr-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  border: 1px solid var(--border-light);
}

.modal-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-body p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========================================
   Animations (Scroll Reveal)
   ======================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .features-grid,
  .features-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-bg-img { display: none; }

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

  .demo-content {
    flex-direction: column;
    gap: 48px;
  }

  .demo-steps {
    flex-direction: row;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .step {
    min-width: 240px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-contact span {
    display: none;
  }

  .btn-contact {
    padding: 0px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .hero-desc br {
    display: none;
  }

  .hero-highlight {
    gap: 10px;
  }

  .highlight-item {
    font-size: 13px;
    padding: 6px 14px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .features-grid,
  .features-grid-5 {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 260px;
    height: 540px;
  }

  .demo-steps {
    flex-direction: column;
  }

  .step {
    min-width: auto;
  }

  .platforms-showcase {
    gap: 16px;
  }

  .platform-card {
    min-width: 140px;
    padding: 24px 20px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .cta-trust {
    flex-direction: column;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-desc br {
    display: none;
  }
}
