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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: #0a0a0c;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 32px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 59, 48, 0.15) 0%,
    rgba(255, 149, 0, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 149, 0, 0.9);
  border: 1px solid rgba(255, 149, 0, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  border: none;
  padding: 0;
  color: #ffffff;
}

.hero-title .accent {
  background: linear-gradient(135deg, #ff3b30, #ff9500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff3b30, #ff6b30);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(255, 59, 48, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 59, 48, 0.45);
  text-decoration: none;
}

/* ===== Screenshots Gallery ===== */
.screenshots {
  padding: 8px 0 48px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  width: max-content;
}

.screenshots-track img {
  height: 580px;
  width: auto;
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.screenshots-track img:hover {
  transform: scale(1.02);
}

/* ===== Features Section ===== */
.features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ff9500;
  border: none;
  padding: 0;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 149, 0, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  opacity: 0.9;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 40px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.footer-dot {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 40px 20px 24px;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

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

  .screenshots-track img {
    height: 440px;
  }

  .screenshots-track {
    gap: 16px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-track img {
    height: 360px;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 0.92rem;
  }
}

/* ===== Overrides for subpages (privacy, terms) ===== */
.lang-section {
  margin-bottom: 50px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

/* Subpage layout */
body.subpage {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
