* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary: #10b981;
  --dark: #1f2937;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  font-size: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: var(--light-gray);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-icon {
  font-size: 20px;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-icon {
  font-size: 18px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
}

/* Hero Cards */
.hero-image {
  position: relative;
  height: 500px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-card-1 {
  top: 0;
  left: 0;
  width: 280px;
  animation-delay: 0s;
}

.hero-card-2 {
  top: 150px;
  right: 0;
  width: 240px;
  animation-delay: 2s;
}

.hero-card-3 {
  bottom: 0;
  left: 60px;
  width: 260px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

.card-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.card-label {
  font-size: 12px;
  color: var(--gray);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-description {
  font-size: 20px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-description {
  color: var(--gray);
  line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: var(--light-gray);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.step {
  text-align: center;
  position: relative;
}

.step::after {
  content: '→';
  position: absolute;
  top: 40px;
  right: -24px;
  font-size: 32px;
  color: var(--primary);
  opacity: 0.3;
}

.step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-description {
  color: var(--gray);
  line-height: 1.8;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-currency {
  font-size: 24px;
  color: var(--gray);
}

.price-amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--dark);
}

.price-period {
  font-size: 18px;
  color: var(--gray);
}

.pricing-yearly {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.feature-item {
  padding: 12px 0;
  color: var(--gray);
  font-size: 16px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient);
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #374151;
}

.footer-copyright {
  color: #9ca3af;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* App Preview Section */
.app-preview {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.app-preview-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.app-screens {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.screen-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  will-change: transform, opacity;
}

.screen-item.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
  pointer-events: auto;
}

.screen-item.prev {
  transform: translateX(-100%);
  opacity: 0;
}

.screen-item img {
  max-width: 100%;
  max-height: 85%;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.screen-label {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}

.app-preview-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.preview-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.preview-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.preview-btn:active {
  transform: scale(0.95);
}

.preview-dots {
  display: flex;
  gap: 12px;
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.preview-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.preview-dot:hover {
  background: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }
  
  .app-screens {
    height: 500px;
    border-radius: 16px;
  }
  
  .screen-item {
    padding: 15px;
  }
  
  .screen-item img {
    max-height: 80%;
    border-radius: 12px;
  }
  
  .screen-label {
    font-size: 16px;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  .app-screens {
    height: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  
  .screen-item {
    padding: 10px;
  }
  
  .screen-item img {
    max-height: 75%;
    border-radius: 8px;
  }
  
  .screen-label {
    font-size: 14px;
    margin-top: 12px;
  }
  
  .preview-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .preview-dot {
    width: 10px;
    height: 10px;
  }
  
  .app-preview-controls {
    gap: 16px;
    margin-top: 24px;
  }
}

/* Extra small devices (phones in portrait, less than 480px) */
@media (max-width: 480px) {
  .app-screens {
    height: 400px;
    border-radius: 8px;
  }
  
  .screen-item {
    padding: 8px;
  }
  
  .screen-item img {
    max-height: 70%;
    border-radius: 6px;
  }
  
  .screen-label {
    font-size: 13px;
    margin-top: 10px;
  }
  
  .preview-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .preview-dots {
    gap: 8px;
  }
  
  .preview-dot {
    width: 8px;
    height: 8px;
  }
}
