:root {
  --brand-blue: #0a3d62;
  --brand-blue-deep: #05213a;
  --brand-orange: #f39c12;
  --ink: #e6f1ff;
  --text-muted: #b6c9df;
  --bg: #f7f9fc;
  --surface: rgba(10, 23, 38, 0.84);
  --border: rgba(142, 176, 212, 0.28);
  --radius: 34px;
  --shadow: 0 16px 44px rgba(0, 8, 18, 0.46);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(92, 204, 255, 0.16) 0%, rgba(58, 120, 175, 0.04) 42%, transparent 60%),
    radial-gradient(circle at 80% 18%, rgba(121, 88, 255, 0.14) 0%, rgba(60, 40, 129, 0.03) 40%, transparent 58%),
    linear-gradient(135deg, #060d17 0%, #0b1728 42%, #102945 100%);
  background-size: 180% 180%;
  animation: bgShift 8s ease-in-out infinite alternate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 58vmax;
  height: 58vmax;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.68;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -26vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(69, 145, 207, 0.5), rgba(10, 33, 58, 0));
  animation: driftA 8s ease-in-out infinite alternate;
}

body::after {
  right: -18vmax;
  bottom: -28vmax;
  background: radial-gradient(circle, rgba(238, 146, 15, 0.45), rgba(78, 40, 4, 0));
  animation: driftB 9s ease-in-out infinite alternate;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(130, 214, 255, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 65%, rgba(170, 154, 255, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 45% 85%, rgba(130, 214, 255, 0.16) 0 2px, transparent 3px);
  background-size: 280px 280px, 340px 340px, 300px 300px;
  animation: particleDrift 18s linear infinite;
}

html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(114, 203, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 203, 255, 0.25) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mix-blend-mode: screen;
  animation: gridDrift 14s linear infinite;
}

@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(90px, 55px, 0) scale(1.2); }
}

@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-88px, -60px, 0) scale(1.22); }
}

@keyframes bgShift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

@keyframes particleDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-120px, -90px, 0); }
}

@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(48px, 24px, 0); }
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -150px;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(124, 219, 255, 0.18) 0%,
    rgba(124, 219, 255, 0.05) 35%,
    rgba(124, 219, 255, 0) 100%
  );
  transform: translateY(-220px);
  animation: scanSweep 14s ease-in-out infinite;
}

@keyframes scanSweep {
  0%, 25% { transform: translateY(-220px); opacity: 0; }
  35% { opacity: 1; }
  55% { transform: translateY(95vh); opacity: 0.55; }
  100% { transform: translateY(95vh); opacity: 0; }
}

body > * {
  position: relative;
  z-index: 1;
}

.hero,
.section,
.site-footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 30%, rgba(16, 39, 62, 0.96), rgba(8, 22, 38, 0.98)),
    linear-gradient(135deg, rgba(40, 126, 201, 0.14), rgba(243, 156, 18, 0.15));
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader__orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 4px solid rgba(10, 61, 98, 0.18);
  border-top-color: var(--brand-blue);
  border-right-color: var(--brand-orange);
  animation: loaderSpin 1s linear infinite;
}

.page-loader__text {
  font-weight: 700;
  color: #d7ebff;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

a {
  color: #9cc8ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 18, 30, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 172, 208, 0.24);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(10, 61, 98, 0.14);
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-3deg) scale(1.04);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.05;
  color: #f1f7ff;
  text-transform: none !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: #e6f1ff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav a.active,
.nav a:hover {
  background: rgba(100, 160, 221, 0.24);
  text-decoration: none;
  transform: translateY(-1px);
}

.social-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(140, 175, 210, 0.35);
  background-color: rgba(14, 31, 49, 0.92);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(8, 36, 61, 0.15);
  border-color: #7fb0df;
}

.social-icon-linkedin {
  background-image: url("assets/icon-linkedin.svg");
}

.social-icon-instagram {
  background-image: url("assets/icon-instagram.svg");
}

.social-icon-facebook {
  background-image: url("assets/icon-facebook.svg");
}

