/* =========================================
   DILECT — Global Design System
   White theme · #D4A5FF accent
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');
/* ---- Tokens ---- */
:root {
  --lavender: #a78bfa;
  --lavender-hover: #c084fc;
  --lavender-deep: #8b5cf6;
  --lavender-dim: rgba(167, 139, 250, 0.08);
  --lavender-glow: rgba(167, 139, 250, 0.20);

  /* Deep dark theme */
  --bg: #050505;
  --bg-raised: #0b0a0f;
  --card: rgba(255, 255, 255, 0.02);
  --card-hover: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-secondary: #9d93b3;
  --text-muted: #746c85;

  --success: #3cff73;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 24px rgba(167, 139, 250, 0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --transition: 0.18s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select {
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  border: none;
  background: none;
}
ul, ol { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-raised); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--lavender); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.text-sm { font-size: 0.825rem; }
.text-xs { font-size: 0.75rem; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-lavender { color: var(--lavender-deep); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.mono { font-family: var(--font-mono); }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 480px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid transparent;
  line-height: 1;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--lavender), var(--lavender-hover));
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(167,139,250,0.30);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--lavender-hover), var(--lavender-deep));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(167,139,250,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text-secondary);
  border-color: var(--border);
  background: transparent;
}
.btn-ghost:hover { background: var(--bg-raised); color: var(--text); border-color: var(--border-light); }

.btn-danger {
  background: rgba(239,68,68,0.08);
  color: var(--danger);
  border-color: rgba(239,68,68,0.20);
}
.btn-danger:hover { background: rgba(239,68,68,0.14); }

.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 12px 24px; font-size: 16px; }
.btn-icon { padding: 8px; width: 36px; height: 36px; }
.btn-icon-sm { padding: 6px; width: 30px; height: 30px; }

/* ---- Cards ---- */
.card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}
.card-body { padding: 20px; }
.card-hover { transition: all var(--transition); cursor: pointer; }
.card-hover:hover {
  border-color: rgba(167, 139, 250, 0.25);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(167, 139, 250, 0.08);
}

/* ---- Forms ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.01em; }
.form-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: all var(--transition);
  font-size: 14px;
  width: 100%;
}
.form-input:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.15);
  background: rgba(255, 255, 255, 0.04);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input.error { border-color: var(--danger); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239D93B3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-error { font-size: 12px; color: var(--danger); display: none; }
.form-error.show { display: block; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-lavender { background: rgba(167, 139, 250, 0.06); color: var(--lavender); border: 1px solid rgba(167, 139, 250, 0.2); }
.badge-success { background: rgba(60, 255, 115, 0.06); color: var(--success); border: 1px solid rgba(60, 255, 115, 0.20); }
.badge-warning { background: rgba(251, 191, 36, 0.06); color: var(--warning); border: 1px solid rgba(251, 191, 36, 0.20); }
.badge-danger { background: rgba(248, 113, 113, 0.06); color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.20); }
.badge-gray { background: rgba(255, 255, 255, 0.02); color: var(--text-secondary); border: 1px solid rgba(255, 255, 255, 0.06); }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-logo img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo-name { background: linear-gradient(135deg, #a78bfa, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.15);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---- Sidebar Layout ---- */
.app-layout { display: flex; min-height: calc(100vh - 60px); background: #050505; }
.sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 20px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(20px);
}
.sidebar-section { margin-bottom: 24px; }
.sidebar-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 0 8px; margin-bottom: 6px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border-left: 2px solid transparent;
  margin-right: 8px;
}
.sidebar-link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.02); }
.sidebar-link.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.08) 0%, transparent 100%);
  border-left-color: var(--lavender);
}
.sidebar-link svg { flex-shrink: 0; }
.main-content {
  flex: 1;
  padding: 28px 32px;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(167, 139, 250, 0.02) 0%, #050505 80%);
}

