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

:root {
  --green: #22C55E;
  --green-dark: #1EA34E;
  --bg: #F5F5F5;
  --white: #FFFFFF;
  --black: #111111;
  --gray-600: #555555;
  --gray-400: #999999;
  --gray-200: #E5E5E5;
  --radius: 16px;
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--black);
}

/* Mobile nav */
@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.open {
    display: flex;
  }
}

/* ===== Sections ===== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-sm {
  max-width: 760px;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ===== App Store Badge ===== */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #FFFFFF;
  padding: 10px 24px 10px 18px;
  border-radius: 12px;
  border: 1.5px solid #A6A6A6;
  transition: opacity 0.2s, transform 0.15s;
}

.app-store-badge:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

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

.app-store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-store-badge-small {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.app-store-badge-big {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ===== Features ===== */
.features {
  background: var(--white);
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.features-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== How It Works ===== */
.how-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* ===== CTA ===== */
.cta {
  background: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--gray-200);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== Legal / Contact Pages ===== */
.page-header {
  text-align: center;
  padding: 60px 24px 0;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
}

.page-header p {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-top: 8px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.legal a {
  color: var(--green);
  text-decoration: underline;
}

/* ===== Contact ===== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  padding: 12px 28px;
  border: 2px solid var(--green);
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}

.contact-email:hover {
  background: var(--green);
  color: var(--white);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

  .features-title,
  .how-title,
  .cta h2 {
    font-size: 1.6rem;
  }
}
