/*!
 * Aura — AI Voice Control for Modern Homes
 * Template-specific styles: pastel skeuomorphism design system.
 * Loaded AFTER common.css so these rules can override shared tokens.
 */

/* ===========================================================
   1. Fonts
=========================================================== */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/NunitoSans-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ===========================================================
   2. Design tokens
=========================================================== */
:root {
  --ah-bg: #faf8ff;
  --ah-bg-alt: #f2eefc;
  --ah-surface: #ffffff;
  --ah-ink: #372f55;
  --ah-muted: #7d7696;

  --ah-lavender: #c9b6f7;
  --ah-lavender-deep: #8a63e0;
  --ah-mint: #b2ecd6;
  --ah-mint-deep: #33ab82;
  --ah-peach: #ffd3b3;
  --ah-peach-deep: #e67e45;
  --ah-sky: #aee2f6;
  --ah-sky-deep: #3b9bc9;
  --ah-pink: #ffc7df;

  --ah-shadow-dark: rgba(55, 47, 85, 0.2);
  --ah-shadow-soft: rgba(55, 47, 85, 0.12);
  --ah-shadow-light: rgba(255, 255, 255, 0.85);

  --ah-gradient-accent: linear-gradient(120deg, var(--ah-lavender) 0%, var(--ah-sky) 55%, var(--ah-mint) 100%);
  --ah-gradient-btn: linear-gradient(180deg, #c3adf7 0%, #9a73e8 65%, #8660dd 100%);

  --ah-font-display: "Fredoka", "Segoe UI", sans-serif;
  --ah-font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --color-bg: var(--ah-bg);
  --color-text: var(--ah-ink);
  --color-primary: var(--ah-lavender-deep);
}

/* ===========================================================
   3. Base overrides
=========================================================== */
body {
  font-family: var(--ah-font-body);
  background: var(--ah-bg);
  color: var(--ah-ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ah-font-display);
  font-weight: 600;
  color: var(--ah-ink);
}

#preloader { background: var(--ah-bg); }
#preloader .spinner { border-top-color: var(--ah-lavender-deep); }

.btn-back-to-top {
  background: var(--ah-gradient-btn);
  box-shadow: 0 10px 22px rgba(138, 99, 224, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-back-to-top:hover { background: var(--ah-gradient-btn); filter: brightness(1.05); }

.ah-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ah-lavender-deep);
  margin-bottom: 0.9rem;
}

.ah-h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.ah-section-sub {
  color: var(--ah-muted);
  max-width: 640px;
  font-size: 1.05rem;
}

.ah-section-head { margin-bottom: 2.75rem; }

.ah-section { padding: 5.5rem 0; }
.ah-section--tint { background: var(--ah-bg-alt); }

.ah-gradient-text {
  background-image: var(--ah-gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ===========================================================
   4. Buttons
=========================================================== */
.ah-btn-primary {
  background: var(--ah-gradient-btn);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--ah-font-display);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.12),
    0 10px 22px rgba(138, 99, 224, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}
.ah-btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.ah-btn-primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 2px 6px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(138, 99, 224, 0.3);
}

.ah-btn-outline {
  background: var(--ah-surface);
  color: var(--ah-ink);
  border: none;
  border-radius: 999px;
  font-family: var(--ah-font-display);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 6px 6px 14px var(--ah-shadow-soft), -6px -6px 14px var(--ah-shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.ah-btn-outline:hover { color: var(--ah-lavender-deep); transform: translateY(-2px); }
.ah-btn-outline:active { transform: translateY(1px); box-shadow: inset 4px 4px 10px var(--ah-shadow-soft), inset -4px -4px 10px var(--ah-shadow-light); }

.ah-btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.ah-btn-sm { padding: 0.45rem 1.1rem; font-size: 0.9rem; }

/* ===========================================================
   5. Navbar
=========================================================== */
.ah-navbar {
  background: rgba(250, 248, 255, 0.85);
  backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  transition: box-shadow var(--transition-fast), padding var(--transition-fast);
}
.ah-navbar.is-scrolled { padding: 0.55rem 0; box-shadow: 0 8px 24px rgba(55, 47, 85, 0.1); }

.ah-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ah-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ah-ink);
}
.ah-brand:hover { color: var(--ah-ink); }

.ah-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-block;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, var(--ah-lavender) 42%, var(--ah-lavender-deep) 100%);
  box-shadow: inset 0 -4px 6px rgba(55, 47, 85, 0.25), inset 0 2px 3px rgba(255, 255, 255, 0.8),
    0 6px 14px rgba(138, 99, 224, 0.4);
}

