/* ═══════════════════════════════════════════════════════════
   FileZone — styles.css  |  Cyberpunk Neon-Green × Deep Space
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── ROOT VARIABLES (Night / Default) ── */
:root {
  --bg:      #03060d;
  --bg2:     #070d1a;
  --bg3:     #0a1225;
  --border:  rgba(0,255,136,.08);
  --border2: rgba(0,255,136,.22);
  --text:    #d4f5e2;
  --muted:   #4a7a60;
  --dim:     #1e3028;
  --green:   #00ff88;
  --green2:  #00cc6a;
  --cyan:    #00e5ff;
  --purple:  #a855f7;
  --amber:   #f59e0b;
  --red:     #ff3366;
  --glow:    rgba(0,255,136,.14);
  --glow-lg: rgba(0,255,136,.28);
  /* Aliases used by tool.css */
  --accent:   #00ff88;
  --accent2:  #00cc6a;
  --surface:  #070d1a;
  --surface2: #0a1225;
  --radius:   6px;
  --radius-lg:12px;
  --nav-h:    68px;
  --font-head: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-ui:   'DM Sans', 'Rajdhani', sans-serif;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .4s ease, color .3s ease;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,136,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.022) 1px, transparent 1px);
  background-size: 48px 48px;
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.04) 2px, rgba(0,0,0,.04) 4px);
}
#canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .28; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green2); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
.glow-text {
  color: var(--green);
  text-shadow: 0 0 28px rgba(0,255,136,.8), 0 0 56px rgba(0,255,136,.3);
}
.gradient-text {
  background: linear-gradient(90deg, var(--green), var(--cyan) 50%, var(--green));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
}
@keyframes gradShift { from { background-position: 0% } to { background-position: 200% } }

/* ── BUTTONS ── */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--muted);
  padding: .55rem 1.2rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--glow); }
.btn-primary {
  background: var(--green);
  color: #000;
  border: none;
  padding: .65rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 0 18px rgba(0,255,136,.3);
}
.btn-primary:hover { background: #00ffaa; box-shadow: 0 0 28px rgba(0,255,136,.6); transform: translateY(-1px); }
.btn-primary:active { transform: none; }
.btn-lg { padding: .8rem 2rem; font-size: .9rem; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  background: rgba(3,6,13,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
#navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: .3;
}
#navbar.scrolled { background: rgba(3,6,13,.97); border-bottom-color: var(--border2); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0;
}
.logo span { color: var(--green); text-shadow: 0 0 10px rgba(0,255,136,.5); }
.logo-icon {
  width: 32px; height: 32px;
  background: var(--green); color: #000;
  font-family: var(--font-head); font-weight: 900; font-size: .6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  clip-path: polygon(7px 0%, 100% 0%, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0% 100%, 0% 7px);
  box-shadow: 0 0 12px rgba(0,255,136,.4);
}
.nav-links { display: flex; align-items: center; gap: .15rem; margin-left: auto; }

/* ── DROPDOWN NAV ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  color: var(--text); opacity: .85;
  padding: .45rem .9rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; background: none;
  display: flex; align-items: center; gap: .35rem;
  transition: all .2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--green); border-color: var(--border); opacity: 1; }
.nav-dropdown-toggle .arrow { font-size: .55rem; transition: transform .2s; display: inline-block; }
.nav-dropdown:hover .arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: .5rem;
  min-width: 200px; z-index: 200;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .85rem; color: var(--muted);
  font-size: .82rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius);
  transition: all .15s; letter-spacing: .04em;
}
.dropdown-menu a:hover { color: var(--green); background: var(--glow); }
.dropdown-menu .dm-icon { font-size: 1rem; flex-shrink: 0; }
.dropdown-divider { height: 1px; background: var(--border); margin: .35rem .5rem; }
.dropdown-menu .dm-label {
  font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .14em; color: var(--dim);
  text-transform: uppercase; padding: .3rem .85rem .1rem;
}
.nav-cta {
  color: var(--green); border: 1px solid var(--green2);
  padding: .42rem 1rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
  text-decoration: none; display: inline-flex;
  align-items: center; gap: .35rem;
  box-shadow: 0 0 10px var(--glow); flex-shrink: 0;
}
.nav-cta:hover { background: var(--green); color: #000; box-shadow: 0 0 22px var(--glow-lg); }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 38px; height: 38px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--border2);
  border-radius: var(--radius); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: border-color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--green); background: var(--glow); }
.t-icon {
  position: absolute; font-size: 1.05rem; line-height: 1;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  pointer-events: none;
}
.t-sun  { transform: translateY(0);   opacity: 1; }
.t-moon { transform: translateY(30px); opacity: 0; }
body.day-mode .t-sun  { transform: translateY(-30px); opacity: 0; }
body.day-mode .t-moon { transform: translateY(0);     opacity: 1; }

/* ── HAMBURGER / MOBILE ── */
.hamburger {
  display: none; background: none;
  border: 1px solid var(--border2); color: var(--text);
  width: 38px; height: 38px; border-radius: var(--radius);
  cursor: pointer; margin-left: .5rem;
  font-size: 1.1rem; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--green); color: var(--green); }
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(3,6,13,.97); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px); padding: 1.25rem 2rem;
  z-index: 99; flex-direction: column; gap: .2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); padding: .6rem .8rem;
  font-size: .85rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  transition: all .15s; display: block; opacity: .85;
}
.mobile-menu a:hover { color: var(--green); background: var(--glow); opacity: 1; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; z-index: 2; padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(0,255,136,.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(0,229,255,.03) 0%, transparent 60%);
}
.hero::before {
  content: '';
  position: absolute; top: calc(var(--nav-h)+2rem); left: 2rem;
  width: 56px; height: 56px;
  border-top: 2px solid var(--green); border-left: 2px solid var(--green);
  opacity: .28; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border2); color: var(--green);
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .85rem; border-radius: 3px;
  margin-bottom: 1.5rem; background: rgba(0,255,136,.04);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -.02em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-sub { color: var(--muted); font-size: 1rem; max-width: 480px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-mono); font-size: 1.4rem; color: var(--green); }
