/* -----------------------------------------------
   Reset & Base
----------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a1a2e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* -----------------------------------------------
   Tokens
----------------------------------------------- */
:root {
  --accent: #6c63ff;
  --accent-dark: #4f46e5;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --border: #e5e7eb;
  --radius: 12px;
  --max-w: 1100px;
  --gap: 2rem;
}

/* -----------------------------------------------
   Layout helpers
----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* -----------------------------------------------
   Nav
----------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.accent { color: var(--accent); }

/* -----------------------------------------------
   Buttons
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

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

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* -----------------------------------------------
   Hero
----------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  text-align: center;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero__sub {
  max-width: 560px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(108, 99, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* -----------------------------------------------
   Sections
----------------------------------------------- */
.section {
  padding: 5rem 0;
}

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

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section__sub {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* -----------------------------------------------
   Cards (Solutions)
----------------------------------------------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.section--alt .card {
  background: var(--bg);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.1);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* -----------------------------------------------
   Agents
----------------------------------------------- */
.agent {
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.agent:hover {
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.1);
  transform: translateY(-2px);
}

.agent__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(108, 99, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.agent__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.agent__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* -----------------------------------------------
   Value props
----------------------------------------------- */
.value {
  text-align: center;
  padding: 2rem 1rem;
}

.value__number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.value__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 220px;
  margin-inline: auto;
}

/* -----------------------------------------------
   Contact
----------------------------------------------- */
.contact {
  text-align: center;
}

.contact .section__sub {
  margin-inline: auto;
}

/* -----------------------------------------------
   Footer
----------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -----------------------------------------------
   Responsive
----------------------------------------------- */
@media (max-width: 640px) {
  .hero {
    padding: 4.5rem 0 4rem;
  }

  .hero__headline {
    font-size: 2.2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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