﻿:root {
  --accent: #0f4cbd;
  --accent-2: #1fb6ff;
  --deep: #0d2e64;
  --deep-2: #0a1d45;
  --text-main: #0f1f3a;
  --text-sub: #163460;
  --panel: rgba(255, 255, 255, 0.88);
}

@font-face {
  font-family: 'CenturyGothicCustom';
  src: url('../fonts/Century Gothic/centurygothic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'CenturyGothicCustom';
  src: url('../fonts/Century Gothic/centurygothic_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'CalibriCustom';
  src: url('../fonts/Calibri/calibri.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'CalibriCustom';
  src: url('../fonts/Calibri/calibri_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

* { box-sizing: border-box; }

html {
  zoom: 0.8;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(12, 76, 180, 0.78) 0%, rgba(44, 188, 255, 0.7) 100%) fixed;
  background-color: #0f4cbd;
  color: var(--text-main);
  font-family: 'CalibriCustom', 'Calibri', 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-width: 1366px;
  overflow-x: hidden;
}

.backdrop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2400px;
  height: 1080px;
  background: url('../content/back.jpg') center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.page {
  flex: 1;
  width: 1280px;
  min-width: 1280px;
  margin: 30px auto 0;
  padding: 32px 18px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  color: var(--text-main);
}

.logo-text {
  font-family: 'CenturyGothicCustom', 'Century Gothic', 'Segoe UI', sans-serif;
  font-size: 122px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1c365b;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}

.logo-text sup {
  font-size: 0.35em;
  line-height: 1;
  position: relative;
  top: 8px;
}

.tagline {
  margin-top: 2px;
  font-weight: 700;
  font-size: 35px;
  color: #1c4b78;
  line-height: 1.3;
}
.mobile-only { display: none; }

.lede-grid {
  display: grid;
  grid-template-columns: 560px 560px;
  column-gap: 40px;
  align-items: start;
  justify-content: center;
  justify-items: center;
}

.lede-grid p {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #0f1f3a;
  max-width: 560px;
}

.lede-grid p:first-child { text-align: right; }
.lede-grid p:last-child { text-align: left; }

.lede-mobile {
  display: none;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.lede-mobile p {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #0f1f3a;
}

.illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -20px;
}

.illustration img {
  max-width: 700px;
  width: auto;
  height: auto;
}
.illustration-desktop { display: block; }
.illustration-mobile { display: none; }

.tiles-section {
  text-align: center;
  margin-top: -26px;
}

.tiles-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 90px;
  flex: 0 0 200px;
  padding: 12px 12px;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 65%),
              linear-gradient(145deg, #11366f, #0a1f47);
  color: #e6efff;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.25),
    0 18px 42px rgba(0, 0, 0, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.2), transparent 65%),
              linear-gradient(145deg, #144180, #0c2752);
}

.tile-title {
  font-family: 'CalibriCustom', 'Calibri', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  color: #ffffff;
  text-align: center;
}


.tile.cases {
  background: #F18C55;
  color: #ffffff;
  border: 1px solid rgba(210, 110, 50, 0.4);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.25),
    0 18px 42px rgba(0, 0, 0, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tile.cases .tile-title,
.tile.cases .tile-sub {
  color: #ffffff;
}

.tile.cases:hover {
  transform: translateY(-4px);
  background: #f6a16f;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.tile.product {
  background: #00E3DE;
  color: #0f4cbd;
  border: 1px solid rgba(0, 140, 170, 0.6);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.25),
    0 18px 42px rgba(0, 0, 0, 0.31),
    inset 0 1px 0 rgba(0, 140, 170, 0.2);
}

.tile.product .tile-title { color: #0f4cbd; }
.tile.product:hover {
  transform: translateY(-4px);
  background: #12f0ea;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(0, 140, 170, 0.25);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: 1280px;
  max-width: 100%;
  margin: 5px auto 0;
}

.protection-wrap {
  flex: 0 0 auto;
  margin-left: -30px;
}

.protection-btn {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 540px;
  max-width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(12, 50, 110, 0.28);
  border-radius: 10px;
  text-decoration: none;
  color: #0f1f3a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: 'CalibriCustom', 'Calibri', 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.protection-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.protection-text { white-space: nowrap; }
.protection-brand {
  font-family: 'CenturyGothicCustom', 'Century Gothic', 'Segoe UI', sans-serif;
  font-weight: 700;
}
.protection-btn[aria-disabled="true"] {
  pointer-events: none;
}

.footer-text {
  text-align: right;
  margin-top: -15px;
  margin-right: -200px;
  font-size: 18px;
  line-height: 1.3;
  padding: 10px 12px;
  color: #0f1f3a;
  border-radius: 10px;
}
.footer-row .footer-text {
  flex: 1;
  margin: 0 0 0 12px;
  margin-right: 0;
  text-align: right;
  padding: 0;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-text .mark {
  font-family: 'Century Gothic', 'Manrope', 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
}

.mobile-break { display: none; }

@media (max-width: 720px) {
  html { zoom: 1; }
  body {
    min-width: auto;
    position: relative;
    background: none;
    overflow-x: hidden;
  }
  .backdrop { display: none; }
  body::before,
  body::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50%;
    background: url('../content-mobile/back.jpg') center/100% 100% no-repeat;
    z-index: -1;
  }
  body::before { top: 0; }
  body::after {
    bottom: 0;
    top: auto;
    transform: translateX(-50%) scaleY(-1);
  }

  .page {
    width: 100%;
    min-width: auto;
    margin: 0 auto;
    padding: 24px 14px 42px;
    gap: 18px;
  }
  .hero { margin-top: 4px; }
  .logo-text { font-size: 48px; font-weight: 700; }
  .tagline { font-size: 20px; margin-top: 6px; line-height: 1.25; text-align: center; }
  .tagline {
    font-family: 'CalibriCustom', 'Calibri', 'Segoe UI', sans-serif;
    font-weight: 700;
  }
  .mobile-only { display: inline; }

  .lede-grid { display: none !important; }
  .lede-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0 30px;
  }
  .lede-mobile p {
    font-size: 13px;
    line-height: 1.4;
    text-align: justify;
    font-family: 'CalibriCustom', 'Calibri', 'Segoe UI', sans-serif;
    font-weight: 400;
  }

  .illustration {
    margin-top: 12px;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .illustration img { max-width: none; width: 100%; height: auto; }
  .illustration-desktop { display: none; }
  .illustration-mobile {
    display: block;
    width: 100vw;
    max-width: none;
  }

  .tiles-section { margin-top: 8px; }
  .tiles-row {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .tile {
    width: calc(90vw - 40px);
    max-width: 300px;
    height: auto;
    min-height: 68px;
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow:
      0 14px 28px rgba(0,0,0,0.28),
      0 18px 42px rgba(0,0,0,0.22),
      inset 0 1px 0 rgba(255,255,255,0.18);
  }
  .tile-title { font-size: 19.8px; margin-bottom: 4px; }
  
  .protection-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0 8px;
    margin-left: 0;
  }
  .protection-btn {
    display: block;
    width: 92%;
    max-width: 360px;
    font-size: 14px;
    padding: 6px 14px;
    text-align: center;
    white-space: normal;
    flex-wrap: wrap;
    align-self: center;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.2);
  }
  .protection-text {
    display: block;
    white-space: normal;
    font-size: 14px;
    margin-bottom: 2px;
    text-align: center;
    width: 100%;
    line-height: 1.15;
  }
  .protection-brand {
    display: block;
    font-size: 16px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    line-height: 1.1;
  }

  .footer-text {
    margin-top: 12px;
    text-align: center;
    margin-right: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.4;
  }
  .mobile-break { display: inline; }

  .footer-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin: 10px auto 0;
  }
  .footer-row .footer-text {
    text-align: center;
    margin: 0;
    padding: 0 16px;
    width: 100%;
    max-width: none;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }
  .mobile-break { display: inline; }
}

/* Cases page */
.cases-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
  padding: 80px 20px 60px;
}

.cases-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  padding: 32px 40px;
  max-width: 960px;
  width: 100%;
  z-index: 1;
}

.cases-hero {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cases-hero .logo-link {
  text-decoration: none;
  color: inherit;
}

.cases-hero .logo-text {
  font-size: 82px;
}

.cases-hero .tagline {
  font-size: 22px;
  line-height: 1.35;
  text-align: center;
}

.cases-title {
  font-family: "CalibriCustom", "Calibri", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--text-main);
  text-align: center;
}

.cases-list {
  font-family: "CalibriCustom", "Calibri", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-main);
  margin: 0;
  text-align: center;
}

.cases-list .cases-item {
  margin-top: 14px;
}

.cases-link {
  display: inline-block;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.cases-link:hover {
  color: #0f4cbd;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .cases-hero {
    margin-top: 12px;
    gap: 6px;
  }

  .cases-hero .logo-text {
    font-size: 48px;
  }

  .cases-hero .tagline {
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
  }
}
