:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-raised: #121722;
  --bg-card: #151b28;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --text-muted: #9aa4b5;
  --accent: #4f8ef7;
  --accent-soft: rgba(79, 142, 247, 0.14);
  --overhead: #4f8ef7;
  --cookbook: #f0a04b;
  --bills: #43c99a;
  --monkey: #e06c9f;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a {
  color: var(--accent);
  cursor: pointer;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #7b5cf0);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 96px 0 88px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(79, 142, 247, 0.22), transparent),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(123, 92, 240, 0.12), transparent);
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  max-width: 620px;
  margin: 18px auto 34px;
  color: var(--text-muted);
  font-size: 1.13rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7b5cf0);
  color: #fff;
  box-shadow: 0 6px 22px rgba(79, 142, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 142, 247, 0.45);
}

.btn-app {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(79, 142, 247, 0.35);
  margin-top: auto;
  text-align: center;
}

.btn-app:hover {
  background: rgba(79, 142, 247, 0.24);
  transform: translateY(-2px);
}

/* Sections */

section {
  padding: 72px 0;
}

section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 750;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto 48px;
  max-width: 520px;
}

/* App cards */

.apps {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.app-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.app-icon img,
.app-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-icon-pricewatch {
  background: rgba(240, 160, 75, 0.16);
}

.app-icon-pricewatch svg {
  width: 62%;
  height: 62%;
  margin: auto;
}

.badge-preview {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(240, 160, 75, 0.16);
  color: var(--cookbook);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.app-screenshot {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
  display: block;
}

.app-card h3 {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.app-tagline {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.app-desc {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 0.97rem;
}

.app-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.app-points li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 7px;
}

.app-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--bills);
  font-weight: 700;
}

/* Why section */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.why-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.why-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.why-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* CTA */

.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(79, 142, 247, 0.18), transparent);
}

.cta p {
  color: var(--text-muted);
  margin: 0 0 30px;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Contact */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  font-size: 0.97rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form .btn {
  align-self: center;
  border: none;
  font-family: inherit;
}

.hp-field {
  position: absolute !important;
  left: -9999px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-status-error {
  color: #f27878;
}

.form-thanks {
  text-align: center;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

/* Small screens */

@media (max-width: 520px) {
  .hero {
    padding: 64px 0 56px;
  }

  section {
    padding: 56px 0;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .app-card {
    padding: 22px;
  }
}