/* ---- Page header ---- */
.page-header { margin-bottom: 28px; }
.page-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-title { font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; }
.page-subtitle { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

/* ---- Project Cards ---- */
.project-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.project-card:hover {
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(167, 139, 250, 0.08);
}
.project-preview {
  aspect-ratio: 16/9;
  background: radial-gradient(circle, rgba(16, 12, 28, 0.8) 0%, rgba(5, 5, 5, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.thumb-frame { position: absolute; inset: 0; overflow: hidden; }
.thumb-iframe { position: absolute; top: 0; left: 0; border: none; pointer-events: none; transform-origin: 0 0; }
.project-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.project-info { padding: 14px; }
.project-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.project-stats { display: flex; align-items: center; gap: 14px; }
.stat-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  margin: 20px 0;
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---- Avatars ---- */
.avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}
.avatar-placeholder {
  border-radius: var(--radius-full);
  background: var(--lavender-dim);
  border: 1px solid rgba(212,165,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lavender-deep);
  flex-shrink: 0;
}
.avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.avatar-md { width: 40px; height: 40px; font-size: 15px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl { width: 80px; height: 80px; font-size: 28px; }

/* ---- Tags ---- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.tag:hover, .tag.active { background: var(--lavender-dim); border-color: rgba(212,165,255,0.35); color: var(--lavender-deep); }

/* ---- Toast ---- */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(167,139,250,0.15);
  pointer-events: all;
  animation: slideInToast 0.25s ease;
  min-width: 240px;
  max-width: 380px;
}
.toast.success { border-color: rgba(34,197,94,0.30); }
.toast.error { border-color: rgba(239,68,68,0.30); }
.toast.info { border-color: rgba(212,165,255,0.35); }
@keyframes slideInToast { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOutToast { to { transform: translateX(100%); opacity: 0; } }
.toast.hiding { animation: fadeOutToast 0.25s ease forwards; }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(167,139,250,0.18);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { transform: scale(0.95) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-header { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.modal-body { padding: 16px 24px; }
.modal-footer { padding: 0 24px 20px; display: flex; gap: 10px; justify-content: flex-end; }

/* ---- Credits Display ---- */
.credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(60, 255, 115, 0.05);
  border: 1px solid rgba(60, 255, 115, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  font-family: var(--font-display);
}

/* ---- URL display ---- */
.url-display {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--success);
}
.url-display-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Status Dot ---- */
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-dot.live { background: var(--success); box-shadow: 0 0 10px rgba(60, 255, 115, 0.6); }
.status-dot.draft { background: var(--text-muted); }
.status-dot.archived { background: var(--warning); }

/* ---- Dropdown ---- */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #0b0a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  min-width: 160px;
  z-index: 200;
  overflow: hidden;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  animation: dropdownIn 0.15s ease;
}
@keyframes dropdownIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-menu.open { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); }
.dropdown-item:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.dropdown-item.danger:hover { color: var(--danger); }
.dropdown-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab-btn { padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all var(--transition); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active { color: var(--lavender); border-bottom-color: var(--lavender); }

/* ---- Empty State ---- */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state-icon { margin: 0 auto 16px; color: var(--text-muted); opacity: 0.5; }
.empty-state-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.empty-state-text { color: var(--text-secondary); font-size: 14px; max-width: 320px; margin: 0 auto 24px; }

/* ---- Auth pages ---- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #0f0a1c 0%, #050505 100%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  backdrop-filter: blur(25px);
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 28px;
  justify-content: center;
  letter-spacing: -0.03em;
}
.auth-logo-name { background: linear-gradient(135deg, #a78bfa, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.auth-sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-content { padding: 20px 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  h1 { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================================
   HIGH-FIDELITY OVERRIDES FOR COMPLETE HOME-PAGE DESIGN SYNC
   ========================================================================= */

/* 1. Global Background Mesh & Radial Gradients */
body {
  background-color: #050505 !important;
  background-image: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 100% 100%, rgba(60, 255, 115, 0.02) 0%, transparent 40%) !important;
}

/* 2. Frosted Floating Header (Sub-Pages) */
.nav {
  background: rgba(5, 5, 5, 0.75) !important;
  backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

/* 3. Glassmorphic Cards & Project Grid Items */
.card, .project-card, .stat-card, .activity-item, .explore-card, .user-card {
  background: rgba(255, 255, 255, 0.015) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.card-hover:hover, .project-card:hover, .stat-card:hover, .explore-card:hover, .user-card:hover {
  border-color: rgba(167, 139, 250, 0.25) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(167, 139, 250, 0.08) !important;
}

/* 4. Dashboard Stat Cards and Hero Banners */
.welcome-banner {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06), rgba(96, 165, 250, 0.03)) !important;
  border: 1px solid rgba(167, 139, 250, 0.15) !important;
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.03) !important;
}
.stat-card-value {
  background: linear-gradient(135deg, #ffffff, #d4a5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800 !important;
}

/* 5. Explorer Hero & Filter sidebar */
.explore-hero {
  background: radial-gradient(circle at top, rgba(167, 139, 250, 0.04) 0%, transparent 80%), rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 24px !important;
}
.filter-option {
  border-radius: var(--radius-sm) !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}
.filter-option:hover {
  background: rgba(255, 255, 255, 0.02) !important;
  color: #ffffff !important;
}
.filter-option.active {
  background: rgba(167, 139, 250, 0.08) !important;
  color: var(--lavender) !important;
  border: 1px solid rgba(167, 139, 250, 0.15) !important;
}

/* 6. High-End Code Editor Overrides */
.editor-nav {
  background: rgba(5, 5, 5, 0.75) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(25px) !important;
}
.file-panel, .preview-panel {
  background: rgba(5, 5, 5, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.editor-tabs, .preview-header {
  background: rgba(5, 5, 5, 0.5) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.editor-tab {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--text-secondary) !important;
}
.editor-tab.active {
  background: rgba(167, 139, 250, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(167, 139, 250, 0.15) !important;
  border-bottom: 2px solid var(--lavender) !important;
}
.preview-url-bar {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--success) !important;
  border-radius: 8px !important;
}

/* ===============================
   GOOGLE FONT
================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===============================
   RESET
================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#000;
    color:#fff;

    font-family:'Inter',sans-serif;

    overflow-x:hidden;
}

/* ===============================
   HERO
================================== */

.hero{

    position:relative;

    width:100%;
    min-height:100vh;

    overflow:hidden;

    background:#000;
}

/* ===============================
   BACKGROUND IMAGE
================================== */

.hero-background{

    position:absolute;

    inset:0;

    z-index:1;

    pointer-events:none;
}

.hero-image{

    position:absolute;

    right:-100px;
    top:55%;

    transform:translateY(-50%);

    width:850px;

    user-select:none;
}

/* ===============================
   OVERLAY
================================== */

.hero-overlay{

    position:relative;

    z-index:5;

    width:92%;

    margin:auto;
}

/* ===============================
   NAVBAR
================================== */

.navbar{

    height:76px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding-top:20px;

    /* ===== GLOWING BACKGROUND EFFECT ===== */
    position:relative;
}

/* Glow effect behind navbar */
.navbar::before{
    content:'';
    position:absolute;
    top:-80px;
    left:50%;
    transform:translateX(-50%);
    width:80%;
    height:200px;
    background:radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 40%, transparent 70%);
    filter:blur(40px);
    z-index:-1;
    pointer-events:none;
    animation:glowPulse 4s ease-in-out infinite;
}

/* Secondary glow layer for more depth */
.navbar::after{
    content:'';
    position:absolute;
    top:-40px;
    left:50%;
    transform:translateX(-50%);
    width:60%;
    height:150px;
    background:radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 30%, transparent 70%);
    filter:blur(60px);
    z-index:-2;
    pointer-events:none;
    animation:glowPulse 5s ease-in-out infinite reverse;
}

/* Glow pulsing animation */
@keyframes glowPulse{
    0%{
        opacity:0.6;
        transform:translateX(-50%) scale(1);
    }
    50%{
        opacity:1;
        transform:translateX(-50%) scale(1.1);
    }
    100%{
        opacity:0.6;
        transform:translateX(-50%) scale(1);
    }
}

/* Optional: Additional ambient glow from the sides */
.navbar .glow-side-left,
.navbar .glow-side-right{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:100px;
    height:100px;
    border-radius:50%;
    filter:blur(80px);
    pointer-events:none;
    z-index:-1;
}

.navbar .glow-side-left{
    left:-20px;
    background:radial-gradient(circle, rgba(100,149,237,0.08), transparent 70%);
    animation:sideGlowLeft 6s ease-in-out infinite;
}

.navbar .glow-side-right{
    right:-20px;
    background:radial-gradient(circle, rgba(147,112,219,0.08), transparent 70%);
    animation:sideGlowRight 6s ease-in-out infinite;
}

@keyframes sideGlowLeft{
    0%,100%{
        opacity:0.3;
        transform:translateY(-50%) scale(1);
    }
    50%{
        opacity:0.8;
        transform:translateY(-50%) scale(1.3);
    }
}

@keyframes sideGlowRight{
    0%,100%{
        opacity:0.3;
        transform:translateY(-50%) scale(1);
    }
    50%{
        opacity:0.8;
        transform:translateY(-50%) scale(1.3);
    }
}

/* ===============================
   LOGO
================================== */

.logo{

    display:flex;

    align-items:center;

    gap:0px;

    text-decoration:none;
}

.logo img{

    width: 28px;
    height: 28px;
    object-fit: contain;
}

.logo span{

    color:white;

    font-size:28px;

    font-weight:600;

    letter-spacing:5px;
}

/* ===============================
   CENTER NAV
================================== */

.nav-links{

    display:flex;

    align-items:center;

    gap:42px;

    list-style:none;

    height:64px;

    padding:0 40px;

    border-radius:999px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(22px);

    -webkit-backdrop-filter:blur(22px);

    box-shadow:
    inset 0 1px rgba(255,255,255,.05),
    0 20px 60px rgba(0,0,0,.45);
}

.nav-links a{

    color:#c7c7c7;

    text-decoration:none;

    font-size:15px;

    transition:.3s;
}

.nav-links a:hover{

    color:white;
}

/* ===============================
   RIGHT
================================== */

.nav-right{

    display:flex;

    align-items:center;

    gap:24px;
}

.signin{

    color:#d0d0d0;

    text-decoration:none;

    transition:.3s;
}

.signin:hover{

    color:white;
}

/* ===============================
   BUTTON
================================== */

.primary-btn{

    display:flex;

    align-items:center;

    gap:10px;

    padding:14px 26px;

    border-radius:999px;

    background:white;

    color:black;

    text-decoration:none;

    font-weight:600;

    transition:.35s;
}

.primary-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 15px 40px rgba(255,255,255,.18);
}

/* ===============================
   HERO CONTENT
================================== */

.hero-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:calc(100vh - 110px);

}

/* ===============================
   LEFT
================================== */

.hero-left{

    width:48%;

    max-width:700px;
}

/* Badge */

.badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:14px 22px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.08);

    background:rgba(255,255,255,.03);

    backdrop-filter:blur(20px);

    color:#d8d8d8;

    font-size:14px;

    letter-spacing:1px;
}