.ah-navbar .nav-link {
  color: var(--ah-ink);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
}
.ah-navbar .nav-link:hover,
.ah-navbar .nav-link.active { color: var(--ah-lavender-deep); }

/* ===========================================================
   6. Hero
=========================================================== */
.ah-hero {
  position: relative;
  overflow: hidden;
  padding: 9.5rem 0 6rem;
}

.ah-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ah-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.ah-blob--lav { width: 420px; height: 420px; background: var(--ah-lavender); top: -120px; left: -100px; }
.ah-blob--mint { width: 360px; height: 360px; background: var(--ah-mint); bottom: -140px; left: 30%; }
.ah-blob--peach { width: 320px; height: 320px; background: var(--ah-peach); top: 10%; right: -80px; }

.ah-hero .container { position: relative; z-index: 1; }

.ah-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.ah-lead {
  font-size: 1.15rem;
  color: var(--ah-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.ah-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.75rem; }

.ah-stat-row { display: flex; gap: 2.25rem; flex-wrap: wrap; }
.ah-stat { display: flex; flex-direction: column; }
.ah-stat strong { font-family: var(--ah-font-display); font-size: 1.6rem; color: var(--ah-lavender-deep); }
.ah-stat span { color: var(--ah-muted); font-size: 0.85rem; }

/* Hero visual: hub device */
.ah-hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ah-hub { position: relative; width: 230px; }

.ah-hub__rings {
  position: absolute;
  inset: -90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.ah-hub__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--ah-lavender-deep);
  opacity: 0;
  animation: ah-pulse 3.2s ease-out infinite;
}
.ah-hub__ring--1 { width: 230px; height: 230px; }
.ah-hub__ring--2 { width: 230px; height: 230px; animation-delay: 1.05s; border-color: var(--ah-sky-deep); }
.ah-hub__ring--3 { width: 230px; height: 230px; animation-delay: 2.1s; border-color: var(--ah-mint-deep); }

@keyframes ah-pulse {
  0% { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

.ah-hub__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.ah-hub__top {
  width: 190px;
  height: 100px;
  border-radius: 50% 50% 46% 46% / 100% 100% 30% 30%;
  background: linear-gradient(160deg, #ffffff 0%, var(--ah-lavender) 55%, var(--ah-lavender-deep) 100%);
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.65), inset 0 -10px 14px rgba(55, 47, 85, 0.18),
    0 16px 30px rgba(138, 99, 224, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ah-hub__grille {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(55, 47, 85, 0.35) 1.6px, transparent 1.7px);
  background-size: 10px 10px;
  opacity: 0.8;
}

.ah-hub__band {
  width: 210px;
  height: 14px;
  background: var(--ah-gradient-accent);
  box-shadow: 0 0 18px rgba(138, 99, 224, 0.5);
  margin-top: -2px;
}

.ah-hub__base {
  width: 210px;
  height: 130px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #efe9fb 0%, #ded5f6 55%, #c8bbee 100%);
  box-shadow: inset 0 8px 12px rgba(255, 255, 255, 0.6), inset 0 -10px 18px rgba(55, 47, 85, 0.2),
    0 22px 32px rgba(55, 47, 85, 0.22);
}

.ah-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ah-surface);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  box-shadow: 10px 14px 26px var(--ah-shadow-soft), -6px -6px 14px var(--ah-shadow-light);
  max-width: 250px;
}
.ah-float-card i { font-size: 1.3rem; color: var(--ah-lavender-deep); }
.ah-float-card strong { display: block; font-size: 0.85rem; color: var(--ah-ink); }
.ah-float-card span { font-size: 0.75rem; color: var(--ah-mint-deep); font-weight: 700; }

.ah-float-card--top { top: 4%; left: -6%; }
.ah-float-card--bottom { bottom: 2%; right: -8%; }

/* ===========================================================
   7. Control Panel — room tabs
=========================================================== */
.ah-room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.ah-room-tab {
  border: none;
  background: var(--ah-surface);
  color: var(--ah-muted);
  font-family: var(--ah-font-display);
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 5px 5px 12px var(--ah-shadow-soft), -5px -5px 12px var(--ah-shadow-light);
  transition: all var(--transition-fast);
}
.ah-room-tab.is-active {
  background: var(--ah-gradient-btn);
  color: #fff;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 -2px 3px rgba(255, 255, 255, 0.3),
    0 8px 18px rgba(138, 99, 224, 0.4);
}

/* Device cards */
.ah-device-card {
  background: var(--ah-surface);
  border-radius: 22px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 10px 10px 22px var(--ah-shadow-soft), -8px -8px 18px var(--ah-shadow-light);
  transition: opacity var(--transition-fast), filter var(--transition-fast), transform var(--transition-fast);
}
.ah-device-card:hover { transform: translateY(-3px); }
.ah-device-card.is-off { opacity: 0.6; filter: saturate(0.5); }

.ah-device-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.ah-device-card__head--center { flex-direction: column; text-align: center; gap: 0.25rem; }

.ah-device-card__titles { flex: 1; min-width: 0; }
.ah-device-card__titles h4 { font-size: 1rem; margin-bottom: 0.1rem; }
.ah-device-status { font-size: 0.8rem; color: var(--ah-muted); }

.ah-device-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--ah-lavender-deep);
  background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-lavender) 70%);
  box-shadow: inset 0 -3px 5px rgba(55, 47, 85, 0.18), inset 0 2px 3px rgba(255, 255, 255, 0.8),
    4px 6px 12px var(--ah-shadow-soft);
}
.ah-device-icon--mint { color: var(--ah-mint-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-mint) 70%); }
.ah-device-icon--peach { color: var(--ah-peach-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-peach) 70%); }

