/* ============================================
   PRASUTAGUSAI v3.0 — React Dashboard Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-base: #0B0F17;
  --bg-surface: #11141c;
  --bg-elevated: #1A2235;
  --bg-header: #0a0d14;
  --bg-sidebar: #0D1117;
  --bg-input: #161922;
  --text-primary: #E8ECF2;
  --text-secondary: #8b95a8;
  --text-muted: #5E6D82;
  --accent-cyan: #00F0FF;
  --accent-blue: #4F8FFF;
  --accent-purple: #B829F7;
  --accent-green: #00E676;
  --accent-red: #FF3B5C;
  --accent-orange: #FF9F43;
  --accent-yellow: #FFD600;
  --border: rgba(0, 240, 255, 0.08);
  --border-hover: rgba(0, 240, 255, 0.25);
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* ============================================
   NAVBAR — React Dashboard Style
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-base); font-size: 1.1rem; font-weight: 700;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-primary);
}
.logo-text span { color: var(--accent-cyan); }

/* Nav Links */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 240, 255, 0.05);
}

/* Nav Right */
.nav-right {
  display: flex; align-items: center; gap: 12px;
}
.nav-search-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-input);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-search-btn:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.nav-search-btn i { font-size: 0.9rem; }
.nav-search-btn .kbd {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 8px;
}

.nav-profile {
  display: flex; align-items: center; gap: 10px;
}
.nav-icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  font-size: 0.9rem;
}
.nav-icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(0, 240, 255, 0.05);
}

.nav-notify-badge {
  position: absolute; top: -2px; right: -2px;
  width: 16px; height: 16px;
  background: var(--accent-red);
  color: white;
  border-radius: 50%;
  font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 240, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  flex-shrink: 0;
}
.nav-avatar:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}
.nav-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text-primary); font-size: 1.3rem; cursor: pointer;
}

/* ============================================
   HERO BANNER — React Dashboard Style
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 15% 20%, rgba(0, 240, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 60%, rgba(184, 41, 247, 0.05) 0%, transparent 60%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 70%);
}

.hero-accent-line {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
}

.hero-content {
  position: relative; max-width: 1200px; margin: 0 auto; width: 100%;
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.12);
  padding: 8px 18px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  width: fit-content;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2.5s infinite;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.hero-status-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.status-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
}
.status-item.online { color: var(--text-muted); }
.status-item.online .dot {
  width: 10px; height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  position: relative;
}
.status-item.online .dot::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-green);
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.status-item.streak {
  color: var(--accent-orange);
  font-weight: 500;
}
.status-version {
  font-size: 0.75rem; color: var(--accent-purple);
  background: rgba(184, 41, 247, 0.15);
  border: 1px solid rgba(184, 41, 247, 0.2);
  padding: 4px 12px; border-radius: 6px;
  font-family: var(--font-mono); font-weight: 500;
}

/* Buttons */
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.92rem;
  text-decoration: none; border: none;
  cursor: pointer; transition: all 0.15s;
  font-family: var(--font-body);
}
.btn-lg { padding: 15px 30px; font-size: 0.95rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-base);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 40px rgba(0, 240, 255, 0.05);
}
.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), 0 0 50px rgba(0, 240, 255, 0.1);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}
.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 40px rgba(0, 240, 255, 0.05);
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ============================================
   STATS GRID — React Dashboard Style
   ============================================ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.25);
}
.stat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}
.stat-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.stat-header i {
  font-size: 1.1rem;
}
.stat-header span {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.stat-value-row {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem; font-weight: 700;
  color: var(--text-primary);
}
.stat-sparkline {
  width: 60px; height: 24px;
}
.stat-sparkline svg { width: 100%; height: 100%; }
.stat-change {
  font-size: 0.8rem; color: var(--text-muted);
}

/* ============================================
   TERMINAL
   ============================================ */
.hero-terminal-wrap {
  width: 100%;
}
.hero-terminal {
  background: var(--bg-header);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}
.terminal-header {
  background: rgba(255,255,255,0.02);
  padding: 14px 18px;
  display: flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.terminal-header span {
  width: 12px; height: 12px; border-radius: 50%;
}
.terminal-header span:nth-child(1) { background: #ff5f57; }
.terminal-header span:nth-child(2) { background: #febc2e; }
.terminal-header span:nth-child(3) { background: #28c840; }
.terminal-title {
  margin-left: 12px; font-size: 0.8rem;
  color: var(--text-muted); font-family: var(--font-mono);
}
.hero-terminal pre {
  padding: 28px 32px; font-family: var(--font-mono);
  font-size: 0.88rem; line-height: 1.85;
  overflow-x: auto; color: var(--text-secondary);
}
.code-prompt { color: var(--accent-cyan); }
.code-ok { color: var(--accent-green); }
.code-warn { color: var(--accent-orange); }
.code-cmd { color: var(--text-primary); }
.code-comment { color: var(--text-muted); }
.cursor {
  display: inline-block; width: 8px; height: 17px;
  background: var(--accent-cyan);
  animation: blink 1.1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================================
   CARDS — React Dashboard Style
   ============================================ */
.card-surface {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
}
.card-surface:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 240, 255, 0.06);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.12);
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px; font-family: var(--font-mono);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1rem; max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   DEMOS
   ============================================ */
.demos { background: var(--bg-base); }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.demo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
}
.demo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.demo-card.featured { grid-column: span 2; }
.demo-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(0,240,255,0.05), rgba(184,41,247,0.05));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.demo-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.demo-card:hover .demo-image img { transform: scale(1.05); }
.demo-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,15,23,0.85) 100%);
  pointer-events: none;
}
.demo-launch-btn {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--accent-cyan); color: var(--bg-base);
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}
.demo-card:hover .demo-launch-btn {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.demo-content { padding: 22px; }
.demo-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tag {
  background: rgba(0, 240, 255, 0.06);
  color: var(--accent-cyan);
  padding: 4px 10px; border-radius: 6px;
  font-size: 0.73rem; font-weight: 600;
  border: 1px solid rgba(0, 240, 255, 0.1);
  font-family: var(--font-mono);
}
.demo-content h3 {
  font-size: 1.15rem; margin-bottom: 8px;
  font-weight: 600;
}
.demo-content p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   YOUTUBE
   ============================================ */
.youtube-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.youtube-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 16px;
}
.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; color: var(--text-secondary);
  font-size: 0.95rem;
}
.feature-list i { color: var(--accent-green); font-size: 0.9rem; }

