/* ═══════════════════════════════════════════════════════════════════
   GenioHub — Umbrella Brand Site
   Dark, high-contrast, modern AI company aesthetic.
   ═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050509;
  --bg-1: #0a0a12;
  --bg-2: #0f0f1a;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-hover: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --fg: #f4f4f5;
  --fg-muted: #a1a1aa;
  --fg-dim: #71717a;

  --accent-cyan: #22d3ee;
  --accent-teal: #2dd4bf;
  --accent-violet: #a855f7;
  --accent-fuchsia: #d946ef;
  --accent-lime: #a3e635;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1180px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ─── Background: layered mesh + grid + noise ─── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bg-mesh::before,
.bg-mesh::after {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}
.bg-mesh::before {
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 65%);
  animation: float-slow 22s ease-in-out infinite;
}
.bg-mesh::after {
  bottom: -300px;
  right: -200px;
  background: radial-gradient(circle, #a855f7 0%, transparent 65%);
  animation: float-slow 28s ease-in-out infinite reverse;
}

.bg-orb-3 {
  position: fixed;
  top: 40%;
  left: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #d946ef 0%, transparent 60%);
  filter: blur(100px);
  opacity: 0.15;
  z-index: -2;
  pointer-events: none;
  animation: float-slow 32s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.08); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 70%);
}

/* ─── Shared layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5, 5, 9, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #08080f;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  color: var(--fg);
  cursor: pointer;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 7rem 0 5rem;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 auto 1.5rem;
  max-width: 900px;
}
.grad-text {
  background: linear-gradient(135deg, #22d3ee 0%, #a855f7 50%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #08080f;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-arrow {
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ─── Hero visual (live agent ticker) ─── */
.hero-ticker {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--fg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tick-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.7);
  animation: pulse 2s ease-in-out infinite;
}
.tick-dot.v { background: var(--accent-violet); box-shadow: 0 0 10px rgba(168, 85, 247, 0.7); }
.tick-dot.c { background: var(--accent-cyan);   box-shadow: 0 0 10px rgba(34, 211, 238, 0.7); }
.tick-value { color: var(--fg); font-weight: 600; }

/* ─── Section shell ─── */
section {
  padding: 6rem 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── Manifesto ─── */
.manifesto {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.5;
  color: var(--fg);
  letter-spacing: -0.015em;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.manifesto p:last-child { margin-bottom: 0; }
.manifesto .soft { color: var(--fg-muted); }

/* ─── Products grid ─── */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.product-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: block;
  padding: 2rem 1.75rem;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--spot-x) var(--spot-y),
    rgba(168, 85, 247, 0.14),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--panel-hover);
}
.product-card:hover::before { opacity: 1; }

.product-card.soon { cursor: default; opacity: 0.85; }
.product-card.soon:hover { transform: none; }

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.product-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.status-pill {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.status-live {
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-teal);
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.status-beta {
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.status-soon {
  background: rgba(250, 204, 21, 0.1);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.25);
}
.status-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

.product-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.product-tagline {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.product-url {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--fg-dim);
}
.product-arrow {
  color: var(--accent-cyan);
  transition: transform 0.2s;
}
.product-card:hover .product-arrow { transform: translate(3px, -3px); }

/* ─── Principles grid ─── */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.principle {
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
}
.principle:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.principle-n {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.principle h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.principle p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── Stats strip ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(168, 85, 247, 0.06));
  border: 1px solid var(--border);
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

/* ─── Contact ─── */
.contact {
  text-align: center;
  padding: 6rem 1.5rem;
}
.contact-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.08)),
    var(--bg-1);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
}
.contact-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  position: relative;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
  position: relative;
}
.contact-email:hover { transform: translateY(-2px); }

/* ─── Footer ─── */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}
.footer-brand p {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 340px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.55rem; }
.footer a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer a:hover { color: var(--fg); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--fg-dim);
  font-size: 0.8rem;
  font-family: var(--mono);
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 9, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open .nav-link,
  .nav-links.open .nav-cta {
    padding: 0.8rem 0;
    text-align: left;
    border-radius: 0;
  }
  .nav-links.open .nav-cta {
    margin-top: 0.5rem;
    padding: 0.7rem 1rem;
    display: inline-block;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  section { padding: 4rem 0; }
  .hero { padding: 4rem 0 3rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ticker { font-size: 0.75rem; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-mesh::before, .bg-mesh::after, .bg-orb-3 { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tick-dot, .eyebrow .dot, .status-pill .dot { animation: none; }
}
