:root {
  color-scheme: light;
  --page: #f4f2fb;
  --paper: #ffffff;
  --ink: #111018;
  --soft-ink: #5f5b6f;
  --muted: #858196;
  --dark: #06050b;
  --dark-2: #14121d;
  --dark-3: #262334;
  --purple: #6b2cff;
  --purple-2: #8e55ff;
  --violet: #281169;
  --blue: #0d2d8f;
  --green: #25b84b;
  --line: rgba(17, 16, 24, 0.1);
  --dark-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(23, 15, 60, 0.14);
  --dark-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius: 14px;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(107, 44, 255, 0.09), transparent 28rem),
    linear-gradient(180deg, #f0eef9 0%, #ffffff 42%, #f4f2fb 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.86rem 0.95rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(107, 44, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(107, 44, 255, 0.1);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--soft-ink);
  font-size: 0.9rem;
  font-weight: 650;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td small {
  display: block;
  max-width: 22rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 2rem));
  margin: 0.85rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.85rem;
  background: rgba(246, 244, 252, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(32, 23, 72, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #050509;
  color: #ffffff;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a,
.nav-button,
.admin-sidebar a,
.text-button {
  color: var(--soft-ink);
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  transition: 180ms ease;
  font-size: 0.93rem;
  font-weight: 650;
}

.site-nav a:hover,
.admin-sidebar a:hover,
.text-button:hover {
  color: var(--ink);
  background: rgba(107, 44, 255, 0.08);
}

.nav-button {
  background: var(--purple);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(107, 44, 255, 0.24);
}

.hero {
  position: relative;
  isolation: isolate;
  margin-top: 1.1rem;
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 2.2rem;
  padding: clamp(3rem, 7vw, 5.8rem) clamp(1rem, 5vw, 4rem) 3.2rem;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 15%, rgba(107, 44, 255, 0.72), transparent 18rem),
    radial-gradient(circle at 40% 60%, rgba(13, 45, 143, 0.72), transparent 20rem),
    radial-gradient(circle at 78% 82%, rgba(255, 121, 53, 0.42), transparent 16rem),
    linear-gradient(135deg, #050408 0%, #10042d 54%, #050408 100%);
  color: #ffffff;
  box-shadow: var(--dark-shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, 0.1) 53%, transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px);
  mask-image: radial-gradient(circle at 68% 45%, black, transparent 58%);
  opacity: 0.8;
}

.hero::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: 2rem;
  bottom: 7rem;
  z-index: -1;
  border-radius: 45% 55% 35% 65%;
  background:
    linear-gradient(135deg, rgba(91, 38, 232, 0.95), rgba(17, 77, 192, 0.86) 48%, rgba(248, 111, 55, 0.62)),
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.55), transparent 8rem);
  filter: blur(2px);
  transform: rotate(-18deg) skew(8deg);
  opacity: 0.82;
}

.hero-copy {
  width: min(920px, 100%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-top h1,
.admin-header h1 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  font-weight: 820;
}

.page-top h1 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

.admin-header h1 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.hero p,
.section-heading p,
.page-top p,
.admin-header p {
  color: var(--soft-ink);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions,
.row-actions,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.08rem;
  font-weight: 780;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 16px 34px rgba(107, 44, 255, 0.28);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-top .button.secondary,
.admin-main .button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.command-panel {
  position: relative;
  width: min(860px, 100%);
  min-height: 28rem;
  padding: 2.35rem 1rem 1rem;
  border-radius: 24px 24px 12px 12px;
  background: #ebeaf1;
  border: 8px solid #101018;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  color: var(--ink);
  transform: perspective(900px) rotateX(2deg);
}

.device-camera {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.2rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #242231;
}

.panel-top,
.recent-row,
.card-foot,
.manager-row,
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-top {
  padding: 0 0.15rem 0.85rem;
}

.panel-top strong,
.recent-row span,
.mini-card strong {
  color: var(--ink);
}

.panel-top span,
.mini-card span,
.chart-card span,
.recent-row small,
.card-foot span,
.manager-row span,
.manager-row em {
  color: var(--muted);
}

.pulse-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(37, 184, 75, 0.14);
  animation: pulse 2s infinite;
}

.mini-grid,
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0.9rem 0;
}

