:root {
  --bg-0: #f8fafc;
  --bg-1: #eef3f7;
  --bg-2: #e4ecf3;

  --text: #24384f;
  --muted: #5f758f;
  --blue-900: #18314f;
  --blue-800: #244a70;
  --blue-700: #3d6e99;
  --blue-500: #7aadd7;
  --green: #8fb8a0;

  --shadow-soft: 0 14px 34px rgba(34, 58, 90, 0.07);
  --shadow-main: 0 28px 72px rgba(28, 51, 82, 0.12);

  --radius-xl: 36px;
  --maxw: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,0.98), rgba(244,247,251,0.97) 24%, rgba(234,240,246,0.96) 58%, rgba(229,236,244,1) 100%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-2) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.82), transparent 30%),
    radial-gradient(circle at 50% 60%, rgba(126,176,220,0.10), transparent 24%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 14%, rgba(206,221,235,0.08) 50%, rgba(255,255,255,0.18) 86%, transparent 100%);
}

body::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 24%, transparent 78%, rgba(212,225,237,0.12)),
    radial-gradient(circle at 50% 52%, rgba(143,186,221,0.07), transparent 30%);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  isolation: isolate;
}

.container {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}

/* ===== BACKGROUND FRAMES ===== */

.frame,
.frame-inner,
.frame-deep {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.9;
}

.frame {
  top: 76px;
  width: min(1420px, calc(100% - 46px));
  height: 920px;
  border: 1px solid rgba(132, 159, 186, 0.15);
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(220,231,241,0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38);
  clip-path: polygon(11% 0, 89% 0, 100% 17%, 100% 89%, 50% 100%, 0 89%, 0 17%);
  border-radius: 44px;
}

.frame-inner {
  top: 124px;
  width: min(1260px, calc(100% - 120px));
  height: 810px;
  border: 1px solid rgba(146, 171, 194, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(219,231,241,0.04));
  clip-path: polygon(14% 0, 86% 0, 100% 19%, 100% 88%, 50% 100%, 0 88%, 0 19%);
  border-radius: 40px;
}

.frame-deep {
  top: 210px;
  width: min(1110px, calc(100% - 240px));
  height: 640px;
  border: 1px solid rgba(154, 180, 204, 0.07);
  clip-path: polygon(16% 0, 84% 0, 100% 22%, 100% 86%, 50% 100%, 0 86%, 0 22%);
  border-radius: 34px;
  opacity: 0.5;
}

/* ===== TOPBAR ===== */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateY(-12px);
  animation: fadeUp 0.8s ease forwards;
}

.top-note {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.lang-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.26);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 159, 186, 0.16);
  box-shadow: var(--shadow-soft);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.22s ease;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.lang-btn.active {
  color: var(--blue-900);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 20px rgba(35, 58, 88, 0.08);
}

/* ===== HERO ===== */

.hero {
  position: relative;
  text-align: center;
  padding: 12px 0 10px;
  z-index: 2;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  height: 760px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.78), rgba(220,235,248,0.12) 42%, transparent 74%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 180px;
  transform: translateX(-50%);
  width: min(760px, 70vw);
  height: 620px;
  background: linear-gradient(
    180deg,
    rgba(120,190,255,0.08),
    rgba(120,190,255,0.03) 30%,
    rgba(120,190,255,0.08) 70%,
    transparent
  );
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  animation: centerGlowPulse 7s ease-in-out infinite;
}

/* ===== TECH LINES ===== */

.hero-tech-lines {
  position: absolute;
  inset: 90px 0 0;
  pointer-events: none;
  z-index: 1;
}

.hero-tech-lines::before,
.hero-tech-lines::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, 92vw);
  height: 760px;
  clip-path: polygon(10% 0, 90% 0, 100% 16%, 100% 84%, 90% 100%, 10% 100%, 0 84%, 0 16%);
  border-radius: 44px;
}

.hero-tech-lines::before {
  border: 1px solid rgba(190, 220, 245, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 0 42px rgba(90, 180, 255, 0.14);
  opacity: 0.75;
  animation: frameFloat 8s ease-in-out infinite;
}

.hero-tech-lines::after {
  width: min(1040px, 78vw);
  height: 640px;
  top: 52px;
  border: 1px solid rgba(190, 220, 245, 0.24);
  box-shadow: 0 0 22px rgba(170,210,240,0.05);
  opacity: 0.72;
}

.hero-tech-lines .line-2,
.hero-tech-lines .line-3,
.hero-tech-lines .line-4 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(10% 0, 90% 0, 100% 16%, 100% 84%, 90% 100%, 10% 100%, 0 84%, 0 16%);
  border-radius: 40px;
  border: 1px solid rgba(190, 220, 245, 0.18);
  pointer-events: none;
}

