:root {
  --bg: #f3f6fb;
  --bg-strong: #e9eef8;
  --ink: #111827;
  --ink-soft: #4b5563;
  --line: #d7ddea;
  --brand: #0b57d0;
  --brand-dark: #0a43a1;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --shadow-xl: 0 26px 62px rgba(26, 42, 79, 0.16);
  --shadow-lg: 0 18px 42px rgba(26, 42, 79, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: radial-gradient(circle at 8% -2%, #dbe8ff 0%, rgba(219, 232, 255, 0) 30%),
    radial-gradient(circle at 92% 0%, #e4e9ff 0%, rgba(228, 233, 255, 0) 26%),
    linear-gradient(180deg, #f7f9fd 0%, #eff3fa 100%);
  font-family: "Outfit", sans-serif;
  min-height: 100%;
}

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

body {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  padding-bottom: 2rem;
}

body.modal-open {
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: radial-gradient(circle at 1px 1px, rgba(17, 24, 39, 0.09) 1px, transparent 0);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  z-index: -1;
  animation: drift 11s ease-in-out infinite;
}

.orb-1 {
  width: 340px;
  height: 340px;
  left: -90px;
  top: 140px;
  background: radial-gradient(circle at 30% 30%, #c8dfff 0%, rgba(200, 223, 255, 0) 70%);
}

.orb-2 {
  width: 280px;
  height: 280px;
  right: -60px;
  top: 300px;
  animation-delay: -4s;
  background: radial-gradient(circle at 45% 40%, #dfd3ff 0%, rgba(223, 211, 255, 0) 72%);
}

.orb-3 {
  width: 260px;
  height: 260px;
  left: 45%;
  top: 70vh;
  animation-delay: -7s;
  background: radial-gradient(circle at 50% 50%, #caefe6 0%, rgba(202, 239, 230, 0) 72%);
}

.topbar {
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  background: rgba(245, 248, 254, 0.72);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(150deg, #082f7a, #0b57d0 65%);
  box-shadow: 0 10px 20px rgba(11, 87, 208, 0.3);
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1;
}

.brand small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 0.08rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 14px 28px rgba(11, 87, 208, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: #1f2937;
  border: 1px solid var(--line);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.btn-block {
  width: 100%;
}

main {
  padding-top: 1.3rem;
}

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0 2.4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b57d0;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 5vw, 4.55rem);
  line-height: 0.98;
}

.hero-copy h1 span {
  color: var(--brand);
}

.hero-copy p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  max-width: 56ch;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}

.hero-cta {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.hero-points {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #334155;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  height: clamp(420px, 68vh, 640px);
}

.glass-shot {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  will-change: transform;
}

.glass-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-main {
  width: 78%;
  height: 72%;
  right: 0;
  top: 6%;
}

.shot-left {
  width: 55%;
  height: 43%;
  left: 0;
  bottom: 10%;
}

.shot-right {
  width: 47%;
  height: 38%;
  right: 6%;
  bottom: -2%;
}

.story {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.story-item {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(246, 250, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.8vw, 1.65rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1rem;
  align-items: center;
}

.story-item.reverse {
  grid-template-columns: 1.05fr 1fr;
}

.story-item.reverse .story-copy {
  order: 2;
}

.story-item.reverse .story-shot {
  order: 1;
}

.story-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  letter-spacing: -0.01em;
}

.story-copy p {
  margin: 0.72rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 56ch;
}

.story-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.story-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.flow,
.pricing {
  margin-top: 2.1rem;
}

.flow header h2,
.pricing header h2,
.cta h2 {
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.flow-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

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

.flow-card span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #0b57d0, #073a8f);
  font-size: 0.9rem;
  font-weight: 700;
}

.flow-card h3 {
  margin: 0.68rem 0 0.38rem;
  font-size: 1.02rem;
}

.flow-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pricing-note {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}

.pricing-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.9rem;
}

.contact-company {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.07);
}

.contact-company h3 {
  margin: 0;
  font-size: 1.1rem;
}

.contact-company p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 1.2rem;
  display: grid;
  gap: 0.58rem;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.07);
}

.contact-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6e0f2;
  border-radius: 12px;
  background: #f8fbff;
  color: #0f172a;
  font: inherit;
  padding: 0.72rem 0.8rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8aaaf0;
  outline: 2px solid rgba(11, 87, 208, 0.12);
}

.contact-feedback {
  margin: 0.15rem 0 0;
  min-height: 1.2rem;
  font-size: 0.84rem;
  color: #475569;
}

.contact-feedback.error {
  color: #b42318;
}

.contact-feedback.success {
  color: #157347;
}

.price-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1.25rem;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.07);
  display: grid;
  gap: 0.65rem;
}

.price-card.featured {
  border-color: rgba(11, 87, 208, 0.38);
  background: linear-gradient(165deg, #ffffff, #f0f6ff);
  transform: translateY(-8px);
  box-shadow: 0 24px 36px rgba(11, 87, 208, 0.2);
}

.price-card .plan {
  margin: 0;
  color: #0b57d0;
  font-weight: 600;
  font-size: 0.9rem;
}

.price-card h3 {
  margin: 0;
  font-size: 1.32rem;
}

.price {
  margin: 0;
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.price small {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cta {
  margin-top: 2.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, #0d172f 0%, #0a43a1 65%, #0b57d0 100%);
  color: #f2f7ff;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  display: grid;
  gap: 0.78rem;
}

.cta p {
  margin: 0;
  color: #d9e9ff;
}

footer {
  margin-top: 1.4rem;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.86rem;
  gap: 0.9rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  justify-content: flex-end;
}

.footer-links a {
  color: #475569;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
}

.footer-links a + a::before {
  content: "|";
  color: #94a3b8;
  margin-right: 0.5rem;
}

.footer-links a:hover {
  color: #0b57d0;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.checkout-modal.open {
  display: flex;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 47, 0.5);
  backdrop-filter: blur(4px);
}

.checkout-card {
  position: relative;
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #d6deef;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  padding: 1.2rem;
}

.contact-modal-card {
  width: min(560px, 100%);
}

.contact-modal-card .contact-form {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.policy-modal-card {
  width: min(980px, 100%);
  display: grid;
  gap: 0.7rem;
}

.policy-modal-card h3 {
  margin: 0;
  padding-right: 1.8rem;
  font-size: 1.3rem;
}

.policy-frame {
  width: 100%;
  height: min(75vh, 760px);
  border: 1px solid #d6deef;
  border-radius: 14px;
  background: #ffffff;
}

.checkout-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d9e2f3;
  background: #f8fbff;
  color: #334155;
  cursor: pointer;
}

.checkout-plan-summary {
  margin: 0.55rem 0 0.9rem;
  color: #475569;
  font-size: 0.94rem;
}

.checkout-form {
  display: grid;
  gap: 0.62rem;
}

.checkout-form label {
  font-size: 0.84rem;
  color: #334155;
  font-weight: 600;
}

.checkout-form input {
  width: 100%;
  border: 1px solid #d5deee;
  background: #f8fbff;
  color: #0f172a;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.checkout-form input:focus {
  border-color: #8aaaf0;
  outline: 2px solid rgba(11, 87, 208, 0.12);
}

.checkout-feedback {
  margin: 0.2rem 0 0;
  min-height: 1.2rem;
  font-size: 0.84rem;
  color: #475569;
}

.checkout-feedback.error {
  color: #b42318;
}

.checkout-feedback.success {
  color: #157347;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(16px) scale(1.04);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .hero-visual {
    height: 530px;
  }

  .story-item,
  .story-item.reverse {
    grid-template-columns: 1fr;
  }

  .story-item.reverse .story-copy,
  .story-item.reverse .story-shot {
    order: initial;
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  body {
    width: min(1200px, calc(100% - 1.15rem));
  }

  .topbar {
    border-radius: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    top: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 0.8rem;
  }

  .hero-visual {
    height: 420px;
  }

  .shot-main {
    width: 86%;
    right: 2%;
  }

  .shot-left {
    width: 60%;
  }

  .shot-right {
    width: 56%;
    right: 2%;
  }

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

  .cta .btn {
    width: 100%;
  }

  .checkout-card {
    padding: 1rem;
  }

  .policy-modal-card {
    width: 100%;
  }

  .policy-frame {
    height: 68vh;
  }

  footer {
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
