/* VENUS public site — home / downloads. Same dark-navy palette and light
   animations as the code page (static backdrop, transform-only motion). */
:root {
  --bg-0: #030816; --bg-1: #071233;
  --card-a: rgba(14, 30, 78, 0.80); --card-b: rgba(6, 14, 40, 0.92);
  --line: rgba(120, 165, 255, 0.16); --line-hi: rgba(140, 185, 255, 0.45);
  --blue-2: #3b82f6; --blue-3: #7cb4ff; --ice: #cfe2ff; --silver: #e6edf8;
  --gold: #e8c77a; --text: #f2f6ff; --muted: #93a6cc;
  --grad-btn: linear-gradient(135deg, #2f6bff 0%, #1d3fbf 55%, #142a8a 100%);
  --grad-text: linear-gradient(135deg, #ffffff 0%, #bcd6ff 45%, #7cb4ff 100%);
  --orange: linear-gradient(135deg, #ff9a2e 0%, #f26b0f 55%, #d14f00 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg-0); }
html, body { height: 100%; }
body {
  color: var(--text); font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow: hidden;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
}
/* Very short screens: allow scrolling rather than cut content */
@media (max-height: 560px), (max-width: 340px) { body { overflow: auto; } }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; transform: translateZ(0);
  background-image:
    radial-gradient(1100px 700px at 85% -10%, rgba(59,130,246,.28), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(30,79,216,.30), transparent 60%),
    radial-gradient(700px 500px at 50% 45%, rgba(59,130,246,.07), transparent 70%),
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 32%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 78%, rgba(180,210,255,.45), transparent 60%),
    radial-gradient(1px 1px at 88% 70%, rgba(255,255,255,.30), transparent 60%),
    radial-gradient(1px 1px at 26% 56%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(1.2px 1.2px at 58% 10%, rgba(180,210,255,.40), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 70%);
}
main.page {
  position: relative; z-index: 1; flex: 1; min-height: 0;
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px 22px;
  display: flex; align-items: center;
}
.foot { position: relative; z-index: 1; text-align: center; color: rgba(147,166,204,.55); font-size: 12px; padding: 0 0 12px; }

/* Entrance + float (transform / opacity only) */
.rise { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .42s; } .d5 { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.float { animation: float 6s ease-in-out infinite; will-change: transform; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .rise, .float { animation: none; opacity: 1; transform: none; } }

/* Shared text */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(59,130,246,.12); border: 1px solid rgba(124,180,255,.3);
  color: var(--ice); font-size: 13px; font-weight: 700; letter-spacing: .3px;
}
.eyebrow svg { width: 16px; height: 16px; }
.title { font-weight: 900; line-height: 1.12; letter-spacing: -.5px; }
.title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); line-height: 1.9; }
.lead b { color: var(--silver); font-weight: 700; }

/* Primary button with the light sweep */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border-radius: 18px; text-decoration: none; cursor: pointer; border: 1px solid rgba(150,190,255,.45);
  background: var(--grad-btn); color: #fff; font-family: inherit; font-size: 17px; font-weight: 900; letter-spacing: .3px;
  box-shadow: 0 16px 36px rgba(30,79,216,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s, filter .2s;
}
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-160%) skewX(-20deg); animation: sweep 3.2s ease-in-out infinite; will-change: transform;
}
@keyframes sweep { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
@media (prefers-reduced-motion: reduce) { .btn::after { display: none; } }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn.orange { background: var(--orange); border-color: rgba(255,190,130,.55); box-shadow: 0 16px 36px rgba(242,107,15,.38), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.disabled { opacity: .55; pointer-events: none; }
