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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --white: #ffffff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  overflow-x: hidden;
  position: relative;
  padding-top: 100px;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-animation::before,
.bg-animation::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.bg-animation::before {
  background: var(--primary);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.bg-animation::after {
  background: var(--success);
  bottom: -200px;
  left: -200px;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.1); }
  50% { transform: translate(-30px, 30px) scale(0.9); }
  75% { transform: translate(-50px, -30px) scale(1.05); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Fixed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  padding: 16px 0;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.8s ease-out;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

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

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

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

.btn-login {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-login::after {
  display: none;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1003;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: fixed;
  top: 24px;
  right: 20px;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  animation: fadeInUp 1s ease-out;
}

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

.hero-text {
  text-align: left;
}

.hero-video {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(99, 102, 241, 0.4);
  border: 2px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  animation: float-video 6s ease-in-out infinite;
}

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

.hero-video::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--success));
  border-radius: 24px;
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 32px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--gray-light);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.btn span {
  position: relative;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 20px;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 32px 64px rgba(99, 102, 241, 0.2);
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--gray-light);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-item h4 {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--gray-light);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 32px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(99, 102, 241, 0.4);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-card h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-card .btn {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
}

.cta-card .btn:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Footer */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--gray-light);
  font-size: 14px;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

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

  .hero-video {
    max-width: 600px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  .container {
    padding: 0 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 32px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    border-left: 2px solid rgba(99, 102, 241, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 20px 24px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-links a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    transform: translateX(-8px);
  }

  .nav-links a:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .btn-login {
    margin-top: 20px;
  }

  .nav-links a::after {
    display: none;
  }

  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .footer-logo .logo-icon {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .hero p {
    font-size: clamp(16px, 4vw, 20px);
  }

  .features {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .stats {
    padding: 60px 0;
  }

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

  .stat-item h4 {
    font-size: 36px;
  }

  .stat-item p {
    font-size: 14px;
  }

  .cta-section {
    padding: 80px 0;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
  }

  .cta-card {
    padding: 48px 20px;
    border-radius: 24px;
  }

  .hero-video {
    border-radius: 16px;
  }

  .hero-video::before {
    border-radius: 16px;
  }

  .hero-video video,
  .hero-video img {
    border-radius: 14px;
  }

  footer {
    padding: 48px 0 24px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    gap: 20px;
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 24px;
    font-size: 13px;
  }
}

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

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    width: 250px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .feature-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

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

  .cta-card {
    padding: 40px 16px;
  }

  .cta-card h2 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .cta-card p {
    font-size: 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(99, 102, 241, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--white);
}

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

/* Detailed Features Section */
.detailed-features {
  padding: 100px 0;
}

.detailed-features-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.detailed-feature {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.detailed-feature.reverse {
  grid-template-columns: 1.5fr 1fr;
}

.detailed-feature.reverse .feature-visual {
  order: 2;
}

.detailed-feature.reverse .feature-details {
  order: 1;
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-visual::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.feature-icon-large {
  font-size: 6rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.3));
}

.feature-details h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-details p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.feature-details ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-details li {
  color: var(--gray-light);
  padding-left: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
}

.faq-container {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--gray-light);
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

/* Footer Updates */
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-legal a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive Updates for New Sections */
@media (max-width: 968px) {
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
  
  .detailed-feature,
  .detailed-feature.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .detailed-feature.reverse .feature-visual {
    order: 1;
  }
  
  .detailed-feature.reverse .feature-details {
    order: 2;
  }
  
  .feature-icon-large {
    font-size: 4rem;
  }
  
  .feature-details h3 {
    font-size: 1.5rem;
  }
  
  .scroll-to-top {
    bottom: 24px;
    right: 24px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .how-it-works,
  .detailed-features,
  .faq {
    padding: 60px 0;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    padding: 32px 24px;
  }
  
  .feature-visual {
    padding: 32px;
  }
  
  .faq-question {
    padding: 20px 20px;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
