/* =============================================
   DELIVERO HEALTH — Room Watch Website
   ============================================= */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-mid: #dbeafe;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand strong {
  color: var(--blue);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, #f0f9ff 100%);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--blue-mid);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-text {
  flex: 1;
}

.eyebrow {
  display: inline-block;
  background: var(--blue-mid);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-visual {
  flex-shrink: 0;
}

.hero-icon {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

/* ---- Features ---- */
.features {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

/* ---- How It Works ---- */
.how-it-works {
  background: var(--text);
  color: var(--white);
  padding: 80px 0;
}

.how-it-works .section-title {
  color: var(--white);
}

.how-it-works .section-sub {
  color: #94a3b8;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.93rem;
  color: #94a3b8;
}

.step-divider {
  width: 60px;
  height: 2px;
  background: #334155;
  align-self: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* ---- CTA ---- */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-inner p {
  color: #bfdbfe;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 32px 0;
}

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

.footer a {
  color: #93c5fd;
}

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

/* ---- Responsive ---- */
@media (max-width: 680px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 36px;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-icon {
    width: 130px;
    height: 130px;
  }

  .step-divider {
    display: none;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
