:root {
  --amber: #F2A71B;
  --amber-deep: #DD8F00;
  --amber-soft: #FCE3B4;
  --cream: #F8ECD4;
  --bg: #FFFBF2;
  --ink: #2B2320;
  --ink-soft: #6F6055;
  --card: #FFFFFF;
  --line: #F0E4CB;
  --fresh: #3FAE58;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(43, 35, 32, 0.08);
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1100px, 100% - 3rem);
  margin-inline: auto;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.25rem;
}

.brand img { border-radius: 9px; }
.brand em { font-style: normal; color: var(--amber-deep); }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: var(--cream);
  border-radius: 999px;
  padding: 0.25rem;
}

.lang-switch button {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button:hover { color: var(--ink); }

.lang-switch button.active {
  background: var(--ink);
  color: #fff;
}

/* ============ Hero ============ */
.hero { overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  padding-block: 4.5rem 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}

/* Store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.6rem 1.25rem 0.65rem 1.05rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(43, 35, 32, 0.25);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 35, 32, 0.3);
}

.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }

.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 0.68rem; font-weight: 600; opacity: 0.8; }
.store-btn strong { font-size: 1.12rem; font-weight: 800; }

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}

.blob-a {
  width: 340px; height: 340px;
  background: var(--amber);
  top: -30px; right: -40px;
}

.blob-b {
  width: 260px; height: 260px;
  background: var(--amber-soft);
  bottom: -40px; left: -20px;
}

.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  border-radius: 44px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(43, 35, 32, 0.3);
}

.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 24px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  background: linear-gradient(170deg, #FFF6E3 0%, #FAE7C4 100%);
  border-radius: 34px;
  min-height: 560px;
  padding: 16px 14px;
  overflow: hidden;
  position: relative;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem 1.4rem;
  color: var(--ink);
}

.statusbar-icons { letter-spacing: 2px; font-size: 0.6rem; }

.notif {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 0.8rem 0.95rem;
  box-shadow: 0 8px 24px rgba(43, 35, 32, 0.14);
  animation: notif-drop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.4s both;
}

@keyframes notif-drop {
  from { transform: translateY(-90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.notif-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.notif-head img { border-radius: 4px; }

.notif-app {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  flex: 1;
}

.notif-time { font-size: 0.7rem; color: var(--ink-soft); }

.notif-title { font-size: 0.92rem; font-weight: 800; line-height: 1.3; }
.notif-body { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }

.screen-list {
  margin-top: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 0.9rem 0.95rem;
}

.screen-list-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.store-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.2rem;
  border-top: 1px solid rgba(43, 35, 32, 0.07);
  font-size: 0.88rem;
}

.store-row:first-of-type { border-top: none; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-fresh { background: var(--fresh); box-shadow: 0 0 0 4px rgba(63, 174, 88, 0.18); }
.dot-warm { background: var(--amber); }
.dot-old { background: #C9BCA8; }

.store-name { font-weight: 700; flex: 1; }
.store-when { font-size: 0.76rem; color: var(--ink-soft); }

.screen-hint {
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 0.6rem;
  margin-top: 1.6rem;
  opacity: 0.8;
}

/* ============ Sections ============ */
section { padding-block: 4rem; }

section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* How it works */
.how { background: var(--card); border-block: 1px solid var(--line); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}

.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 0.45rem; line-height: 1.35; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  row-gap: 0.3rem;
}

.feature-icon {
  grid-row: 1 / 3;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 { font-size: 1.08rem; font-weight: 800; align-self: end; }
.feature-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* Value */
.value { background: var(--card); border-block: 1px solid var(--line); }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.value-card {
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.value-buyers { background: var(--cream); }

.value-stores { background: var(--ink); color: #FFF6E3; }

.value-card h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 1.1rem; }

.value-card ul { list-style: none; display: grid; gap: 0.7rem; }

.value-card li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.98rem;
}

.value-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--amber-deep);
}

.value-stores li::before { color: var(--amber); }
.value-stores li { color: rgba(255, 246, 227, 0.92); }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 { margin-bottom: 0.6rem; color: var(--ink); }

.cta p {
  color: rgba(43, 35, 32, 0.8);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  max-width: 36rem;
}

.cta .store-btn { box-shadow: 0 6px 18px rgba(43, 35, 32, 0.35); }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 246, 227, 0.85);
  padding-block: 2.5rem;
}

.footer-inner {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-brand img { border-radius: 7px; }
.footer-brand em { font-style: normal; color: var(--amber); }

.footer-dev a { color: var(--amber); text-decoration: none; font-weight: 700; }
.footer-dev a:hover { text-decoration: underline; }

.footer-rights { font-size: 0.8rem; opacity: 0.6; margin-top: 0.5rem; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 3rem 2.5rem;
    gap: 3rem;
  }

  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .store-buttons { justify-content: center; }

  .feature-grid, .value-grid { grid-template-columns: 1fr; }

  section { padding-block: 3rem; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .brand span { font-size: 1.05rem; }
  .phone { width: 264px; }
  .phone-screen { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .notif { animation: none; }
  html { scroll-behavior: auto; }
}
