* {
  box-sizing: border-box;
}

:root {
  --blue: #1f4e8c;
  --navy: #0f2f57;
  --red: #c62839;
  --text: #1b2430;
  --muted: #4a5b70;
  --light: #f4f7fb;
  --border: #e3e8f1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 21px;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.feature {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-row .btn {
  padding: 0.5rem 0.85rem;
  font-size: 16px;
}

.logo {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.btn {
  border-radius: 10px;
  padding: 0.68rem 1.1rem;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #a61f2e;
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.wide {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background: linear-gradient(
    140deg,
    #0d3f7c 0%,
    #2f67ad 22%,
    #ffffff 44%,
    #e05c6b 67%,
    #b31d2e 100%
  );
  filter: blur(38px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.hero-logo-img {
  width: min(420px, 78vw);
  height: auto;
  margin: 0 auto 0.8rem;
  display: block;
}

h1 {
  font-size: clamp(2.4rem, 7.2vw, 5.1rem);
  line-height: 0.98;
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h3 {
  margin: 0 0 0.5rem;
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.01em;
}

.ai-card h3 {
  margin-bottom: 1.2rem;
}

.ai-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.1;
}

.hat-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.hero p {
  font-size: clamp(1.05rem, 2.7vw, 1.5rem);
  color: var(--muted);
  margin: 0;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.feature.alt {
  background: var(--light);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.feature-grid.reverse .feature-copy {
  order: 2;
}

.feature-grid.reverse > :not(.feature-copy) {
  order: 1;
}

.feature-copy p,
.feature-copy li {
  color: var(--muted);
  font-size: 1.08rem;
}

.subtitle {
  font-size: 1.26rem;
}

.feature-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.feature-copy li {
  margin-bottom: 0.5rem;
}

.bullets li {
  margin-bottom: 0.65rem;
}

.bullets li::marker {
  color: var(--red);
  font-size: 1.35em;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 47, 87, 0.1);
}

.ai-card .label {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.4rem;
}

.bubble {
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.bubble.user {
  background: var(--blue);
  color: #fff;
  margin-left: auto;
  max-width: 80%;
}

.bubble.assistant {
  background: #f6f8fc;
  color: var(--text);
}

.chat-input {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: #8a95a5;
  background: #fff;
  flex: 1;
}

.chat-input-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-send {
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.image-card {
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.image-plain {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.section-image.contain {
  max-height: 420px;
  width: auto;
  max-width: 100%;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.marketing-section {
  background: #fff;
}

.marketing-shell {
  background: linear-gradient(145deg, rgba(31, 78, 140, 0.08), rgba(198, 40, 57, 0.08));
  border-radius: 18px;
  padding: 47px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-content: start;
}

.tool-label {
  margin: 0;
  text-align: center;
  color: var(--text);
  font-weight: 600;
}

.tool-card {
  text-align: center;
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.tool-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bullets li {
  opacity: 0;
  transition: opacity 560ms ease, transform 560ms ease;
}

.bullets-left li {
  transform: translateX(-34px);
}

.bullets-right li {
  transform: translateX(34px);
}

.reveal-on-scroll.is-visible .bullets li {
  opacity: 1;
  transform: translateX(0);
}

.reveal-on-scroll.is-visible .bullets li:nth-child(1) { transition-delay: 90ms; }
.reveal-on-scroll.is-visible .bullets li:nth-child(2) { transition-delay: 170ms; }
.reveal-on-scroll.is-visible .bullets li:nth-child(3) { transition-delay: 250ms; }
.reveal-on-scroll.is-visible .bullets li:nth-child(4) { transition-delay: 330ms; }
.reveal-on-scroll.is-visible .bullets li:nth-child(5) { transition-delay: 410ms; }

.link-card {
  background: linear-gradient(145deg, var(--blue), var(--navy));
  color: #fff;
}

.link-card p {
  color: rgba(255, 255, 255, 0.92);
}

.link-image {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.96rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.brand-tile {
  min-height: 130px;
}

.brand-tile.blue { border-top: 10px solid var(--blue); }
.brand-tile.red { border-top: 10px solid var(--red); }
.brand-tile.purple { border-top: 10px solid #6f42c1; }
.brand-tile.green { border-top: 10px solid #2b8a3e; }

.contact {
  background: linear-gradient(150deg, #1f4e8c 0%, #0f2f57 100%);
}

.contact-wrap {
  max-width: 760px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 1.2rem;
}

.contact-intro h2,
.contact-intro p {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.contact-form .btn {
  padding: 0.85rem 1.1rem;
  min-height: 50px;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
}

.form-status {
  min-height: 1.3rem;
  color: #fff;
  margin: 0.2rem 0 0;
  text-align: center;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 0 1rem;
  font-size: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.2rem;
}

.footer h3 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 0.5rem;
  display: block;
}

.future {
  color: #fff;
  font-weight: 600;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 0.6rem;
}

.copyright {
  text-align: center;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

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

  .feature-grid,
  .feature-grid.reverse,
  .tool-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .marketing-shell {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px;
    gap: 0.6rem;
  }

  .tool-card {
    min-height: 120px;
    padding: 0.7rem;
  }

  .tool-icon {
    width: 42px;
    height: 42px;
  }

  .tool-label {
    font-size: 0.82rem;
  }

  .feature-grid.reverse .feature-copy,
  .feature-grid.reverse > :not(.feature-copy) {
    order: initial;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .header-row {
    min-height: 72px;
  }

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

  .logo-img,
  .footer-logo-img {
    height: 40px;
  }

  .hero p,
  .feature-copy p,
  .feature-copy li {
    font-size: 0.95rem;
  }

  .subtitle {
    font-size: 1.08rem;
  }

  .marketing-shell {
    grid-template-columns: repeat(3, 1fr);
    padding: 16px;
    gap: 0.45rem;
  }

  .tool-card {
    min-height: 122px;
    padding: 0.45rem;
  }

  .tool-icon {
    width: 32px;
    height: 32px;
  }

  .tool-label {
    font-size: 0.8rem;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .bullets li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