.mini-card,
.admin-metrics > div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 10px 24px rgba(23, 15, 60, 0.06);
}

.mini-card strong,
.admin-metrics strong {
  display: block;
  font-size: 1.5rem;
  margin-top: 0.32rem;
}

.chart-card {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.chart-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  height: 7rem;
  align-items: end;
  margin-top: 1rem;
}

.chart-line i {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(to top, var(--purple), #92ddff);
  min-height: 22%;
}

.chart-line i:nth-child(2) { min-height: 42%; }
.chart-line i:nth-child(3) { min-height: 34%; }
.chart-line i:nth-child(4) { min-height: 64%; }
.chart-line i:nth-child(5) { min-height: 54%; }
.chart-line i:nth-child(6) { min-height: 82%; }

.recent-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.recent-row {
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.recent-row b {
  color: var(--purple);
  font-size: 0.8rem;
}

.float-card {
  position: absolute;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #161420;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  animation: floaty 6s ease-in-out infinite;
}

.card-one { right: -1.2rem; top: 18%; }
.card-two { left: -1rem; bottom: 30%; animation-delay: 1s; }
.card-three { right: 8%; bottom: -0.9rem; animation-delay: 1.8s; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  padding: 3.2rem 0 4.5rem;
}

.award-title {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--soft-ink);
  font-weight: 800;
  font-size: 1.1rem;
}

.stats-strip div {
  display: grid;
  place-items: center;
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 15, 60, 0.06);
}

.stats-strip strong {
  display: block;
  font-size: 2rem;
}

.stats-strip span {
  color: var(--muted);
  text-align: center;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 1.7rem;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading::before {
  content: "Local Business Automation";
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(107, 44, 255, 0.08);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.service-grid,
.blog-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card,
.blog-card,
blockquote,
.glass,
.admin-panel,
.login-card,
.contact-card,
.article-card,
.bento-card,
details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.service-card,
.blog-card,
blockquote {
  padding: 1.15rem;
}

.service-card h3,
.bento-card h3,
.blog-card h3 {
  margin-bottom: 0.45rem;
}

.service-card p,
.bento-card p,
.blog-card p,
blockquote p {
  color: var(--soft-ink);
  line-height: 1.65;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: rgba(107, 44, 255, 0.09);
  border: 1px solid rgba(107, 44, 255, 0.14);
  border-radius: 12px;
  color: var(--purple);
  font-weight: 900;
}

.card-foot {
  margin-top: 1rem;
}

.card-foot a,
.blog-card a,
.article > a,
.row-actions a {
  color: var(--purple);
  font-weight: 800;
}

.workflow,
.dashboard-preview,
.faq-section,
.lead-section {
  padding: 5rem 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.timeline-step {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--purple);
  color: #ffffff;
  font-weight: 900;
}

.timeline-step p {
  color: var(--soft-ink);
  line-height: 1.55;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 4rem 0;
}

.bento-card {
  min-height: 13rem;
  padding: 1.25rem;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card span {
  color: var(--purple);
  font-weight: 900;
}

.preview-board {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
  background: var(--dark);
  box-shadow: var(--dark-shadow);
}

.preview-board .admin-metrics > div {
  background: var(--dark-2);
  border-color: var(--dark-line);
}

.preview-board .admin-metrics span,
.preview-board .pipeline span {
  color: rgba(255, 255, 255, 0.6);
}

.preview-board .admin-metrics strong,
.preview-board .pipeline b {
  color: #ffffff;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.6rem;
}

.pipeline span {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
}

.pipeline b {
  font-size: 1.45rem;
}

blockquote footer {
  margin-top: 1rem;
  font-weight: 800;
}

blockquote span {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  padding: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--soft-ink);
  line-height: 1.65;
}

.newsletter-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem;
  margin-bottom: 5rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 20%, rgba(107, 44, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, #080711, #1a0d47);
  color: #ffffff;
  box-shadow: var(--dark-shadow);
}

.newsletter-band h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 3rem);
}

