:root {
  color-scheme: light;
  --color-primary: #0066cc;
  --color-primary-dark: #004a99;
  --color-secondary: #42b5d4;
  --color-text: #152238;
  --color-muted: #4b5b73;
  --color-bg: #f6f9ff;
  --color-surface: #ffffff;
  --color-border: rgba(0, 102, 204, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px rgba(0, 66, 140, 0.2);
  --shadow-card: 0 18px 40px rgba(21, 34, 56, 0.08);
  --container-width: min(1120px, 90vw);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-md);
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--color-text);
  font-weight: 600;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.28);
}

.button--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 68px rgba(0, 66, 140, 0.28);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.26);
}

.button--block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
              linear-gradient(180deg, #03245f 0%, #004caa 55%, #0b5fd0 100%);
  color: #ffffff;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.2), transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(66, 181, 212, 0.25), transparent 65%);
  opacity: 0.6;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container-width);
  margin: 0 auto;
  min-height: min(90vh, 720px);
  padding: clamp(32px, 8vw, 72px) 0 clamp(80px, 12vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 8vw, 80px);
}

.nav__brand {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
}

.nav__links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__links a:not(.nav__pill):hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.nav__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav__pill:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.nav__pill--ghost {
  background: transparent;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.nav__toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.nav--open .nav__toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.nav--open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.nav--open .nav__toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero__content {
  display: grid;
  gap: 28px;
  color: rgba(255, 255, 255, 0.9);
  max-width: min(720px, 90vw);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero__content h1 {
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  color: #ffffff;
}

.hero__content p {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__search {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(720px, 90vw);
  padding: 16px 16px 16px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px rgba(0, 45, 110, 0.25);
}

.hero__search-icon {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  color: #ffffff;
}

.hero__search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.hero__search input:focus {
  outline: none;
}

.hero__search-button {
  padding: 14px 32px;
  box-shadow: none;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__panel-icon {
  font-size: 1.8rem;
}

.hero__panel strong {
  display: block;
  font-weight: 600;
  color: var(--color-primary-dark);
}

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

.section {
  padding: 96px 0;
}

.section--why {
  background: var(--color-bg);
}

.section--features {
  background: linear-gradient(180deg, #f0f6ff 0%, #f6f9ff 100%);
}

.section--workflow {
  background: #ffffff;
}

.section--cta {
  background: linear-gradient(120deg, #0b5fd0, #003c8f);
  color: #ffffff;
}

.section--faq {
  background: #ffffff;
}

.section__header {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

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

.section__header--centered {
  margin: 0 auto 48px;
  text-align: center;
  justify-items: center;
}

.section__header--centered p {
  max-width: 520px;
}

.section__header--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section__header--split .button {
  align-self: flex-start;
}

.info-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.info-card--highlight {
  background: linear-gradient(140deg, rgba(0, 102, 204, 0.12), rgba(66, 181, 212, 0.12));
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(0, 102, 204, 0.12);
  color: var(--color-primary);
  font-size: 1.8rem;
  margin: 0 auto;
}

.feature-cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 16px;
  padding: 24px;
}

.feature-card__image {
  border-radius: var(--radius-md);
  height: 160px;
  background: linear-gradient(140deg, rgba(0, 102, 204, 0.18), rgba(66, 181, 212, 0.08));
}

.feature-card__image--one {
  background-image: linear-gradient(140deg, rgba(0, 102, 204, 0.2), rgba(0, 102, 204, 0.05)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=600&q=60');
}

.feature-card__image--two {
  background-image: linear-gradient(140deg, rgba(66, 181, 212, 0.2), rgba(0, 102, 204, 0.05)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=600&q=60');
}

.feature-card__image--three {
  background-image: linear-gradient(140deg, rgba(0, 102, 204, 0.2), rgba(66, 181, 212, 0.05)), url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=600&q=60');
}

.feature-card__image--four {
  background-image: linear-gradient(140deg, rgba(66, 181, 212, 0.2), rgba(0, 102, 204, 0.05)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=600&q=60');
}

.feature-card__image {
  background-size: cover;
  background-position: center;
}

.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: linear-gradient(180deg, rgba(0, 102, 204, 0.12), rgba(255, 255, 255, 0.9));
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  border: 1px solid rgba(0, 102, 204, 0.12);
  display: grid;
  gap: 12px;
  position: relative;
}

.step-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(0, 102, 204, 0.18);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 auto;
}

.cta {
  text-align: center;
  display: grid;
  gap: 18px;
  color: #ffffff;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.faq {
  margin-top: 48px;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  float: right;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin-top: 12px;
}

.footer {
  background: linear-gradient(180deg, #03224f 0%, #021937 100%);
  color: rgba(255, 255, 255, 0.84);
  padding: 80px 0 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}

.footer__brand {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: #ffffff;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer__meta {
  margin-top: 48px;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.newsletter {
  display: grid;
  gap: 12px;
}

.newsletter input {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  border: none;
  font-family: inherit;
}

.newsletter small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    text-align: center;
    align-items: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__benefits {
    text-align: left;
    max-width: 520px;
  }

  .section__header--split {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    width: calc(100% - 32px);
    margin: 0 auto;
    z-index: 4;
    background: rgba(3, 27, 70, 0.96);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    gap: 14px;
    box-shadow: 0 18px 36px rgba(3, 27, 70, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__links a,
  .nav__pill {
    justify-content: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

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

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

  .feature-cards {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero__inner {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero__search {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero__search-button {
    width: 100%;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
  }
}
