/* ═══════════════════════════════════════════════════════════
   web3lookat.me — Public Landing Page
   Dark glassmorphic · Personal tech empire aesthetic · 2026
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg-base:       #060911;
  --bg-surface:    #0d1117;
  --bg-card:       rgba(255,255,255,0.035);
  --bg-card-hover: rgba(255,255,255,0.07);

  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.18);
  --border-accent: rgba(59,130,246,0.3);

  --text-primary:  #eef2ff;
  --text-secondary:#8b9cbf;
  --text-muted:    #3d4d6b;

  --accent:        #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan:   #06b6d4;
  --accent-green:  #22c55e;
  --accent-amber:  #f59e0b;

  --glass: rgba(13,17,23,0.7);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 48px rgba(0,0,0,0.6), 0 2px 10px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 60px rgba(59,130,246,0.15);

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.45s cubic-bezier(0.4,0,0.2,1);
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
}

.mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.82em;
}

a { text-decoration: none; color: inherit; }

/* ───────────────────────────── ANIMATED BACKGROUND */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 24s ease-in-out infinite alternate;
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 26s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  bottom: 10%; right: -150px;
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
  top: 55%; left: 40%;
  animation-duration: 30s;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -30px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(0.97); }
  100% { transform: translate(30px, 10px) scale(1.03); }
}

.bg-scanline {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.06) 2px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  opacity: 0.4;
}

/* ensure content sits above bg */
nav, main, footer { position: relative; z-index: 1; }

/* ───────────────────────────── NAV */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.9rem 2rem;
  background: rgba(6,9,17,0.75);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(59,130,246,0.4);
  box-shadow: 0 0 12px rgba(59,130,246,0.2);
}

.nav-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.accent-dot { color: var(--accent); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.nav-cta:hover {
  background: rgba(59,130,246,0.25);
  border-color: rgba(59,130,246,0.6);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
  transform: translateY(-1px);
}

/* ───────────────────────────── HERO */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 0.03em;
  animation: fade-down 0.6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* logo */
.hero-logo-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.8s 0.1s ease both;
}

.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ring-spin linear infinite;
}

.ring-1 {
  width: 160px; height: 160px;
  border-color: rgba(59,130,246,0.25);
  animation-duration: 12s;
}

.ring-2 {
  width: 190px; height: 190px;
  border-color: rgba(139,92,246,0.15);
  animation-duration: 20s;
  animation-direction: reverse;
}

.ring-3 {
  width: 220px; height: 220px;
  border-color: rgba(6,182,212,0.08);
  animation-duration: 30s;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(59,130,246,0.5);
  box-shadow:
    0 0 0 4px rgba(59,130,246,0.1),
    0 0 40px rgba(59,130,246,0.25),
    0 8px 32px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.hero-logo-glow {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from { opacity: 0.5; transform: scale(0.9); }
  to   { opacity: 1;   transform: scale(1.2); }
}

/* hero text */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  animation: fade-up 0.7s 0.2s ease both;
}

.hero-sub {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  animation: fade-up 0.7s 0.3s ease both;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  animation: fade-up 0.7s 0.4s ease both;
}

/* buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 0.7s 0.5s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(59,130,246,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(59,130,246,0.5);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* stats */
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 0.7s 0.6s ease both;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  gap: 0.15rem;
  transition: var(--transition);
}

.stat-pill:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-plus {
  font-size: 1rem;
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  animation: fade-in 1s 1s ease both, bob 2s 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ───────────────────────────── SECTIONS */

.section {
  padding: 6rem 2rem;
}

.section--dark {
  background: rgba(6,9,17,0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--cta {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ───────────────────────────── CARDS GRID */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
  filter: blur(50px);
}

/* per-card glow colors */
.card--cloud    .card-glow { background: rgba(59,130,246,0.25); }
.card--sso      .card-glow { background: rgba(139,92,246,0.25); }
.card--monitoring .card-glow { background: rgba(6,182,212,0.25); }
.card--chat     .card-glow { background: rgba(34,197,94,0.25); }
.card--mail     .card-glow { background: rgba(245,158,11,0.25); }
.card--voice    .card-glow { background: rgba(236,72,153,0.25); }
.card--games    .card-glow { background: rgba(249,115,22,0.25); }
.card--proxy    .card-glow { background: rgba(20,184,166,0.25); }
.card--storage  .card-glow { background: rgba(167,139,250,0.25); }

.card-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.card-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--c, #fff);
}

.card:hover .card-icon-wrap {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 20px color-mix(in srgb, var(--c, transparent) 30%, transparent);
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ───────────────────────────── ARCHITECTURE */

.arch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .arch-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

.arch-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.arch-block:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.arch-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.arch-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.arch-block p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.arch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.arch-arrow svg {
  width: 22px; height: 22px;
}

/* tech pills strip */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.tech-pill {
  padding: 0.35rem 0.9rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tech-pill:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.35);
  color: var(--accent);
}

/* ───────────────────────────── CTA BOX */

.cta-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.15) 0%, transparent 60%);
  pointer-events: none;
  animation: cta-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes cta-glow-pulse {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

.cta-logo-wrap {
  margin-bottom: 1.5rem;
}

.cta-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(59,130,246,0.5);
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ───────────────────────────── FOOTER */

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  background: rgba(6,9,17,0.8);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(59,130,246,0.3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ───────────────────────────── ANIMATIONS */

.pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ───────────────────────────── RESPONSIVE */

@media (max-width: 640px) {
  .nav { padding: 0.75rem 1rem; }
  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 0.6rem; }
  .stat-pill { padding: 0.65rem 1rem; }
  .section { padding: 4rem 1.25rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 1rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
