:root {
  --sc-coffee-900: #26160f;
  --sc-coffee-800: #3a2417;
  --sc-coffee-700: #4d2f1d;
  --sc-caramel: #c98a4b;
  --sc-caramel-dark: #a96e34;
  --sc-cream: #f7f1e8;
  --sc-cream-dark: #efe6d8;
  --sc-ink: #2b211b;
  --sc-muted: #74665c;

  --bs-primary: #c98a4b;
  --bs-primary-rgb: 201, 138, 75;
  --bs-body-bg: #faf7f2;
  --bs-body-color: #2b211b;
  --bs-link-color: #a96e34;
  --bs-link-hover-color: #8a5527;
  --bs-btn-primary-bg: #c98a4b;
  --bs-btn-primary-border-color: #c98a4b;
}

html {
  font-size: 15px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--sc-ink);
  padding-top: 66px;
}

/* ---------- Navbar ---------- */
.navbar-smartcare {
  background: linear-gradient(100deg, var(--sc-coffee-900), var(--sc-coffee-700));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(38, 22, 15, 0.25);
}

.navbar-smartcare .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-icon {
  font-size: 1.35rem;
  color: var(--sc-caramel);
}

.brand-name {
  color: #fff;
}

.brand-suffix {
  color: var(--sc-caramel);
}

.navbar-smartcare .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.navbar-smartcare .nav-link:hover,
.navbar-smartcare .nav-link:focus {
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn-brand {
  color: #fff;
  background: linear-gradient(135deg, var(--sc-caramel), var(--sc-caramel-dark));
  border: 1px solid var(--sc-caramel-dark);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: var(--sc-caramel-dark);
  border-color: #8a5527;
}

.btn-outline-caramel {
  color: var(--sc-caramel-dark);
  border: 1.5px solid var(--sc-caramel-dark);
}

.btn-outline-caramel:hover {
  color: #fff;
  background: var(--sc-caramel-dark);
}

.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--sc-caramel), 0.25);
}

.text-caramel {
  color: var(--sc-caramel-dark);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(201, 138, 75, 0.35), transparent 60%),
    radial-gradient(900px 460px at -10% 110%, rgba(201, 138, 75, 0.25), transparent 60%),
    linear-gradient(120deg, var(--sc-coffee-900), var(--sc-coffee-800));
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 138, 75, 0.18);
  border: 1px solid rgba(201, 138, 75, 0.45);
  color: #f3d5b0;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--sc-cream);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.2px;
}

.section-eyebrow {
  color: var(--sc-caramel-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
}

.icon-splash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.4rem;
  background: var(--sc-cream);
  color: var(--sc-caramel-dark);
  border: 1px solid var(--sc-cream-dark);
}

/* ---------- Cards ---------- */
.card-smartcare {
  border: 1px solid var(--sc-cream-dark);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(38, 22, 15, 0.06);
}

.card-smartcare .card-body {
  padding: 1.6rem;
}

.plan-featured {
  border: 2px solid var(--sc-caramel);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sc-caramel);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Steps ---------- */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sc-coffee-800);
  color: #fff;
  font-weight: 700;
}

/* ---------- Accordion ---------- */
.accordion-smartcare .accordion-button {
  font-weight: 600;
  color: var(--sc-ink);
}

.accordion-smartcare .accordion-button:not(.collapsed) {
  background: var(--sc-cream);
  color: var(--sc-coffee-800);
}

/* ---------- Auth ---------- */
.auth-wrap {
  max-width: 460px;
}

/* ---------- Footer ---------- */
.footer-smartcare {
  background: var(--sc-cream);
  border-top: 1px solid var(--sc-cream-dark);
}

.form-label {
  font-weight: 600;
  color: var(--sc-coffee-800);
}

.text-validation {
  color: #b02a37;
  font-size: 0.875rem;
}

.text-validation ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

/* ---------- Plan picker cards (register) ---------- */
.plan-option {
  display: block;
  width: 100%;
  border: 1.5px solid var(--sc-cream-dark);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.plan-option:hover {
  border-color: var(--sc-caramel);
  transform: translateY(-1px);
}

.plan-option.selected {
  border-color: var(--sc-caramel);
  box-shadow: 0 0 0 3px rgba(201, 138, 75, 0.18);
  background: var(--sc-cream);
}

/* ---------- Demo video frame (landing) ---------- */
.video-frame {
  max-width: 620px;
  border-radius: 0.9rem;
  overflow: hidden;
  background: var(--sc-coffee-900);
  box-shadow: 0 18px 40px rgba(38, 22, 15, 0.28);
}

.video-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: linear-gradient(100deg, var(--sc-coffee-800), var(--sc-coffee-700));
}

.video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.video-dot-red { background: #ff5f57; }
.video-dot-yellow { background: #febc2e; }
.video-dot-green { background: #28c840; }

.video-frame-title {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.video-frame-body {
  padding: 0.5rem;
  background: #000;
  display: flex;
  justify-content: center;
}

.demo-video {
  display: block;
  width: auto;
  height: min(64vh, 520px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
  border: 0;
  border-radius: 0.55rem;
  background: #000;
}

@media (max-width: 576px) {
  .demo-video {
    width: 100%;
    height: auto;
  }
}