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

:root {
  --color-dark: #180036;
  --color-blue: #194DFA;
  --color-blue-light: #e8eeff;
  --color-white: #FFFFFF;
  --color-page-bg: #EEF1FA;
  --color-asset-bg: #D9DEEF;
  --color-text: #180036;
  --color-text-secondary: rgba(24, 0, 54, 0.65);
  --color-border: rgba(24, 0, 54, 0.08);

  --font-heading: 'Syne', sans-serif;
  --font-body: 'Urbanist', sans-serif;

  --container: 1100px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ===== Common ===== */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-blue);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 24px;
}

/* For the security/deployment sections: label-sized heading */
.heading-section {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text + .text {
  margin-top: 16px;
}

.text strong {
  color: var(--color-text);
  font-weight: 600;
}

.text-bold {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-text);
}

/* Solutions description — same size as annie description (text-bold) */
.text-featured {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-text);
}

/* Highlighted text — blue color, no underline */
.text-highlight {
  color: var(--color-blue);
  text-decoration: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}

/* Nav CTA — dark/black button */
.btn--nav {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 10px 24px;
  font-size: 14px;
}

.btn--nav:hover {
  background: #2a0f52;
}

/* Hero CTA — white button */
.btn--white {
  background: var(--color-white);
  color: var(--color-dark);
  padding: 14px 32px;
  font-size: 16px;
}

.btn--white:hover {
  background: #f0f0f5;
}

/* ===== Navigation ===== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}

.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 30px;
  width: auto;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background var(--transition);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-white);
}

.lang-switch__chevron {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #080830 0%, #0d1b7a 35%, #1a4bff 70%, #4d8bff 100%);
  padding: 140px 0 120px;
  position: relative;
  overflow: visible;
}

.hero__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 40px;
  align-items: center;
}

.hero__heading {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: normal;
  font-size: 44px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(200, 215, 255, 0.85);
  margin-bottom: 40px;
}

.hero__heading em {
  font-style: normal;
  color: var(--color-white);
}

.hero__cta {
  display: inline-flex;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  max-width: 480px;
}

/* ===== Annie Card (overlapping hero) ===== */
.annie-card {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 var(--gutter);
}

.annie-card__inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: 0 8px 40px rgba(24, 0, 54, 0.08);
}

/* ===== Page body — Figma gradient: #FFFFFF, #EEF2FF, #E4EBFF, #E4F5FF ===== */
.page-body {
  background: linear-gradient(to top right, #FFFFFF 0%, #EEF2FF 33%, #E4EBFF 66%, #E4F5FF 100%);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  gap: 48px;
}

.two-col--text {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.two-col--media {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.two-col__right--vcenter {
  display: flex;
  align-items: center;
}

.two-col__right--media,
.two-col__left--media {
  display: flex;
  justify-content: center;
}

/* Asset images on gradient bg — cropped tight */
.asset-bg {
  background: linear-gradient(135deg, #D6DCF0 0%, #C8D4F0 50%, #CADAF5 100%);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-image {
  width: 100%;
  display: block;
  margin: -15% 0;
}

.section-image--loose {
  margin: -6% 0 -12% 0;
}

/* ===== Solution Cards Row ===== */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.icon-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.icon-card__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
}

.icon-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ===== Wide Card ===== */
.wide-card {
  margin-top: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wide-card__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wide-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ===== Checklist ===== */
.checklist {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.checklist li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--color-blue);
  font-weight: 700;
}

/* ===== Contact Cards ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.contact-card__icon {
  width: 24px;
  height: 24px;
}

.contact-card__value {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 6px;
}

.contact-card__label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

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

.footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo img {
  height: 24px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-blue);
}

.footer__copyright {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__heading {
    font-size: 42px;
  }

  .heading-lg {
    font-size: 28px;
  }

  .annie-card__inner {
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 100px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__heading {
    font-size: 34px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__image {
    max-width: 320px;
  }

  .hero__cta {
    justify-content: center;
  }

  .annie-card__inner {
    padding: 32px 24px;
  }

  .section {
    padding: 56px 0;
  }

  .heading-lg {
    font-size: 24px;
  }

  .heading-section {
    font-size: 19px;
  }

  .two-col--text,
  .two-col--media {
    grid-template-columns: 1fr;
  }

  .two-col--reverse .two-col__left--media {
    order: -1;
  }

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

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

  .footer__container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: 28px;
  }

  .heading-lg {
    font-size: 22px;
  }

  .nav__right .btn--nav {
    display: none;
  }
}
