* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eceae5;
  background-color: #191919;
  line-height: 1.6;
}

/* ─── Background image (rippled like water via SVG displacement filter on mouse movement) ─── */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/background_dashboard.png");
  background-size: var(--bg-size, cover);
  background-position: calc(50% + var(--bg-x, 0px)) calc(0% + var(--bg-y, 0px));
  background-repeat: no-repeat;
  filter: url(#water-ripple);
  z-index: -3;
  pointer-events: none;
}

body.page-ai-receptionist::before {
  background-image: url("assets/aireceptionist_background.png");
}

body.page-careers::before {
  background-image: url("assets/careers_background.png");
}

/* ─── Readability shadow (scrolls with the page so it deepens toward the bottom) ─── */
body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0) 0%,
    rgba(15, 15, 15, 0) 14%,
    rgba(15, 15, 15, 0.55) 42%,
    rgba(15, 15, 15, 0.78) 100%
  );
  z-index: -2;
  pointer-events: none;
}

/* ─── Animated shimmer wash (adds flowing color motion over the background) ─── */
@keyframes shimmer-drift {
  0% {
    background-position: 0% 0%, 100% 100%;
  }
  50% {
    background-position: 100% 50%, 0% 50%;
  }
  100% {
    background-position: 0% 0%, 100% 100%;
  }
}

.bg-shimmer-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(150, 190, 255, 0.35), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(255, 200, 230, 0.3), transparent 55%);
  background-size: 180% 180%, 200% 200%;
  animation: shimmer-drift 18s ease-in-out infinite;
}

/* ─── Mouse-parallax dust particles + glitter (decorative, behind content) ─── */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(236, 234, 229, 0.35);
  filter: blur(1px);
  will-change: transform;
}

.bg-particle--glitter {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(180, 210, 255, 0.25) 60%, transparent 75%);
  filter: blur(2px);
  animation: twinkle 3.2s ease-in-out infinite;
}

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

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #eceae5;
}

.brand img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 18px;
  color: rgba(236, 234, 229, 0.6);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}

.nav-links a:hover {
  color: #eceae5;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 130px 6vw 90px;
  gap: 0;
}

.hero-content {
  flex: 0 0 48%;
  max-width: 48%;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 22px;
  color: rgba(236, 234, 229, 0.4);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #eceae5;
}

.hero-subtext {
  max-width: 440px;
  margin-top: 26px;
  color: rgba(236, 234, 229, 0.5);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.75;
}

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

/* ─── BUTTONS (glowing) ─── */
@keyframes btn-glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(180, 210, 255, 0.25), 0 0 24px rgba(180, 210, 255, 0.12);
  }
  50% {
    box-shadow: 0 0 18px rgba(180, 210, 255, 0.45), 0 0 42px rgba(180, 210, 255, 0.22);
  }
}

.primary-btn,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid rgba(236, 234, 229, 0.7);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #eceae5;
  background: transparent;
  font-family: inherit;
  animation: btn-glow-pulse 2.6s ease-in-out infinite;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.primary-btn:hover,
.contact-form button:hover {
  background: rgba(236, 234, 229, 0.09);
  border-color: rgba(236, 234, 229, 0.9);
  box-shadow: 0 0 22px rgba(180, 210, 255, 0.55), 0 0 50px rgba(180, 210, 255, 0.28);
}

.secondary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid rgba(236, 234, 229, 0.18);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(236, 234, 229, 0.55);
  background: transparent;
  transition: color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.secondary-btn:hover {
  color: #eceae5;
  border-color: rgba(236, 234, 229, 0.38);
  box-shadow: 0 0 18px rgba(180, 210, 255, 0.35), 0 0 38px rgba(180, 210, 255, 0.18);
}

/* ─── HERO VISUAL (background image slot) ─── */
.hero-visual {
  flex: 1;
  position: relative;
  height: 640px;
}

/* ─── SECTIONS ─── */
.section {
  padding: 110px 6vw;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading h2,
.contact-card h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p,
.contact-card > div > p,
.page-hero p {
  margin-top: 16px;
  color: rgba(236, 234, 229, 0.5);
  font-size: 1rem;
  font-weight: 300;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 260px));
  justify-content: start;
  gap: 24px;
  margin-bottom: 90px;
}

.service-card,
.job-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 250px;
  padding: 28px;
}

.service-icon {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 160px;
  margin-bottom: 18px;
  object-fit: contain;
}

.service-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 2.05rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
}

.job-card ul {
  margin-top: 22px;
  padding-left: 18px;
  color: rgba(236, 234, 229, 0.65);
  font-size: 0.92rem;
  font-weight: 300;
}

.job-card li {
  margin-bottom: 7px;
}

.service-cta {
  margin-top: 18px;
}

/* ─── CONTACT ─── */
.contact-section {
  padding-top: 40px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 48px;
  border-radius: 20px;
}

.contact-card .eyebrow {
  margin-bottom: 14px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(236, 234, 229, 0.65);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  color: #eceae5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  outline: none;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.18s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(236, 234, 229, 0.45);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(236, 234, 229, 0.28);
}

.contact-form button {
  width: fit-content;
  font-size: 0.88rem;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
}

.form-status[data-state="success"] {
  color: #9fd9a8;
}

.form-status[data-state="error"] {
  color: #e09a9a;
}

/* ─── CAREERS PAGE ─── */
.page-hero {
  padding: 160px 6vw 70px;
}

.page-hero p {
  max-width: 720px;
}

.job-section {
  padding-top: 40px;
}

.job-card {
  padding: 42px;
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.job-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.job-header p,
.job-grid p {
  margin-top: 10px;
  color: rgba(236, 234, 229, 0.5);
  font-size: 0.94rem;
  font-weight: 300;
}

.job-pill {
  white-space: nowrap;
  padding: 9px 18px;
  color: #191919;
  background: #eceae5;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 34px;
}

.job-grid h3 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.job-apply-btn {
  margin-top: 34px;
}

/* ─── AI RECEPTIONIST PAGE ─── */
.feature-section {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.feature-row-reverse .feature-image {
  order: 2;
}

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.feature-text h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.feature-text p {
  color: rgba(236, 234, 229, 0.6);
  font-size: 0.96rem;
  font-weight: 300;
}

.feature-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
}

.feature-cost {
  color: #eceae5;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 30px 6vw;
  color: rgba(236, 234, 229, 0.35);
  font-size: 0.85rem;
  font-weight: 300;
  text-align: center;
  background: transparent;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    padding: 130px 5vw 60px;
    gap: 60px;
  }

  .hero-content {
    flex: unset;
    max-width: 100%;
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 16px 5vw;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .services-grid,
  .contact-card,
  .job-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row-reverse .feature-image {
    order: 0;
  }

  .contact-card,
  .job-card,
  .service-card {
    border-radius: 14px;
    padding: 26px;
  }

  .job-header {
    flex-direction: column;
  }

  .job-pill {
    white-space: normal;
  }
}
