/* Novastar Teknoloji — "Spectrum" design language */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #020409;
  --bg-2: #060a14;
  --surface: rgba(10, 20, 38, 0.55);
  --surface-2: rgba(16, 30, 55, 0.7);
  --border: rgba(64, 190, 255, 0.14);
  --border-hot: rgba(53, 240, 255, 0.5);
  --text: #e8f4ff;
  --muted: #8ba3c2;
  --cyan: #35f0ff;
  --violet: #8b5cff;
  --green: #3affb4;
  --amber: #ffc46b;
  --gradient: linear-gradient(100deg, #35f0ff, #5f8bff 45%, #8b5cff);
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- animated signal background (canvas injected by site.js) ---------- */
#wavefield {
  position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%;
  background: radial-gradient(900px 500px at 50% -10%, rgba(53, 110, 255, 0.14), transparent 65%), var(--bg);
}
/* scanline / CRT overlay */
.scanlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 3px);
}
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 110% 90% at 50% 40%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 4, 9, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.06em; }
.logo .star {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  background: var(--gradient); color: #020409; font-size: 17px; font-weight: 900;
  box-shadow: 0 0 18px rgba(53, 240, 255, 0.45);
}
.logo small { display: block; font-size: 0.56rem; font-weight: 500; color: var(--muted); letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--mono); }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); text-shadow: 0 0 12px rgba(53,240,255,0.5); }
.lang-switch {
  border: 1px solid var(--border-hot); border-radius: 4px; padding: 4px 12px;
  font-size: 0.76rem; font-weight: 600; color: var(--cyan); font-family: var(--mono);
}
.lang-switch:hover { background: rgba(53,240,255,0.1); box-shadow: 0 0 14px rgba(53,240,255,0.3); }

/* ---------- HUD bits ---------- */
.hud-readout {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--green);
  display: inline-flex; gap: 10px; align-items: center;
}
.hud-readout .blink { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

/* frequency band ticker */
.band-ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; white-space: nowrap; padding: 10px 0;
  font-family: var(--mono); font-size: 0.76rem; color: var(--muted);
  background: rgba(4, 10, 22, 0.6);
}
.band-ticker .track { display: inline-block; animation: ticker 46s linear infinite; }
.band-ticker span { margin: 0 26px; }
.band-ticker b { color: var(--cyan); font-weight: 600; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 70px; position: relative; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border-hot); background: rgba(53,240,255,0.05);
  border-radius: 4px; padding: 6px 14px; font-size: 0.74rem; color: var(--cyan);
  margin-bottom: 26px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 1.6s steps(2) infinite; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; }