.badge svg{

    width:15px;
    height:15px;
}

/* ===============================
   TITLE
================================== */

.hero-left h1{

    margin-top:28px;

    font-size:72px;

    line-height:.95;

    font-weight:800;

    letter-spacing:-4px;
}

/* ===============================
   DESCRIPTION
   ================================== */

.hero-left p{

    margin-top:28px;

    width:540px;

    color:#999;

    font-size:20px;

    line-height:1.6;
}

/* ===============================
   PROMPT
================================== */

.prompt-box{

    margin-top:45px;

    width:640px;

    height:86px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.1);

    background:rgba(255,255,255,.03);

    backdrop-filter:blur(24px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 14px 0 28px;
}

.prompt-left{

    display:flex;

    align-items:center;

    gap:18px;

    width:100%;
}

.prompt-left svg{

    width:20px;

    color:white;
}

.prompt-left input{

    background:transparent;

    border:none;

    outline:none;

    width:100%;

    color:white;

    font-size:22px;
}

.prompt-left input::placeholder{

    color:#666;
}

.prompt-box button{

    width:58px;

    height:58px;

    border-radius:50%;

    border:none;

    cursor:pointer;

    background:white;

    color:black;

    display:grid;

    place-items:center;

    transition:.3s;
}

.prompt-box button:hover{

    transform:scale(1.05);
}

