diff --git a/index.html b/index.html index 7c364a9..cb57dff 100644 --- a/index.html +++ b/index.html @@ -24,21 +24,24 @@ .hl-green { color: #34d399; font-weight: 600; } .hl-orange { color: #fb923c; font-weight: 600; } - /* ── Nav ──────────────────────────────────────── */ + /* ── Nav (matches rstack-header) ─────────────── */ nav { - position: sticky; + position: fixed; top: 0; - z-index: 100; - background: rgba(11, 17, 32, 0.85); + left: 0; + right: 0; + z-index: 9999; + background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); - border-bottom: 1px solid rgba(255,255,255,0.06); + -webkit-backdrop-filter: blur(12px); + border-bottom: 1px solid rgba(255,255,255,0.08); + color: #e2e8f0; } .nav-inner { - max-width: 1100px; margin: 0 auto; - padding: 0 1.5rem; + padding: 0 16px; display: flex; align-items: center; justify-content: space-between; @@ -48,7 +51,7 @@ .nav-left { display: flex; align-items: center; - gap: 0.75rem; + gap: 4px; } .nav-brand { @@ -59,6 +62,28 @@ color: #e2e8f0; font-size: 1.1rem; font-weight: 600; + margin-right: 4px; + } + + .nav-brand-badge { + width: 28px; + height: 28px; + border-radius: 6px; + background: linear-gradient(135deg, #22d3ee, #a78bfa, #fb923c); + display: flex; + align-items: center; + justify-content: center; + font-size: 11px; + font-weight: 900; + color: #0b1120; + line-height: 1; + flex-shrink: 0; + } + + .nav-right { + display: flex; + align-items: center; + gap: 12px; } .nav-links { @@ -76,11 +101,28 @@ .nav-links a:hover { color: #e2e8f0; } + .nav-demo-btn { + display: inline-flex; + align-items: center; + padding: 5px 14px; + border-radius: 6px; + font-size: 0.78rem; + font-weight: 600; + text-decoration: none; + white-space: nowrap; + transition: background 0.15s, opacity 0.15s; + background: linear-gradient(135deg, #14b8a6, #0d9488); + color: #fff; + box-shadow: 0 1px 4px rgba(20, 184, 166, 0.25); + } + .nav-demo-btn:hover { opacity: 0.88; } + /* ── Hero ─────────────────────────────────────── */ .hero { text-align: center; padding: 7rem 1.5rem 5rem; + padding-top: calc(56px + 5rem); max-width: 820px; margin: 0 auto; } @@ -345,9 +387,12 @@ .area-block { margin-bottom: 4rem; - scroll-margin-top: 80px; + scroll-margin-top: 72px; } + /* Ensure section anchors clear fixed nav */ + .section[id] { scroll-margin-top: 72px; } + .area-header { display: flex; align-items: flex-start; @@ -925,7 +970,9 @@