/* =============================================
   Keeb Network — Main Stylesheet
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #0d0f14;
  --bg2:        #13161f;
  --bg3:        #1a1e2b;
  --surface:    #1f2436;
  --border:     #2a3050;
  --accent:     #5b8def;
  --accent2:    #a78bfa;
  --text:       #e8eaf2;
  --text-muted: #7880a0;
  --green:      #4ade80;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 32px rgba(0,0,0,0.45);
  --font:       'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ── Container ──────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav nav {
  display: flex;
  gap: 1.75rem;
}

.nav nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav nav a:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(91,141,239,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(167,139,250,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(91,141,239,0.35);
  border-radius: 999px;
  background: rgba(91,141,239,0.08);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}

.btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--surface); }

/* ── Section headings ───────────────────────── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ── Platform Cards ─────────────────────────── */
.platforms { background: var(--bg2); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.platform-icon {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
}

.platform-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.platform-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.card-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.card-tag {
  display: inline-block;
  background: rgba(167,139,250,0.15);
  color: var(--accent2);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.5rem;
  width: fit-content;
}

/* ── About ──────────────────────────────────── */
.about { background: var(--bg); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 700px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-list li {
  font-size: 0.95rem;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Contact ────────────────────────────────── */
.contact {
  background: var(--bg2);
  text-align: center;
}

.contact-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.contact-inner p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-weight: 900;
  font-size: 1rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 600px) {
  .nav nav { gap: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
