:root {
  color-scheme: light;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f8f9fb;
  --fg: #0a192f;
  --muted: #62708c;
  --accent: #0e7c86;
  --accent-light: #d2f2f4;
  --surface: #ffffff;
  --border: #e0e7f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.content {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.hero {
  padding: 4rem 0 3rem;
  background: var(--bg);
}

.hero .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 0.4rem 0 1rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 55ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(14, 124, 134, 0.2);
}

.btn.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 45px rgba(10, 25, 47, 0.08);
  margin-top: 3.5rem;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero-card .cta-group {
  margin-top: 0;
}

.hero-card .cta-group-stacked {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0;
}

.hero-card .cta-group-stacked .btn {
  width: 100%;
  text-align: center;
}

.hero-card ul {
  padding-left: 1rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.sticky-nav {
  background: rgba(248, 249, 251, 0.9);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  display: none;
}

.sticky-nav.visible {
  display: block;
}

.sticky-nav .content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.8rem 0;
  justify-content: space-between;
  align-items: center;
}

.sticky-nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.sticky-nav .nav-links {
  display: flex;
  gap: 1rem;
}

.sticky-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.info-card {
  text-align: center;
  perspective: 1000px;
  min-height: 180px;
  position: relative;
  user-select: none;
}

.info-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.info-card:hover .info-card-inner {
  transform: rotateY(180deg);
}

.info-card-front,
.info-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06);
}

.info-card-back {
  transform: rotateY(180deg);
}

.info-card-back .info-icon {
  font-size: 5rem;
  filter: grayscale(1) contrast(0.5);
  opacity: 0.8;
}

.info-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.info-text {
  color: var(--fg);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
}

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

.cards .grid,
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.cards article,
.data-grid article {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(145deg, #fff, #f8fbfc);
}

.cards h3,
.data-grid h3 {
  margin-top: 0;
}

.cta-panel {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workflow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.workflow li {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: #f9fbff;
}

.map-section {
  width: 100%;
  padding: 0;
}

.map-intro {
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.map-title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--accent);
}

.fullscreen-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--accent);
  flex-shrink: 0;
}

.fullscreen-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.fullscreen-btn:active {
  transform: translateY(0);
}

.map-frame {
  border-radius: 1rem;
  padding: 1rem;
  border: 1px dashed var(--border);
  background: #f5f9fc;
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.05);
}

.map-frame iframe {
  width: 100%;
  min-height: min(90vh, 900px);
  border: none;
  border-radius: 0.75rem;
  background: #fff;
}

.map-frame:fullscreen {
  background: white;
  padding: 0;
  border: none;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
}

.map-frame:fullscreen iframe {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}

.map-placeholder {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.8rem;
}

footer {
  background: #0b1a2e;
  color: #dbe7ff;
  padding: 2.5rem 0;
}

footer .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

footer a {
  color: #7fd4da;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #7fd4da;
  text-decoration: none;
}

@media (max-width: 640px) {
  .section {
    padding: 1.5rem;
  }
  .cta-group {
    width: 100%;
    flex-direction: column;
  }
}
