:root {
  --page-bg: #ffffff;
  --bg: #031338;
  --layer: #0b2154;
  --layer-alt: #102a63;
  --stroke: rgba(10, 79, 235, 0.12);
  --card-stroke: rgba(255, 255, 255, 0.14);
  --text: #0f172a;
  --muted: #4b5786;
  --accent: #ffd447;
  --accent-2: #ff4d5a;
  --brand-blue: #0a4feb;
  --shadow: 0 25px 45px rgba(11, 30, 78, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 40%, #e9f1ff 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(10, 79, 235, 0.04), rgba(255, 212, 71, 0.07));
  border-bottom: 1px solid rgba(10, 79, 235, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 79, 235, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: clamp(95px, 28vw, 130px);
  height: auto;
  display: block;
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.3rem 0.6rem;
  box-shadow: 0 18px 30px rgba(5, 9, 30, 0.2);

}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.15;
}

.brand-title {
  font-weight: 600;
  color: var(--text);
}

.brand-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  display: inline-block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  color: var(--brand-blue);
  background: rgba(10, 79, 235, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero-content {
  max-width: 880px;
  margin: 2rem auto 0;
  text-align: left;
  position: relative;
  z-index: 1;
}

.logo-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(233, 240, 255, 0.9));
  border-radius: 1.75rem;
  border: 1px solid rgba(10, 79, 235, 0.12);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  box-shadow: 0 25px 45px rgba(11, 30, 78, 0.15);
  margin-bottom: 2rem;
}

.logo-panel-img {
  background: #fff;
  border-radius: 1.25rem;
  padding: 0.75rem 1.5rem;
 
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo-panel-img img {
  width: clamp(220px, 45vw, 320px);
  height: auto;
  display: block;
}

.logo-panel-text {
  max-width: 420px;
  color: #0b1740;
}

.logo-panel-tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  margin: 0 0 0.65rem;
}

.logo-panel-note {
  margin: 0;
  color: #1c2754;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 212, 71, 0.45);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 212, 71, 0.1);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  margin: 1.5rem 0 1rem;
}

.hero-subtitle {
  color: #37446d;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #ffb347 45%, var(--accent-2));
  color: #051138;
  border-color: rgba(255, 212, 71, 0.6);
  box-shadow: var(--shadow);
}

.btn.ghost {
  background: transparent;
  color: var(--brand-blue);
  border-color: rgba(10, 79, 235, 0.3);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.hero-metrics {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  padding: 0;
  margin: 0;
}

.hero-metrics li strong {
  font-size: 2rem;
  display: block;
  color: var(--accent);
}

main {
  padding: 0 clamp(1.5rem, 4vw, 4rem) 4rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.scenario-card,
.timeline-item,
.metric-card,
.tech-card,
.roadmap article,
.proposal-card {
  color: #f5f7ff;
  box-shadow: 0 18px 32px rgba(4, 9, 30, 0.4);
}

.card {
  background: var(--layer);
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--card-stroke);
}

.card.highlight {
  
  border-color: rgba(10, 79, 235, 0.35);
  box-shadow: 0 18px 30px rgba(10, 15, 45, 0.45);
}

.card h3,
.scenario-card h3,
.timeline-item h3,
.metric-card strong,
.tech-card h3,
.proposal-card h3 {
  color: #ffffff;
}

.card ul,
.scenario-card ul,
.timeline-item ul,
.tech-card ul,
.proposal-card ul {
  color: rgba(183, 207, 231, 0.9);
  padding-left: 1.2rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.scenario-card {
  background: var(--layer-alt);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--card-stroke);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.scenario-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

.chat-flow {
  background: rgba(4, 12, 24, 0.6);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.chat-flow p {
  margin: 0 0 0.5rem;
}

.chat-flow span {
  font-weight: 600;
  display: inline-block;
  margin-right: 0.35rem;
}

.chat-flow .bot {
  color: var(--accent);
}

.chat-flow .client {
  color: var(--accent-2);
}

.chat-flow .agent {
  color: #c084fc;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.timeline-item {
  position: relative;
  padding: 1.75rem;
  background: var(--layer);
  border-radius: 1.25rem;
  border: 1px solid var(--card-stroke);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(255, 212, 71, 0.12);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.metric-card {
  background: var(--layer);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--card-stroke);
  text-align: center;
}

.metric-card strong {
  font-size: 2rem;
  display: block;
  color: var(--accent);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: var(--layer);
  border-radius: 1.25rem;
  border: 1px solid var(--card-stroke);
  padding: 1.6rem;
}

.tech-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.roadmap article {
  background: var(--layer-alt);
  padding: 1.5rem;
  border-radius: 1.1rem;
  border: 1px solid var(--card-stroke);
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.proposal-card {
  background: var(--layer);
  border-radius: 1.25rem;
  border: 1px solid var(--card-stroke);
  padding: 1.75rem;
}

.proposal-card ul {
  padding-left: 1.2rem;
}

.proposal-card .small {
  font-size: 0.9rem;
}

.cta-panel {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(10, 79, 235, 0.22), rgba(255, 212, 71, 0.22));
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 212, 71, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer {
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  color: rgba(248, 250, 252, 0.85);
  background: linear-gradient(135deg, #020b24, #081845);
  border-top: none;
}

@media (max-width: 960px) {
  .nav {
    border-radius: 1rem;
    flex-wrap: wrap;
    gap: 0;
    position: sticky;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(10, 79, 235, 0.12);
    border-radius: 1rem;
    width: min(320px, 90vw);
    display: none;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    align-items: stretch;
    z-index: 4;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .logo-panel {
    padding: 1rem;
  }

  .logo-panel-img {
    width: 100%;
    justify-content: center;
    display: flex;
  }

  .logo-panel-img img {
    width: min(260px, 80%);
  }

  .logo-panel-text {
    max-width: 100%;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    position: static;
  }
}