.ah-device-card__body--center { display: flex; justify-content: center; }
.ah-device-card__body--note {
  font-size: 0.85rem;
  color: var(--ah-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Toggle switch */
.ah-toggle { position: relative; display: inline-flex; cursor: pointer; }
.ah-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ah-toggle__track {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7e2f8, #d6cff1);
  box-shadow: inset 0 3px 5px rgba(55, 47, 85, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  padding: 3px;
  transition: background var(--transition-fast);
}
.ah-toggle__knob {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1eefb 70%);
  box-shadow: 0 2px 4px rgba(55, 47, 85, 0.35), inset 0 -1px 1px rgba(55, 47, 85, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: transform var(--transition-fast);
}
.ah-toggle input:checked + .ah-toggle__track {
  background: linear-gradient(180deg, var(--ah-lavender), var(--ah-lavender-deep));
  box-shadow: inset 0 2px 4px rgba(55, 47, 85, 0.25), 0 0 14px rgba(138, 99, 224, 0.45);
}
.ah-toggle input:checked + .ah-toggle__track .ah-toggle__knob { transform: translateX(22px); }

/* Slider */
.ah-slider-row { display: flex; align-items: center; gap: 0.65rem; }
.ah-slider-row i { color: var(--ah-muted); font-size: 0.95rem; }

.ah-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--ah-lavender-deep) 0%, var(--ah-lavender-deep) 50%, #e7e2f8 50%);
  box-shadow: inset 0 2px 4px rgba(55, 47, 85, 0.22);
  outline: none;
}
.ah-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1eefb 70%);
  box-shadow: 0 3px 6px rgba(55, 47, 85, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border: 2px solid #fff;
  cursor: pointer;
}
.ah-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1eefb 70%);
  box-shadow: 0 3px 6px rgba(55, 47, 85, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border: 2px solid #fff;
  cursor: pointer;
}
.ah-slider::-moz-range-track { height: 10px; border-radius: 999px; background: transparent; }

/* Stepper */
.ah-stepper {
  display: flex;
  background: var(--ah-bg-alt);
  border-radius: 999px;
  padding: 4px;
  box-shadow: inset 0 2px 4px rgba(55, 47, 85, 0.15);
}
.ah-stepper__btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ah-muted);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  transition: all var(--transition-fast);
}
.ah-stepper__btn.is-active {
  background: var(--ah-surface);
  color: var(--ah-lavender-deep);
  box-shadow: 0 3px 8px var(--ah-shadow-soft);
}

