:root {
  --bg: #f2efe8;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #fff9ef;
  --text: #181614;
  --muted: #5f564d;
  --line: rgba(24, 22, 20, 0.1);
  --accent: #ff6b2c;
  --accent-deep: #cc4a12;
  --accent-soft: #ffd8c7;
  --shadow: 0 24px 80px rgba(65, 42, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.22), transparent 30%),
    radial-gradient(circle at right 20%, rgba(93, 163, 153, 0.18), transparent 25%),
    linear-gradient(180deg, #f7f0e6 0%, #efe8dd 100%);
  min-height: 100vh;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 8px 0 32px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--accent-deep);
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 28px 0 36px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-copy,
.hero-card,
.service-card,
.highlight-panel,
.contact-form,
.contact-card {
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 34px;
  padding: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--accent-deep);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.hero-text,
.section-text,
.service-card p,
.process-list p,
.highlight-panel p,
.contact-card p,
.contact-card small {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stats div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  animation: float-up 700ms ease both;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #fff;
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
}

.hero-card {
  border-radius: 30px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 216, 199, 0.95), rgba(255, 249, 239, 0.9));
  animation: float-up 800ms ease 120ms both;
}

.hero-browser {
  position: absolute;
  inset: 0 32px 80px 0;
  overflow: hidden;
}

.browser-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.browser-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(24, 22, 20, 0.2);
}

.browser-body {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  height: calc(100% - 30px);
}

.browser-copy h3 {
  margin-top: 10px;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 130px;
  margin-top: 26px;
}

.bar {
  display: block;
  width: 48px;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #ff6b2c, #ffb089);
}

.bar-1 {
  height: 54%;
}

.bar-2 {
  height: 80%;
}

.bar-3 {
  height: 68%;
}

.bar-4 {
  height: 92%;
}

.browser-panel {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  gap: 14px;
}

.panel-image {
  min-height: 220px;
  border-radius: 22px;
}

.panel-food {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 235, 170, 0.95), transparent 18%),
    radial-gradient(circle at 70% 45%, rgba(225, 97, 52, 0.9), transparent 18%),
    radial-gradient(circle at 50% 70%, rgba(67, 133, 82, 0.88), transparent 22%),
    linear-gradient(135deg, #4a2b1d, #bf7a48);
}

.panel-lines {
  display: grid;
  gap: 10px;
}

.panel-lines span {
  height: 14px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.1);
}

.panel-lines span:nth-child(2) {
  width: 82%;
}

.panel-lines span:nth-child(3) {
  width: 58%;
}

.hero-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 430px;
  border-radius: 34px;
  padding: 14px;
  background: #1d1a17;
  box-shadow: 0 28px 70px rgba(34, 18, 8, 0.28);
  transform: rotate(7deg);
  animation: float-up 850ms ease 220ms both;
  overflow: hidden;
}

.phone-notch {
  width: 90px;
  height: 18px;
  border-radius: 999px;
  background: #2c2722;
  margin: 0 auto 10px;
}

.phone-screen {
  height: calc(100% - 28px);
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(180deg, #fff7ef, #ffd8c7);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-app-header span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.phone-app-header .card-label {
  margin-bottom: 8px;
}

.mini-game {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(24, 22, 20, 0.08);
  overflow: hidden;
}

.flappy-game {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.68));
}

.mini-game-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.mini-game-reset {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #181614;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.flappy-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #8ddcff 0%, #dff6ff 78%, #e6c58b 78%, #d6ae6b 100%);
  overflow: hidden;
}

.flappy-sky {
  position: absolute;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.75), transparent 14%);
  inset: 0;
}

.flappy-bird {
  position: absolute;
  left: 28px;
  top: 90px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff1a9 0 25%, #f7b733 26% 100%);
  box-shadow: inset -4px -4px 0 rgba(214, 126, 26, 0.24);
  z-index: 2;
}

.flappy-bird::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 10px;
  width: 10px;
  height: 8px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background: #ff8c42;
}

.flappy-bird::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #181614;
}

.flappy-pipe {
  position: absolute;
  right: -42px;
  width: 36px;
  background: linear-gradient(90deg, #2c974b, #5dd66b 55%, #2c974b);
  border: 2px solid rgba(24, 22, 20, 0.14);
  border-radius: 10px;
}

.pipe-top {
  top: 0;
  height: 70px;
}

.pipe-bottom {
  bottom: 22%;
  height: 90px;
}

.flappy-overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(24, 22, 20, 0.72);
  color: #fff;
  z-index: 3;
  pointer-events: none;
}

.flappy-overlay span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.82);
}

.flappy-overlay.is-hidden {
  display: none;
}

.card-label {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: 1.05rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-card li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.trust-band {
  padding: 14px 0 8px;
}

.trust-band p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.section {
  padding: 60px 0 0;
}

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

.section-heading h2,
.highlight-panel h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 28px;
}

.testimonial-tabs,
.testimonial-detail {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.testimonial-tabs {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.14), transparent 26%),
    rgba(255, 255, 255, 0.7);
}

.testimonial-tab {
  border: 1px solid rgba(24, 22, 20, 0.08);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.75);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.testimonial-tab:hover,
.testimonial-tab.is-active {
  transform: translateX(4px);
  border-color: rgba(204, 74, 18, 0.26);
  background: linear-gradient(135deg, rgba(255, 249, 239, 0.95), rgba(255, 216, 199, 0.82));
}

.tab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tab-top strong {
  font-size: 1rem;
}

.tab-top small {
  min-width: 54px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #181614;
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.tab-bottom {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.testimonial-detail {
  border-radius: 34px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(93, 163, 153, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 239, 0.92));
}

.testimonial-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.testimonial-detail-head h3 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.testimonial-detail-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.testimonial-detail blockquote {
  margin: 28px 0 24px;
  padding: 24px;
  border-radius: 28px;
  background: #181614;
  color: #fff7ef;
  font-size: 1.18rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.testimonial-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testimonial-metrics div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 22, 20, 0.08);
}

.testimonial-metrics span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.testimonial-metrics strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.testimonial-summary {
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 22, 20, 0.08);
}

.testimonial-summary p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card {
  border-radius: 26px;
  padding: 28px;
}

.service-card h3,
.process-list h3,
.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.accent-card {
  background: linear-gradient(135deg, rgba(255, 107, 44, 0.92), rgba(204, 74, 18, 0.95));
  color: #fff;
}

.accent-card p {
  color: rgba(255, 255, 255, 0.85);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.process-list article {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.process-list span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.highlight-panel {
  border-radius: 34px;
  padding: 42px;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 44, 0.22), transparent 28%),
    rgba(255, 255, 255, 0.72);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 28px;
}

.contact-form,
.contact-card {
  border-radius: 28px;
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.75);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  background: var(--surface-strong);
}

.contact-card a {
  font-weight: 800;
}

.site-footer {
  padding: 48px 0 10px;
  color: var(--muted);
  font-weight: 700;
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .contact-layout,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 620px;
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 18px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy,
  .hero-card,
  .highlight-panel,
  .contact-form,
  .contact-card,
  .service-card {
    padding: 22px;
    border-radius: 24px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 16vw, 4.2rem);
  }

  .hero-browser {
    position: relative;
    inset: auto;
  }

  .browser-body {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    right: 8px;
    width: 180px;
    height: 360px;
  }
}