/* ===============================
   PILLS
================================== */

.hero-pills{

    display:flex;

    gap:14px;

    margin-top:28px;
}

.pill{

    padding:14px 22px;

    border-radius:999px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    color:#d7d7d7;

    font-size:14px;
}

/* ===============================
   RIGHT
================================== */

.hero-right{

    width:52%;
}



/* ===========================
   Partners
=========================== */

.partners{

    padding:90px 0;

    background:#000;
}

.partners-subtitle{

    text-align:center;

    color:#fff;

    font-size:15px;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:55px;
}

.partners-slider{

    position:relative;

    overflow:hidden;

    width:100%;
}

.partners-track{

    display:flex;

    align-items:center;

    gap:70px;

    width:max-content;

    animation:marquee 28s linear infinite;
}

.partner{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:180px;

    height:90px;

    transition:.35s;
}

.partner img{

    max-width:150px;

    max-height:60px;

    object-fit:contain;

    filter:grayscale(100%) brightness(.9);

    opacity:.75;

    transition:.35s;
}

.partner:hover img{

    filter:none;

    opacity:1;

    transform:scale(1.08);
}

@keyframes marquee{

    from{

        transform:translateX(0);
    }

    to{

        transform:translateX(-50%);
    }
}

/* ==========================================
   SECTION 2
========================================== */

.section-2{

    width:100%;

    background:#000;

    padding:90px 0 100px;
}

/* Container */

.section-2-container{

    width:92%;

    max-width:1000px;

    margin:0 auto;

    border-radius:28px;

    overflow:hidden;
}

/* Image */

.section-2-image{

    width:100%;

    display:block;

    border-radius:28px;

    user-select:none;
}

/* Bottom */

.section-2-footer{

    width:92%;

    max-width:1000px;

    margin:54px auto 0;

    display:flex;

    justify-content:center;

    align-items:center;

    
}

.learn-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#ffffff;

    text-decoration:none;

    font-size:32px;

    font-weight:500;

    letter-spacing:-0.8px;

    transition:.3s ease;
}

.learn-link svg{

    transition:.3s ease;
}

.learn-link:hover svg{

    transform:translateY(4px);
}

.learn-link:hover{

    opacity:.8;
}

.recent{

    padding:100px 0;

    background:#000;
}

.container{

    width:92%;

    max-width:1600px;

    margin:auto;
}

.section-title{

    font-size:64px;

    font-weight:700;

    letter-spacing:-4px;

    margin-bottom:50px;
}

.recent-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:22px;
}

.card{

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    background:#050505;

    overflow:hidden;
}

.card-large{

    height:720px;

    grid-row:span 2;
}

.recent-grid .card:not(.card-large){

    min-height:348px;
    height:auto;
    padding-bottom: 24px;
}

.card{

    transition:.4s ease;
}

.card:hover{

    border-color:rgba(255,255,255,.15);

    transform:translateY(-4px);
}

.big-card{

    position:relative;

    width:100%;
    height:100%;

    display:block;

    overflow:hidden;

    text-decoration:none;

    border-radius:22px;
}

/* ========================= */

.big-d{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    pointer-events:none;
}

.big-d svg{

    width:90%;
    height:90%;
}



/* ========================= */

.card-content{

    position:absolute;

    left:42px;

    bottom:42px;

    z-index:5;

}

.mini-logo{

    width:70px;

    display:block;

    margin-bottom:22px;

}

.card-content p{

    width:330px;

    color:#8f8f8f;

    font-size:28px;

    line-height:1.45;

}

.card-content{

    position:absolute;

    left:40px;

    bottom:40px;

    z-index:5;
}

.mini-logo{

    width:70px;
    height:auto;

    margin-bottom:22px;
}

.card-content p{

    width:330px;

    color:#8f8f8f;

    font-size:28px;

    line-height:1.4;
}







.passport-card{

    position:relative;

    overflow:hidden;

    cursor:pointer;

    background:#050505;

    border-radius:22px;

    border:1px solid rgba(255,255,255,.08);

}

.passport-content{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    height:100%;

    padding:26px;
}

.passport-left{

    width:42%;

}

.passport-left h3{

    font-size:28px;

    margin-bottom:12px;

}

.passport-left p{

    color:#8f8f8f;

    font-size:15px;

    line-height:1.5;

}




.card-glow{

    position:absolute;

    width:350px;

    height:350px;

    border-radius:50%;

    background:conic-gradient(

        #00ff6a,

        #ffe600,

        #ff4545,

        #8d2fff,

        #00d5ff,

        #00ff6a

    );

    filter:blur(90px);

    opacity:0;

    pointer-events:none;

    transition:opacity .3s;

    transform:translate(-50%,-50%);

}