.btn-youtube {
  background: #ff0000; color: white;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.2);
}
.btn-youtube:hover {
  background: #cc0000;
  filter: brightness(1.1);
}

.youtube-preview { display: flex; flex-direction: column; gap: 14px; }
.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; align-items: center; gap: 16px;
  transition: all 0.2s;
}
.video-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateX(4px);
}
.video-thumb {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-base); font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}
.video-info h4 { font-size: 0.92rem; margin-bottom: 4px; font-weight: 600; }
.video-info span { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ============================================
   BLOG
   ============================================ */
.blog { background: var(--bg-base); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.blog-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.blog-meta { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.blog-date { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }
.blog-tag {
  background: rgba(0, 240, 255, 0.06);
  color: var(--accent-cyan);
  padding: 3px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600;
  border: 1px solid rgba(0, 240, 255, 0.1);
  font-family: var(--font-mono); text-transform: uppercase;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.blog-card h3 a { color: var(--text-primary); text-decoration: none; transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--accent-cyan); }
.blog-card p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 16px; line-height: 1.6; }
.read-more { color: var(--accent-cyan); text-decoration: none; font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.read-more:hover { gap: 10px; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px; line-height: 1.7;
  font-size: 0.95rem;
}
.about-cta { display: flex; gap: 14px; margin-top: 28px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted); margin-top: 12px;
  font-size: 0.88rem; line-height: 1.6;
}
.footer-links h4 {
  font-size: 0.85rem; font-weight: 700;
  margin-bottom: 18px; color: var(--text-primary);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a {
  display: block; color: var(--text-muted);
  text-decoration: none; font-size: 0.88rem;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.82rem;
}
.admin-link { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.admin-link:hover { color: var(--accent-cyan); }

.newsletter-box {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.newsletter-box p {
  color: var(--text-muted);
  font-size: 0.9rem; margin-bottom: 16px;
}
.newsletter-form {
  display: flex; justify-content: center;
  gap: 12px; max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 12px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s;
}
.newsletter-form input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08);
}
.newsletter-form input::placeholder { color: var(--text-dim); }

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-messages {
  position: fixed; top: 84px; right: 24px;
  z-index: 2000; max-width: 400px;
}
.flash {
  padding: 14px 20px; border-radius: var(--radius);
  margin-bottom: 10px; font-size: 0.9rem;
  font-weight: 500; animation: slideIn 0.3s ease;
  border: 1px solid;
}
.flash-success { background: rgba(0, 230, 118, 0.08); color: var(--accent-green); border-color: rgba(0, 230, 118, 0.15); }
.flash-danger { background: rgba(255, 59, 92, 0.08); color: var(--accent-red); border-color: rgba(255, 59, 92, 0.15); }
.flash-warning { background: rgba(252, 196, 25, 0.08); color: var(--accent-yellow); border-color: rgba(252, 196, 25, 0.15); }
.flash-info { background: rgba(0, 240, 255, 0.08); color: var(--accent-cyan); border-color: rgba(0, 240, 255, 0.15); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: 140px 0 60px; text-align: center;
  background: linear-gradient(180deg, rgba(0,240,255,0.04) 0%, transparent 100%);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  margin-bottom: 12px;
}
.page-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* ============================================
   POST PAGE
   ============================================ */
.post-page { padding: 120px 0 80px; }
.post-header { max-width: 800px; margin: 0 auto 48px; }
.post-meta { display: flex; gap: 16px; margin-bottom: 16px; align-items: center; }
.post-type {
  background: rgba(0, 240, 255, 0.06); color: var(--accent-cyan);
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  border: 1px solid rgba(0, 240, 255, 0.1);
  font-family: var(--font-mono);
}
.post-date { color: var(--text-muted); font-size: 0.88rem; font-family: var(--font-mono); }
.post-header h1 {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  margin-bottom: 16px;
}
.post-keywords { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.keyword-tag { background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-muted); padding: 4px 12px; border-radius: 6px; font-size: 0.78rem; }
.post-content { max-width: 800px; margin: 0 auto; font-size: 1.02rem; line-height: 1.8; color: var(--text-primary); }
.post-content h1, .post-content h2, .post-content h3 { margin: 40px 0 16px; font-weight: 700; font-family: var(--font-display); }
.post-content h1 { font-size: 1.9rem; }
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin-bottom: 20px; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content pre {
  background: var(--bg-header); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  overflow-x: auto; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 0.88rem;
}
.post-content code { font-family: var(--font-mono); font-size: 0.9rem; }
.post-content pre code { background: none; padding: 0; }
.post-content img { max-width: 100%; border-radius: var(--radius); margin: 20px 0; }
.post-content blockquote {
  border-left: 2px solid var(--accent-cyan);
  padding-left: 20px; margin: 20px 0;
  color: var(--text-secondary); font-style: italic;
}

/* ============================================
   DEMOS SHOWCASE PAGE
   ============================================ */
.demos-hero {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  padding: 40px 0 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.demos-close {
  position: absolute;
  top: 80px; right: 24px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.25s;
  z-index: 100; cursor: pointer;
}
.demos-close:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}
.demos-hero::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0,240,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.demos-hero .container { position: relative; z-index: 1; }
.demos-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}
.demos-hero .hero-badge .pulse {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2.5s infinite;
}
.demos-hero h1 {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.demos-hero .hero-subtitle {
  max-width: 560px; margin: 0 auto 20px;
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6;
}
.demos-hero .hero-stats {
  display: flex; justify-content: center; gap: 40px; margin-top: 20px;
}
.demos-hero .hero-stats .stat { text-align: center; }
.demos-hero .hero-stats .stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.demos-hero .hero-stats .stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  margin-top: 4px; text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demos-showcase { padding: 32px 0; }

/* Carousel */
.demos-carousel { position: relative; max-width: 880px; margin: 0 auto; overflow: visible; padding: 20px 0; }
.demos-track { display: flex; transition: transform 0.5s ease-in-out; }
.demo-card-carousel { min-width: 100%; padding: 10px 20px; box-sizing: border-box; }
.demo-card-carousel .demo-image {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 16 / 10;
  width: 100%; display: flex;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border);
}
.demo-card-carousel .demo-image img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.demo-card-carousel:hover .demo-image img { transform: scale(1.02); }
.demo-overlay { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity 0.3s; }
.demo-card-carousel:hover .demo-overlay { opacity: 1; }
.demo-visit-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: all 0.2s;
  background: var(--accent-cyan); color: var(--bg-base);
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.demo-visit-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 16px rgba(0, 240, 255, 0.3);
}
.demo-content-carousel { padding: 20px 0 0; text-align: center; }
.demo-content-carousel h3 { font-size: 1.3rem; margin-bottom: 8px; font-family: var(--font-display); }
.demo-content-carousel p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.demo-tags-carousel { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.demo-nav {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--text-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; z-index: 10;
}
.demo-nav:hover { background: var(--accent-cyan); border-color: var(--accent-cyan); color: var(--bg-base); box-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }
.demo-nav-prev { left: 0; }
.demo-nav-next { right: 0; }

.demo-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.demo-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; transition: all 0.3s; padding: 0; }
.demo-dot.active { background: var(--accent-cyan); width: 30px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }
.demo-dot:hover { background: var(--accent-cyan); }

/* Grid view */
.demos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.demo-card-grid {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.2s;
}
.demo-card-grid:hover { border-color: rgba(0, 240, 255, 0.25); box-shadow: var(--shadow-sm); }
.demo-image-grid {
  height: 180px;
  background: linear-gradient(135deg, rgba(0,240,255,0.05), rgba(184,41,247,0.05));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.demo-image-grid img { width: 100%; height: 100%; object-fit: cover; }
.demo-content-grid { padding: 20px; }
.demo-content-grid h3 { font-size: 1.15rem; margin-bottom: 8px; font-family: var(--font-display); }
.demo-content-grid p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 12px; }

/* View toggle */
.view-toggle { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; }
.view-btn {
  padding: 10px 20px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-surface);
  color: var(--text-muted); cursor: pointer; font-weight: 500;
  transition: all 0.2s; display: flex; align-items: center; gap: 8px;
}
.view-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.view-btn.active { background: var(--accent-cyan); color: var(--bg-base); border-color: var(--accent-cyan); box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-surface); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); gap: 4px; }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .nav-search-btn { display: none; }
  .demo-card.featured { grid-column: span 1; }
  .youtube-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-top { flex-direction: column; align-items: center; text-align: center; }
  .hero-status-side { align-items: center; }
  .hero-terminal-wrap { max-width: 100%; }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-profile { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .perf-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
