:root {
  --primary-dark: #1e3a8a;
  --primary: #2563eb;
  --secondary: #7c3aed;
  --accent: #14b8a6;
  --background: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted-text: #64748b;
  --border: #e2e8f0;
  --dark: #0f172a;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.muted {
  background: #eef5ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 174px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:not(.btn) {
  transition: color 0.2s ease;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn):focus-visible {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.36);
  outline-offset: 3px;
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.btn-platform {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

.btn-platform:hover {
  background: #eff6ff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 80px 0 72px;
  background:
    radial-gradient(circle at 20% 10%, rgba(20, 184, 166, 0.17), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(124, 58, 237, 0.15), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--background) 82%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.14);
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

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

.hero-copy p {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: 1.16rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 58px 40px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.16), rgba(20, 184, 166, 0.14));
  filter: blur(4px);
}

.app-showcase {
  isolation: isolate;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  width: min(275px, 72vw);
  padding: 10px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 34px;
  background: #0b1220;
  box-shadow: var(--shadow);
}

.app-device {
  width: min(305px, 68vw);
  min-height: auto;
  background: linear-gradient(145deg, #0f172a, #020617);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.app-device-small {
  width: 205px;
  border-radius: 28px;
  padding: 7px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.app-screenshot-clip {
  aspect-ratio: 746 / 1436;
  overflow: hidden;
  border-radius: 25px;
  background: #15141a;
}

.app-device-small .app-screenshot-clip {
  border-radius: 21px;
}

.app-screenshot-clip img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-4%);
}

.app-shot {
  position: absolute;
  z-index: 2;
  margin: 0;
}

.shot-label {
  display: block;
  width: max-content;
  margin: 0 auto 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.app-shot-main {
  position: relative;
  z-index: 3;
}

.app-shot-left {
  left: 8px;
  bottom: 64px;
  transform: rotate(-7deg);
}

.app-shot-right {
  right: 8px;
  top: 96px;
  transform: rotate(6deg);
}

.floating-card span {
  display: block;
  color: var(--muted-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.floating-card strong {
  display: block;
  color: var(--text);
  line-height: 1.25;
}

.admin-card {
  top: 58px;
  left: 4px;
  width: 220px;
}

.calendar-card {
  right: 8px;
  top: 172px;
  width: 190px;
}

.confirm-card {
  right: 34px;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.confirm-card span {
  display: inline-flex;
}

.check-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent);
}

.progress {
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.progress span {
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p {
  font-size: 1.08rem;
}

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

.feature-card,
.bento-card,
.industry-grid article,
.benefit-panel,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  padding: 28px;
}

.icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(20, 184, 166, 0.16));
  color: var(--primary-dark);
  font-weight: 800;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}

.bento-card {
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.bento-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 110px;
  height: 110px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12), rgba(20, 184, 166, 0.12));
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(124, 58, 237, 0.9)),
    var(--primary);
  color: #fff;
}

.bento-wide {
  grid-column: span 2;
}

.bento-large p {
  color: rgba(255, 255, 255, 0.82);
}

.dark-section {
  background: var(--dark);
  color: #fff;
}

.dark-section .eyebrow,
.dark-section p {
  color: #cbd5e1;
}

.report-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.report-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.report-cards span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font-weight: 800;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.industry-grid article {
  padding: 26px;
}

.app-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

.app-phone {
  display: grid;
  place-items: center;
}

.app-screens-stack {
  position: relative;
  width: min(430px, 100%);
  min-height: 585px;
}

.app-screens-stack .app-shot {
  position: absolute;
}

.app-shot-stack-main {
  left: 0;
  top: 0;
  z-index: 2;
  transform: rotate(-2.5deg);
}

.app-shot-stack-bottom {
  right: 0;
  bottom: 24px;
  z-index: 3;
  transform: rotate(5deg);
}

.app-shot-stack-bottom .app-device-small {
  width: 190px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--accent), #22d3ee);
}

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

.benefit-panel {
  padding: 30px;
}

.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 18% 22%, rgba(20, 184, 166, 0.28), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--secondary) 58%, var(--accent));
}

.contact-section p,
.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-data {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  color: var(--text);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--text);
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  color: #0f766e;
  font-weight: 800;
}

.form-message.is-visible {
  padding: 13px 14px;
  border: 1px solid rgba(14, 165, 233, 0.45);
  background: #e0f2fe;
  color: #0369a1;
}

.form-message.is-error {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.site-footer {
  padding: 54px 0 24px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.footer-brand img {
  width: 160px;
}

.footer-grid p {
  max-width: 380px;
  margin-top: 18px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  color: var(--muted-text);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.legal-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.12), transparent 28%),
    var(--background);
}

.legal-container {
  max-width: 920px;
}

.legal-container h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.legal-updated {
  margin-bottom: 30px;
  font-weight: 700;
}

.legal-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.legal-card h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

.legal-card ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--muted-text);
}

.legal-card li + li {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-text);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-text);
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

.developer-credit img,
.developer-credit-logo {
  width: 92px;
  height: auto;
  max-height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.developer-credit:hover,
.developer-credit:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    padding: 13px 12px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .hero-grid,
  .report-grid,
  .app-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .three-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: 146px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 560px;
  }

  .app-device {
    width: min(255px, 66vw);
  }

  .app-device-small {
    width: 155px;
  }

  .app-shot-left {
    left: 0;
    bottom: 56px;
  }

  .app-shot-right {
    right: 0;
    top: 120px;
  }

  .shot-label {
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  .app-screens-stack {
    min-height: 500px;
  }

  .app-shot-stack-bottom .app-device-small {
    width: 150px;
  }

  .three-grid,
  .industry-grid,
  .benefits-grid,
  .report-cards,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .bento-large,
  .bento-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-form .full {
    grid-column: auto;
  }

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