:root {
  --bg: #060d11;
  --bg2: #0b1b22;
  --muted: #a9c3ce;
  --line: rgba(156, 197, 219, 0.22);
  --text: #eef8ff;
  --accent: #59f0b7;
  --accent2: #63c8ff;
  --accent3: #b083ff;
  --shadow: 0 16px 46px rgba(2, 8, 14, 0.45);
}

* {
  box-sizing: border-box;
}

body[data-theme="greenhouse"] {
  --bg: #100a15;
  --bg2: #1d0e28;
  --muted: #ccb9e5;
  --line: rgba(195, 160, 235, 0.24);
  --text: #f6efff;
  --accent: #ff9ddb;
  --accent2: #9f8aff;
  --accent3: #6fe0ff;
}

body[data-theme="homeplants"] {
  --bg: #0c1010;
  --bg2: #18211d;
  --muted: #bbd4c2;
  --line: rgba(166, 206, 171, 0.24);
  --text: #ecf9ef;
  --accent: #7ae08d;
  --accent2: #56d7b4;
  --accent3: #9ac4ff;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(1200px 580px at 5% -10%, rgba(90, 180, 143, 0.22), transparent 42%),
    radial-gradient(1200px 620px at 96% -20%, rgba(99, 200, 255, 0.18), transparent 40%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  min-height: 100vh;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(148, 199, 227, 0.18);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  background: rgba(7, 16, 22, 0.72);
  z-index: 20;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent2), var(--accent3));
  box-shadow: 0 0 22px rgba(99, 200, 255, 0.62);
}

.brand strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
}

.container {
  width: min(1220px, 92%);
  margin: 1.2rem auto 2.6rem;
  display: grid;
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  padding: 1.05rem;
  background: linear-gradient(160deg, rgba(17, 35, 43, 0.9), rgba(11, 21, 27, 0.9));
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 189, 223, 0.38);
  box-shadow: 0 20px 52px rgba(2, 8, 14, 0.52);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  font-family: "Unbounded", sans-serif;
  line-height: 1.25;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -90px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 200, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.hero p,
p,
li {
  color: var(--muted);
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.6rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(110, 202, 244, 0.76);
  box-shadow: 0 0 0 3px rgba(99, 200, 255, 0.15);
}

textarea {
  width: 100%;
  resize: vertical;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.btn {
  border: none;
  border-radius: 0.7rem;
  padding: 0.62rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent2), var(--accent3));
  color: #03121c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 8px 20px rgba(102, 180, 230, 0.34);
}

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

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text);
  box-shadow: none;
}

.list {
  margin-top: 0.7rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(152, 191, 213, 0.16);
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
}

.visual-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.thumb {
  width: 68px;
  height: 68px;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
}

.thumb-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.visual-title {
  font-weight: 800;
  color: var(--text);
}

.visual-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.pills {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.pill {
  border: 1px solid rgba(158, 202, 226, 0.26);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  color: #d9f0ff;
  background: rgba(99, 200, 255, 0.08);
}

.gallery-meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #caf7e7;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(150, 205, 231, 0.25);
  background: rgba(99, 200, 255, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  color: #d7f1ff;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}

.kpi {
  border: 1px solid rgba(150, 205, 231, 0.18);
  border-radius: 0.8rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

.kpi strong {
  display: block;
  font-size: 1.2rem;
  font-family: "Unbounded", sans-serif;
}

.simulator {
  margin-top: 0.8rem;
  border: 1px solid rgba(159, 202, 224, 0.26);
  border-radius: 0.9rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

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

.sim-result {
  margin-top: 0.65rem;
  border-radius: 0.7rem;
  padding: 0.6rem;
  border: 1px solid rgba(154, 205, 231, 0.24);
  background: rgba(99, 200, 255, 0.08);
}

.product-mock {
  margin-top: 0.85rem;
  border: 1px solid rgba(160, 207, 229, 0.24);
  border-radius: 0.95rem;
  padding: 0.75rem;
  background: linear-gradient(160deg, rgba(14, 33, 43, 0.85), rgba(11, 24, 30, 0.85));
  animation: floaty 5s ease-in-out infinite;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.mock-head small {
  color: var(--muted);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.mock-tile {
  border: 1px solid rgba(154, 205, 231, 0.22);
  border-radius: 0.75rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
}

.mock-tile strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.88rem;
}

.mock-tile p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(130%);
  width: min(980px, 92%);
  border: 1px solid rgba(156, 208, 232, 0.3);
  border-radius: 0.95rem;
  padding: 0.65rem 0.8rem;
  background: rgba(8, 21, 30, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 44px rgba(1, 8, 14, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  z-index: 60;
  transition: transform 0.25s ease;
}

.sticky-cta.in {
  transform: translateX(-50%) translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.note {
  color: var(--muted);
  margin-top: 0.5rem;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding-bottom: 1.4rem;
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .meta {
    justify-content: flex-start;
    width: 100%;
  }

  .container {
    margin-top: 0.9rem;
    gap: 0.8rem;
  }

  .card {
    padding: 0.9rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .actions {
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
  }

  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
}