.hero-tech-lines .line-2 {
  top: 104px;
  width: min(920px, 70vw);
  height: 560px;
  opacity: 0.55;
}

.hero-tech-lines .line-3 {
  top: 148px;
  width: min(820px, 62vw);
  height: 480px;
  opacity: 0.4;
}

.hero-tech-lines .line-4 {
  top: 190px;
  width: min(710px, 54vw);
  height: 410px;
  opacity: 0.28;
}

/* ===== LOGO ===== */

.brand-combo {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1s ease 0.12s forwards;
}

.logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  width: min(460px, 48vw);
  height: min(300px, 32vw);
  background: radial-gradient(
    circle,
    rgba(70, 190, 255, 0.30),
    rgba(120, 210, 255, 0.12) 38%,
    transparent 72%
  );
  filter: blur(28px);
  z-index: 0;
  animation: logoGlowPulse 4.8s ease-in-out infinite;
}

.logo-wrap img {
  position: relative;
  z-index: 2;
  width: min(380px, 42vw);
  max-width: 100%;
  display: block;
  transform: rotateX(5deg) rotateY(-8deg) translateY(0) scale(1);
  filter:
    drop-shadow(0 26px 36px rgba(25, 55, 92, 0.26))
    drop-shadow(0 0 34px rgba(78, 185, 255, 0.26));
  transition: transform 0.35s ease, filter 0.35s ease;
  animation: logoFloat 5.8s ease-in-out infinite;
}

.logo-wrap:hover img {
  transform: rotateX(3deg) rotateY(-4deg) scale(1.02);
  filter:
    drop-shadow(0 28px 34px rgba(28, 52, 86, 0.24))
    drop-shadow(0 0 38px rgba(120, 195, 255, 0.22));
}

/* ===== TEXT + BUTTONS ===== */

.hero-title,
.hero-sub,
.cta-row,
.subpages-row,
.hero-visual {
  position: relative;
  z-index: 3;
}

.hero-title {
  margin:  0px auto 0;
  max-width: 1040px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 84px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #25384f;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease 0.26s forwards;
  text-wrap: balance;
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 980px;
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.5;
  color: #556b84;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease 0.4s forwards;
  text-wrap: balance;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1s ease 0.54s forwards;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 334px;
  padding: 19px 30px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 650;
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow:
    0 14px 28px rgba(34, 59, 96, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  animation: buttonShimmer 4.8s ease-in-out infinite;
  pointer-events: none;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(34, 59, 96, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.26);
  filter: saturate(1.05);
}

.cta-btn svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.cta-wa {
  background: linear-gradient(90deg, #9bc4ab 0%, #3d6890 100%);
}

.cta-tg {
  background: linear-gradient(90deg, #92bde0 0%, #315a84 100%);
}

.subpages-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1s ease 0.66s forwards;
}

.subpage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--blue-900);
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(132, 159, 186, 0.16);
  box-shadow: 0 10px 24px rgba(34, 59, 96, 0.07);
  font-size: 16px;
  font-weight: 650;
  transition: 0.22s ease;
  backdrop-filter: blur(12px);
}

.subpage-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 16px 30px rgba(34, 59, 96, 0.11);
}

/* ===== CENTRAL VISUAL ===== */

.hero-visual {
  display: grid;
  justify-items: center;
  margin-top: 20px;
  padding-bottom: 10px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.15s ease 0.78s forwards;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: min(760px, 72vw);
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(55, 190, 255, 0.34),
    rgba(120, 210, 255, 0.18) 40%,
    rgba(220, 240, 255, 0.08) 60%,
    transparent 78%
  );
  filter: blur(26px);
  border-radius: 50%;
  z-index: 0;
  animation: platformPulse 5.4s ease-in-out infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(620px, 62vw);
  height: 130px;
  border-radius: 50%;
  border: 2px solid rgba(130, 205, 255, 0.32);
  box-shadow:
    0 0 28px rgba(90, 190, 255, 0.16),
    inset 0 0 24px rgba(255,255,255,0.22);
  z-index: 0;
  animation: ringPulse 5.8s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  bottom: 8px;
  width: min(820px, 76vw);
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(215, 238, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35) inset,
    0 0 58px rgba(90, 190, 255, 0.18);
  z-index: 0;
  opacity: 0.75;
  animation: ringBreath 6s ease-in-out infinite;
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(230, 238, 245, 0.34);
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  width: min(430px, 44vw);
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  display: block;
  transform: rotateX(3deg) translateY(0) scale(1);
  filter:
    brightness(1.01)
    contrast(1.02)
    saturate(1.06)
    drop-shadow(0 34px 54px rgba(35, 65, 105, 0.22))
    drop-shadow(0 0 32px rgba(70, 190, 255, 0.22));
  animation: shieldFloat 6.2s ease-in-out infinite;
}