.cta-btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), #e78100);
  color: #1e1404;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 12px 20px;
  box-shadow: 0 8px 22px rgba(243, 156, 18, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.cta-btn:hover {
  text-decoration: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(243, 156, 18, 0.42);
  filter: saturate(1.05);
}

.hero {
  padding: 88px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(105, 167, 228, 0.18);
  color: #cbe6ff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.lead {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.hero-card,
.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(8, 36, 61, 0.18);
}

.hero-card img {
  width: 100%;
  display: block;
  border-radius: 36px;
  object-fit: cover;
  max-height: 420px;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.hero-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.05) saturate(1.03);
}

.section {
  padding: 30px 0 70px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(8, 36, 61, 0.18);
}

.card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.coming-soon-panel {
  padding: 28px;
}

.feedback-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feedback-card {
  background: rgba(12, 28, 44, 0.84);
  border: 1px dashed rgba(143, 176, 210, 0.36);
  border-radius: 30px;
  padding: 14px;
  min-width: 280px;
}

.testimonial-marquee {
  margin-top: 20px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 24s linear infinite;
}

.testimonial-set {
  display: flex;
  gap: 14px;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-photo {
  width: 100%;
  height: 220px;
  border-radius: 34px;
  margin-bottom: 16px;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  border: 1px solid #d7e3ef;
  transition: transform 0.45s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.team-photo-lara {
  aspect-ratio: 1 / 1;
  height: auto;
  object-position: center 18%;
}

.team-photo-yen {
  aspect-ratio: 1 / 1;
  height: auto;
  object-position: center 22%;
}

.card:hover .team-photo {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(8, 36, 61, 0.16);
  filter: saturate(1.04);
}

.role {
  display: inline-block;
  background: rgba(243, 156, 18, 0.16);
  color: #ffd79c;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-list {
  line-height: 1.85;
  color: var(--text-muted);
}

.contact-form {
  padding: 20px;
}

.map-wrap {
  margin-top: 14px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(132, 166, 200, 0.3);
}

.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

.consent-gated {
  position: relative;
}

.consent-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 18px;
  background: rgba(6, 16, 28, 0.9);
  color: #d9ecff;
}

.consent-lock .small {
  margin: 0;
}

.consent-gated.is-consented .consent-lock {
  display: none;
}

.field {
  display: block;
  margin-bottom: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(135, 170, 205, 0.35);
  background: rgba(9, 22, 36, 0.78);
  color: var(--ink);
  border-radius: 24px;
  font: inherit;
}

.field textarea {
  border-radius: 28px;
}

.field input[type="checkbox"],
.field input[type="radio"] {
  width: auto;
  margin-right: 8px;
  accent-color: #2c6da4;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8ea7c2;
}

.site-footer {
  border-top: 1px solid rgba(134, 168, 202, 0.24);
  background: rgba(8, 18, 30, 0.9);
  padding: 28px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

.small {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 177, 213, 0.4);
  background: rgba(28, 109, 176, 0.22);
  color: #e9f5ff;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.footer-cta-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(44, 127, 196, 0.34);
  box-shadow: 0 8px 18px rgba(0, 8, 18, 0.28);
}

.social-footer a {
  white-space: nowrap;
}

.social-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 24px));
  padding: 16px;
  border-radius: 30px;
  border: 1px solid rgba(138, 174, 210, 0.34);
  background: rgba(9, 20, 34, 0.96);
  box-shadow: 0 14px 30px rgba(7, 31, 53, 0.22);
  z-index: 1000;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.cookie-btn {
  flex: 1;
  border: 1px solid rgba(131, 167, 202, 0.35);
  background: rgba(16, 34, 53, 0.95);
  color: #e6f1ff;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn.primary {
  background: #2c6da4;
  color: #fff;
  border-color: #2c6da4;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .proof-grid,
  .team-grid,
  .contact-grid,
  .footer-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 66px 0 36px;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
  }

  .nav {
    width: 100%;
    gap: 8px;
  }

  .nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    border: 1px solid rgba(128, 163, 197, 0.35);
    background: rgba(12, 28, 44, 0.85);
  }

  .social-nav {
    width: 100%;
    justify-content: center;
  }

  .team-photo {
    height: 180px;
  }

  .cookie-banner {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
  }

  .testimonial-track {
    animation-duration: 32s;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1120px, 94vw);
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .nav a {
    flex-basis: 100%;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }

  .hero-card img {
    max-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .hero,
  .section,
  .site-footer {
    opacity: 1;
    transform: none;
  }
}