.hero h1 .grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(53, 240, 255, 0.35));
}
.hero p.lead { max-width: 640px; margin: 24px 0 0; color: var(--muted); font-size: 1.1rem; }
.hero.center { text-align: center; }
.hero.center p.lead { margin: 24px auto 0; }
.hero .cta-row { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero.center .cta-row { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px; font-weight: 600; font-size: 0.96rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease; letter-spacing: 0.02em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #020409; box-shadow: 0 0 26px rgba(53, 240, 255, 0.4); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(53, 240, 255, 0.65); }
.btn-ghost { border: 1px solid var(--border-hot); color: var(--cyan); background: rgba(53,240,255,0.04); }
.btn-ghost:hover { background: rgba(53,240,255,0.1); }

/* hero signal panel */
.signal-panel {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(3, 8, 18, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden; box-shadow: 0 20px 70px rgba(0,0,0,0.5), inset 0 0 40px rgba(53,110,255,0.05);
}
.signal-panel .panel-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
}
.signal-panel .panel-bar .leds { display: flex; gap: 6px; margin-left: auto; }
.signal-panel .panel-bar .leds i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.signal-panel .panel-bar .leds i:nth-child(1) { background: var(--green); box-shadow: 0 0 8px var(--green); }
.signal-panel .panel-bar .leds i:nth-child(2) { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.signal-panel .panel-bar .leds i:nth-child(3) { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.signal-panel canvas { display: block; width: 100%; }
.signal-panel .panel-foot {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  padding: 10px 16px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
}
.signal-panel .panel-foot b { color: var(--green); font-weight: 600; }

/* hero video layer (assets/hero.mp4 varsa otomatik görünür) */
.hero-video {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; display: none;
}
.hero-video.on { display: block; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,4,9,0.4), var(--bg) 96%); }

/* stats strip */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 64px;
}
.stats > div { background: rgba(4, 10, 22, 0.85); padding: 24px 18px; text-align: center; }
.stats b { display: block; font-size: 2rem; font-weight: 700; font-family: var(--mono); color: var(--cyan); text-shadow: 0 0 18px rgba(53,240,255,0.45); }
.stats span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 80px 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cyan); font-family: var(--mono);
}
.kicker::before { content: "▸ "; color: var(--violet); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient); opacity: 0; transition: opacity 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-hot); box-shadow: 0 10px 40px rgba(53, 140, 255, 0.14); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  font-size: 21px; margin-bottom: 17px;
  background: linear-gradient(135deg, rgba(53,240,255,0.12), rgba(139,92,255,0.12));
  border: 1px solid var(--border);
}
.card h3 { font-size: 1.1rem; font-weight: 650; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card p { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }
.card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 0.68rem; font-weight: 500; padding: 3px 10px; border-radius: 4px;
  border: 1px solid var(--border); color: var(--muted); font-family: var(--mono);
}
.badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; font-family: var(--mono); }
.badge.live { background: rgba(58, 255, 180, 0.1); color: var(--green); border: 1px solid rgba(58,255,180,0.35); }
.badge.dev { background: rgba(255, 196, 107, 0.08); color: var(--amber); border: 1px solid rgba(255,196,107,0.3); }
.badge.soon { background: rgba(139, 92, 255, 0.12); color: #b99aff; border: 1px solid rgba(139,92,255,0.35); }
.badge.web { background: rgba(53, 240, 255, 0.08); color: var(--cyan); border: 1px solid rgba(53,240,255,0.3); }

.store-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: 0.84rem; font-weight: 600; color: var(--cyan); font-family: var(--mono);
}
.store-link::before { content: "↓"; }
.store-link:hover { color: var(--green); text-shadow: 0 0 12px rgba(58,255,180,0.5); }

/* family header */
.family { margin-bottom: 66px; }
.family-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.family-head .fam-icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 20px;
  background: var(--gradient); color: #020409; box-shadow: 0 0 20px rgba(53,240,255,0.35);
}
.family-head h2 { font-size: 1.4rem; font-weight: 700; }
.family-head p { color: var(--muted); font-size: 0.88rem; }

.interest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

/* two-col */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.split ul { list-style: none; margin-top: 20px; }
.split ul li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--muted); display: flex; gap: 12px; font-size: 0.95rem; }
.split ul li::before { content: "≈"; color: var(--cyan); font-weight: 700; font-family: var(--mono); }
.visual {
  border: 1px solid var(--border); border-radius: var(--radius); background: rgba(3, 8, 18, 0.8);
  padding: 26px; font-family: var(--mono); font-size: 0.8rem;
  color: var(--muted); line-height: 2; overflow-x: auto;
}
.visual .ok { color: var(--green); }
.visual .key { color: var(--cyan); }

/* investor */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.timeline { border-left: 1px solid var(--border-hot); margin-left: 8px; padding-left: 30px; display: grid; gap: 32px; }
.timeline .t-item { position: relative; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -37px; top: 7px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px rgba(53,240,255,0.7);
}
.timeline h3 { font-size: 1.04rem; font-weight: 650; }
.timeline p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* contact */
.contact-band {
  border: 1px solid var(--border-hot); border-radius: var(--radius); text-align: center;
  padding: 66px 30px; position: relative; overflow: hidden;
  background: radial-gradient(520px 260px at 50% -30%, rgba(53,240,255,0.14), transparent 70%), rgba(3, 8, 18, 0.85);
  box-shadow: inset 0 0 60px rgba(53, 110, 255, 0.06);
}
.contact-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; }
.contact-band p { color: var(--muted); margin: 14px auto 28px; max-width: 520px; }

footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; color: var(--muted); font-size: 0.85rem; background: rgba(2,4,9,0.7); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer-inner .f-links { display: flex; gap: 20px; }
.footer-inner a:hover { color: var(--cyan); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 13px; font-size: 0.84rem; }
  .nav-links .hide-m { display: none; }
  .hero { padding: 64px 0 50px; }
}