/* ===== SECTIONS ===== */

.section {
  padding: 18px 0 0;
  position: relative;
  z-index: 2;
}

.solutions-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.22));
  border: 1px solid rgba(138, 163, 189, 0.15);
  box-shadow: var(--shadow-main), inset 0 1px 0 rgba(255,255,255,0.52);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  padding: 28px 28px 20px;
}

.solutions-wrap::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 32%, transparent 72%, rgba(194,214,231,0.08));
  pointer-events: none;
}

.section-title {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 50px);
  color: var(--blue-900);
  letter-spacing: -0.025em;
  line-height: 1.04;
  position: relative;
  z-index: 1;
}

.solutions-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(245,249,252,0.38));
  border: 1px solid rgba(150, 175, 198, 0.14);
  border-radius: 24px;
  padding: 20px 20px 18px;
  box-shadow: 0 14px 28px rgba(38, 61, 92, 0.06);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: start;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(38, 61, 92, 0.10);
  border-color: rgba(111, 149, 184, 0.22);
}

.solution-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(215,230,244,0.86), rgba(191,216,239,0.52));
  color: #5f86ae;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
  font-size: 30px;
}

.solution-kicker {
  color: var(--blue-500);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  display: block;
  font-weight: 800;
}

.solution-title {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.solution-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ===== FOOTER CONTACTS ===== */

.footer-card {
  margin-top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0.50));
  border: 1px solid rgba(138, 163, 189, 0.15);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.52);
  border-radius: 34px 34px 26px 26px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  padding: 22px 26px 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  color: #42576f;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.42;
  word-break: break-word;
  transition: color 0.2s ease, transform 0.2s ease;
  font-weight: 500;
}

.contact-item:hover {
  color: var(--blue-900);
  transform: translateY(-1px);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #2f4968;
  opacity: 0.92;
}

.footer-bottom {
  padding: 12px 0 4px;
  text-align: center;
  color: #86a0ba;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* ===== ANIMATIONS ===== */

@keyframes logoFloat {
  0%, 100% {
    transform: rotateX(5deg) rotateY(-8deg) translateY(0) scale(1);
  }
  50% {
    transform: rotateX(5deg) rotateY(-8deg) translateY(-6px) scale(1.012);
  }
}

@keyframes logoGlowPulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes centerGlowPulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes frameFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}

@keyframes shieldFloat {
  0%, 100% {
    transform: rotateX(3deg) translateY(0) scale(1);
  }
  50% {
    transform: rotateX(3deg) translateY(-7px) scale(1.012);
  }
}

@keyframes platformPulse {
  0%, 100% {
    opacity: 0.58;
    transform: translateX(-50%) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.07);
  }
}

@keyframes ringPulse {
  0%, 100% {
    opacity: 0.35;
    transform: translateX(-50%) scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: translateX(-50%) scale(1.05);
  }
}

