:root {
  --bg: #eef2ff;
  --bg-2: #e2e8ff;
  --ink: #0f172a;
  --muted: #475569;
  --brand: #4a77ff;
  --brand-2: #3c66e6;
  --accent: #cbd8ff;
  --card: #ffffff;
  --ring: rgba(74, 119, 255, 0.25);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% 10%, var(--bg-2), var(--bg)) fixed;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 7vw;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.home-link {
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(60, 102, 230, 0.3);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(74, 119, 255, 0.25);
  background: white;
  color: var(--brand-2);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background: rgba(74, 119, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-2);
  border-radius: 999px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px 7vw 24px;
  align-items: flex-end;
  text-align: right;
}

.nav-mobile a {
  font-weight: 600;
}

.hero {
  padding: 40px 7vw 80px;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(74, 119, 255, 0.12);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 16px 0;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 12px 30px rgba(60, 102, 230, 0.35);
}

.btn-ghost {
  background: white;
  color: var(--brand-2);
  border: 1px solid rgba(74, 119, 255, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(74, 119, 255, 0.08);
}

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

label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.2);
  font-size: 15px;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid var(--ring);
  border-color: var(--brand);
}

.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 119, 255, 0.1);
}

.section {
  padding: 10px 7vw 70px;
}

.section h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
}

.split-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) minmax(200px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.split-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.split-actions .btn {
  min-width: 220px;
  text-align: center;
}

.carousel {
  position: relative;
  margin-top: 24px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scroll-padding: 20px;
  perspective: 1200px;
}

.carousel-card {
  scroll-snap-align: center;
  background: white;
  border-radius: 18px;
  padding: 10px;
  border: 1px solid rgba(74, 119, 255, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: grid;
  place-items: center;
  transform: scale(0.92);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.carousel-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.carousel-card.active {
  transform: scale(1) rotateY(0deg);
  border-color: rgba(74, 119, 255, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.carousel-card.left {
  transform: scale(0.92) rotateY(-6deg);
}

.carousel-card.right {
  transform: scale(0.92) rotateY(6deg);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(74, 119, 255, 0.25);
  border: none;
  cursor: pointer;
}

.dot.active {
  width: 22px;
  background: var(--brand);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.carousel-btn {
  border: 1px solid rgba(74, 119, 255, 0.25);
  background: white;
  color: var(--brand-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(74, 119, 255, 0.1);
}

.carousel-btn.arrow {
  border-radius: 999px;
  padding: 10px 12px;
  min-width: 44px;
}

.carousel-controls.desktop {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between;
  padding: 0 6px;
  pointer-events: none;
}

.carousel-controls.desktop .carousel-btn {
  pointer-events: auto;
}

.carousel-controls.desktop {
  display: none;
}

.carousel-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 720px);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.4);
  background: white;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: white;
  color: var(--brand-2);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.footer {
  padding: 40px 7vw;
  border-top: 1px solid rgba(74, 119, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.4);
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(74, 119, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2);
}

.subtle {
  color: var(--muted);
  font-size: 14px;
}

.shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
}

.shape.one {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #cbd8ff, transparent 70%);
  top: -60px;
  right: -40px;
}

.shape.two {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #dbe5ff, transparent 70%);
  bottom: 120px;
  left: -60px;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-mobile.show {
    display: flex;
  }

  .nav {
    padding: 20px 6vw;
  }

  .hero {
    padding: 30px 6vw 60px;
  }

  .split-row {
    grid-template-columns: 1fr;
  }

  .split-actions {
    align-items: stretch;
  }

  .split-actions .btn {
    width: 100%;
  }

  .carousel-controls {
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .carousel-controls {
    display: none;
  }

  .carousel-controls.desktop {
    display: flex;
  }
}

@media (min-width: 1400px) {
  .carousel-controls.desktop {
    display: none;
  }

  .carousel-dots {
    display: none;
  }

  .carousel-track {
    overflow-x: visible;
  }
}
