:root {
  --navy-950: #07131d;
  --navy-900: #0d2233;
  --navy-800: #15354c;
  --navy-700: #1d4f78;
  --green-500: #2fcb63;
  --green-400: #4dd87c;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #edf2f6;
  --gray-200: #dde6ee;
  --gray-300: #c7d1dc;
  --gray-500: #6e7b88;
  --gray-700: #334250;
  --shadow-soft: 0 18px 40px rgba(8, 19, 29, 0.08);
  --shadow-strong: 0 22px 60px rgba(4, 16, 25, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --container-padding: 1rem;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--navy-950);
  background:
    radial-gradient(circle at top left, rgba(47, 203, 99, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 55%, #eef3f7 100%);
  line-height: 1.6;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--navy-950);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

/* Shared container keeps side padding consistent across the site. */
.container {
  width: min(100% - (var(--container-padding) * 2), var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-light {
  background: rgba(255, 255, 255, 0.72);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13, 34, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  position: relative;
  z-index: 4;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 4;
}

/* Controls keep explicit sizing and z-index so they remain visible while the menu opens. */
.menu-toggle,
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(13, 34, 51, 0.1);
  cursor: pointer;
  position: relative;
  z-index: 5;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 0.28rem;
  background: var(--gray-50);
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-950);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.language-toggle {
  padding: 0 0.95rem;
  width: auto;
  background: var(--navy-950);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(29, 79, 120, 0.25);
  box-shadow: 0 14px 30px rgba(4, 16, 25, 0.14);
}

.menu-toggle:focus-visible,
.language-toggle:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.primary-nav a:focus-visible {
  outline: 3px solid rgba(77, 216, 124, 0.28);
  outline-offset: 3px;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: var(--navy-800);
}

.primary-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  min-width: min(320px, calc(100vw - (var(--container-padding) * 2)));
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 3;
}

.primary-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-nav a {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  color: var(--gray-700);
  transition: background 180ms ease, color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--navy-950);
  background: rgba(47, 203, 99, 0.1);
}

/* Large hero with restrained gradients keeps the page premium without heavy imagery. */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 3.35rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 430px;
  background:
    linear-gradient(135deg, rgba(13, 34, 51, 0.94), rgba(21, 53, 76, 0.84)),
    linear-gradient(120deg, rgba(47, 203, 99, 0.12), transparent);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 3rem auto auto 10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 216, 124, 0.24), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.hero-grid,
.about-grid,
.app-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  align-items: center;
}

.hero-copy {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  color: var(--green-400);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-header h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 9vw, 4.8rem);
}

.hero-text {
  max-width: 60ch;
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}

.section-header {
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.section-header p,
.service-card p,
.info-card p,
.reason-card p,
.contact-card,
.map-placeholder span,
.site-footer p {
  color: var(--gray-500);
}

.section-header p {
  margin: 1rem 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

/* Shared button system for filled and outlined actions. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--navy-950);
  box-shadow: 0 16px 34px rgba(47, 203, 99, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(47, 203, 99, 0.34);
}

.button-secondary {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(13, 34, 51, 0.22);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  box-shadow: 0 18px 38px rgba(13, 34, 51, 0.28);
}

.button-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(13, 34, 51, 0.16);
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible {
  background: rgba(13, 34, 51, 0.04);
  border-color: rgba(13, 34, 51, 0.24);
}

.hero-panel,
.service-card,
.info-card,
.device-card,
.reason-card,
.contact-card,
.map-placeholder {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.hero-card {
  padding: 1.2rem;
  border-radius: calc(var(--radius-lg) - 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.hero-card-label {
  margin: 0;
  color: var(--green-400);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-area {
  display: block;
  margin-top: 0.55rem;
  font-size: 2rem;
  color: #8ec2ff;
}

.hero-card-copy {
  margin: 0.8rem 0 0;
  color: #b7d5ff;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-badges span {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.service-grid,
.reasons-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.info-card,
.reason-card,
.contact-card,
.map-placeholder {
  padding: 1.5rem;
  background: var(--white);
}

.service-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border: 1px solid rgba(21, 53, 76, 0.08);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(47, 203, 99, 0.24);
}

.service-icon,
.reason-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(13, 34, 51, 0.08), rgba(47, 203, 99, 0.12));
  color: var(--navy-900);
  font-weight: 800;
}

.service-card h3,
.info-card h3,
.reason-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.service-card p,
.info-card p,
.reason-card p {
  margin: 0.85rem 0 0;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--gray-700);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.feature-list.compact li {
  color: var(--gray-500);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.about-points {
  display: grid;
  gap: 1rem;
}

.info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff);
  border: 1px solid rgba(21, 53, 76, 0.06);
}

/* Screenshot cards are easy to restyle or replace later. */
.app-showcase {
  display: grid;
  gap: 1rem;
}

.device-card {
  padding: 0.85rem;
  background: linear-gradient(180deg, #132332, #0b1620);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-card img {
  width: 100%;
  border-radius: 24px;
  background: #0a1117;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border: 8px solid #0e1c29;
}

.device-card figcaption {
  margin-top: 0.9rem;
  font-weight: 700;
}

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

.reason-card {
  border: 1px solid rgba(21, 53, 76, 0.08);
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-card div {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(13, 34, 51, 0.08);
}

.contact-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-card small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gray-500);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card span {
  color: var(--navy-950);
  font-weight: 700;
}

.map-placeholder {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(13, 34, 51, 0.04), rgba(13, 34, 51, 0.08)),
    linear-gradient(135deg, rgba(47, 203, 99, 0.1), rgba(13, 34, 51, 0.03));
  border: 1px solid rgba(13, 34, 51, 0.08);
}

.map-placeholder p {
  margin: 0 0 0.4rem;
  font-weight: 800;
  color: var(--navy-950);
}

.site-footer {
  padding: 2.5rem 0 1.6rem;
  background: var(--navy-950);
  color: var(--white);
}

.footer-grid,
.footer-links,
.footer-bottom {
  display: grid;
  gap: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (min-width: 720px) {
  :root {
    --container-padding: 1.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

  .app-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 2rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  :root {
    --container-padding: 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions {
    gap: 1rem;
  }

  .primary-nav {
    position: static;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav a {
    padding: 0.7rem 1rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-panel {
    padding: 1.4rem;
  }

  .reasons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .brand-text span {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .app-grid,
  .contact-grid {
    gap: 1.25rem;
  }

  .hero-panel,
  .service-card,
  .info-card,
  .device-card,
  .reason-card,
  .contact-card,
  .map-placeholder {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
