/* ============================================================
   LOGIQ LAB – ULTRA‑RESPONSIVE v2.0
   Futuristic Neon AI Brand • Mobile‑First • Fluid Typography
   ============================================================ */

/* ---------- VARIABLES ---------- */
:root {
  --bg: #050510;
  --bg-card: #0b0b1a;
  --accent-pink: #ff2fbf;
  --accent-violet: #7b5cff;
  --accent-cyan: #46e6ff;
  --text: #f5f5ff;
  --text-muted: #a0a0c0;
  --border: rgba(255,255,255,0.12);
  --blur: 18px;
  --radius: 16px;

  /* Fluid typography */
  --fs-xs: clamp(10px, 1.4vw, 12px);
  --fs-sm: clamp(12px, 1.6vw, 14px);
  --fs-md: clamp(14px, 2vw, 18px);
  --fs-lg: clamp(20px, 3vw, 28px);
  --fs-xl: clamp(28px, 5vw, 40px);
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at top, #1a1030, #050510 60%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

/* ---------- GLOBAL WRAPPER ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 16px;
}

/* ---------- NAVBAR ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(var(--blur));
  background: rgba(5,5,16,0.7);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 0, #fff, var(--accent-pink), var(--accent-violet));
  box-shadow: 0 0 20px rgba(255,47,191,0.6);
}

.nav-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Desktop links */
.nav-links {
  display: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: 0.2s;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* Mobile hamburger */
.nav-toggle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0 0, rgba(255,47,191,0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(123,92,255,0.22), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  gap: 20px;
}

.hero-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-violet), var(--accent-cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-top: 8px;
}

/* CTA buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.25s;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #fff, var(--accent-pink), var(--accent-violet));
  color: #050510;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(255,47,191,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
}

/* ---------- CARDS / SECTIONS ---------- */
.section {
  margin-top: 32px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.section-title {
  font-size: var(--fs-lg);
  margin-bottom: 10px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255,47,191,0.25);
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: 40px;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---------- TABLET ---------- */
@media (min-width: 600px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: flex;
    gap: 12px;
  }

  .nav-toggle {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 900px) {
  .hero {
    padding: 32px;
    grid-template-columns: 1.2fr 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- ULTRAWIDE ---------- */
@media (min-width: 1400px) {
  .hero-title {
    font-size: clamp(40px, 4vw, 64px);
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* MENU PANEL */
.menu-panel {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px 0;
  background: rgba(5,5,16,0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.menu-item {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  transition: 0.2s;
}

.menu-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* MOBILE */
@media (max-width: 600px) {
  .menu-panel {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 6px;
  }
}
/* SUBSCRIBE BLOCK */
.subscribe-block {
  text-align: center;
  padding: 32px 22px;
  background:
    radial-gradient(circle at 0 0, rgba(255,47,191,0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(123,92,255,0.18), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(255,47,191,0.15);
}

.subscribe-sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 16px;
}

.subscribe-input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: var(--fs-sm);
  outline: none;
  transition: 0.25s;
}

.subscribe-input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(255,47,191,0.35);
}

.subscribe-btn {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 600;
  background: radial-gradient(circle at 0 0, #fff, var(--accent-pink), var(--accent-violet));
  color: #050510;
  transition: 0.25s;
  box-shadow: 0 0 20px rgba(255,47,191,0.35);
}

.subscribe-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(255,47,191,0.55);
}

.subscribe-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* TABLET */
@media (min-width: 600px) {
  .subscribe-form {
    flex-direction: row;
  }

  .subscribe-input {
    flex: 1;
  }
}
