* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef1fa 0%, #f4f6fc 40%, #eef2fb 100%);
  font-family: Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.topbar {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #f19106 0%, #f19106 50%, #009fe3 50%, #009fe3 100%);
  position: relative;
  z-index: 2;
}

/* Fondo decorativo */
.bg-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sq {
  position: absolute;
  animation: floatSq ease-in-out infinite;
}

.sq-1 { top: 6%;  left: 4%;  width: 46px; height: 46px; background: #009fe3; opacity: 0.14; border-radius: 8px;  --dx: 14px;  --dy: -20px; --rot: 10deg;  animation-duration: 11s; }
.sq-2 { top: 3%;  left: 86%; width: 30px; height: 30px; background: #f19106; opacity: 0.16; border-radius: 5px;  --dx: -12px; --dy: 16px;  --rot: -8deg;  animation-duration: 9s; }
.sq-3 { top: 22%; left: 92%; width: 52px; height: 52px; background: #232c77; opacity: 0.10; border-radius: 9px;  --dx: -16px; --dy: -14px; --rot: 6deg;   animation-duration: 13s; }
.sq-4 { top: 34%; left: 2%;  width: 24px; height: 24px; background: #f19106; opacity: 0.18; border-radius: 4px;  --dx: 10px;  --dy: 18px;  --rot: 12deg;  animation-duration: 8s; }
.sq-5 { top: 52%; left: 90%; width: 36px; height: 36px; background: #009fe3; opacity: 0.13; border-radius: 6px;  --dx: -14px; --dy: 20px;  --rot: -10deg; animation-duration: 12s; }
.sq-6 { top: 62%; left: 5%;  width: 56px; height: 56px; background: #232c77; opacity: 0.08; border-radius: 10px; --dx: 18px;  --dy: -16px; --rot: 7deg;   animation-duration: 14s; }
.sq-7 { top: 80%; left: 88%; width: 26px; height: 26px; background: #f19106; opacity: 0.15; border-radius: 5px;  --dx: -10px; --dy: -18px; --rot: -12deg; animation-duration: 10s; }
.sq-8 { top: 88%; left: 8%;  width: 34px; height: 34px; background: #009fe3; opacity: 0.12; border-radius: 6px;  --dx: 12px;  --dy: 14px;  --rot: 9deg;   animation-duration: 11.5s; }

@keyframes floatSq {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(var(--dx, 10px), var(--dy, -18px)) rotate(var(--rot, 8deg)); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.container {
  width: 100%;
  max-width: 560px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  padding: 44px 0 32px;
}

.logo {
  width: min(340px, 86%);
  height: auto;
  display: block;
}

/* Hero */
.hero {
  background: #232c77;
  border-radius: 18px;
  padding: 28px 28px 30px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(35, 44, 119, 0.22);
}

.hero-bar {
  width: 44px;
  height: 4px;
  background: #f19106;
  border-radius: 2px;
  margin: 0 auto 16px;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0;
  color: #b8c0ee;
  font-size: 15px;
  line-height: 1.5;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0 8px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  border: 1px solid #e3e7f3;
  box-shadow: 0 2px 8px rgba(0, 10, 50, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  animation: fadeUp 0.4s ease both;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 10, 50, 0.10);
  border-color: #f19106;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.link-title {
  color: #000a32;
  font-size: 16px;
  font-weight: 700;
}

.link-desc {
  color: #6b7394;
  font-size: 13.5px;
}

.chevron {
  flex-shrink: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 18px 0 36px;
}

.footer-link {
  color: #232c77;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #f19106;
  padding-bottom: 2px;
}

.footer-copy {
  margin: 14px 0 0;
  color: #9aa1bd;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .sq, .link-card {
    animation: none;
  }
}
