/*
Theme Name: StampGo Landing
Theme URI: https://stampgo.yoelix.com
Author: Yoelix
Description: Custom landing page for the StampGo Android food voucher app.
Version: 1.0.0
Requires at least: 6.0
*/

:root {
  --ink: #101418;
  --muted: #5b6670;
  --line: #dce4e8;
  --paper: #ffffff;
  --wash: #f4f7f6;
  --teal: #0f9b94;
  --teal-dark: #08746f;
  --amber: #d8922b;
  --green: #2f7d50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #34404a;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a:hover {
  color: var(--teal-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 14px 30px rgba(16, 20, 24, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.button.google-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 38%, rgba(255, 255, 255, 0) 68%),
    var(--wash);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6.2vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 590px;
  margin-bottom: 30px;
  color: #3d4851;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
}

.proof {
  padding-top: 15px;
  border-top: 2px solid rgba(15, 155, 148, 0.22);
}

.proof strong {
  display: block;
  font-size: 1.28rem;
}

.proof span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-media {
  position: relative;
  min-height: 560px;
  align-self: stretch;
  border-radius: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background: var(--wash);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: rgba(15, 155, 148, 0.1);
  color: var(--teal-dark);
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.cta h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1;
}

.cta p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta .button {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
    background: var(--wash);
  }

  .hero-media {
    min-height: 420px;
  }

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

@media (max-width: 640px) {
  .topbar {
    padding: 14px 18px;
  }

  .button {
    width: 100%;
  }

  .proof-row,
  .feature-grid,
  .metric-band,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 330px;
  }

  .footer {
    flex-direction: column;
  }
}
