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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #3C3C3C;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #58CC02;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #777;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #58CC02;
}

.nav-cta {
  background: linear-gradient(135deg, #58CC02, #46A302) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(88, 204, 2, 0.4);
  color: #fff;
}

/* ===== HAMBURGER MENU ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background: #3C3C3C;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 16px 20px;
  color: #3C3C3C;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover {
  background: #f0faf0;
  color: #58CC02;
}

.mobile-nav .nav-cta {
  margin-top: 8px;
  background: linear-gradient(135deg, #58CC02, #46A302) !important;
  color: #fff !important;
  text-align: center;
}

.mobile-nav .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(88, 204, 2, 0.4);
}

.lang-selector-mobile {
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lang-title {
  font-size: 12px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.lang-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-option-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #3C3C3C;
  text-align: left;
  transition: background 0.15s;
}

.lang-option-mobile:hover {
  background: #f0faf0;
}

.lang-option-mobile.active {
  background: #E8F5E9;
  color: #58CC02;
  font-weight: 600;
}

.lang-option-mobile span {
  font-size: 20px;
  line-height: 1;
}


/* ===== LANGUAGE SELECTOR (DESKTOP) ===== */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
  border-color: #58CC02;
  color: #58CC02;
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 160px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #3C3C3C;
  transition: background 0.15s;
}

.lang-option:hover {
  background: #f0faf0;
}

.lang-option.active {
  background: #E8F5E9;
  color: #58CC02;
  font-weight: 600;
}

.lang-option span {
  font-size: 18px;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(175deg, #f0faf0 0%, #fff 50%, #f8f7ff 100%);
}

.hero-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 204, 2, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-text h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #58CC02, #1CB0F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #777;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.store-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  line-height: 1;
}

.store-btn strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.apple-btn {
  background: #000;
  color: #fff;
}

.google-btn {
  background: #000;
  color: #fff;
}

.apple-btn-light {
  background: #fff;
  color: #3C3C3C;
}

.google-btn-light {
  background: #fff;
  color: #3C3C3C;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #58CC02;
}

.stat span {
  font-size: 13px;
  color: #777;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
}

/* Hero Phone */
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-carousel {
  position: relative;
  width: 320px;
  height: auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(88, 204, 2, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.08);
}

.phone-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  border-radius: 32px;
}

.phone-img.active {
  position: relative;
  opacity: 1;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #3C3C3C;
}

.section-title.white {
  color: #fff;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #777;
  margin-bottom: 60px;
}

.section-subtitle.white {
  color: rgba(255, 255, 255, 0.8);
}

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

.feature-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0faf0 0%, #fff 100%);
}

.screenshots-carousel {
  position: relative;
  overflow: hidden;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  padding: 20px 0;
}

.screenshots-track.dragging {
  cursor: grabbing;
  transition: none;
}

.screenshot-card {
  flex: 0 0 260px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  background: #fff;
}

.screenshot-card:hover {
  transform: scale(1.03);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 8px;
  color: #3C3C3C;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: #58CC02;
  transform: scale(1.3);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: #fff;
}

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

.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f0faf0, #fff);
  border: 1px solid rgba(88, 204, 2, 0.1);
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #58CC02, #46A302);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
}

/* ===== PREMIUM SECTION ===== */
.premium-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #3C3C3C 0%, #1a1a2e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.premium-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(88, 204, 2, 0.08);
  border-radius: 50%;
}

.premium-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: rgba(28, 176, 246, 0.06);
  border-radius: 50%;
}

.premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.premium-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.premium-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.premium-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #58CC02;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.premium-feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.premium-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.premium-cta-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.premium-price-tag {
  display: inline-block;
  background: linear-gradient(135deg, #58CC02, #89E219);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-price {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 4px;
}

.premium-price span {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.6;
}

.premium-price-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.premium-btn {
  display: inline-block;
  width: 100%;
  padding: 16px 40px;
  background: linear-gradient(135deg, #58CC02, #46A302);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 204, 2, 0.4);
}

.premium-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #58CC02 0%, #46A302 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-text p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.7;
}

.cta-phone {
  width: 280px;
  flex-shrink: 0;
}

.cta-phone img {
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  background: #1a1a2e;
  color: #fff;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand .logo-text {
  color: #fff;
}

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

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

.footer-links a:hover {
  color: #58CC02;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

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

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

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

  .premium-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-text p {
    max-width: 100%;
  }

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

  .cta-phone {
    display: none;
  }

  .phone-carousel {
    width: 260px;
  }
}

@media (max-width: 1024px) {
  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .lang-selector {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .lang-selector {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-text h1 {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

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

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

  .store-btn {
    padding: 10px 18px;
  }

  .store-btn strong {
    font-size: 14px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat strong {
    font-size: 18px;
  }

  .phone-carousel {
    width: 220px;
  }

  .screenshot-card {
    flex: 0 0 200px;
  }

  .cta-text h2 {
    font-size: 30px;
  }

  .premium-cta-card {
    padding: 32px 24px;
  }

  .premium-price {
    font-size: 40px;
  }

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

  .footer-links {
    gap: 16px;
  }
}
