/* ===== Reset & Base (Mobile-first) ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #e8edf2;
  background: #0c1a26;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Animations ===== */
@keyframes gz-sway {
  0%   { transform: translateX(-4%) skewX(-7deg); opacity: 0.5; }
  50%  { transform: translateX(4%)  skewX(-3deg); opacity: 0.85; }
  100% { transform: translateX(-4%) skewX(-7deg); opacity: 0.5; }
}

@keyframes gz-cue {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@keyframes gz-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Page wrapper ===== */
.page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(125% 85% at 50% -12%,
    #162e42 0%,
    #0f2233 32%,
    #0c1b2a 66%,
    #091520 100%
  );
  overflow: hidden;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 80px;
  text-align: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Light rays */
.hero__rays {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  height: 90%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero__ray {
  position: absolute;
  top: -20%;
  height: 130%;
  filter: blur(14px);
  transform-origin: top center;
}

.hero__ray--1 {
  left: 18%;
  width: 60px;
  background: linear-gradient(to bottom, rgba(160, 210, 235, 0.16), transparent 75%);
  animation: gz-sway 11s ease-in-out infinite;
}

.hero__ray--2 {
  left: 44%;
  width: 90px;
  background: linear-gradient(to bottom, rgba(160, 210, 235, 0.12), transparent 78%);
  filter: blur(20px);
  animation: gz-sway 14s ease-in-out infinite 1.5s;
}

.hero__ray--3 {
  left: 70%;
  width: 50px;
  background: linear-gradient(to bottom, rgba(160, 210, 235, 0.14), transparent 72%);
  filter: blur(12px);
  animation: gz-sway 9s ease-in-out infinite 0.8s;
}

/* Vignette overlay */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 70% at 50% 35%, transparent 45%, rgba(8, 16, 28, 0.55) 100%);
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 760px;
  width: 100%;
}

.hero__logo {
  width: 140px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 34px rgba(90, 160, 200, 0.45));
}

.hero__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #6db8d8;
}

.hero__title {
  font-size: clamp(32px, 9vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.94;
  color: #eaf4fa;
}

.hero__subtitle {
  font-size: clamp(17px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #c0d4e2;
}

.hero__description {
  max-width: 540px;
  font-size: 15px;
  line-height: 1.65;
  color: #8ea8be;
  text-wrap: pretty;
}

/* Scroll cue */
.hero__cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #7a9ab2;
  animation: gz-cue 2.4s ease-in-out infinite;
}

.hero__cue-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__cue-arrow {
  font-size: 16px;
  line-height: 1;
}

/* ===== Contact Section ===== */
.contact {
  position: relative;
  z-index: 2;
  padding: 64px 16px 40px;
  border-top: 1px solid rgba(100, 140, 170, 0.18);
}

.contact__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.contact__title {
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #eaf4fa;
}

.contact__subtitle {
  font-size: 15px;
  color: #8ea8be;
  margin-bottom: 24px;
}

/* Contact cards grid - stacked on mobile */
.contact__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
  border: 1px solid rgba(100, 150, 185, 0.2);
  border-radius: 4px;
  background: rgba(70, 120, 160, 0.07);
  color: inherit;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.contact__card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6db8d8;
}

.contact__card-value {
  font-size: 18px;
  font-weight: 700;
  color: #eaf4fa;
}

.contact__card--email .contact__card-value {
  word-break: break-all;
}

/* ===== Footer ===== */
.site-footer {
  max-width: 980px;
  margin: 48px auto 0;
  padding: 20px 16px 24px;
  border-top: 1px solid rgba(100, 140, 170, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6a8da6;
  text-align: center;
}

.site-footer__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b0c8d8;
}

/* ===== Tablet+ (min-width: 600px) ===== */
@media (min-width: 600px) {
  .hero {
    padding: 64px 20px 104px;
  }

  .hero__logo {
    width: 180px;
  }

  .hero__badge {
    font-size: 13px;
  }

  .hero__content {
    gap: 30px;
  }

  .hero__description {
    font-size: 17px;
  }

  .hero__cue-text {
    font-size: 11px;
  }

  .hero__cue-arrow {
    font-size: 18px;
  }

  .hero__cue {
    bottom: 38px;
    gap: 8px;
  }

  .hero__ray--1 { width: 90px; }
  .hero__ray--2 { width: 140px; }
  .hero__ray--3 { width: 70px; }

  .contact {
    padding: 96px 24px 56px;
  }

  .contact__subtitle {
    font-size: 17px;
    margin-bottom: 36px;
  }

  .contact__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .contact__card {
    gap: 10px;
    padding: 26px 22px;
  }

  .contact__card-label {
    font-size: 12px;
  }

  .contact__card-value {
    font-size: 20px;
  }

  .site-footer {
    margin-top: 72px;
    padding-top: 26px;
    font-size: 13px;
    gap: 8px 18px;
  }
}

/* ===== Desktop (min-width: 900px) ===== */
@media (min-width: 900px) {
  .hero__logo {
    width: 196px;
  }
}

/* ===== Hover (pointer devices) ===== */
@media (hover: hover) {
  .contact__card:hover {
    border-color: rgba(109, 184, 216, 0.6);
    background: rgba(70, 130, 170, 0.14);
    transform: translateY(-3px);
  }
}

/* ===== Active state for touch ===== */
.contact__card:active {
  transform: scale(0.98);
}