.newsletter-band p,
.site-footer p {
  color: var(--soft-ink);
}

.newsletter-band p {
  color: rgba(255, 255, 255, 0.68);
}

.compact-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.span-2 {
  grid-column: span 2;
}

.lead-form {
  padding: 1.25rem;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  color: var(--muted);
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: #d93025;
}

.page-top {
  padding-top: 5rem;
}

.contact-layout,
.lead-detail-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
}

.contact-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
  margin-top: 1.5rem;
}

.contact-card span,
.detail-list dt {
  color: var(--muted);
}

.blog-image {
  display: grid;
  place-items: center;
  height: 9rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 121, 53, 0.42), transparent 8rem),
    linear-gradient(135deg, #050408, #4016a4 48%, #111018);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
}

.article {
  max-width: 860px;
}

.article h1 {
  margin-top: 1rem;
}

.article-excerpt {
  font-size: 1.2rem;
}

.article-card {
  padding: 1.35rem;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 5rem;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
}

.sticky-cta {
  display: none;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #f6f5fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-right: 1px solid var(--dark-line);
  background: #080711;
  color: #ffffff;
}

.admin-sidebar .brand {
  color: #ffffff;
}

.admin-sidebar nav {
  display: grid;
  gap: 0.2rem;
}

.admin-sidebar a,
.text-button {
  color: rgba(255, 255, 255, 0.66);
}

.admin-sidebar a:hover,
.text-button:hover {
  color: #ffffff;
  background: rgba(107, 44, 255, 0.22);
}

.text-button {
  margin-top: auto;
  text-align: left;
  background: transparent;
  border: 0;
}

.admin-main {
  padding: 1.4rem;
}

.admin-header {
  margin-bottom: 1rem;
}

.admin-header p {
  margin-bottom: 0;
}

.admin-metrics {
  margin: 0 0 1rem;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-panel {
  padding: 1rem;
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

.row-actions button,
.manager-row button,
td button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-weight: 750;
}

.toolbar {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.toolbar input {
  max-width: 34rem;
}

.outbox-list pre {
  white-space: pre-wrap;
  color: var(--soft-ink);
  line-height: 1.5;
}

.detail-list {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.65rem;
}

.admin-timeline {
  display: grid;
  gap: 0.8rem;
}

.admin-timeline div {
  border-left: 2px solid var(--purple);
  padding-left: 1rem;
}

.admin-timeline span {
  color: var(--muted);
  font-size: 0.82rem;
}

.manager-form {
  display: grid;
  gap: 0.9rem;
}

.manager-list {
  display: grid;
  gap: 0.75rem;
}

.manager-row {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.manager-row div {
  min-width: 0;
}

.manager-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.check-row input {
  width: auto;
}

.stat-edit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.6rem;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(107, 44, 255, 0.28), transparent 28rem),
    #080711;
}

.login-card {
  width: min(420px, 100%);
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
  text-align: center;
}

.login-card .brand-mark {
  margin: 0 auto;
}

.empty {
  color: var(--muted);
}

.entrance {
  animation: entrance 700ms ease both;
}

.delay {
  animation-delay: 130ms;
}

@keyframes entrance {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 14px rgba(37, 184, 75, 0);
  }
}

@keyframes floaty {
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .newsletter-band,
  .contact-layout,
  .lead-detail-grid,
  .admin-grid-two {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .testimonial-grid,
  .blog-grid,
  .mini-grid,
  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.wide,
  .span-2 {
    grid-column: auto;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    border-radius: 20px;
  }

  .site-nav {
    max-width: 100%;
    overflow-x: auto;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2.4rem 1rem;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero::after {
    width: 20rem;
    height: 20rem;
    right: -7rem;
    bottom: 14rem;
  }

  .stats-strip,
  .service-grid,
  .testimonial-grid,
  .blog-grid,
  .mini-grid,
  .admin-metrics,
  .form-grid,
  .compact-form {
    grid-template-columns: 1fr;
  }

  .command-panel {
    min-height: auto;
    padding-top: 2rem;
    border-width: 5px;
  }

  .float-card {
    position: static;
    margin-top: 0.65rem;
  }

  .site-footer,
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: inline-flex;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    justify-content: center;
    padding: 0.95rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--purple), var(--purple-2));
    font-weight: 850;
    box-shadow: 0 20px 46px rgba(107, 44, 255, 0.3);
  }

  .site-footer {
    padding-bottom: 6rem;
  }
}

