:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --text: #1b1b1f;
  --muted: #6b6b73;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --border: #e2e4ec;
  --card-radius: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --max-width: 1040px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(226, 228, 236, 0.8);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
}

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

/* Hero */

.hero {
  padding: 60px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.6rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease,
              transform 0.05s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--primary-soft);
}

/* Device mock */

.hero-device {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-frame {
  border-radius: 32px;
  padding: 10px;
  background: #111827;
  box-shadow: var(--shadow-soft);
}

/*.device-screen {
  width: 230px;
  height: 430px;
  border-radius: 24px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 12px;
}*/

.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  width: 256px;
  height: 570px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 12px;

}

/* each screenshot fills the fake screen area */
.device-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.device-shot.active {
  opacity: 1;
}

.device-status {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
}

.device-input {
  flex: 1;
  border-radius: 14px;
  background: #e5e7eb;
}

.device-buttons {
  display: flex;
  gap: 8px;
}

.pill {
  flex: 1;
  font-size: 0.75rem;
  text-align: center;
  padding: 6px 0;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
}

.pill-outline {
  background: transparent;
  color: #111827;
  border: 1px solid #111827;
}

.device-footer {
  font-size: 0.7rem;
  text-align: center;
  padding-top: 2px;
  color: #4b5563;
}

.device-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 50px 0;
}

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

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Grids & cards */

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

.card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
}

.card h3 {
  font-size: 1.02rem;
  margin-top: 0;
}

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

.card-outline {
  background: #fff;
}

.highlighted {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: var(--shadow-soft);
}

/* Pricing */

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

.price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 4px 0;
}

.price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.price-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.tiny-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* FAQ */

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 14px;
  margin-bottom: 10px;
  background: #fff;
}

.faq-item summary {
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
}

.faq-item p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-right {
  display: flex;
  gap: 16px;
}

.footer-right a {
  color: var(--muted);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--primary);
}

.back-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}
.back-link:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-device {
    order: -1;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none; /* keep it dead simple for now */
  }
}