.passport-card:hover .card-glow{

    opacity:1;

}







/* ==========================================
   DEPLOY CARD
========================================== */

.deploy-card{

    width:100%;
    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:34px;

}

/* ==========================================
   STATUS
========================================== */

.deploy-badge{

    display:flex;

    align-items:center;

    gap:12px;

    color:#d8d8d8;

    font-size:16px;

    font-weight:500;

}

.status-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#3cff73;

    box-shadow:
        0 0 12px #3cff73,
        0 0 30px #3cff73;

    animation:pulse 2s infinite;

}

@keyframes pulse{

    0%,100%{

        transform:scale(1);

        opacity:1;

    }

    50%{

        transform:scale(1.3);

        opacity:.6;

    }

}

/* ==========================================
   URL
========================================== */

.deploy-url{

    margin-top:14px;

    font-size:22px;

    font-weight:700;

    letter-spacing:-0.5px;

    color:#fff;

    line-height:1.2;

    word-break: break-all;

}

.deploy-url span{

    display:block;

    margin-top:8px;

    color:#8f8f8f;

    font-size:14px;

    font-weight:400;

    letter-spacing:0;

}

/* ==========================================
   STATS
   ========================================== */

.deploy-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin:20px 0;

    padding:16px 0;

    border-top:1px solid rgba(255,255,255,.08);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.deploy-stats div{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.deploy-stats span{

    color:#7f7f7f;

    font-size:14px;

}

.deploy-stats strong{

    color:#fff;

    font-size:20px;

    font-weight:600;

}

/* ==========================================
   BUTTON
========================================== */

.deploy-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    width:50%;

    height:400px;

    border:none;

    border-radius:14px;

    background:#ffffff;

    color:#000;

    font-size:25px;

    font-weight:700;

    letter-spacing:.8px;

    cursor:pointer;

    transition:.35s;

    

}

.deploy-btn svg{

    transition:.35s;

}

.deploy-btn:hover{

    transform:translateY(-2px);

    box-shadow:
        0 0 40px rgba(255,255,255,.18);

}

.deploy-btn:hover svg{

    transform:translateY(3px);

}

.deploy-btn{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}






/* ==========================================
   FEATURES SECTION
========================================== */

.feature-section{
    padding:100px 0;
    background:#000;
    overflow:hidden;
    position:relative;
}

.feature-wrapper{

    width:92%;
    max-width:1600px;

    margin:0 auto;

    display:grid;

    grid-template-columns:480px 1fr;

    align-items:center;

    gap:90px;

}

/* ==========================
   LEFT
========================== */

.feature-left{

    display:flex;

    flex-direction:column;

}

.feature-tag{

    display:inline-flex;

    align-items:center;

    width:max-content;

    padding:12px 20px;

    border-radius:999px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    color:#d7d7d7;

    font-size:13px;

    letter-spacing:1px;

    margin-bottom:30px;

}

.feature-heading{

    font-size:56px;

    line-height:.95;

    font-weight:800;

    letter-spacing:-3px;

    margin-bottom:24px;

}

.feature-description{

    color:#8f8f8f;

    font-size:22px;

    line-height:1.7;

    margin-bottom:50px;

}

/* ==========================
   FEATURE LIST
========================== */

.feature-list{

    display:flex;

    flex-direction:column;

    gap:30px;

}

.feature-item{

    display:flex;

    gap:20px;

    align-items:flex-start;

}

.feature-item img{

    width:54px;

    flex-shrink:0;

}

.feature-item h3{

    font-size:22px;

    margin-bottom:10px;

}

.feature-item p{

    color:#8f8f8f;

    font-size:17px;

    line-height:1.7;

}

/* ==========================
   BUTTON
========================== */

.feature-button{

    margin-top:55px;

    width:max-content;

    padding:18px 34px;

    border-radius:14px;

    background:#fff;

    color:#000;

    font-weight:600;

    transition:.35s;

}

.feature-button:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 50px rgba(255,255,255,.15);

}

/* ==========================
   RIGHT SIDE
========================== */

.feature-right{

    position:relative;

    height:900px;

}

/* ==========================================
   FEATURE IMAGE CARDS
========================================== */

.feature-card{

    position:absolute;

    overflow:hidden;

    border-radius:22px;

    background:#050505;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    transition:.45s ease;

    cursor:pointer;

}

.feature-card img{

    display:block;

    width:100%;

    height:100%;

    object-fit:cover;

}

.feature-card:hover{

    transform:translateY(-8px);

    border-color:rgba(255,255,255,.15);

    box-shadow:
        0 40px 90px rgba(0,0,0,.6);

}

/* ==========================================
   MAIN LARGE EDITOR
========================================== */

.feature-editor{

    width:620px;

    height:390px;

    top:40px;

    left:120px;

    z-index:5;

}

/* ==========================================
   ZIP UPLOAD
========================================== */

.feature-upload{

    width:250px;

    height:170px;

    top:300px;

    left:-20px;

    z-index:6;

}

/* ==========================================
   URL CARD
========================================== */

.feature-url{

    width:320px;

    height:120px;

    top:470px;

    left:70px;

    z-index:7;

}

/* ==========================================
   VERSION HISTORY
========================================== */