/* Premier-inspired dark mode polish */
:root {
  color-scheme: dark;
  --page: #05040b;
  --paper: rgba(18, 15, 31, 0.84);
  --ink: #f8f6ff;
  --soft-ink: rgba(234, 228, 255, 0.72);
  --muted: rgba(208, 198, 233, 0.54);
  --dark: #05040b;
  --dark-2: #0e0b19;
  --dark-3: #1b1530;
  --purple: #8d55ff;
  --purple-2: #c36cff;
  --violet: #2a126b;
  --blue: #2e6bff;
  --green: #43dd78;
  --line: rgba(255, 255, 255, 0.13);
  --dark-line: rgba(255, 255, 255, 0.14);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --dark-shadow: 0 36px 110px rgba(0, 0, 0, 0.52);
}

body {
  background:
    radial-gradient(circle at 50% -8rem, rgba(142, 85, 255, 0.44), transparent 28rem),
    radial-gradient(circle at 12% 26rem, rgba(46, 107, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 90% 48rem, rgba(255, 120, 72, 0.12), transparent 22rem),
    linear-gradient(180deg, #04030a 0%, #090718 32%, #05040b 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, 0.035) 53%, transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px);
  mask-image: radial-gradient(circle at 56% 10%, black, transparent 62%);
}

body::after {
  width: 42rem;
  height: 42rem;
  right: -18rem;
  top: 11rem;
  border-radius: 38% 62% 44% 56%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.2), transparent 7rem),
    linear-gradient(135deg, rgba(126, 60, 255, 0.34), rgba(39, 101, 255, 0.22), rgba(255, 124, 68, 0.16));
  filter: blur(1px);
  animation: blob-drift 14s ease-in-out infinite;
}

.site-header {
  background: rgba(9, 7, 21, 0.74);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
}

