:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-image {
  width: 38px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.logo-link span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-small {
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-small:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.subtitle {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 48px;
  font-size: 18px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-card .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: white;
}

.pricing h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 16px;
}

.pricing-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 24px;
  margin: 16px 0;
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}

.price span {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
}

.offer {
  color: var(--success);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
}

.savings {
  color: var(--success);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
}

.features-list {
  list-style: none;
  margin: 24px 0;
  flex-grow: 1;
}

.features-list li {
  padding: 8px 0;
  color: var(--text-light);
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  color: var(--text-light);
  margin-top: 32px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
}

/* Contact */
.contact-section {
  padding: 80px 0;
  background: #f8fafc;
}

.contact-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.contact-section p {
  text-align: center;
  color: var(--text-light);
  max-width: 760px;
  margin: 0 auto 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.contact-card p {
  color: var(--text-light);
}

.app-store-section {
  padding: 80px 0;
  background: white;
}

.app-store-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.app-store-content {
  min-width: 0;
  max-width: 580px;
}

.app-store-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 16px;
  background: #000;
  color: white;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.app-store-content h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

.app-store-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.app-store-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: 580px;
  max-width: 100%;
}

.app-store-badge-image {
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
}

.app-store-screenshot {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
  object-fit: cover;
}

@media (max-width: 900px) {
  .app-store-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .app-store-right {
    align-items: flex-start;
    width: 100%;
    margin-top: 24px;
  }

  .app-store-badge-image,
  .app-store-screenshot {
    max-width: 100%;
  }
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .nav-links {
    display: none;
  }

  .features h2,
  .pricing h2,
  .cta-section h2 {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .app-store-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-store-visual {
    justify-content: flex-start;
    margin-top: 24px;
    width: 100%;
  }

  .app-store-image {
    max-width: 240px;
  }

  .btn {
    padding: 12px 24px;
  }
}