.feature-history{

    width:320px;

    height:230px;

    top:520px;

    right:40px;

    z-index:6;

}

/* ==========================================
   TEMPLATE CARD
========================================== */

.feature-template{

    width:220px;

    height:180px;

    top:120px;

    right:-10px;

    z-index:7;

}

/* ==========================================
   PRIVACY CARD
========================================== */

.feature-privacy{

    width:260px;

    height:180px;

    bottom:10px;

    left:260px;

    z-index:8;

}

/* ==========================================
   FEATURE SECTION GLOW
========================================== */

.feature-section::before{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    left:-220px;
    top:-150px;

    border-radius:50%;

    background:radial-gradient(circle,
        rgba(255,255,255,.06),
        transparent 70%);

    filter:blur(90px);

    pointer-events:none;

}

.feature-section::after{

    content:"";

    position:absolute;

    width:600px;
    height:600px;

    right:-180px;
    bottom:-180px;

    border-radius:50%;

    background:radial-gradient(circle,
        rgba(255,255,255,.04),
        transparent 70%);

    filter:blur(120px);

    pointer-events:none;

}

/* ==========================================
   CARD HOVER
========================================== */

.feature-card{

    will-change:transform;

}

.feature-card:hover{

    transform:
        translateY(-10px)
        scale(1.02);

}

/* ==========================================
   FLOATING ANIMATION
========================================== */

@keyframes floatSlow{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes floatMedium{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

.feature-editor{

    animation:floatSlow 8s ease-in-out infinite;

}

.feature-upload{

    animation:floatMedium 7s ease-in-out infinite;

}

.feature-template{

    animation:floatSlow 9s ease-in-out infinite;

}

.feature-url{

    animation:floatMedium 8s ease-in-out infinite;

}

.feature-history{

    animation:floatSlow 10s ease-in-out infinite;

}

.feature-privacy{

    animation:floatMedium 9s ease-in-out infinite;

}

/* ==========================================
   IMAGE QUALITY
========================================== */

.feature-card img{

    object-fit:cover;

    transition:.45s ease;

}

.feature-card:hover img{

    transform:scale(1.03);

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1200px){

    .feature-wrapper{

        grid-template-columns:1fr;

        gap:70px;

    }

    .feature-left{

        max-width:720px;

    }

    .feature-right{

        width:100%;

        height:800px;

    }

}

@media(max-width:768px){

    .feature-heading{

        font-size:54px;

        letter-spacing:-2px;

    }

    .feature-description{

        font-size:18px;

    }

    .feature-right{

        transform:scale(.8);

        transform-origin:top center;

        height:650px;

    }

}

/* ==========================================
   PRICING & CREDITS
   ========================================== */
.pricing {
    padding: 100px 0;
    background: #000;
}

.credits-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 42px;
    max-width: 640px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    transition: .4s ease;
}

.credits-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.credits-card::before {
    content: " \;
 position: absolute;
 top: -80px;
 right: -80px;
 width: 240px;
 height: 240px;
 background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
 border-radius: 50%;
 pointer-events: none;
}

.credits-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 34px;
}

.credits-title {
 font-size: 26px;
 font-weight: 700;
 color: #fff;
 letter-spacing: -0.5px;
}

.credits-free {
 background: rgba(60, 255, 115, 0.1);
 border: 1px solid rgba(60, 255, 115, 0.2);
 color: #3cff73;
 padding: 6px 16px;
 border-radius: 999px;
 font-size: 13px;
 font-weight: 600;
}

.credits-list {
 display: flex;
 flex-direction: column;
 gap: 16px;
 margin-bottom: 38px;
}

.credit-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 font-size: 16px;
 padding: 4px 0;
}

.credit-row-name {
 color: #8f8f8f;
}

.credit-row-cost {
 font-weight: 600;
 color: #fff;
}

.credit-row-cost.free {
 color: #3cff73;
}

.credits-divider {
 height: 1px;
 background: rgba(255, 255, 255, 0.08);
}

.pricing-btn {
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 padding: 18px;
 border-radius: 14px;
 background: #fff;
 color: #000;
 text-decoration: none;
 font-weight: 600;
 font-size: 16px;
 transition: .35s;
}

.pricing-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

/* ==========================================
 COMMUNITY SECTION
 ========================================== */
.community {
 padding: 100px 0;
 background: #000;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
 border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 22px;
}

.community-card {
 background: rgba(255, 255, 255, 0.02);
 border: 1px solid rgba(255, 255, 255, 0.08);
 border-radius: 22px;
 padding: 34px;
 backdrop-filter: blur(20px);
 transition: .4s ease;
}

