:root {
  --bg: #0b0d14;
  --bg-elev: #0f1220;
  --text: #e6e7ee;
  --muted: #98a1b3;
  --neon-blue: #4dd3ff;
  --neon-purple: #a26bff;
  --accent-grad: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  --card-grad: linear-gradient(180deg, rgba(77, 211, 255, 0.05), rgba(162, 107, 255, 0.05));
  --ring: rgba(77, 211, 255, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: radial-gradient(1200px 800px at 70% -10%, rgba(162,107,255,0.15), transparent),
              radial-gradient(1000px 700px at -10% 10%, rgba(77,211,255,0.12), transparent),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Interactive background */
.interactive-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#bg-canvas { width: 100%; height: 100%; display: block; }

/* lift main content above bg */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Bootloader (açılış ekranı) */
.bootloader {
  position: fixed; inset: 0; z-index: 9999;
  /* Ana sayfadaki arka planla uyumlu */
  background: radial-gradient(1200px 800px at 70% -10%, rgba(162,107,255,0.15), transparent),
              radial-gradient(1000px 700px at -10% 10%, rgba(77,211,255,0.12), transparent),
              var(--bg);
  display: grid; place-items: center;
}
.boot {
  width: min(900px, 92%);
  color: #e6e7ee;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
.boot__folders { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 24px; }
.folder { position: relative; text-align: center; z-index: 3; }
.folder__icon {
  width: 180px; height: 120px; margin: 0 auto 10px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(#e9c98e, #d9b274);
  box-shadow: 0 6px 0 rgba(0,0,0,0.2) inset, 0 6px 16px rgba(0,0,0,0.3);
}
.folder__label { font-size: 28px; letter-spacing: 1px; text-shadow: 0 2px 0 rgba(0,0,0,0.35); }
.boot__progress { display: grid; gap: 12px; }
.boot__crowns { position: absolute; left: 0; right: 0; top: -10px; height: 80px; pointer-events: none; z-index: 1; }
.crown {
  position: absolute; left: 120px; top: var(--top, 12px);
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(77,211,255,0.35)) drop-shadow(0 0 6px rgba(162,107,255,0.25));
  animation: crown-move 2.6s calc(var(--i) * 240ms) linear infinite;
  will-change: left, transform, opacity;
  opacity: 0; /* ikon içindeyken görünmesin */
}
@keyframes crown-move {
  0% { left: 120px; transform: rotate(-10deg); opacity: 0; }
  /* Sol klasör sınırını terk eder etmez görünür olsun */
  16% { left: 200px; opacity: 1; }
  50% { transform: rotate(6deg); opacity: 1; }
  /* Sağ klasör sınırına yaklaşırken kaybolsun */
  84% { left: calc(100% - 220px); opacity: 1; }
  100% { left: calc(100% - 160px); transform: rotate(-8deg); opacity: 0; }
}
.progress {
  width: 100%; height: 28px; border-radius: 10px; background: #e7e7e7;
  box-shadow: 0 3px 0 rgba(0,0,0,0.2) inset, 0 6px 12px rgba(0,0,0,0.25);
}
.progress__fill { height: 100%; border-radius: 10px; background: #ffffff; box-shadow: 0 0 0 2px rgba(0,0,0,0.2) inset; width: 0; transition: width 0.25s ease; }
.boot__status { display: flex; justify-content: space-between; align-items: center; font-size: 22px; }
.boot__eta { opacity: 0.9; }

@media (max-width: 640px) {
  .folder__icon { width: 120px; height: 80px; }
  .folder__label { font-size: 20px; }
  .progress { height: 22px; }
  .boot__status { font-size: 16px; }
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4vw;
  background: rgba(11,13,20,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(77,211,255,0.35)) drop-shadow(0 0 6px rgba(162,107,255,0.25));
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-grad);
  box-shadow: 0 0 24px rgba(77,211,255,0.6), 0 0 24px rgba(162,107,255,0.5) inset;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links .cta {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(162,107,255,0.14);
  color: var(--text);
  border: 1px solid rgba(162,107,255,0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle .bar { width: 26px; height: 2px; background: var(--text); display: block; }

/* Hero */
.section--full {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bg.glow {
  position: absolute; inset: -20% -20% auto -20%; height: 70vh;
  background: radial-gradient(closest-side, rgba(77,211,255,0.14), transparent 70%),
              radial-gradient(closest-side, rgba(162,107,255,0.14), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.bg.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.45), transparent 65%);
  pointer-events: none;
}
.hero__content { text-align: center; padding: 10vh 0; }
.hero__title { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 14px; }
.accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__tagline { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.25rem); margin: 0 0 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text);
  padding: 12px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12);
  background: #12162a; transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.btn--xl { padding: 16px 28px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.3px; }
.btn--primary { border-color: var(--ring); box-shadow: 0 0 0 0 rgba(77,211,255,0.4); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(77,211,255,0.45); }
.btn--glow { background: var(--accent-grad); color: #0b0d14; font-weight: 800; border: none; box-shadow: 0 8px 30px rgba(162,107,255,0.35), 0 8px 30px rgba(77,211,255,0.25); }
.btn--glow:hover { transform: translateY(-2px) scale(1.01); }

/* Sections */
.section--padded { padding: 80px 0; }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 10px; }
.section__lead { color: var(--muted); margin: 0 0 28px; max-width: 70ch; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 0 0 1px rgba(77,211,255,0.05) inset, 0 8px 24px rgba(0,0,0,0.35);
  background-image: var(--card-grad);
}
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-card .price {
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product-card .btn { width: 100%; }
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.rules-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules-list li {
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 16px;
}

.section--cta { padding: 80px 0; text-align: center; }
.cta { display: grid; place-items: center; gap: 12px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); background: #0a0c15; }
.footer__inner { padding: 20px 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .nav { padding: 12px 4vw; }
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 58px; right: 14px; background: rgba(15,18,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px; display: none; flex-direction: column; gap: 10px; min-width: 180px; }
  .nav-links.open { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
}