/* Dial */
.ah-dial__ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(var(--ah-lavender-deep) calc(var(--pct, 50) * 1%), #e7e2f8 0);
  box-shadow: 0 14px 26px var(--ah-shadow-soft), inset 0 2px 4px rgba(255, 255, 255, 0.6);
}
.ah-dial__face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff 0%, #f4f1fc 55%, #e9e3f8 100%);
  box-shadow: inset 0 -6px 10px rgba(55, 47, 85, 0.12), inset 0 4px 6px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.6rem;
}
.ah-dial__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--ah-surface);
  color: var(--ah-lavender-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 8px var(--ah-shadow-soft), -3px -3px 8px var(--ah-shadow-light);
}
.ah-dial__btn:active { box-shadow: inset 2px 2px 5px var(--ah-shadow-soft); }
.ah-dial__reading { display: flex; flex-direction: column; align-items: center; }
.ah-dial__temp { font-family: var(--ah-font-display); font-size: 1.7rem; font-weight: 600; color: var(--ah-ink); }
.ah-dial__unit { font-size: 0.75rem; color: var(--ah-muted); }

/* ===========================================================
   8. How it works
=========================================================== */
.ah-waveform-card {
  background: var(--ah-surface);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 12px 12px 26px var(--ah-shadow-soft), -10px -10px 22px var(--ah-shadow-light);
  text-align: center;
}
.ah-waveform { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 70px; margin-bottom: 1.25rem; }
.ah-waveform span {
  width: 6px;
  border-radius: 4px;
  background: var(--ah-gradient-accent);
  animation: ah-wave 1.2s ease-in-out infinite;
}
.ah-waveform span:nth-child(1) { height: 20%; animation-delay: 0s; }
.ah-waveform span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.ah-waveform span:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.ah-waveform span:nth-child(4) { height: 40%; animation-delay: 0.3s; }
.ah-waveform span:nth-child(5) { height: 95%; animation-delay: 0.4s; }
.ah-waveform span:nth-child(6) { height: 60%; animation-delay: 0.5s; }
.ah-waveform span:nth-child(7) { height: 85%; animation-delay: 0.6s; }
.ah-waveform span:nth-child(8) { height: 35%; animation-delay: 0.7s; }
.ah-waveform span:nth-child(9) { height: 65%; animation-delay: 0.8s; }
.ah-waveform span:nth-child(10) { height: 25%; animation-delay: 0.9s; }

@keyframes ah-wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.ah-waveform-quote { font-family: var(--ah-font-display); font-size: 1.1rem; margin-bottom: 0.75rem; }
.ah-waveform-reply {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ah-mint-deep);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--ah-bg-alt);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.ah-step-list { display: flex; flex-direction: column; gap: 1.75rem; }
.ah-step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.ah-step-num {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ah-font-display);
  font-weight: 700;
  color: #fff;
  background: var(--ah-gradient-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 16px rgba(138, 99, 224, 0.35);
}
.ah-step-item h4 { margin-bottom: 0.35rem; }
.ah-step-item p { color: var(--ah-muted); margin-bottom: 0; }

/* ===========================================================
   9. Features
=========================================================== */
.ah-feature-card {
  background: var(--ah-surface);
  border-radius: 22px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 10px 10px 22px var(--ah-shadow-soft), -8px -8px 18px var(--ah-shadow-light);
  transition: transform var(--transition-fast);
}
.ah-feature-card:hover { transform: translateY(-4px); }
.ah-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  color: var(--ah-lavender-deep);
  background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-lavender) 70%);
  box-shadow: inset 0 -3px 5px rgba(55, 47, 85, 0.18), inset 0 2px 3px rgba(255, 255, 255, 0.8);
}
.ah-feature-icon--mint { color: var(--ah-mint-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-mint) 70%); }
.ah-feature-icon--peach { color: var(--ah-peach-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-peach) 70%); }
.ah-feature-icon--sky { color: var(--ah-sky-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-sky) 70%); }
.ah-feature-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.ah-feature-card p { color: var(--ah-muted); margin-bottom: 0; font-size: 0.95rem; }