.brand-mark {
  background: linear-gradient(135deg, #ffffff, #cec0ff);
  color: #090716;
}

.site-nav a,
.nav-button,
.admin-sidebar a,
.text-button {
  color: rgba(244, 239, 255, 0.68);
}

.site-nav a:hover,
.admin-sidebar a:hover,
.text-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-button,
.button.primary {
  background: linear-gradient(135deg, #7c3cff, #b66cff 55%, #ff8a4f);
  box-shadow: 0 18px 42px rgba(124, 60, 255, 0.34);
}

.button.primary:hover,
.nav-button:hover {
  box-shadow: 0 24px 60px rgba(124, 60, 255, 0.45);
}

.button.secondary,
.page-top .button.secondary,
.admin-main .button.secondary {
  color: #f7f2ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero {
  background:
    radial-gradient(circle at 63% 10%, rgba(141, 85, 255, 0.82), transparent 19rem),
    radial-gradient(circle at 35% 58%, rgba(38, 92, 255, 0.68), transparent 20rem),
    radial-gradient(circle at 82% 82%, rgba(255, 124, 68, 0.42), transparent 16rem),
    linear-gradient(135deg, #030209 0%, #110530 52%, #030209 100%);
}

.hero::after {
  animation: hero-blob 10s ease-in-out infinite;
}

.hero-label,
.section-heading::before {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

.command-panel {
  background:
    radial-gradient(circle at 72% 0%, rgba(141, 85, 255, 0.14), transparent 18rem),
    linear-gradient(180deg, #151324, #0b0915);
  border-color: #020106;
  color: var(--ink);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 500ms ease;
}

.command-panel:hover {
  transform: perspective(900px) rotateX(0deg) translateY(-6px);
  box-shadow:
    0 52px 130px rgba(0, 0, 0, 0.62),
    0 0 60px rgba(141, 85, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.device-camera {
  background: #05040b;
}

.mini-card,
.chart-card,
.recent-row,
.stats-strip div,
.service-card,
.blog-card,
blockquote,
.glass,
.admin-panel,
.login-card,
.contact-card,
.article-card,
.bento-card,
details,
.timeline-step,
.manager-row,
.preview-board .admin-metrics > div,
.pipeline span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045)),
    rgba(12, 9, 24, 0.82);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.service-card,
.blog-card,
blockquote,
.bento-card,
.timeline-step,
.admin-panel,
details,
.stats-strip div {
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 360ms ease,
    box-shadow 360ms ease,
    background 360ms ease;
}

.service-card:hover,
.blog-card:hover,
blockquote:hover,
.bento-card:hover,
.timeline-step:hover,
details:hover,
.stats-strip div:hover {
  transform: translateY(-7px);
  border-color: rgba(180, 125, 255, 0.38);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.36),
    0 0 48px rgba(124, 60, 255, 0.12);
}

.float-card {
  background: rgba(7, 5, 15, 0.86);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.panel-top strong,
.recent-row span,
.mini-card strong,
.admin-metrics strong,
.preview-board .admin-metrics strong,
.preview-board .pipeline b,
.section-heading h2,
.service-card h3,
.bento-card h3,
.blog-card h3,
summary,
td,
.manager-row strong {
  color: #ffffff;
}

.panel-top span,
.mini-card span,
.chart-card span,
.recent-row small,
.card-foot span,
.manager-row span,
.manager-row em,
.award-title,
.service-card p,
.bento-card p,
.blog-card p,
blockquote p,
details p,
.page-top p,
.section-heading p,
.admin-header p,
.site-footer p,
td small {
  color: var(--soft-ink);
}

.icon-tile {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 1.4rem),
    linear-gradient(135deg, rgba(124, 60, 255, 0.28), rgba(46, 107, 255, 0.18));
  border-color: rgba(180, 125, 255, 0.22);
  color: #f4efff;
}

.workflow,
.dashboard-preview,
.faq-section,
.lead-section,
.bento-grid {
  position: relative;
}

.workflow::before,
.dashboard-preview::before,
.lead-section::before {
  content: "";
  position: absolute;
  inset: 1rem -4rem auto;
  height: 16rem;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(124, 60, 255, 0.12), transparent 60%);
}

.newsletter-band {
  background:
    radial-gradient(circle at 82% 20%, rgba(195, 108, 255, 0.36), transparent 18rem),
    radial-gradient(circle at 8% 80%, rgba(46, 107, 255, 0.28), transparent 18rem),
    linear-gradient(135deg, #070511, #1b0b47 58%, #070511);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.preview-board {
  background:
    radial-gradient(circle at 18% 16%, rgba(141, 85, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #05040b;
}

input,
select,
textarea {
  background: rgba(8, 6, 17, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: rgba(227, 218, 255, 0.46);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(195, 108, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(141, 85, 255, 0.18);
}

label,
th,
.empty,
.contact-card span,
.detail-list dt {
  color: var(--muted);
}

th,
td,
.site-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

.row-actions button,
.manager-row button,
td button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.admin-shell {
  background:
    radial-gradient(circle at 84% 10%, rgba(124, 60, 255, 0.2), transparent 26rem),
    linear-gradient(180deg, #080613, #04030a);
}

.admin-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(141, 85, 255, 0.18), transparent 16rem),
    #05040b;
}

.login-screen {
  background:
    radial-gradient(circle at 70% 20%, rgba(141, 85, 255, 0.34), transparent 28rem),
    radial-gradient(circle at 20% 80%, rgba(46, 107, 255, 0.2), transparent 22rem),
    #04030a;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 760ms ease var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    filter 760ms ease var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.entrance {
  animation: entrance 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay {
  animation-delay: 180ms;
}

@keyframes blob-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }
  50% {
    transform: translate3d(-3rem, 2rem, 0) rotate(10deg) scale(1.08);
  }
}

@keyframes hero-blob {
  0%,
  100% {
    border-radius: 45% 55% 35% 65%;
    transform: rotate(-18deg) skew(8deg) translateY(0);
  }
  50% {
    border-radius: 58% 42% 62% 38%;
    transform: rotate(-8deg) skew(3deg) translateY(-18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
