:root{
  --blue-1: #0f73a8;
  --blue-2: #197fb8;
  --muted: #6b7a86;
  --bg-start: #f7fbfd;
  --bg-end: #eef7fb;
  --max-width: 1100px;
  --radius: 12px;

  --icon-big: clamp(120px, 22vw, 190px);
  --icon-medium: clamp(100px, 14vw, 140px);
  --icon-small: clamp(72px, 10vw, 100px);

  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  color:#0b2b3a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  padding:18px;
  position:relative;
  overflow-x:hidden;
}

/* BACKGROUND LAYER: onde animate e pattern */
.bg-wave-layer{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  will-change: transform;
  transform-origin:center;
  /* base subtle pattern */
  background-image:
    repeating-linear-gradient(135deg, rgba(11,43,58,0.012) 0px, rgba(11,43,58,0.012) 1px, transparent 1px, transparent 28px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 140' preserveAspectRatio='none'><path d='M0 80 C180 10 360 150 540 80 C675 40 765 120 900 80' fill='none' stroke='%230f73a8' stroke-opacity='0.06' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: repeat, repeat-x;
  background-size: auto, 1000px 140px;
  animation: bgGradientShift 18s linear infinite;
  opacity:1;
}

/* second wave pseudo-element for depth */
.bg-wave-layer::after{
  content:'';
  position:absolute;
  inset:0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1100 140' preserveAspectRatio='none'><path d='M0 70 C220 0 440 140 660 70 C825 30 935 110 1100 70' fill='none' stroke='%23197fb8' stroke-opacity='0.035' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: repeat-x;
  background-size: 1100px 140px;
  animation: waveMoveSlow 36s linear infinite;
  opacity:0.95;
  pointer-events:none;
}

/* vignette to focus center */
.bg-wave-layer::before{
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0) 45%, rgba(11,43,58,0.02) 100%);
  pointer-events:none;
}

/* background animations */
@keyframes bgGradientShift {
  0% { background-position: 0 0, 0 0; filter: hue-rotate(0deg); }
  50% { background-position: 400px 0, -400px 0; filter: hue-rotate(6deg) saturate(1.02); }
  100% { background-position: 800px 0, 0 0; filter: hue-rotate(0deg); }
}
@keyframes waveMoveSlow {
  0% { background-position: 0 0; }
  100% { background-position: -1100px 0; }
}

/* page content above background */
.page-wrapper{ position:relative; z-index:2; width:100%; max-width:var(--max-width); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; }

/* particle layer above content */
#particle-layer{ position:fixed; left:0; top:0; pointer-events:none; z-index:9999; }

/* header/main/footer styles (same as before, kept concise) */
.site-header{ width:100%; display:flex; justify-content:center; padding:6px 0 4px; z-index:2; }
.header-title{ font-weight:700; font-size: clamp(20px,4vw,40px); color:var(--blue-1); letter-spacing:1px; text-align:center; }

.main{ width:100%; padding:6px 12px 0; margin:0 auto; z-index:2; }
.icons-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; align-items:start; justify-items:center; padding:6px 20px; width:100%; }

.icon-card{ text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; max-width:260px; padding:6px; width:100%; z-index:2; }
.download-keypad, .external-link{ display:flex; flex-direction:column; align-items:center; gap:12px; color:inherit; text-decoration:none; width:100%; padding:6px; border-radius:10px; }
.caption{ color:var(--blue-1); font-weight:600; margin-top:4px; text-align:center; font-size: clamp(14px,2.4vw,16px); line-height:1.1; }

.icon-box{ width:var(--icon-medium); height:var(--icon-medium); background:linear-gradient(180deg,#f8fbfd,#ffffff); border-radius:16px; display:flex; align-items:center; justify-content:center; box-shadow: 0 8px 18px rgba(15,115,168,0.08), inset 0 -2px 0 rgba(0,0,0,0.02); color:var(--blue-1); font-size: clamp(28px,4.5vw,48px); transition: transform .18s ease, box-shadow .18s ease; }
.icon-card .icon-box.small{ width:var(--icon-small); height:var(--icon-small); font-size: clamp(22px,3.6vw,36px); border-radius:14px; }
.icon-card.big .icon-box{ width:auto; height:auto; background:none; border-radius:0; box-shadow:none; padding:0; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:transform .12s ease; }
.start-img{ width:var(--icon-big); height:auto; object-fit:contain; display:block; transition: transform .14s ease; -webkit-user-drag: none; }

/* particles */
.call-particle{ position:fixed; transform: translate(-50%,-50%); display:inline-flex; align-items:center; justify-content:center; color:var(--blue-1); font-size:18px; opacity:1; will-change: transform, opacity; animation: floatUp 1100ms cubic-bezier(.16,.9,.35,1) forwards; text-shadow: 0 2px 6px rgba(0,0,0,0.12); -webkit-user-select:none; }
.call-particle.big-particle{ font-size:22px; color:var(--blue-2); }
@keyframes floatUp { 0% { transform: translate(-50%,-50%) translateY(0) rotate(0deg) scale(1); opacity:1; } 100% { transform: translate(-50%,-50%) translateY(-90px) translateX(var(--tx,20px)) rotate(var(--rot,20deg)) scale(.92); opacity:0; } }

/* interactions */
.icon-card.big .icon-box:active .start-img,
.icon-card.big .icon-box:focus .start-img,
.icon-card.big .icon-box:hover .start-img{ transform: translateY(-4px) scale(1.02); }

/* footer / legal links added styles */
.site-footer{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:12px 0 18px;
  color:var(--muted);
  z-index:2;
}
.site-footer .copyright{
  font-size:13px;
  color:var(--muted);
  font-weight:500;
  text-align:center;
}

/* Legal links row */
.site-footer .legal-links{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  margin-top:4px;
  flex-wrap:wrap;
}
.site-footer .footer-link{
  color:var(--muted);
  font-size:13px;
  text-decoration:none;
  padding:6px 8px;
  border-radius:8px;
  transition: color .14s ease, background .14s ease;
}
.site-footer .footer-link:hover,
.site-footer .footer-link:focus{
  color:var(--blue-1);
  background: rgba(15,115,168,0.04);
  outline: none;
  box-shadow: none;
}

/* responsive */
@media (max-width:900px){
  .icons-grid{ grid-template-columns: repeat(2,1fr); gap:20px 18px; }
  :root{ --icon-big:160px; --icon-medium:120px; --icon-small:88px; }
}
@media (max-width:600px){
  .icons-grid{ grid-template-columns: 1fr; gap:18px 8px; padding:8px 12px; justify-items:center; }
  :root{ --icon-big:140px; --icon-medium:110px; --icon-small:84px; }
  .start-img{ width: clamp(120px,36vw,160px); }
  .site-footer .legal-links{ gap:8px; }
}

/* accessibility */
:focus-visible{ outline: 3px solid rgba(30,158,217,0.18); outline-offset:4px; }
img{ max-width:100%; height:auto; display:block; }