/* ===========================================================
   10. Scenes
=========================================================== */
.ah-scene-card {
  background: var(--ah-surface);
  border-radius: 22px;
  padding: 1.6rem;
  height: 100%;
  box-shadow: 10px 10px 22px var(--ah-shadow-soft), -8px -8px 18px var(--ah-shadow-light);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.ah-scene-card.is-active {
  box-shadow: 0 0 0 2px var(--ah-lavender-deep) inset, 10px 10px 22px var(--ah-shadow-soft), 0 0 26px rgba(138, 99, 224, 0.3);
}
.ah-scene-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--ah-lavender-deep);
  background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-lavender) 70%);
  box-shadow: inset 0 -3px 5px rgba(55, 47, 85, 0.18), inset 0 2px 3px rgba(255, 255, 255, 0.8);
}
.ah-scene-icon--mint { color: var(--ah-mint-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-mint) 70%); }
.ah-scene-icon--peach { color: var(--ah-peach-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-peach) 70%); }
.ah-scene-icon--sky { color: var(--ah-sky-deep); background: radial-gradient(circle at 32% 28%, #ffffff, var(--ah-sky) 70%); }
.ah-scene-card h4 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.ah-scene-actions { list-style: none; padding: 0; margin: 0 0 1.25rem; color: var(--ah-muted); font-size: 0.88rem; }
.ah-scene-actions li { padding: 0.2rem 0; display: flex; align-items: center; gap: 0.4rem; }
.ah-scene-actions li::before { content: "\f26b"; font-family: "bootstrap-icons"; color: var(--ah-mint-deep); font-size: 0.7rem; }
.ah-scene-foot { display: flex; align-items: center; gap: 0.75rem; }
.ah-scene-status { font-size: 0.82rem; font-weight: 700; color: var(--ah-muted); }
.ah-scene-card.is-active .ah-scene-status { color: var(--ah-lavender-deep); }

/* ===========================================================
   11. Device compatibility
=========================================================== */
.ah-compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ah-compat-badge {
  background: var(--ah-surface);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 8px 8px 18px var(--ah-shadow-soft), -6px -6px 14px var(--ah-shadow-light);
}
.ah-compat-badge i { font-size: 1.6rem; color: var(--ah-lavender-deep); display: block; margin-bottom: 0.6rem; }
.ah-compat-badge span { font-size: 0.85rem; font-weight: 700; color: var(--ah-ink); }

/* ===========================================================
   12. Testimonials
=========================================================== */
.ah-review-card {
  background: var(--ah-surface);
  border-radius: 22px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 10px 10px 22px var(--ah-shadow-soft), -8px -8px 18px var(--ah-shadow-light);
}
.ah-stars { color: var(--ah-peach-deep); margin-bottom: 0.85rem; font-size: 0.95rem; }
.ah-review-card p { color: var(--ah-ink); margin-bottom: 1.5rem; }
.ah-review-author { display: flex; align-items: center; gap: 0.75rem; }
.ah-review-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--ah-surface), 0 0 0 5px var(--ah-lavender);
}
.ah-review-author strong { display: block; font-size: 0.92rem; }
.ah-review-author span { font-size: 0.78rem; color: var(--ah-muted); }

/* ===========================================================
   13. Pricing
=========================================================== */
.ah-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ah-surface);
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  margin-top: 1rem;
  box-shadow: 6px 6px 14px var(--ah-shadow-soft), -6px -6px 14px var(--ah-shadow-light);
}
.ah-billing-label { font-size: 0.85rem; font-weight: 700; color: var(--ah-muted); padding: 0 0.35rem; }
.ah-billing-label.is-active { color: var(--ah-lavender-deep); }
.ah-billing-label em { font-style: normal; color: var(--ah-mint-deep); }
.ah-billing-switch {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7e2f8, #d6cff1);
  box-shadow: inset 0 3px 5px rgba(55, 47, 85, 0.25);
  display: inline-flex;
  align-items: center;
  padding: 3px;
}
.ah-billing-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #f1eefb);
  box-shadow: 0 2px 4px rgba(55, 47, 85, 0.35);
  transition: transform var(--transition-fast);
}
.ah-billing-toggle[aria-pressed="true"] .ah-billing-knob { transform: translateX(20px); }