.hero-stat-lbl { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* HUD Chips */
.hud-chip {
  position: absolute; background: rgba(3,6,13,.85);
  border: 1px solid var(--border2); border-radius: var(--radius);
  padding: .4rem .85rem; font-family: var(--font-mono);
  font-size: .65rem; letter-spacing: .08em; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
  z-index: 3; backdrop-filter: blur(8px);
  animation: chipFloat 6s ease-in-out infinite;
}
@keyframes chipFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; animation: dotPulse 2s ease-in-out infinite; }
.hud-amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
@keyframes dotPulse { 0%,100% { opacity:1 } 50% { opacity:.3 } }
.hud-c1 { top: 22%; right: 8%;  animation-delay: 0s; }
.hud-c2 { top: 35%; right: 4%;  animation-delay: 1.5s; }
.hud-c3 { bottom: 30%; right: 10%; animation-delay: 0.8s; }
.hud-c4 { bottom: 20%; right: 3%; animation-delay: 2.2s; }

/* Hero right grid */
.hero-right { position: relative; }
.hero-grid-label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .15em; color: var(--green); opacity: .7; margin-bottom: .75rem; }
.hero-tool-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; }
.htc {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .85rem .65rem;
  text-align: center; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  transition: all .22s; position: relative; overflow: hidden;
}
.htc::before { content:''; position:absolute; inset:0; background:var(--glow); opacity:0; transition:opacity .22s; }
.htc:hover { border-color: var(--green); transform: translateY(-3px); }
.htc:hover::before { opacity: 1; }
.htc-icon { font-size: 1.4rem; }
.htc-name { font-size: .6rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.htc-accent { background: rgba(0,255,136,.06); border-color: rgba(0,255,136,.2); }
.htc-accent .htc-name { color: var(--green); }
.hero-grid-footer { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; color: var(--muted); text-align: right; margin-top: .65rem; opacity: .6; }

/* ── FORMAT BAND ── */
.format-band {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: .9rem 0; background: var(--bg2);
}
.format-scroll { display: flex; gap: 2rem; animation: scrollLeft 30s linear infinite; white-space: nowrap; width: max-content; }
@keyframes scrollLeft { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.format-scroll span { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.format-scroll span:nth-child(3n) { color: var(--green); text-shadow: 0 0 8px rgba(0,255,136,.4); }

/* ── SECTIONS ── */
.section { position: relative; z-index: 2; padding: 5rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-label {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--green); margin-bottom: .85rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--green); box-shadow: 0 0 6px var(--green); }
.section-title {
  font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  color: var(--text); margin-bottom: .85rem;
}
.section-title span { color: var(--green); }
.section-sub { color: var(--muted); font-size: .95rem; max-width: 540px; line-height: 1.7; }

/* ── CATEGORY TABS ── */
.cat-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.cat-tab {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--muted); padding: .5rem 1.1rem;
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.cat-tab:hover { border-color: var(--border2); color: var(--text); }
.cat-tab.active { background: rgba(0,255,136,.08); border-color: var(--green); color: var(--green); }

/* ── TOOL CARDS ── */
.tools-panel { display: none; }
.tools-panel.active { display: grid; }
.tools-grid { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: .9rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.tool-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem;
  cursor: pointer; transition: all .25s;
  text-decoration: none; display: flex;
  flex-direction: column; gap: .3rem;
  position: relative; overflow: hidden;
  animation: fadeUp .4s ease both;
}
.tool-card-accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ac, var(--green)); opacity: 0; transition: opacity .25s; }
.tool-card:hover { border-color: rgba(255,255,255,.12); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.5), 0 0 18px var(--glow); }
.tool-card:hover .tool-card-accent { opacity: 1; }
.tool-card:hover .tool-arrow { color: var(--green); opacity: 1; }
.tool-icon { font-size: 1.85rem; display: block; margin-bottom: .65rem; }
.tool-name { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.tool-desc { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.tool-arrow { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .75rem; color: var(--dim); opacity: 0; transition: all .2s; }

/* ── FEATURES ── */
.feat-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feat-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.feat-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: border-color .2s; position: relative; overflow: hidden;
}
.feat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: 0; transition: opacity .25s; }
.feat-card:hover { border-color: var(--border2); }
.feat-card:hover::after { opacity: .5; }
.feat-card.feat-large { grid-row: span 2; display: flex; flex-direction: column; gap: 1.5rem; }
.feat-icon-wrap {
  width: 46px; height: 46px; background: rgba(0,255,136,.08);
  border: 1px solid var(--border2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.1rem;
}
.feat-title { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: .55rem; }
.feat-desc { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.feat-bars { margin-top: auto; display: flex; flex-direction: column; gap: .65rem; }
.fb-row { display: flex; align-items: center; gap: .75rem; font-size: .72rem; color: var(--muted); font-family: var(--font-mono); }
.fb-row > span:first-child { min-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-track { flex: 1; background: var(--bg2); border-radius: 2px; height: 5px; overflow: hidden; }
.fb-fill { height: 100%; background: var(--c, var(--green)); border-radius: 2px; animation: fillUp 1.5s ease both; transform-origin: left; }
@keyframes fillUp { from { width: 0 !important } to {} }
.fb-pct { color: var(--green); min-width: 32px; text-align: right; }
.fb-done { font-size: .68rem; color: var(--green); font-family: var(--font-mono); margin-top: .5rem; }

/* ── HOW IT WORKS ── */
.steps-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; max-width: 900px; margin: 3rem auto 0; }
.step-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  text-align: center; position: relative;
}
.step-card::before {
  content: attr(data-num); position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #000; font-family: var(--font-mono);
  font-size: .6rem; font-weight: 700; padding: .15rem .6rem; border-radius: 3px; letter-spacing: .08em;
}
.step-icon { font-size: 1.75rem; display: block; margin-bottom: .85rem; }
.step-title { font-family: var(--font-head); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-bottom: .4rem; }
.step-desc { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.step-arrow { color: var(--green); font-size: 1.2rem; opacity: .35; padding: 0 .75rem; }

/* ── PRIVACY BANNER ── */
.privacy-banner {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.privacy-banner::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, transparent, var(--green), transparent); }
.priv-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.priv-chip { background: rgba(0,255,136,.06); border: 1px solid var(--border2); color: var(--muted); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 3px; }

/* ── CTA ── */
.cta-section { position: relative; z-index: 2; padding: 5rem 2rem; }
.cta-box { background: var(--bg2); border: 1px solid var(--border2); border-radius: 18px; padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,255,136,.07) 0%, transparent 70%); pointer-events: none; }
.cta-label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.cta-title { font-family: var(--font-head); font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--text); margin-bottom: .85rem; line-height: 1.1; }
.cta-title span { color: var(--green); text-shadow: 0 0 24px rgba(0,255,136,.5); }
.cta-sub { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { position: relative; z-index: 2; background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 2rem 1.5rem; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .22; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-top: .85rem; }
.footer-chips { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-chip { background: var(--bg3); border: 1px solid var(--border); color: var(--muted); font-size: .68rem; font-family: var(--font-mono); letter-spacing: .08em; padding: .22rem .65rem; border-radius: 3px; }
.footer-col-title { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: var(--muted); font-size: .85rem; text-decoration: none; transition: color .15s; display: flex; align-items: center; gap: .35rem; }
.footer-links a:hover { color: var(--green); }
.footer-links a::before { content: '›'; color: var(--dim); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .06em; color: var(--dim); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--dim); font-size: .72rem; text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: var(--green); }

/* ── TOAST ── */
#toastContainer {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 9999; display: flex; flex-direction: column; gap: .5rem;
}
.toast {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: .8rem 1.1rem;
  font-size: .82rem; font-family: var(--font-body);
  max-width: 300px; color: var(--text);
  animation: toastIn .3s ease; box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
@keyframes toastIn { from { opacity:0; transform:translateX(20px) } to { opacity:1; transform:none } }
.toast-success { border-color: rgba(0,255,136,.3); color: var(--green); background: rgba(0,255,136,.04); }
.toast-error   { border-color: rgba(255,51,102,.3); color: var(--red); background: rgba(255,51,102,.04); }
.toast-info    { border-color: rgba(0,229,255,.3); color: var(--cyan); background: rgba(0,229,255,.04); }
.toast-warn    { border-color: rgba(245,158,11,.3); color: var(--amber); background: rgba(245,158,11,.04); }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.blog-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; display: block; transition: all .25s; }
.blog-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.blog-card-thumb { height: 140px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 3rem; border-bottom: 1px solid var(--border); }
.blog-card-body { padding: 1.25rem; }
.blog-tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .6rem; display: inline-block; }
.blog-card-title { font-family: var(--font-head); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--text); margin-bottom: .5rem; line-height: 1.35; }
.blog-card-excerpt { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: .62rem; color: var(--dim); }
.blog-card-meta .read-time { color: var(--green); }
.blog-post-wrap { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 3rem) 2rem 5rem; position: relative; z-index: 2; }
.blog-post-meta { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.blog-post-title { font-family: var(--font-head); font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--text); margin-bottom: 1.5rem; line-height: 1.1; }
.blog-post-body h2 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green); margin: 2rem 0 .75rem; }
.blog-post-body p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 1rem; }
.blog-post-body ul, .blog-post-body ol { color: var(--muted); font-size: .9rem; line-height: 1.8; padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post-body ul li::marker { color: var(--green); }
.blog-post-body .tip-box { background: var(--bg2); border: 1px solid var(--border2); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: .88rem; color: var(--text); line-height: 1.65; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; margin-top: 3rem; }
.contact-info-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-method { display: flex; align-items: flex-start; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.contact-method:last-child { border-bottom: none; }
.contact-method-icon { width: 38px; height: 38px; background: rgba(0,255,136,.08); border: 1px solid var(--border2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-method-label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: .2rem; }
.contact-method-val { font-size: .9rem; color: var(--text); font-weight: 600; }
.contact-method-sub { font-size: .76rem; color: var(--muted); margin-top: .1rem; }
.contact-form { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.cf-field { margin-bottom: 1.25rem; }
.cf-field label { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius); padding: .65rem .9rem; color: var(--text); font-family: var(--font-body); font-size: .9rem; transition: border-color .2s; outline: none; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--green); }
.cf-field textarea { resize: vertical; min-height: 120px; }

/* ── HOW-TO SECTION ── */
.howto-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.howto-title { font-family: var(--font-head); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: 1.25rem; }
.howto-steps { display: flex; flex-direction: column; gap: .75rem; }
.howto-step { display: flex; gap: 1rem; align-items: flex-start; }
.howto-num { width: 26px; height: 26px; background: var(--green); color: #000; font-family: var(--font-mono); font-size: .65rem; font-weight: 700; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem; }
.howto-step-text { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.howto-step-text strong { color: var(--text); font-weight: 700; }

/* ══════════════════════════════════════════
   DAY MODE OVERRIDES
   ══════════════════════════════════════════ */
body.day-mode {
  --bg:      #f3f4f6;
  --bg2:     #ffffff;
  --bg3:     #e9eaec;
  --border:  rgba(0,0,0,.07);
  --border2: rgba(0,0,0,.13);
  --text:    #111827;
  --muted:   #6b7280;
  --dim:     #9ca3af;
  --green:   #16a34a;
  --green2:  #15803d;
  --cyan:    #0284c7;
  --purple:  #7c3aed;
  --amber:   #b45309;
  --red:     #dc2626;
  --glow:    rgba(22,163,74,.08);
  --glow-lg: rgba(22,163,74,.16);
  --accent:  #16a34a;
  --accent2: #15803d;
  --surface:  #ffffff;
  --surface2: #f3f4f6;
}
body.day-mode::before, body.day-mode::after { display: none; }
body.day-mode #navbar { background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
body.day-mode .logo span { text-shadow: none; }
body.day-mode .glow-text { text-shadow: none; }
body.day-mode .hero-bg { background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(22,163,74,.04) 0%, transparent 70%); }
body.day-mode .hero::before { border-color: rgba(22,163,74,.3); }
body.day-mode .tool-card, body.day-mode .feat-card, body.day-mode .step-card, body.day-mode .htc { background: var(--bg2); border-color: var(--border); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
body.day-mode .format-band { background: var(--bg3); border-color: var(--border); }
body.day-mode footer { background: var(--bg3); border-top-color: var(--border); }
body.day-mode .mobile-menu { background: rgba(255,255,255,.97); border-color: rgba(0,0,0,.08); }
body.day-mode .dropdown-menu { background: var(--bg2); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
body.day-mode .cf-field input, body.day-mode .cf-field select, body.day-mode .cf-field textarea { background: #f3f4f6; border-color: rgba(0,0,0,.14); }
body.day-mode .btn-primary { box-shadow: 0 2px 10px rgba(22,163,74,.2); }
body.day-mode .contact-method-icon { background: rgba(22,163,74,.08); }
body.day-mode::-webkit-scrollbar-track { background: var(--bg); }
body.day-mode::-webkit-scrollbar-thumb { background: var(--dim); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-card.feat-large { grid-row: auto; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right, .hud-chip { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 1.5rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── GREETING MODAL ── */
.greeting-overlay {
  position: fixed; inset: 0; background: rgba(3,6,13,.85); backdrop-filter: blur(8px);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .4s ease;
}
.greeting-overlay.show { opacity: 1; visibility: visible; }
.greeting-modal {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 24px; padding: 3rem 2.5rem; text-align: center;
  max-width: 440px; width: 90%; position: relative;
  transform: scale(.9) translateY(20px); opacity: 0; transition: all .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(0,255,136,.15);
}
.greeting-overlay.show .greeting-modal { transform: scale(1) translateY(0); opacity: 1; }
.greeting-icon { font-size: 3.5rem; margin-bottom: 1rem; animation: bounceY 2.5s ease-in-out infinite; }
@keyframes bounceY { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
.greeting-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; color: var(--text); margin-bottom: .6rem; }
.greeting-title span { color: var(--green); }
.greeting-desc { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-bottom: 2rem; }
.greeting-close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; font-size: 1.5rem; color: var(--muted); cursor: pointer; transition: color .2s; }
.greeting-close:hover { color: var(--green); }
body.day-mode .greeting-overlay { background: rgba(255,255,255,.85); }
body.day-mode .greeting-modal { background: var(--bg2); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