@keyframes ringBreath {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes buttonShimmer {
  0%, 60%, 100% {
    left: -120%;
  }
  78% {
    left: 140%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-image-wrap {
    width: min(390px, 54vw);
  }
}

@media (max-width: 920px) {
  .top-note {
    display: none;
  }

  .cta-btn {
    min-width: 282px;
    font-size: 18px;
    padding: 16px 22px;
  }

  .solutions-wrap,
  .footer-card {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--maxw), calc(100% - 24px));
  }

  .frame,
  .frame-inner,
  .frame-deep,
  .hero-tech-lines {
    display: none;
  }

  .topbar {
    justify-content: flex-end;
  }

  .logo-wrap img {
    width: min(240px, 54vw);
    animation: logoFloatMobile 7s ease-in-out infinite;
  }

  .logo-wrap::before {
    width: min(300px, 64vw);
    height: min(200px, 44vw);
    opacity: 0.75;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .cta-row {
    gap: 14px;
  }

  .cta-btn {
    width: 100%;
    min-width: 0;
    font-size: 18px;
  }

  .subpages-row {
    gap: 10px;
  }

  .subpage-btn {
    width: 100%;
  }

  .hero-image-wrap {
    width: min(340px, 76vw);
  }

  .hero-image {
    animation: shieldFloatMobile 7s ease-in-out infinite;
  }

  .hero-ring {
    width: 88vw;
    height: 110px;
  }

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

  .solution-card {
    grid-template-columns: 64px 1fr;
  }

  .solution-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .contact-item {
    font-size: 17px;
  }

  .solution-title {
    font-size: 20px;
  }
}

@keyframes shieldFloatMobile {
  0%, 100% {
    transform: rotateX(2deg) translateY(0) scale(1);
  }

  50% {
    transform: rotateX(2deg) translateY(-3px) scale(1.005);
  }
}

@keyframes logoFloatMobile {
  0%, 100% {
    transform: rotateX(3deg) rotateY(-5deg) translateY(0) scale(1);
  }

  50% {
    transform: rotateX(3deg) rotateY(-5deg) translateY(-2px) scale(1.004);
  }
}
/* ============================= */
/* AMS DATA SECURITY SUBPAGE */
/* ============================= */

.security-page {
  min-height: 100vh;
  margin: 0;
  color: #102b4a;
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,0.95), rgba(232,244,255,0.72) 32%, rgba(218,236,249,0.95) 100%),
    linear-gradient(135deg, #f7fbff 0%, #e9f4ff 48%, #f8fbff 100%);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.security-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(81,160,220,0.14) 21%, transparent 22% 100%),
    linear-gradient(65deg, transparent 0 30%, rgba(255,255,255,0.36) 31%, transparent 32% 100%);
  opacity: 0.65;
  pointer-events: none;
}

.subpage-header {
  position: relative;
  z-index: 10;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-home {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #16436f;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(95,143,187,0.24);
  box-shadow: 0 14px 34px rgba(34, 92, 145, 0.12);
  backdrop-filter: blur(14px);
  transition: 0.25s ease;
}

.back-home:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 42px rgba(34, 92, 145, 0.18);
}

.language-switcher {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(95,143,187,0.24);
  box-shadow: 0 14px 34px rgba(34, 92, 145, 0.12);
  backdrop-filter: blur(14px);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: #31587e;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-btn.active,
.lang-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1f6fb2, #63b7f4);
  box-shadow: 0 10px 22px rgba(36,111,180,0.28);
}

.security-main {
  position: relative;
  z-index: 2;
}

.security-hero {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 56px;
}

.security-title-block {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #2675b7;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 900;
  text-transform: uppercase;
}

.security-title-block h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  color: #12355c;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 26px rgba(36,111,180,0.14);
}

.lead {
  margin: 16px 0 6px;
  color: #3d5f82;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
}

.strong-lead {
  margin: 0;
  color: #153e68;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 900;
}

.comparison-zone {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.comparison-card {
  position: relative;
  min-height: 560px;
  padding: 30px 34px;
  border-radius: 34px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    0 26px 70px rgba(30,86,140,0.14);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.comparison-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.cloud-card {
  background:
    linear-gradient(135deg, rgba(255,245,245,0.82), rgba(255,255,255,0.52)),
    rgba(255,255,255,0.64);
}

.local-card {
  background:
    linear-gradient(135deg, rgba(239,255,249,0.86), rgba(255,255,255,0.52)),
    rgba(255,255,255,0.64);
}

.comparison-card h2 {
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.12;
}

.cloud-card h2 {
  color: #b82624;
}

.local-card h2 {
  color: #19845f;
}

.card-subtitle {
  margin: 6px 0 30px;
  text-align: center;
  color: #385b7f;
  font-size: 18px;
  font-weight: 700;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 10px 0 34px;
  min-height: 116px;
  flex-wrap: nowrap;
}

.flow-item {
  width: 86px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #27496d;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.flow-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
  background: rgba(255,255,255,0.74);
  border: 2px solid rgba(86,121,160,0.34);
  box-shadow: 0 14px 32px rgba(34,92,145,0.12);
}

.local-model .flow-icon {
  width: 96px;
  border-radius: 16px;
  color: #1b5f91;
  background: linear-gradient(180deg, rgba(236,249,255,0.95), rgba(177,223,255,0.5));
  border-color: rgba(42,148,217,0.42);
}

.flow-arrow {
  font-size: 28px;
  font-weight: 900;
}

.flow-arrow.danger {
  color: #d33634;
}

.flow-arrow.success {
  color: #21956d;
}

.risk-marker {
  width: 52px;
  height: 52px;
  margin: -8px auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d22f2c;
  font-size: 34px;
  background: rgba(255,255,255,0.72);
  border: 2px solid rgba(211,47,44,0.32);
  box-shadow: 0 14px 32px rgba(211,47,44,0.1);
}

.security-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.security-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.security-list li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.danger-list li > span {
  color: #d32f2f;
  border: 2px solid rgba(211,47,47,0.35);
  background: rgba(255,255,255,0.72);
}

.success-list li > span {
  color: #15906a;
  border: 2px solid rgba(21,144,106,0.35);
  background: rgba(255,255,255,0.72);
}

.security-list strong {
  display: block;
  margin-bottom: 3px;
  color: #153e68;
  font-size: 17px;
  line-height: 1.2;
}

.security-list p {
  margin: 0;
  color: #496a8a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.floating-shield-wrap {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.shield-glow {
  position: absolute;
  width: 280px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(81,190,255,0.46), rgba(81,190,255,0.12) 38%, transparent 72%);
  filter: blur(12px);
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.floating-shield {
  position: relative;
  z-index: 2;
  width: min(230px, 18vw);
  filter:
    drop-shadow(0 28px 36px rgba(21,71,125,0.32))
    drop-shadow(0 0 28px rgba(88,190,255,0.44));
  animation: floatShield 4.2s ease-in-out infinite;
}

.floating-shield-wrap::after {
  content: "";
  position: absolute;
  bottom: 112px;
  width: 200px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,159,224,0.28), transparent 72%);
  filter: blur(7px);
  animation: shadowFloat 4.2s ease-in-out infinite;
}

