:root {
  scroll-behavior: smooth;
  --bg: #f5f7fb;
  --text: #10152b;
  --accent: #8155ff;
  --accent-2: #ff6f91;
  --accent-soft: rgba(129, 85, 255, 0.15);
  --muted: #5f6788;
  --card: #ffffff;
  --border: rgba(16, 21, 43, 0.1);
  --font: "Sora", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(150deg, #fdfbff, #edf1ff 50%, #e5ebfb 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

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

p {
  color: var(--muted);
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo img {
  height: clamp(40px, 5vw, 64px);
  width: auto;
  max-width: clamp(180px, 28vw, 320px);
  object-fit: contain;
}

.logo span {
  background: linear-gradient(90deg, #6f33ab, #3c71d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--text);
}

.cta,
.ghost {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(129, 85, 255, 0.35);
}

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

.ghost {
  border-color: transparent;
  color: var(--accent);
  background: rgba(129, 85, 255, 0.12);
}

.hero {
  padding: 6rem 0 4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-copy p {
  max-width: 36rem;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-tags li {
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 28px 45px rgba(16, 22, 54, 0.15);
}

.slides {
  display: flex;
  overflow: hidden;
}

.slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  transition: transform 0.6s ease;
  height: 360px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  cursor: pointer;
  box-shadow: 0 20px 30px rgba(16, 21, 43, 0.15);
  z-index: 2;
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.split {
  padding: 4rem 0;
  background: #fefcff;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill-list li {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
}

.clarify-card {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 12px 20px rgba(16, 21, 43, 0.08);
}

.clarify-card h4 {
  margin: 0 0 0.5rem;
}

.services {
  padding: 4rem 0;
  background: #f5f6ff;
}

.services h2,
.about h2,
.testimonials h2,
.contact h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.service-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-grid article {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 25px 40px rgba(16, 21, 43, 0.08);
}

.service-grid ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.about {
  padding: 4rem 0;
  background: #f8f7ff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.about-grid>figure {
  order: 0;
}

.about article {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 20px 35px rgba(16, 21, 43, 0.09);
}

.about article+article {
  margin-top: 1rem;
}

.about h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.about-media {
  height: 100%;
  transform: scaleX(-1);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 35px 60px rgba(16, 21, 43, 0.15);
}

.clarify-warning {
  padding: 3rem 0;
}

.warning-card {
  background: rgba(255, 111, 145, 0.12);
  border: 1px solid rgba(255, 111, 145, 0.35);
  border-radius: 26px;
  padding: 2.5rem;
  box-shadow: 0 25px 45px rgba(255, 111, 145, 0.15);
}

.warning-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.warning-grid article {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 111, 145, 0.3);
}

.testimonials {
  padding: 4rem 0;
  background: #f2f0ff;
}

.testimonial-carousel {
  margin-top: 2rem;
  display: flex;
  gap: 0.6rem;
  overflow: hidden;
}

.testimonial-carousel article {
  min-width: calc(33.33% - 0.4rem);
  padding: 1.5rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(16, 21, 43, 0.1);
  transition: transform 0.5s ease;
}

.testimonial-carousel h4 {
  margin-top: 1.2rem;
  color: var(--text);
}

.testimonial-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(129, 85, 255, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-dots button[aria-current="true"] {
  transform: scale(1.2);
  background: var(--accent);
}

.contact {
  padding: 4rem 0;
  background: #f5f5ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--text);
}

.contact-list li+li {
  margin-top: 0.6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 25px 45px rgba(16, 21, 43, 0.08);
}

.contact-form h3 {
  margin: 0;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.focus-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.focus-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8f8ff;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.focus-links a:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8f8ff;
  color: var(--text);
  padding: 0.7rem;
  font-family: inherit;
}

.contact-form button {
  align-self: start;
}

.form-response {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: var(--accent);
  min-height: 1em;
}

.site-footer {
  padding: 2.5rem 0;
  background: #fdfaff;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-brand img {
  width: 160px;
  max-width: 100%;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.footer-grid li+li {
  margin-top: 0.4rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .site-header .cta {
    padding: 0.6rem 1rem;
  }

  .slide {
    height: 280px;
  }
}

.highlight {
  color: var(--accent);
}

body.dark-theme {
  --bg: #070b16;
  --text: #f2f4ff;
  --accent: #9f6bff;
  --accent-2: #ff6f91;
  --accent-soft: rgba(159, 107, 255, 0.18);
  --muted: #b4b9d1;
  --card: #101526;
  --border: rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, #1a1f36, #060912 65%);
}

body.dark-theme .site-header {
  background: rgba(7, 10, 20, 0.92);
}

body.dark-theme .ghost {
  background: rgba(159, 107, 255, 0.15);
  color: var(--accent);
}

body.dark-theme .hero-slider,
body.dark-theme .service-grid article,
body.dark-theme .about article,
body.dark-theme .contact-form,
body.dark-theme .clarify-card,
body.dark-theme .testimonial-carousel article {
  background: var(--card);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--border);
  color: var(--text);
}

body.dark-theme .warning-card {
  background: rgba(255, 111, 145, 0.12);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

body.dark-theme .warning-grid article {
  background: rgba(7, 11, 22, 0.8);
}

body.dark-theme .testimonials,
body.dark-theme .services,
body.dark-theme .about,
body.dark-theme .contact,
body.dark-theme .split {
  background: transparent;
}

body.dark-theme .site-footer {
  background: #050812;
}

body.dark-theme .focus-links a {
  background: #0d1222;
  color: var(--text);
  border-color: var(--border);
}

body.dark-theme .focus-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

body.dark-theme .contact-note {
  color: var(--muted);
}