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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #131927;
  color: #f1f5f9;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Navbar */
.navbar {
  padding: 20px 0;
  border-bottom: 1px solid #2b384e;
}

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

.logo-icon {
  font-size: 28px;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #1cb0f6;
  color: #fff;
}

.btn-3d-green {
  background-color: #58cc02;
  color: #fff;
  border-bottom: 4px solid #3b8701;
  font-size: 18px;
  padding: 16px 32px;
}

.btn-3d-green:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #2b384e;
  color: #cbd5e1;
}

/* Hero */
.hero {
  padding: 80px 0;
}

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

.badge {
  display: inline-block;
  background: rgba(255, 150, 0, 0.15);
  color: #ff9600;
  border: 1px solid rgba(255, 150, 0, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Store Badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 16px;
  border: 2px solid #334155;
  border-bottom: 4px solid #0f172a;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.store-badge:hover {
  transform: translateY(-2px);
  background-color: #26354d;
  border-color: #475569;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.store-badge:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.store-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 700;
}

.store-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

/* Download CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #131927 0%, #0b0f19 100%);
  border-top: 1px solid #232d3f;
}

.cta-box {
  background: radial-gradient(circle at 50% 0%, #202b40 0%, #151d2c 100%);
  border: 2px solid #2b384e;
  border-radius: 28px;
  padding: 52px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Phone Mockup */
.phone-mockup {
  background: #1f293d;
  border: 4px solid #2b384e;
  border-radius: 36px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  text-align: center;
}

.flame-badge {
  font-size: 40px;
  margin-bottom: 10px;
}

.streak-num {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #ff9600;
}

.week-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.day {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.day.active {
  background: #58cc02;
  color: #fff;
}

/* Features */
.features {
  padding: 80px 0;
  background: #0b0f19;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 48px;
}

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

.feature-card {
  background: #1f293d;
  border: 1px solid #2b384e;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card p {
  color: #94a3b8;
  font-size: 16px;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid #2b384e;
  font-size: 14px;
  color: #64748b;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
}

.footer-links a {
  color: #94a3b8;
  margin-left: 20px;
  text-decoration: none;
  white-space: nowrap;
}

/* Legal Pages */
.legal-wrapper {
  padding: 60px 0 100px;
}

.legal-card {
  background: #182030;
  border: 1px solid #2b384e;
  border-radius: 24px;
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.legal-header {
  margin-bottom: 36px;
  border-bottom: 1px solid #2b384e;
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: #94a3b8;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-content a {
  color: #1cb0f6;
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .store-badge {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  .cta-box {
    padding: 36px 20px;
  }
  .cta-title {
    font-size: 26px;
  }
  .legal-card {
    padding: 28px 20px;
  }
  .legal-header h1 {
    font-size: 28px;
  }
  .footer .flex-between {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-links a {
    margin-left: 0;
    margin: 0 10px;
  }
}