.community-card:hover {
 border-color: rgba(255, 255, 255, 0.15);
 transform: translateY(-4px);
 box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.community-icon {
 margin-bottom: 22px;
 color: #fff;
 display: flex;
 align-items: center;
}

.community-icon svg {
 width: 32px;
 height: 32px;
}

.community-title {
 font-size: 24px;
 font-weight: 600;
 color: #fff;
 margin-bottom: 10px;
 letter-spacing: -0.5px;
}

.community-text {
 color: #8f8f8f;
 font-size: 16px;
 line-height: 1.6;
}

/* ==========================================
 CTA SECTION
 ========================================== */
.cta-section {
 padding: 100px 0;
 text-align: center;
 background: #000;
 position: relative;
}

.cta-heading {
 font-size: 56px;
 font-weight: 800;
 letter-spacing: -3px;
 margin-bottom: 18px;
 color: #fff;
 line-height: 1.05;
}

.cta-description {
 color: #8f8f8f;
 font-size: 18px;
 line-height: 1.6;
 margin-bottom: 34px;
 max-width: 600px;
 margin-left: auto;
 margin-right: auto;
}

.cta-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 18px 40px;
 border-radius: 999px;
 background: #fff;
 color: #000;
 text-decoration: none;
 font-weight: 600;
 font-size: 16px;
 transition: .35s;
}

.cta-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

/* ==========================================
 FOOTER
 ========================================== */
footer {
 border-top: 1px solid rgba(255, 255, 255, 0.08);
 padding: 60px 0;
 background: #000;
}

.footer-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 30px;
}

.footer-logo {
 display: flex;
 align-items: center;
 gap: 12px;
 text-decoration: none;
}

.footer-logo img {
 width: 44px;
}

.footer-logo span {
 color: #fff;
 font-size: 18px;
 font-weight: 600;
 letter-spacing: 2px;
}

.footer-links {
 display: flex;
 gap: 34px;
}

.footer-link {
 font-size: 15px;
 color: #8f8f8f;
 text-decoration: none;
 transition: color .3s;
}

.footer-link:hover {
 color: #fff;
}

.footer-copy {
 font-size: 14px;
 color: #5f5f5f;
 width: 100%;
 margin-top: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.05);
 padding-top: 20px;
}

/* ==========================================
 RESPONSIVE DESIGN ADDITIONS
 ========================================== */
@media(max-width: 900px) {
 .community-grid {
 grid-template-columns: 1fr;
 gap: 16px;
 }
 .cta-heading {
 font-size: 52px;
 letter-spacing: -2px;
 }
}
@media(max-width: 768px) {
 .navbar {
 height: auto;
 flex-direction: column;
 gap: 20px;
 padding-bottom: 20px;
 }
 .nav-links {
 padding: 0 20px;
 gap: 20px;
 }
 .logo img {
 width: 28px;
 height: 28px;
 object-fit: contain;
 }
 .logo span {
 font-size: 22px;
 }
 .hero-left h1 {
 font-size: 54px;
 letter-spacing: -2px;
 }
 .hero-left p {
 font-size: 18px;
 width: 100%;
 }
 .prompt-box {
 width: 100%;
 height: 70px;
 }
 .prompt-left input {
 font-size: 16px;
 }
 .prompt-box button {
 width: 48px;
 height: 48px;
 }
 .hero-pills {
 flex-wrap: wrap;
 gap: 10px;
 }
 .pill {
 padding: 10px 16px;
 font-size: 12px;
 }
 .section-title {
 font-size: 52px;
 letter-spacing: -2px;
 }
 .credits-card {
 padding: 24px;
 }
 .credits-title {
 font-size: 20px;
 }
}


/* ==========================================
   NEW HERO ACTIONS CONTAINER
   ========================================== */
.hero-actions-container {
    display: flex;
    gap: 16px;
    margin-top: 45px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.08);
}

/* ==========================================
   BINARY MATRIX BLINKING & GLOW
   ========================================== */
.binary-matrix {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 14px;
    padding: 24px;
    opacity: 0.12;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s, filter 0.3s;
}

.big-card:hover .binary-matrix {
    opacity: 0.45;
}

.binary-bit {
    font-family: monospace;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    transition: color 0.3s, text-shadow 0.3s;
}

@keyframes bitBlink {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 1; }
}

.big-card:hover .binary-bit {
    color: #a78bfa;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.9);
}

/* ==========================================
   APPLE-STYLE GLASS NAV BUBBLE
   ========================================== */
.nav-links {
    position: relative;
}

.nav-bubble {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}

.nav-links:hover .nav-bubble {
    opacity: 1;
}

.nav-links li {
    position: relative;
    z-index: 1;
}


/* ==========================================
   POLISHED COMMUNITY CARDS & NEON GLOWS
   ========================================== */
.community-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    color: #8f8f8f;
}

.community-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

/* Card-specific glows */
.community-card {
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.community-card.card-stars:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.08) !important;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.04), rgba(255, 255, 255, 0.01)) !important;
    transform: translateY(-4px);
}
.community-card.card-stars:hover .community-icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.community-card.card-comments:hover {
    border-color: #a78bfa !important;
    box-shadow: 0 20px 40px rgba(167, 139, 250, 0.08) !important;
    background: radial-gradient(circle at top right, rgba(167, 139, 250, 0.04), rgba(255, 255, 255, 0.01)) !important;
    transform: translateY(-4px);
}
.community-card.card-comments:hover .community-icon-wrapper {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.community-card.card-forks:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08) !important;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.04), rgba(255, 255, 255, 0.01)) !important;
    transform: translateY(-4px);
}
.community-card.card-forks:hover .community-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.community-card.card-follow:hover {
    border-color: #10b981 !important;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08) !important;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.04), rgba(255, 255, 255, 0.01)) !important;
    transform: translateY(-4px);
}
.community-card.card-follow:hover .community-icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}


