:root {
  --ink: #0b1b2b;
  --ink-soft: #3d5163;
  --blue: #0a9be0;
  --blue-deep: #0678b8;
  --aqua: #bfeaff;
  --aqua-light: #e9f8ff;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(6, 80, 130, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 5vw, 48px) 20px 150px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f4fbff 0%, #dff4ff 45%, #b9e6fb 100%);
}

.water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.9;
}

.glow {
  position: absolute;
  z-index: -2;
  width: 70vmax;
  height: 70vmax;
  left: 50%;
  top: 38%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

.bubbles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.25) 45%, rgba(10, 155, 224, 0.12) 70%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: rise linear infinite;
  opacity: 0;
}

@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translate3d(var(--drift, 20px), -55vh, 0); }
  90% { opacity: 0.8; }
  100% { transform: translate3d(0, -110vh, 0); opacity: 0; }
}

.brand {
  width: min(360px, 72vw);
  margin-bottom: clamp(48px, 10vh, 96px);
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.9));
}

.hero-content {
  text-align: center;
  max-width: 820px;
  will-change: transform;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 155, 224, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(10, 155, 224, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 155, 224, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(10, 155, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 155, 224, 0); }
}

h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 7.2vw, 5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  text-align: left;
}

.rotator .word {
  grid-area: 1 / 1;
  background: linear-gradient(100deg, var(--blue-deep) 0%, var(--blue) 45%, #37c6ff 70%, var(--blue-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
  white-space: nowrap;
  padding-bottom: 0.08em;
}

.rotator .word.is-active { opacity: 1; transform: translateY(0); filter: blur(0); }
.rotator .word.is-leaving { opacity: 0; transform: translateY(-0.45em); filter: blur(6px); }

@keyframes shimmer {
  to { background-position: -220% 0; }
}

.lead {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
}

.contact {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: 0 14px 34px -12px rgba(6, 120, 184, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4s ease-in-out infinite;
}

@keyframes sheen {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.btn-primary svg { width: 20px; height: 20px; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(6, 120, 184, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.email-copy,
.insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(10, 155, 224, 0.22);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.email-copy { position: relative; padding: 0 18px 0 20px; }
.insta { width: 48px; justify-content: center; }

.email-copy svg, .insta svg { width: 20px; height: 20px; }
.i-copy { color: var(--blue-deep); }

.email-copy:hover, .insta:hover {
  background: var(--white);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.insta:hover {
  color: var(--white);
  border-color: transparent;
  background: radial-gradient(circle at 30% 110%, #fdd66b 0%, #f77737 25%, #e1306c 50%, #c13584 70%, #5b51d8 100%);
}

.fb:hover { background: #1877f2; }

.copied {
  position: absolute;
  left: 50%;
  top: -36px;
  translate: -50% 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.copied.show { opacity: 1; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #075e54;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(37, 211, 102, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-whatsapp svg { width: 22px; height: 22px; color: #25d366; transition: color 0.25s ease; }

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover svg { color: var(--white); }

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 12px 28px -8px rgba(18, 140, 60, 0.6);
  transition: transform 0.25s ease;
  animation: wa-in 0.6s 1.2s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }

@keyframes wa-in {
  from { opacity: 0; transform: scale(0.6) translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* SERVICES */
.services {
  list-style: none;
  margin-top: clamp(56px, 10vh, 96px);
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.services li {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background 0.3s ease;
}

.services li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.88); }

.services svg {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  color: var(--blue-deep);
  background: var(--aqua-light);
}

.services h2 {
  margin-top: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.services p {
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* WAVES */
.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: -1;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.w1 { fill: rgba(10, 155, 224, 0.18); animation: drift 18s linear infinite; }
.w2 { fill: rgba(6, 120, 184, 0.22); animation: drift 12s linear infinite reverse; }
.w3 { fill: var(--ink); animation: drift 22s linear infinite; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* TECH (Blue Connect) */
.tech {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(56px, 9vw, 110px) 20px clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.tech::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60vmax;
  height: 60vmax;
  right: -20vmax;
  top: -18vmax;
  background: radial-gradient(circle, rgba(10, 155, 224, 0.28) 0%, rgba(10, 155, 224, 0) 62%);
  animation: float 14s ease-in-out infinite alternate;
}

.tech::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 50vmax;
  height: 50vmax;
  left: -22vmax;
  bottom: -26vmax;
  background: radial-gradient(circle, rgba(55, 198, 255, 0.16) 0%, rgba(55, 198, 255, 0) 60%);
  animation: float 18s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  to { transform: translate3d(-6vmax, 5vmax, 0); }
}

.tech-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5fd0ff;
}

.tech h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.tech h2 span {
  background: linear-gradient(100deg, #37c6ff, var(--blue) 60%, #7fdcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tech-lead {
  margin-top: 18px;
  font-size: 1.08rem;
  max-width: 520px;
}

.tech-lead strong { color: var(--white); font-weight: 700; }

.features {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}

.features svg {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  color: var(--ink);
  background: #5fd0ff;
  margin-top: 1px;
}

/* Readings panel */
.panel {
  position: relative;
  padding: 22px 22px 16px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title { font-weight: 800; color: var(--white); font-size: 1.1rem; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7ef0a8;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d77a;
  animation: live 1.6s infinite;
}

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(52, 215, 122, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(52, 215, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 215, 122, 0); }
}

.legend {
  display: flex;
  gap: 16px;
  margin: 12px 0 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.lg::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 0;
}

.lg.bad::before { background: #e5484d; }
.lg.warn::before { background: #f5a524; }
.lg.good::before { background: #2f7cf6; }

.gauge {
  margin-top: 12px;
  padding: 14px 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.g-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.g-name { font-weight: 700; font-size: 0.95rem; }

.g-val {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  background: #2f7cf6;
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.g-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  height: 8px;
  margin-top: 12px;
}

.g-bar i { border-radius: 4px; }
.g-bar i:nth-child(1), .g-bar i:nth-child(5) { background: #e5484d; }
.g-bar i:nth-child(2), .g-bar i:nth-child(4) { background: #f5a524; }
.g-bar i:nth-child(3) { background: #2f7cf6; }

.g-mark {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid #2f7cf6;
  box-shadow: 0 2px 8px rgba(11, 27, 43, 0.3);
  transition: left 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.panel-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.motto {
  width: min(900px, 100%);
  margin: clamp(56px, 8vw, 96px) auto 0;
  text-align: center;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--white);
}

.motto::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #5fd0ff);
}

/* CONTACTS */
.contacts {
  background: var(--ink);
  padding: clamp(40px, 6vw, 80px) 20px clamp(56px, 8vw, 96px);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contacts h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.contacts-lead { margin-top: 8px; }

.c-grid {
  width: min(1080px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.c-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.c-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(95, 208, 255, 0.4);
  transform: translateY(-3px);
}

.c-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  margin-bottom: 6px;
}

.c-icon.wa { background: #25d366; }
.c-icon svg { width: 24px; height: 24px; }

.c-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.c-card a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.c-card a:hover { color: #5fd0ff; }

/* FOOTER */
.footer {
  background: #07121e;
  color: rgba(255, 255, 255, 0.6);
  padding: 24px 20px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.footer a:hover { color: #5fd0ff; }

.insta-sm { display: inline-flex; align-items: center; gap: 8px; }
.insta-sm svg { width: 18px; height: 18px; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .tech-inner { grid-template-columns: 1fr; }
  .panel { width: min(440px, 100%); margin: 0 auto; }
  .c-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .hero { padding-bottom: 130px; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .services li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .services li svg { grid-row: span 2; }
  .services h2 { margin-top: 0; }
  .services p { margin-top: 2px; }
  .email-copy { padding: 0 14px 0 16px; font-size: 0.95rem; }
  .cta-row { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .cta-row a { justify-content: center; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .footer { padding-bottom: 90px; }
  .c-grid { grid-template-columns: 1fr; }
  .c-card { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; column-gap: 14px; padding: 18px; }
  .c-card .c-icon { margin: 0; grid-row: span 2; }
  .c-card h3 { flex: 1; }
  .c-card a { flex-basis: 100%; padding-left: 62px; margin-top: -4px; }
  .panel { padding: 18px 14px 12px; }
  .gauge { padding: 12px 14px 16px; }
  .motto { font-size: 1.35rem; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.08em; padding: 7px 14px; white-space: nowrap; gap: 8px; }
  .rotator { display: grid; justify-items: center; }
  .rotator .word { text-align: center; }
  .brand { width: min(300px, 76vw); margin-bottom: 44px; }
  .footer { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rotator .word { opacity: 0; }
  .rotator .word.is-active { opacity: 1; transform: none; filter: none; }
}