.ah-plan-card {
  background: var(--ah-surface);
  border-radius: 26px;
  padding: 2.25rem 1.85rem;
  height: 100%;
  box-shadow: 12px 12px 26px var(--ah-shadow-soft), -10px -10px 22px var(--ah-shadow-light);
  position: relative;
}
.ah-plan-card--featured {
  background: linear-gradient(165deg, #fdfcff 0%, #f1eafd 100%);
  box-shadow: 14px 16px 30px rgba(138, 99, 224, 0.25), -10px -10px 22px var(--ah-shadow-light),
    0 0 0 2px var(--ah-lavender-deep);
  transform: translateY(-8px);
}
.ah-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ah-gradient-btn);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(138, 99, 224, 0.4);
}
.ah-plan-card h3 { margin-bottom: 0.35rem; }
.ah-plan-desc { color: var(--ah-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.ah-plan-price { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 1.5rem; }
.ah-plan-price span { font-size: 1.1rem; color: var(--ah-muted); }
.ah-plan-price strong { font-family: var(--ah-font-display); font-size: 2.6rem; color: var(--ah-ink); }
.ah-plan-price small { color: var(--ah-muted); }
.ah-plan-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.ah-plan-features li { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; color: var(--ah-ink); font-size: 0.92rem; }
.ah-plan-features i { color: var(--ah-mint-deep); }

/* ===========================================================
   14. FAQ
=========================================================== */
.ah-faq-list .accordion-item {
  background: var(--ah-surface);
  border: none;
  border-radius: 18px !important;
  margin-bottom: 1rem;
  box-shadow: 8px 8px 18px var(--ah-shadow-soft), -6px -6px 14px var(--ah-shadow-light);
  overflow: hidden;
}
.ah-faq-list .accordion-button {
  font-family: var(--ah-font-display);
  font-weight: 600;
  color: var(--ah-ink);
  background: transparent;
  box-shadow: none;
}
.ah-faq-list .accordion-button:not(.collapsed) { color: var(--ah-lavender-deep); background: var(--ah-bg-alt); box-shadow: none; }
.ah-faq-list .accordion-button:focus { box-shadow: none; }
.ah-faq-list .accordion-body { color: var(--ah-muted); }

/* ===========================================================
   15. CTA banner
=========================================================== */
.ah-cta { padding: 1rem 0 5.5rem; }
.ah-cta-card {
  background: var(--ah-gradient-accent);
  border-radius: 32px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 50px rgba(138, 99, 224, 0.3);
}
.ah-cta-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.75rem; }
.ah-cta-card p { color: var(--ah-ink); opacity: 0.85; max-width: 520px; margin: 0 auto 1.75rem; }

/* ===========================================================
   16. Contact
=========================================================== */
.ah-contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ah-contact-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; color: var(--ah-ink); }
.ah-contact-list i { color: var(--ah-lavender-deep); }

.ah-form .form-label { font-weight: 700; font-size: 0.88rem; color: var(--ah-ink); }
.ah-input {
  border: none;
  border-radius: 14px;
  background: var(--ah-surface);
  box-shadow: inset 4px 4px 10px var(--ah-shadow-soft), inset -4px -4px 10px var(--ah-shadow-light);
  padding: 0.7rem 1rem;
}
.ah-input:focus {
  box-shadow: inset 4px 4px 10px var(--ah-shadow-soft), inset -4px -4px 10px var(--ah-shadow-light),
    0 0 0 3px rgba(138, 99, 224, 0.25);
}

/* ===========================================================
   17. Footer
=========================================================== */
.ah-footer {
  background: var(--ah-ink);
  color: #d9d4ea;
  padding: 4rem 0 1.5rem;
}
.ah-brand--footer { color: #fff; margin-bottom: 1rem; }
.ah-footer-about { color: #aaa2c4; font-size: 0.92rem; max-width: 320px; }
.ah-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.ah-footer-links { list-style: none; padding: 0; margin: 0; }
.ah-footer-links li { margin-bottom: 0.6rem; }
.ah-footer-links a { color: #aaa2c4; font-size: 0.92rem; }
.ah-footer-links a:hover { color: #fff; }

.ah-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.ah-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.ah-social a:hover { background: var(--ah-lavender-deep); }

.ah-newsletter { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.ah-newsletter input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.ah-newsletter input::placeholder { color: #a79fc4; }
.ah-newsletter button {
  width: 42px;
  border: none;
  border-radius: 50%;
  background: var(--ah-gradient-btn);
  color: #fff;
}

.ah-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #978fb3;
}
.ah-footer-bottom-links a { color: #978fb3; margin-left: 1rem; }
.ah-footer-bottom-links a:hover { color: #fff; }

/* ===========================================================
   18. Toast
=========================================================== */
.ah-toast {
  background: var(--ah-ink);
  color: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(55, 47, 85, 0.35);
}

/* ===========================================================
   19. Responsive
=========================================================== */
@media (max-width: 991.98px) {
  .ah-hero { padding: 8rem 0 4rem; }
  .ah-float-card { display: none; }
  .ah-compat-grid { grid-template-columns: repeat(2, 1fr); }
  .ah-plan-card--featured { transform: none; }
}

@media (max-width: 575.98px) {
  .ah-hero-actions { flex-direction: column; }
  .ah-stat-row { gap: 1.25rem; }
  .ah-room-tabs { gap: 0.5rem; }
  .ah-room-tab { padding: 0.55rem 1rem; font-size: 0.85rem; }
}
