/* ═══════════════════════════════════════════════════════════
   NEBULA COSMOS — dragonsorgupaneli.click
   Uzay/nebula temasi: koyu mor-lacivert + yildiz efektleri
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #060512;
  --bg2: #0c0a1e;
  --panel: #12102a;
  --border: rgba(139,92,246,.15);
  --border2: rgba(139,92,246,.3);
  --indigo: #818cf8;
  --violet: #a78bfa;
  --cyan: #22d3ee;
  --rose: #fb7185;
  --amber: #fbbf24;
  --text: #e0e7ff;
  --text2: #94a3b8;
  --mut: #475569;
  --grad: linear-gradient(135deg, #818cf8, #22d3ee);
  --grad2: linear-gradient(135deg, #a78bfa, #fb7185);
  --shadow: 0 20px 60px rgba(0,0,0,.5);
  --r: 20px;
  --rs: 12px;
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Yildizlar */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0 }
.stars i {
  position: absolute; width: 2px; height: 2px;
  background: #fff; border-radius: 50%; opacity: .4;
  animation: twinkle 4s ease-in-out infinite;
}
.stars i:nth-child(1) { top:10%; left:15%; animation-delay:0s }
.stars i:nth-child(2) { top:20%; left:80%; animation-delay:.5s; width:3px; height:3px }
.stars i:nth-child(3) { top:40%; left:30%; animation-delay:1s }
.stars i:nth-child(4) { top:60%; left:70%; animation-delay:1.5s; width:1px; height:1px }
.stars i:nth-child(5) { top:80%; left:50%; animation-delay:2s }
.stars i:nth-child(6) { top:15%; left:55%; animation-delay:2.5s; width:3px; height:3px }
.stars i:nth-child(7) { top:70%; left:20%; animation-delay:3s }
.stars i:nth-child(8) { top:50%; left:90%; animation-delay:3.5s }
.stars i:nth-child(9) { top:30%; left:10%; animation-delay:.3s; width:1px; height:1px }
.stars i:nth-child(10) { top:90%; left:85%; animation-delay:1.8s }
.stars i:nth-child(11) { top:5%; left:45%; animation-delay:2.2s; width:3px; height:3px }
.stars i:nth-child(12) { top:65%; left:40%; animation-delay:3.8s }
@keyframes twinkle { 0%,100%{opacity:.2} 50%{opacity:.8} }

