:root {
  --bg: #07101d;
  --bg-alt: #0d1727;
  --panel: #111d31;
  --panel-soft: rgba(17, 29, 49, 0.8);
  --line: rgba(154, 178, 235, 0.18);
  --text: #f5f4ef;
  --muted: #b8c2d8;
  --accent: #8cd2ff;
  --accent-2: #8f86ff;
  --accent-3: #d07af8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(208, 122, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #0a1322 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
}

.page-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 88px;
}

.thank-you-page {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: min(720px, 100%);
  padding: 56px 44px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel-soft);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-card h1 {
  max-width: none;
}

.thank-you-text {
  max-width: 32ch;
  margin: 18px auto 28px;
  color: var(--muted);
  line-height: 1.7;
}

.site-header,
.section {
  margin-top: 24px;
}

.topbar,
.hero-copy,
.hero-panel,
.intro-strip,
.service-card,
.feature-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 20px rgba(140, 210, 255, 0.55);
}

.topbar-links {
  display: flex;
  gap: 18px;
}

.topbar-links a,
.contact-links a {
  color: var(--text);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
}

.hero-copy,
.hero-panel,
.intro-strip,
.service-card,
.feature-card,
.contact-card,
.contact-form {
  border-radius: 28px;
}

.hero-copy {
  padding: 64px 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  line-height: 0.92;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  font-size: 1.16rem;
}

.intro-strip p,
.service-card p,
.feature-copy p:last-child,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.topbar-links a:hover,
.contact-links a:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #08101d;
  background: linear-gradient(135deg, #acecff 0%, #96a3ff 52%, #d688f8 100%);
}

.button-instagram {
  color: #ffffff;
  background: linear-gradient(135deg, #f58529 0%, #feda77 18%, #dd2a7b 48%, #8134af 72%, #515bd4 100%);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.logo-frame,
.hero-note,
.point-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 24, 0.7);
  border-radius: 22px;
}

.logo-frame {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 34px;
}

.studio-logo {
  width: min(100%, 360px);
  height: auto;
}

.hero-note {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(140, 210, 255, 0.08), rgba(214, 136, 248, 0.08)),
    rgba(7, 13, 24, 0.7);
}

.note-label,
.service-number,
.point-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-note p {
  color: var(--text);
  line-height: 1.2;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
}

.intro-strip {
  padding: 34px 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.intro-item {
  min-height: 220px;
  padding: 10px 28px 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.intro-item + .intro-item {
  border-left: 1px solid rgba(154, 178, 235, 0.16);
}

.intro-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.split-line {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.3;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: none;
}

.section-heading {
  margin-bottom: 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.demo-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.demo-intro {
  margin: -4px 0 22px;
}

.demo-intro p {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-card {
  padding: 32px;
}

.demo-card,
.testimonial-card {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 32px;
}

.demo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  min-height: 360px;
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
}

.demo-card::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(8px);
  pointer-events: none;
}

.demo-card-detail::after {
  background: radial-gradient(circle, rgba(140, 210, 255, 0.8), transparent 70%);
}

.demo-card-nails::after {
  background: radial-gradient(circle, rgba(214, 136, 248, 0.78), transparent 70%);
}

.demo-card-hvac::after {
  background: radial-gradient(circle, rgba(150, 163, 255, 0.8), transparent 70%);
}

.demo-label {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 600;
}

.demo-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b1423;
}

.demo-button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
}

.demo-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 178, 235, 0.3);
}

.demo-card,
.testimonial-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card p {
  margin-top: 12px;
}

.testimonial-card {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%),
    var(--panel-soft);
}

.testimonial-mark {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.testimonial-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  color: var(--text);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
}

.contact-card,
.contact-form {
  padding: 28px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-link::after {
  content: "->";
  font-size: 0.95rem;
  opacity: 0.85;
}

.contact-link:hover {
  transform: translateY(-2px);
}

.contact-link-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #f58529 0%, #feda77 18%, #dd2a7b 48%, #8134af 72%, #515bd4 100%);
  box-shadow: 0 16px 34px rgba(221, 42, 123, 0.28);
}

.contact-link-secondary {
  background: rgba(255, 255, 255, 0.05);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 16px 18px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(140, 210, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(140, 210, 255, 0.08);
}

.hidden-field {
  display: none;
}

@media (max-width: 980px) {
  .hero,
  .intro-strip,
  .services-grid,
  .demo-grid,
  .testimonial-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    flex-wrap: wrap;
  }

  .hero-copy,
  .hero-panel,
  .intro-strip,
  .service-card,
  .feature-card,
  .contact-card,
  .contact-form {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intro-item {
    min-height: auto;
    padding: 10px 0;
  }

  .intro-item + .intro-item {
    border-left: 0;
    border-top: 1px solid rgba(154, 178, 235, 0.16);
    padding-top: 22px;
    margin-top: 22px;
  }

  .hero-copy {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