.benefits-strip {
  margin: 18px 8px 0;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: 0 20px 54px rgba(30,86,140,0.13);
  backdrop-filter: blur(18px);
}

.benefit {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.benefit:not(:last-child) {
  border-right: 1px solid rgba(64,108,150,0.18);
  padding-right: 18px;
}

.benefit > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(222,242,255,0.95), rgba(190,224,248,0.8));
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.benefit strong {
  display: block;
  color: #153e68;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 3px;
}

.benefit p {
  margin: 0;
  color: #496a8a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.security-cta {
  margin: 22px 8px 0;
  padding: 30px 24px 34px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 18px 46px rgba(30,86,140,0.1);
}

.security-cta h2 {
  max-width: 1000px;
  margin: 0 auto 20px;
  font-family: Georgia, "Times New Roman", serif;
  color: #153e68;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, #246fb4, #2f8eda);
  box-shadow: 0 16px 34px rgba(36,111,180,0.28);
  transition: 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(36,111,180,0.34);
}

@keyframes floatShield {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateZ(0deg);
  }
  50% {
    transform: translateY(-18px) rotateX(4deg) rotateZ(1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes shadowFloat {
  0%, 100% {
    opacity: 0.32;
    transform: scale(1);
  }
  50% {
    opacity: 0.18;
    transform: scale(0.82);
  }
}

/* Tablet */
@media (max-width: 1180px) {
  .comparison-zone {
    grid-template-columns: 1fr;
  }

  .floating-shield-wrap {
    order: -1;
    height: 210px;
  }

  .floating-shield {
    width: 180px;
  }

  .floating-shield-wrap::after {
    bottom: 26px;
  }

  .comparison-card {
    min-height: auto;
  }

  .benefits-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit:not(:last-child) {
    border-right: 0;
    padding-right: 0;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .subpage-header {
    padding: 18px 18px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .back-home {
    justify-content: center;
  }

  .language-switcher {
    justify-content: center;
  }

  .security-hero {
    width: min(100% - 28px, 1480px);
    padding-top: 24px;
  }

  .security-title-block h1 {
    font-size: 34px;
  }

  .lead,
  .strong-lead {
    font-size: 16px;
  }

  .comparison-card {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .comparison-card h2 {
    font-size: 25px;
  }

  .card-subtitle {
    font-size: 15px;
  }

  .flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    font-size: 24px;
  }

  .flow-item {
    width: 100%;
  }

  .local-model .flow-icon {
    width: 82px;
  }

  .security-list strong {
    font-size: 15px;
  }

  .security-list p {
    font-size: 13px;
  }

  .benefits-strip {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .benefit {
    grid-template-columns: 52px 1fr;
  }

  .benefit > span {
    width: 52px;
    height: 52px;
  }

  .security-cta {
    padding: 26px 18px 30px;
  }

  .cta-button {
    width: 100%;
    padding: 0 18px;
  }
}
/* ABOUT PAGE FIX */
.about-page .security-title-block {
  padding-top: 0;
  margin-top: 0;
}

.about-page .brand-combo {
  margin-top: 0;
  margin-bottom: 8px;
}

.about-page .logo-wrap img {
  margin-bottom: 0;
}

.about-page .security-title-block h1 {
  margin-top: 6px;
}

.about-page .eyebrow {
  margin-bottom: 4px;
}