/* ========== CSS Custom Properties ========== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-family);
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.75;
}

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

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .navbar-logo {
  color: var(--gray-900);
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-500);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .navbar-links a {
  color: var(--gray-700);
}

.navbar.scrolled .navbar-links a::after {
  background: var(--primary-500);
}

.navbar-links .btn-cta {
  background: var(--primary-500);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.navbar-links .btn-cta:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.navbar-links .btn-cta::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--gray-800);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--gray-800);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--gray-800);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #312e81 0%, #4338ca 35%, #6366f1 70%, #818cf8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge i {
  color: #fbbf24;
  font-size: 0.75rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  left: -30px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 1.5s;
}

.hero-float-card .float-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.1rem;
}

.hero-float-card .float-info .float-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.hero-float-card .float-info .float-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== Features Section ========== */
.features {
  background: var(--gray-50);
  position: relative;
}

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

.features-header .section-desc {
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, transparent 100%);
  transition: var(--transition);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(99, 102, 241, 0.25);
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.feature-card:nth-child(5) .feature-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.feature-card:nth-child(6) .feature-icon {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== Stats Section ========== */
.stats {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 80%, #4f46e5 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number .stat-suffix {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ========== Testimonials Section ========== */
.testimonials {
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-header .section-desc {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-100);
}

.testimonial-user .user-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
}

.testimonial-user .user-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
}

/* ========== FAQ Section ========== */
.faq {
  background: var(--gray-50);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header .section-desc {
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-item.active {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
}

.faq-question .faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--primary-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  font-size: 0.8rem;
  transition: var(--transition);
}

.faq-item.active .faq-question .faq-icon {
  background: var(--primary-500);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ========== Download Section ========== */
.download {
  background: var(--white);
}

.download-header {
  text-align: center;
  margin-bottom: 56px;
}

.download-header .section-desc {
  margin: 0 auto;
}

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

.download-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.download-card .platform-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-600);
}

.download-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.download-card .version {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary-500);
  background: var(--primary-50);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  font-weight: 500;
}

.download-card .features-list {
  text-align: left;
  margin-bottom: 24px;
}

.download-card .features-list li {
  font-size: 0.875rem;
  color: var(--gray-500);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-card .features-list li i {
  color: #10b981;
  font-size: 0.75rem;
}

.download-card .btn-download {
  width: 100%;
  padding: 13px 24px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
}

.download-card .btn-download:hover {
  background: var(--primary-600);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #6366f1 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-section .btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--white);
  color: var(--primary-700);
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-cta-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

/* ========== Footer ========== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .footer-logo .footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-500);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-500);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--primary-500);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--primary-400);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--primary-400);
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-600);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
}

/* ========== Mobile Menu ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  padding: 80px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-2xl);
  transition: right 0.4s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.mobile-menu .mobile-cta {
  background: var(--primary-500);
  color: var(--white) !important;
  text-align: center;
  border-radius: 50px;
  margin-top: 16px;
  font-weight: 600;
}

.mobile-menu .mobile-cta:hover {
  background: var(--primary-600) !important;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

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

  .download-grid .download-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
    width: 100%;
  }

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

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  /* Navbar */
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero .container {
    flex-direction: column;
    gap: 40px;
    padding-top: 100px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper img {
    max-width: 100%;
  }

  .hero-float-card.card-1 {
    left: 0;
    top: 5%;
  }

  .hero-float-card.card-2 {
    right: 0;
    bottom: 5%;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Download */
  .download-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .download-grid .download-card:last-child {
    max-width: 100%;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.75rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}
