:root {
  --primary: #12C1E3;
  --primary-dark: #233D5C;
  --primary-light: #E1F8FB;
  --bg: #F1F5F9;
  --surface: #FFFFFF;
  --text: #233D5C;
  --text-muted: #6A8099;
  --accent: #F2A679;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(35, 61, 92, 0.12);
  --shadow-sm: 0 4px 16px rgba(35, 61, 92, 0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a { color: var(--primary-dark); }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hidden { display: none !important; }

/* Section typography */
.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-head h2,
.payments-copy h2,
.audience-copy h2,
.support-inner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.15;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(18, 193, 227, 0.35);
}

.btn-primary:hover { background: #0fb8da; }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(35, 61, 92, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-icon {
  border-radius: 10px;
  object-fit: cover;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.site-nav a:hover { color: #fff; }

.header-cta { flex-shrink: 0; }

@media (min-width: 768px) {
  .site-nav { display: flex; }
}

/* Phone frame component — screen content inside CSS bezel */
.phone-frame {
  background: #0f172a;
  border-radius: 2rem;
  padding: 0.55rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-frame__screen {
  overflow: hidden;
  border-radius: 1.45rem;
  background: #fff;
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.phone-frame--sm {
  border-radius: 1.35rem;
  padding: 0.4rem;
  max-width: 140px;
  margin: 0 auto;
}

.phone-frame--sm .phone-frame__screen {
  border-radius: 1rem;
}

/* Full mockup shots — phone frame baked into image */
.phone-shot {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  filter: drop-shadow(0 16px 32px rgba(35, 61, 92, 0.18));
}

.phone-shot--offset {
  margin-top: -3rem;
  margin-left: auto;
  margin-right: 0;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--primary-dark) 0%, #1a4a6e 55%, #0e8fa8 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(18, 193, 227, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-badges li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.hero-visual {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.phone-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: min(420px, 94vw);
  padding: 0 0.5rem;
}

.phone-mock {
  margin: 0;
  flex: 0 1 auto;
  width: min(200px, 46vw);
}

.phone-mock--back {
  transform: rotate(6deg) translateX(8%);
  z-index: 1;
  margin-right: -12%;
}

.phone-mock--front {
  transform: rotate(-4deg);
  z-index: 2;
}

@media (min-width: 900px) {
  .phone-mock { width: 220px; }
  .phone-mock--back { margin-right: -14%; }
}

.phone-label {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Trust bar */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}

.trust-inner p {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* How it works */
.how-it-works {
  padding: 4.5rem 0;
}

.how-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .how-columns { grid-template-columns: 1fr 1fr; }
}

.how-column {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.how-column h3 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.steps-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.steps-list p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Paths */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.paths-grid--prominent { margin-top: 0; }

.path-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.path-card.accent {
  border-color: var(--primary);
  background: linear-gradient(180deg, #fff 0%, var(--primary-light) 100%);
}

.path-card h3 { margin: 0 0 0.5rem; }
.path-card p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.92rem; }

.path-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.path-badge--match { color: var(--primary-dark); }

.path-fee {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
}

.path-card.accent .path-fee { background: var(--accent); color: var(--primary-dark); }

/* Features */
.features {
  padding: 4.5rem 0;
  background: var(--surface);
  border-block: 1px solid #e2e8f0;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-grid li {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0 0 1.25rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.feature-phone {
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid #e2e8f0;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.feature-icon-card {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid #e2e8f0;
}

.feature-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.feature-grid h3,
.feature-grid p {
  padding-inline: 1.25rem;
}

.feature-grid h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
}

.feature-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Screenshots gallery */
.screenshots {
  padding: 4.5rem 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 1rem;
  align-items: end;
}

.screenshot-item {
  margin: 0;
  text-align: center;
}

.screenshot-item figcaption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Payments */
.payments {
  padding: 4.5rem 0;
  background: var(--surface);
  border-block: 1px solid #e2e8f0;
}

.payments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .payments-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.payments-copy .section-eyebrow { display: block; text-align: left; }

.payments-copy h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.payments-copy .section-lead {
  text-align: left;
  margin-bottom: 1.5rem;
}

.payments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payments-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

.payments-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

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

.payments-phones {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

@media (min-width: 480px) {
  .payments-phones {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
  }

  .phone-shot--offset {
    margin-top: 0;
    transform: translateY(1.5rem);
  }
}

/* Audience sections */
.audience {
  padding: 4.5rem 0;
}

.audience--cleaners {
  background: var(--surface);
  border-top: 1px solid #e2e8f0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid--reverse .audience-copy { order: 2; }
  .audience-grid--reverse .audience-visual { order: 1; }
}

.audience-copy .section-eyebrow { display: block; }

.audience-copy p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.audience-points {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.audience-points li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.audience-points li:last-child { margin-bottom: 0; }

.audience-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

/* Support section */
.support-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.support-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 40rem;
}

@media (min-width: 640px) {
  .support-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: none;
  }
}

.support-inner .section-eyebrow { display: block; }

.support-inner h2 { margin: 0 0 0.5rem; }

.support-inner .section-lead { margin: 0; }

/* CTA band */
.cta-band {
  background: var(--primary-dark);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-inner { text-align: center; }

.cta-inner h2 { margin: 0 0 0.5rem; font-size: 1.6rem; }
.cta-inner p { margin: 0 0 1.25rem; color: rgba(255,255,255,0.8); }

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #1a2f45;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
}

.footer-links a { color: var(--primary); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-help-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.footer-help-link:hover { text-decoration: underline; }

.footer-sep { opacity: 0.4; margin: 0 0.35rem; }

.footer-copy { margin: 0; opacity: 0.6; font-size: 0.8rem; }

/* Reset panel */
.reset-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(35, 61, 92, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.reset-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.reset-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.reset-logo {
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.reset-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  text-align: center;
}

.reset-lead {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reset-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.reset-card input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  font: inherit;
}

.form-error { color: #dc2626; font-size: 0.85rem; margin: 0 0 0.75rem; }
.form-success { color: #16a34a; font-size: 0.85rem; margin: 0 0 0.75rem; }

/* Chat widget */
.chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  font-size: 0.9rem;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.chat-toggle:hover { background: #1a4a6e; }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(360px, calc(100vw - 2rem));
  height: 420px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--primary-dark);
  color: #fff;
}

.chat-header p {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.chat-close {
  border: none;
  background: none;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg);
}

.chat-msg {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 0.875rem;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--primary-dark);
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.chat-msg.typing {
  opacity: 0.7;
  font-style: italic;
}

.chat-form {
  padding: 0.65rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.chat-form input[type="email"] {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.45rem;
  font: inherit;
  font-size: 0.8rem;
}

.chat-input-row {
  display: flex;
  gap: 0.45rem;
}

.chat-input-row input {
  flex: 1;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font: inherit;
}

.chat-input-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chat-submit-support {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 0.8rem;
  padding: 0.45rem 0.65rem;
  background: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.chat-submit-support:hover {
  background: var(--primary-light);
}

.chat-submit-support:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