/* ==========================================
   COLLABORATIVE COMMUNITY LAYOUT (REDESIGNED)
   ========================================== */
.community-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.community-left {
    width: 45%;
}

.community-right {
    width: 50%;
    display: flex;
    justify-content: center;
}

.collab-image-mockup {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transition: transform 0.4s ease;
    user-select: none;
}

.collab-image-mockup:hover {
    transform: scale(1.02);
}

.community-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.community-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.community-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a78bfa;
    margin-top: 8px;
    flex-shrink: 0;
}

.community-feature-item strong {
    display: block;
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.community-feature-item p {
    font-size: 15px;
    color: #8f8f8f;
    line-height: 1.5;
}

@media(max-width: 900px) {
    .community-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .community-left, .community-right {
        width: 100%;
    }
    .collab-image-mockup {
        max-width: 100%;
    }
}


/* ==========================================
   PRICING HEADER BADGE & COPY ADJUSTMENTS
   ========================================== */
.pricing-tag-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pricing-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    color: #d7d7d7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}


/* ==========================================
   GLOBAL VIEWPORT SIZING (TIGHTENED 75% MODE)
   ========================================== */
html, body {
    font-size: 13.5px !important;
}

.navbar {
    height: 64px !important;
}

.logo img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
}

.logo span {
    font-size: 20px !important;
}

.hero-image {
    width: 680px !important;
    right: -60px !important;
}

.hero-left h1 {
    font-size: 60px !important;
    letter-spacing: -3.5px !important;
}

.hero-left p {
    font-size: 20px !important;
    width: 540px !important;
}

.section-title {
    font-size: 42px !important;
    letter-spacing: -2px !important;
    margin-bottom: 40px !important;
}

.feature-heading {
    font-size: 40px !important;
    letter-spacing: -2px !important;
}

.cta-heading {
    font-size: 40px !important;
    letter-spacing: -2px !important;
}

.primary-btn, .secondary-btn, .feature-button, .cta-btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
}

.pricing-container {
    display: flex;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    backdrop-filter: blur(25px);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.pricing-dial-pane {
    width: 40%;
    background: radial-gradient(circle at top left, rgba(60, 255, 115, 0.03), transparent 70%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing-costs-pane {
    width: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.credit-dial {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #3cff73 75%, rgba(255, 255, 255, 0.04) 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 0 40px rgba(60, 255, 115, 0.15);
}

.credit-dial::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #ffffff;
}

.credit-dial-content {
    position: relative;
    z-index: 2;
}

.credit-dial-number {
    font-size: 48px;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    letter-spacing: -2px;
}

.credit-dial-label {
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}

.pricing-costs-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 16px;
 margin-bottom: 30px;
}

.cost-block {
 background: rgba(255, 255, 255, 0.02);
 border: 1px solid rgba(255, 255, 255, 0.06);
 border-radius: 18px;
 padding: 20px;
 transition: all 0.35s ease;
 text-align: left;
}

.cost-block:hover {
 border-color: rgba(255, 255, 255, 0.12);
 background: rgba(255, 255, 255, 0.04);
}

.cost-block-title {
 font-size: 14px;
 color: #8f8f8f;
 margin-bottom: 8px;
}

.cost-block-value {
 font-size: 20px;
 font-weight: 700;
 color: #fff;
}

.cost-block-value.free {
 color: #3cff73;
}

.pricing-info-footer {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.06);
 padding-top: 24px;
 margin-top: 10px;
}

@media(max-width: 850px) {
 .pricing-container {
 flex-direction: column;
 }
 .pricing-dial-pane {
 width: 100%;
 border-right: none;
 border-bottom: 1px solid rgba(255, 255, 255, 0.06);
 }
 .pricing-costs-pane {
 width: 100%;
 padding: 30px;
 }
 .pricing-costs-grid {
 grid-template-columns: 1fr;
 }
}


/* ==========================================
   RECENTLY SHIPPED COMPACT OVERRIDES
   ========================================== */
.recent-grid {
    display: grid !important;
    grid-template-columns: 1.2fr .8fr !important;
    gap: 20px !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.card-large {
    grid-row: span 2 !important;
    height: 640px !important;
    aspect-ratio: auto !important;
}

.recent-grid .card:not(.card-large) {
    height: auto !important;
    min-height: 310px !important;
    aspect-ratio: auto !important;
}

.passport-content {
    padding: 26px !important;
}

.passport-left {
    width: 55% !important;
}

.passport-left h3 {
    font-size: 26px !important;
    margin-bottom: 12px !important;
}

.passport-left p {
    font-size: 14.5px !important;
}

.deploy-card {
    padding: 26px !important;
}

.deploy-url {
    font-size: 18px !important;
    margin-top: 10px !important;
}

.deploy-stats {
    margin: 14px 0 !important;
    padding: 10px 0 !important;
    gap: 12px !important;
}

.deploy-stats strong {
    font-size: 14px !important;
}

.deploy-stats span {
    font-size: 11px !important;
}

.deploy-badge {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.status-dot {
    width: 6px !important;
    height: 6px !important;
}

@media(max-width: 850px) {
    .recent-grid {
        grid-template-columns: 1fr !important;
    }
    .card-large, .recent-grid .card:not(.card-large) {
        aspect-ratio: auto !important;
        min-height: 222px !important;
    }
}