/* Nebula bulutlari */
.nebula {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 20%, rgba(129,140,248,.08), transparent),
    radial-gradient(ellipse 600px 400px at 85% 30%, rgba(34,211,238,.06), transparent),
    radial-gradient(ellipse 500px 350px at 50% 80%, rgba(167,139,250,.05), transparent);
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1 }
a { color: inherit; text-decoration: none }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,5,18,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; gap: 20px; height: 64px }
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
}
.logo span { font-weight: 400; font-size: .7rem; -webkit-text-fill-color: var(--text2); display: block; margin-top: -3px; letter-spacing: 3px; text-transform: uppercase }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap }
.nav-links a { padding: 7px 14px; font-size: .8rem; color: var(--text2); border-radius: 10px; transition: .15s; font-weight: 500 }
.nav-links a:hover { color: #fff; background: rgba(139,92,246,.1) }

/* ── BUTONLAR ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--rs);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: .2s; border: none;
}
.btn-primary { background: var(--grad); color: #060512; box-shadow: 0 8px 30px rgba(129,140,248,.25) }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(129,140,248,.4) }
.btn-secondary { background: var(--grad2); color: #fff; box-shadow: 0 8px 30px rgba(167,139,250,.25) }
.btn-secondary:hover { transform: translateY(-2px) }
.btn-ghost { background: rgba(139,92,246,.08); color: var(--text); border: 1px solid var(--border2) }
.btn-ghost:hover { background: rgba(139,92,246,.15); transform: translateY(-2px) }
.btn-sm { padding: 8px 18px; font-size: .8rem }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 14px }

/* ── HERO ── */
.hero { padding: 130px 0 70px; text-align: center; position: relative }
.hero-badge {
  display: inline-block; padding: 6px 18px;
  background: rgba(139,92,246,.1); border: 1px solid var(--border2);
  border-radius: 999px; font-size: .78rem; color: var(--indigo);
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.hero h1 .grad2 { background: var(--grad2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.hero-sub { color: var(--text2); max-width: 620px; margin: 0 auto 32px; font-size: 1.05rem }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; max-width: 700px; margin: 0 auto }
.stat { background: rgba(139,92,246,.06); border: 1px solid var(--border); border-radius: var(--rs); padding: 20px 12px }
.stat b { display: block; font-family: 'Space Grotesk'; font-size: 1.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.stat span { font-size: .7rem; color: var(--text2); text-transform: uppercase; letter-spacing: 1.5px }

/* ── SECTIONS ── */
.sec { padding: 70px 0 }
.sec-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--indigo); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 8px }
.sec-t { font-family: 'Space Grotesk'; font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 10px }
.sec-s { color: var(--text2); max-width: 560px; margin-bottom: 32px; font-size: .95rem }

/* ── FEATURE CARDS (cosmic style) ── */
.cosmic-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 16px }
.cosmic-card {
  background: linear-gradient(160deg, rgba(139,92,246,.08), rgba(34,211,238,.04));
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 26px; transition: .2s; position: relative; overflow: hidden;
}
.cosmic-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: .2s;
}
.cosmic-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(139,92,246,.12) }
.cosmic-card:hover::before { opacity: 1 }
.cosmic-ic {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(139,92,246,.12); border-radius: 14px;
  font-size: 1.5rem; margin-bottom: 16px;
}
.cosmic-card h3 { font-family: 'Space Grotesk'; font-size: 1.05rem; color: #fff; margin-bottom: 6px }
.cosmic-card p { font-size: .85rem; color: var(--text2) }
.cosmic-card .tag {
  display: inline-block; font-size: .6rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
  letter-spacing: 1.5px; margin-top: 10px;
}
.tag-free { background: rgba(34,211,238,.12); color: var(--cyan); border: 1px solid rgba(34,211,238,.25) }
.tag-pro { background: rgba(167,139,250,.12); color: var(--violet); border: 1px solid rgba(167,139,250,.25) }

/* ── PROSE ── */
.prose { max-width: 780px; margin: 0 auto }
.prose h2 { font-family: 'Space Grotesk'; font-size: 1.4rem; color: #fff; margin: 32px 0 14px }
.prose p { color: #cbd5e1; margin-bottom: 14px; font-size: .97rem }
.prose strong { color: var(--indigo); font-weight: 600 }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: #cbd5e1 }
.prose li { margin-bottom: 8px; font-size: .95rem }
.prose a { color: var(--cyan); font-weight: 600; text-decoration: underline }

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, rgba(129,140,248,.1), rgba(34,211,238,.08), rgba(167,139,250,.06));
  border: 1px solid var(--border2); border-radius: 24px;
  padding: 50px; text-align: center;
}
.cta-box h2 { font-family: 'Space Grotesk'; font-size: 1.6rem; color: #fff; margin-bottom: 8px }
.cta-box p { color: var(--text2); margin-bottom: 24px }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 30px 0; margin-top: 50px }
.footer-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px }
.footer-copy { font-size: .78rem; color: var(--mut) }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap }
.footer-links a { font-size: .78rem; color: var(--text2) }
.footer-links a:hover { color: var(--indigo) }

/* ── TELEGRAM FLOAT ── */
.tg-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: .85rem;
  box-shadow: 0 10px 30px rgba(42,171,238,.4);
  transition: .2s;
}
.tg-float:hover { transform: translateY(-3px) }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  .nav-links { display: none }
  .stats { grid-template-columns: repeat(2,1fr) }
  .hero { padding: 100px 0 50px }
  .cosmic-grid { grid-template-columns: 1fr }
}
@media(max-width:480px) {
  .hero-cta .btn, .cta-btns .btn { width: 100%; justify-content: center }
}
