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

  :root {
    --bg: #080810;
    --surface: #0f0f18;
    --border: rgba(255,255,255,0.07);
    --accent: #d62976;
    --accent2: #fa7e1e;
    --accent3: #833ab4;
    --ig-grad: linear-gradient(135deg, #833ab4, #d62976, #fa7e1e);
    --ig-grad-subtle: linear-gradient(135deg, rgba(131,58,180,0.15), rgba(214,41,118,0.15), rgba(250,126,30,0.15));
    --text: #f0f0f0;
    --muted: #60607a;
    --card-bg: #13131e;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Geist', sans-serif;
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
  }

  /* Custom cursor */
  .cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: var(--ig-grad);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(214,41,118,0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.12s ease, top 0.12s ease;
  }
  body:has(a:hover) .cursor, body:has(button:hover) .cursor { width: 20px; height: 20px; }

  /* Grain */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 100;
    opacity: 0.4;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s, padding 0.3s;
  }
  nav.scrolled {
    background: rgba(8,8,16,0.9);
    backdrop-filter: blur(20px);
    border-color: var(--border);
    padding: 16px 48px;
  }
  .logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text);
  }
  .logo-dot { color: #e8608a; }
  .nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: none;
    transition: color 0.2s;
  }
  .nav-back:hover { color: var(--text); }

  /* BG glows */
  .bg-wrap {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
  }
  .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: glow-pulse 7s ease-in-out infinite;
  }
  .glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #833ab4, transparent);
    opacity: 0.1;
    top: -200px; right: -200px;
  }
  .glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #fa7e1e, transparent);
    opacity: 0.08;
    bottom: -100px; left: -100px;
    animation-delay: 3.5s;
  }
  .glow-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #d62976, transparent);
    opacity: 0.07;
    top: 40%; left: 40%;
    animation-delay: 1.5s;
  }
  @keyframes glow-pulse {
    0%, 100% { opacity: 0.07; transform: scale(1); }
    50% { opacity: 0.13; transform: scale(1.1); }
  }

  .grid-lines {
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* PAGE */
  .page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
  }

  /* TOP TAG */
  .page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e8608a;
    background: rgba(214,41,118,0.08);
    border: 1px solid rgba(214,41,118,0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fade-up 0.7s ease both;
  }
  .tag-dot {
    width: 5px; height: 5px;
    background: var(--ig-grad);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

  /* HEADLINE */
  .dl-title {
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.0;
    text-align: center;
    margin-bottom: 20px;
    animation: fade-up 0.7s 0.1s ease both;
  }
  .dl-title em {
    font-style: normal;
    font-weight: 300;
    letter-spacing: -2px;
    background: var(--ig-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .dl-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    text-align: center;
    max-width: 480px;
    margin-bottom: 56px;
    animation: fade-up 0.7s 0.2s ease both;
  }

  /* DOWNLOAD CARDS */
  .dl-options {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    animation: fade-up 0.7s 0.3s ease both;
    flex-wrap: wrap;
    justify-content: center;
  }

  .dl-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: none;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-width: 220px;
  }
  .dl-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ig-grad-subtle);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .dl-card:hover {
    border-color: rgba(214,41,118,0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(131,58,180,0.2);
  }
  .dl-card:hover::before { opacity: 1; }

  .dl-card-icon {
    font-size: 36px;
    position: relative;
    z-index: 1;
    line-height: 1;
  }
  .dl-card-text {
    position: relative;
    z-index: 1;
  }
  .dl-card-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .dl-card-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  .dl-card-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* Primary card gets gradient border */
  .dl-card.primary {
    border-color: rgba(214,41,118,0.3);
    background: linear-gradient(135deg, rgba(131,58,180,0.08), rgba(214,41,118,0.08));
  }

  /* DIVIDER */
  .dl-divider {
    width: 100%;
    max-width: 560px;
    height: 1px;
    background: var(--border);
    margin-bottom: 48px;
    animation: fade-up 0.7s 0.4s ease both;
  }

  /* VERSION INFO */
  .dl-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 64px;
    animation: fade-up 0.7s 0.45s ease both;
    flex-wrap: wrap;
    justify-content: center;
  }
  .dl-meta-item {
    text-align: center;
  }
  .dl-meta-value {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
  }
  .dl-meta-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.03em;
  }

  /* STEPS */
  .dl-steps {
    max-width: 680px;
    width: 100%;
    animation: fade-up 0.7s 0.5s ease both;
  }
  .dl-steps-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    margin-bottom: 28px;
  }
  .dl-step-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .dl-step {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color 0.2s;
  }
  .dl-step:first-child { border-radius: 16px 16px 0 0; }
  .dl-step:last-child  { border-radius: 0 0 16px 16px; }
  .dl-step:hover { border-color: rgba(214,41,118,0.2); }

  .dl-step-num {
    font-size: 13px;
    font-weight: 800;
    background: var(--ig-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 20px;
  }
  .dl-step-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
  }
  .dl-step-text strong {
    color: var(--text);
    font-weight: 600;
  }

  /* FOOTER NOTE */
  .dl-note {
    margin-top: 48px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.8;
    animation: fade-up 0.7s 0.6s ease both;
  }
  .dl-note a { color: #e8608a; text-decoration: none; }
  .dl-note a:hover { text-decoration: underline; }

  /* FOOTER */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
  }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--text); }

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

  @media (max-width: 700px) {
    nav { padding: 18px 24px; }
    .dl-title { letter-spacing: -2px; }
    .dl-options { flex-direction: column; align-items: stretch; }
    .dl-meta { gap: 24px; }
    footer { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
  }

  footer > div {
    min-width: 20%;
}

footer > div:nth-child(2) {
    display: flex;
    justify-content: center;
}
footer > div:nth-child(3) {
    display: flex;
    justify-content: right;
}