:root {
  --bg: #0b050a;
  --surface: rgba(76, 17, 48, 0.68);
  --card: #ffffff;
  --primary: #4c1130;
  --primary-dark: #2b0b19;
  --primary-bright: #f04d7d;
  --text: #1f0a17;
  --muted: #6a5360;
  --border: rgba(76, 17, 48, 0.12);
  --gradient: linear-gradient(135deg, #4c1130, #a21a4d);
  --gradient-soft: linear-gradient(135deg, rgba(76, 17, 48, 0.08), rgba(240, 77, 125, 0.12));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff8fb;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(76, 17, 48, 0.06);
  padding: 0.45rem clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 10px 18px rgba(10, 8, 15, 0.04);
}

.page-nav__inner {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.page-nav__brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.page-nav__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.page-nav__phone-link {
  display: none;
}

.page-nav__contact .material-symbols-outlined {
  font-size: 1rem;
}

.page-nav .nav-login {
  padding: 0.55rem 1.15rem;
  box-shadow: none;
  border-radius: 999px;
  font-size: 0.95rem;
}

.page-nav .nav-login .material-symbols-outlined {
  font-size: 1.15rem;
}

@media (max-width: 900px) {
  .page-nav__inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .page-nav__brand {
    grid-area: auto;
    font-size: 1.1rem;
    justify-self: center;
    width: 100%;
    grid-column: 1 / -1;
    text-align: center;
  }

  .nav-login {
    grid-area: auto;
    justify-self: flex-end;
  }

  .page-nav__contact {
    grid-area: auto;
    width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-nav {
    padding: 0.5rem clamp(0.75rem, 4vw, 1.5rem);
  }

  .page-nav__inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .page-nav__brand {
    font-size: 0.95rem;
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    justify-self: center;
    margin-bottom: 0.25rem;
  }

  .nav-login {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    justify-self: flex-end;
  }

  .page-nav__contact {
    font-size: 0.85rem;
    gap: 0.25rem;
    align-items: center;
    white-space: nowrap;
    justify-content: flex-start;
    justify-self: flex-start;
  }

  .page-nav__contact .material-symbols-outlined {
    font-size: 1rem;
    flex-shrink: 0;
  }

  .page-nav__phone {
    display: none;
  }

  .page-nav__phone-link {
    display: inline-flex;
    color: var(--primary-dark);
  }
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 0.75rem;
}

header.hero .eyebrow {
  color: var(--primary-bright);
}

header.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem clamp(1.5rem, 5vw, 6rem) clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  color: #f8fbff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/Ariadna_banner.webp?v=3');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76, 17, 48, 0.75), rgba(240, 77, 125, 0.55));
  pointer-events: none;
  z-index: 1;
}

.hero__content,
.hero__media {
  position: relative;
  z-index: 2;
}

.hero__content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.lead {
  font-size: 1.15rem;
  max-width: 580px;
  color: rgba(248, 251, 255, 0.9);
}

.hero__actions {
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  gap: 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 15px 30px rgba(76, 17, 48, 0.35);
  border: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(76, 17, 48, 0.45);
}

.btn.ghost {
  border-color: rgba(248, 251, 255, 0.4);
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(248, 251, 255, 0.7);
}

.hero__logos span {
  border: 1px solid rgba(248, 251, 255, 0.18);
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  text-align: center;
}

.hero__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__screen {
  width: min(420px, 90%);
  background: rgba(6, 3, 6, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 35px 70px rgba(7, 4, 8, 0.65);
  backdrop-filter: blur(18px);
}

.hero__screen-line {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 1rem;
}

.hero__screen-line.short {
  width: 70%;
}

.hero__screen-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.hero__screen-card span.material-symbols-outlined {
  font-size: 1.8rem;
  color: var(--primary-bright);
}

main {
  padding: 0 clamp(1.5rem, 6vw, 6rem) 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: clamp(-1.25rem, -3vw, -2rem);
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 5;
}

.metrics > div,
.metrics article {
  background: var(--card);
  border-radius: 22px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.metrics strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.metrics p {
  margin: 0.45rem 0 0;
}

.section {
  margin: 4rem 0;
  scroll-margin-top: 90px;
}

.section__header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section__lead {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--features {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .grid--features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid--features {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(76, 17, 48, 0.08);
}

.feature span.material-symbols-outlined {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature h3 {
  margin: 0 0 0.6rem;
}

.feature ul {
  padding-left: 1.1rem;
  color: var(--muted);
}

.grid--tools {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tool-card {
  background: var(--card);
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.tool-card img {
  height: 220px;
  object-fit: cover;
}

.tool-card div {
  padding: 1.5rem;
}

.tool-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.tool-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tool-card span.material-symbols-outlined {
  color: var(--primary-bright);
  font-size: 1.3rem;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.benefits article {
  padding: 1.8rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--gradient-soft);
  box-shadow: inset 0 0 0 1px rgba(76, 17, 48, 0.08);
}

.benefits span.material-symbols-outlined {
  color: var(--primary-bright);
  font-size: 2rem;
}

.section--dark {
  background: linear-gradient(145deg, #1a050f, #4c1130 55%, #751639);
  color: #f8fbff;
  border-radius: 36px;
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
  box-shadow: 0 30px 50px rgba(5, 7, 20, 0.35);
}

.section--dark .section__header {
  margin-bottom: 2rem;
}

.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.section--dark .section__lead {
  color: rgba(248, 251, 255, 0.8);
}

.usecases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.usecases article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.4rem;
}

.usecases article span.material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--primary-bright);
  display: block;
  margin-bottom: 0.8rem;
}

.usecases article h3 {
  color: #f8fbff;
  margin: 0 0 0.6rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.testimonials article {
  background: var(--card);
  border-radius: 22px;
  border: 1px solid rgba(76, 17, 48, 0.15);
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(76, 17, 48, 0.08);
}

.testimonials p {
  font-style: italic;
  color: var(--text);
}

.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem;
  border-radius: 32px;
  background: linear-gradient(120deg, #4c1130, #6b1640 60%, #8a1b50);
  color: #fff8fb;
  box-shadow: 0 35px 70px rgba(62, 9, 31, 0.35);
}

.cta .eyebrow {
  color: #ffffff;
}

.cta__form {
  display: grid;
  gap: 1rem;
}

.cta__form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.cta__form input,
.cta__form textarea {
  width: 100%;
  border-radius: 12px;
  border: none;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.cta__form input:focus,
.cta__form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
}

.cta .btn.primary {
  width: fit-content;
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.footer {
  margin-top: 4rem;
  padding: 2rem clamp(1.5rem, 6vw, 6rem);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer a {
  font-weight: 500;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.425rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: opacity 0.2s ease;
}

.footer__brand:hover {
  opacity: 0.7;
}

.footer__logo {
  height: 14px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 3rem;
  }

  .metrics {
    margin-top: 1rem;
    padding: 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta {
    padding: 2rem;
  }
}
