:root {
    --green-deep:   #0d2e0d;
    --green-forest: #1a4d1a;
    --green-mid:    #2e7d32;
    --green-bright: #5dba1e;
    --green-lime:   #8eff47;
    --green-neon:   #b6ff4a;
    --off-white:    #eef6e8;
    --cream:        #d8edcc;
    --dark:         #080f08;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--off-white);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── HERO ─────────────────────────────────────────────── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 30%, #0a2a09 0%, var(--dark) 70%);
  }

  /* animated noise texture */
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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='1'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
  }

  /* floating particles */
  .particles { position: absolute; inset: 0; pointer-events: none; }
  .particle {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--green-lime);
    opacity: 0;
    animation: float-up linear infinite;
  }
  @keyframes float-up {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-20px) scale(1.5); opacity: 0; }
  }

  /* hero content */
  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .hero-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-label::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--green-bright);
  }

  .hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(5rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--off-white);
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
  }
  .hero-title span {
    color: var(--green-lime);
    display: block;
  }

  .hero-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-top: 8px;
    opacity: 0;
    animation: fadeUp 0.8s 0.55s forwards;
  }

  .hero-desc {
    margin-top: 32px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--cream);
    max-width: 480px;
    border-left: 2px solid var(--green-bright);
    padding-left: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
  }

  .hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
    opacity: 0;
    animation: fadeUp 0.8s 0.85s forwards;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(93,186,30,0.35);
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--green-bright);
    background: rgba(93,186,30,0.07);
  }
  .badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green-lime);
    animation: pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
  }

  /* right: big screenshot */
  .hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeLeft 0.9s 0.6s forwards;
  }
  .hero-visual img {
    width: 100%;
    border-radius: 4px;
    display: block;
    filter: brightness(0.9) saturate(1.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(93,186,30,0.2);
  }
  .visual-frame {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(93,186,30,0.15);
    border-radius: 6px;
    pointer-events: none;
  }
  .visual-corner {
    position: absolute;
    width: 16px; height: 16px;
    border-color: var(--green-bright);
    border-style: solid;
  }
  .visual-corner.tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
  .visual-corner.tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
  .visual-corner.bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; }
  .visual-corner.br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

  /* ── CITYSCAPE DIVIDER ────────────────────────────────── */
  .skyline-wrapper {
    position: relative;
    margin-top: -2px;
    line-height: 0;
    overflow: hidden;
  }
  .skyline-wrapper svg { width: 100%; display: block; }

  /* ── RELEASE BAND ─────────────────────────────────────── */
  .release-band {
    background: var(--green-forest);
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(142,255,71,0.15);
    border-bottom: 1px solid rgba(142,255,71,0.15);
  }
  .release-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .version-pill {
    background: var(--green-lime);
    color: var(--dark);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 2px;
  }
  .release-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--cream);
  }
  .release-text em {
    color: var(--green-lime);
    font-style: normal;
  }
  .virus-links {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--green-bright);
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .virus-links a { color: var(--green-lime); text-decoration: none; border-bottom: 1px solid rgba(142,255,71,0.3); }
  .virus-links a:hover { border-color: var(--green-lime); }

  /* ── MAIN CONTENT ─────────────────────────────────────── */
  .content-section {
    background: linear-gradient(180deg, #0e260e 0%, #0a1a0a 100%);
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
  }

  /* video */
  .video-wrap {
    position: relative;
  }
  .video-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .video-label::before {
    content: '';
    display: block; width: 20px; height: 1px;
    background: var(--green-bright);
  }
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(93,186,30,0.2);
  }
  .video-container iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }
  .video-caption {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--green-mid);
    font-style: italic;
  }

  /* download panel */
  .dl-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .dl-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--off-white);
    margin-bottom: 6px;
  }
  .dl-section-title span { color: var(--green-lime); }
  .dl-formerly {
    font-size: 0.8rem;
    color: var(--green-mid);
    font-style: italic;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
  }

  .dl-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--cream);
    margin-bottom: 36px;
    opacity: 0.85;
  }

  .dl-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.12em;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .btn::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.06);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .btn:hover::after { opacity: 1; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }

  .btn-free {
    background: var(--green-lime);
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(142,255,71,0.25);
  }
  .btn-free:hover { box-shadow: 0 12px 40px rgba(142,255,71,0.4); }

  .btn-paid {
    background: transparent;
    color: var(--green-lime);
    border: 1px solid rgba(142,255,71,0.5);
    box-shadow: inset 0 0 30px rgba(142,255,71,0.04);
  }
  .btn-paid:hover {
    background: rgba(142,255,71,0.06);
    border-color: var(--green-lime);
    box-shadow: 0 8px 30px rgba(142,255,71,0.15);
  }

  .btn-icon {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s;
  }
  .btn:hover .btn-arrow { transform: translateX(4px); }

  .btn-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    font-weight: 400;
  }

  /* ── ANIMATIONS ───────────────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }

  /* ── RESPONSIVE ───────────────────────────────────────── */
  @media (max-width: 900px) {
    .hero-inner, .two-col { grid-template-columns: 1fr; gap: 48px; }
    .hero-inner { padding: 80px 30px 40px; }
    .hero-visual { order: -1; }
    .content-section, .features-section { padding: 60px 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .release-band { padding: 16px 30px; }
  }

  /* Overlay */
    .overlay-pop {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      display: none; /* caché par défaut */
      justify-content: center;
      align-items: flex-start;
      overflow-y: auto; /* scroll si contenu long */
      padding: 40px 20px;
      z-index: 9999;
    }

    /* Pop-up box */
    .popup {
      background: #0d121d;
      padding: 30px;
      border-radius: 8px;
      max-width: 900px;
      width: 100%;
      box-shadow: 0 0 15px rgba(0,0,0,0.4);
    }

    .close-btn-pop {
      display: inline-block;
      margin-top: 20px;
      padding: 8px 18px;
      background: #0d121d;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .terms-header-pop {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 8px;
            color:#fff;
        }

        .terms-version-pop {
            font-size: 11px;
            color: #b3b3b3;
            margin-bottom: 20px;
        }

        .terms-content-pop {
            font-size: 11px;
            line-height: 1.9;
            text-align: justify;
            color:#fff;
        }

        .download-subtitle-pop {
            font-size: 12px;
            color: #fff;
            margin-bottom: 5px;
        }

        .download-subtitle-pop a {
            color: #fa5bdf;
            text-decoration: none;
        }

        .requires-text-pop {
            font-size: 13px;
            margin: 20px 0;
        }

        .requires-text-pop a {
            color: #fa5bdf;
            text-decoration: underline;
        }