/* ============================================================
   SAS42 Productions — Global Styles
   ============================================================ */

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

:root {
  --blue-deep:    #051829;
  --blue-mid:     #0a2540;
  --blue-rich:    #0e3460;
  --blue-accent:  #1a6aff;
  --blue-glow:    #3d8bff;
  --white:        #ffffff;
  --white-alpha:  rgba(255, 255, 255, 0.08);
  --white-dim:    rgba(255, 255, 255, 0.5);
  --white-muted:  rgba(255, 255, 255, 0.35);
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--blue-deep);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ── Background ambient orbs ─────────────────────────────── */

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(26, 106, 255, 0.18) 0%, transparent 70%);
  animation-duration: 14s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.14) 0%, transparent 70%);
  animation-duration: 10s;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(26, 106, 255, 0.07) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -7s;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.06); }
}

.orb-3 {
  animation-name: orb-pulse;
}

@keyframes orb-pulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* ── Layout ──────────────────────────────────────────────── */

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 48px 24px;
  text-align: center;
  flex: 1;
  justify-content: center;
}

/* ── Hero / Wordmark ─────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fade-up 0.8s ease both;
}

.wordmark {
  font-size: clamp(72px, 14vw, 120px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  user-select: none;
}

.wordmark-sas {
  color: var(--white);
}

.wordmark-num {
  color: var(--blue-glow);
}

.company-name {
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.divider {
  margin-top: 24px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
  border-radius: 2px;
}

/* ── Product Card ────────────────────────────────────────── */

.products {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  animation: fade-up 0.8s 0.15s ease both;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white-alpha);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(61, 139, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 106, 255, 0.2);
}

.product-card:active {
  transform: translateY(0);
}

.product-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-icon-fallback {
  color: var(--blue-glow);
  font-size: 22px;
  align-items: center;
  justify-content: center;
}

.product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 2px;
}

.product-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-tagline {
  font-size: 13px;
  color: var(--white-muted);
  font-weight: 400;
}

.product-arrow {
  color: var(--white-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.product-card:hover .product-arrow {
  color: var(--blue-glow);
  transform: translateX(3px);
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 24px 32px;
  font-size: 13px;
  color: var(--white-muted);
  animation: fade-up 0.8s 0.3s ease both;
}

.footer-sep {
  opacity: 0.4;
}

.footer-link {
  color: var(--white-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--white);
}

/* ── Animations ──────────────────────────────────────────── */

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

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 480px) {
  .wordmark {
    letter-spacing: -1px;
  }

  .company-name {
    letter-spacing: 0.15em;
  }
}
