/* ═══════════════════════════════════════
   EXE9 — Shared Stylesheet
   style.css
   ═══════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #39c49f;
  --navy:       #001130;
  --dark:       #191919;
  --darker:     #0e0e0e;
  --green-dim:  rgba(57,196,159,0.12);
  --green-glow: rgba(57,196,159,0.35);
  --font-main:  'Consolas', 'Courier New', monospace;
  --font-fancy: 'Fredoka', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--darker);
  color: #d4e8e0;
  font-family: var(--font-main);
  overflow-x: hidden;
  cursor: default;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  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.025;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(14,14,14,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(57,196,159,0.1);
  transition: background 0.3s;
}

.download {
  color: rgb(0, 255, 30);
  font-weight: bolder;
}


.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 67px;
  width: auto;
  filter: drop-shadow(0 0 6px var(--green-glow));
}

.nav-logo span {
  font-family: var(--font-fancy);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: #8ab8a8;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active {
  color: var(--green);
}
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--green);
  color: var(--darker) !important;
  padding: 7px 18px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #4fdbb3 !important;
  box-shadow: 0 0 18px var(--green-glow);
}

/* ── SECTIONS SHARED ── */
section { padding: 100px 48px; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  opacity: 0.8;
}

h2.section-title {
  font-family: var(--font-fancy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #e8f5f0;
  margin-bottom: 20px;
  line-height: 1.15;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green);
  color: var(--darker);
  border: none;
  padding: 13px 30px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: box-shadow 0.25s, background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #4fdbb3;
  box-shadow: 0 0 28px var(--green-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(57,196,159,0.45);
  padding: 13px 30px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  background: var(--green-dim);
  border-color: var(--green);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(57,196,159,0.08);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--darker);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 26px;
  filter: drop-shadow(0 0 4px var(--green-glow));
  opacity: 0.7;
}

.footer-logo span {
  font-family: var(--font-fancy);
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a6a58;
}

footer p {
  font-size: 0.72rem;
  color: #2a4a40;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.milolpdev {
  color: #39c49f;
}

.footer-links a {
  font-size: 0.72rem;
  color: #2a5a48;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,196,159,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(57,196,159,0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE HERO BANNER (for inner pages) ── */
.page-hero {
  padding: 140px 48px 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(57,196,159,0.08);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,196,159,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,196,159,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 100% at 30% 50%, black, transparent);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-fancy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #e8f5f0;
  line-height: 1.1;
  margin-bottom: 14px;
  animation: fadeUp 0.7s ease both;
}

.page-hero h1 span { color: var(--green); }

.page-hero p {
  font-size: 0.92rem;
  color: #5a8a78;
  max-width: 560px;
  line-height: 1.75;
  animation: fadeUp 0.7s 0.1s ease both;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
  section { padding: 70px 24px; }
  .page-hero { padding: 120px 24px 48px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
}
