/* ====================================================
   PYSTORE – MAIN CSS
   Dark Modern SaaS Theme
   ==================================================== */

:root {
  --bg-base:       #080810;
  --bg-surface:    #0f0f1a;
  --bg-card:       #14142a;
  --bg-card-hover: #1a1a38;
  --border:        rgba(255,255,255,0.07);
  --border-glow:   rgba(124, 58, 237, 0.3);

  --primary:       #7c3aed;
  --primary-hover: #6d28d9;
  --primary-glow:  rgba(124, 58, 237, 0.25);
  --secondary:     #3b82f6;
  --accent:        #06b6d4;

  --text-base:     #e2e8f0;
  --text-muted:    #64748b;
  --text-subtle:   #94a3b8;

  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --gradient-hero:    linear-gradient(160deg, #0f0f1a 0%, #080810 100%);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px rgba(124,58,237,0.2);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
}

/* ===== BASE ===== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;   /* prevent horizontal scroll caused by AOS / decorative elements */
  max-width: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-base);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  padding-top: 110px; /* announcement (42px) + navbar (68px) – JS overrides dynamically */
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.bg-surface { background-color: var(--bg-surface) !important; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== UTILITIES ===== */
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.pb-6 { padding-bottom: 5rem !important; }
.pt-6 { padding-top: 5rem !important; }

/* ===== NAV WRAPPER ===== */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, #4c1d95 0%, #1e40af 55%, #0e7490 100%);
  padding: 8px 16px;
  position: relative;
  overflow: hidden;
}

.announcement-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -100%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  animation: ann-shimmer 4s ease infinite;
  pointer-events: none;
}

@keyframes ann-shimmer {
  0%   { left: -60%; }
  100% { left: 160%; }
}

.announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.ann-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

.ann-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.ann-text strong { color: white; }

.ann-cta {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  padding: 2px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.ann-cta:hover {
  background: rgba(255,255,255,0.28);
  color: white;
}

.ann-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.2s;
}

.ann-close:hover { color: white; }

/* ===== NAVBAR ===== */
#mainNavbar {
  background: rgba(4, 4, 12, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0.65rem 0;
  height: 68px;
}

#mainNavbar.scrolled {
  background: rgba(4, 4, 12, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.45);
  border-bottom-color: rgba(124,58,237,0.25);
}

/* Vertical divider between links and CTA */
.nav-vdivider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}

.brand-logo-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-base);
  letter-spacing: -0.5px;
}

.brand-accent { color: var(--primary); }

.nav-link {
  color: var(--text-subtle) !important;
  font-weight: 500;
  padding: 0.4rem 0.75rem !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-base) !important;
  background: rgba(255,255,255,0.05);
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

body:has(.mobile-bottom-nav) main,
body:has(.mobile-bottom-nav) footer {
  margin-bottom: 70px;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.mobile-nav-item i { font-size: 1.3rem; }

.mobile-nav-item.active { color: var(--primary); }

.mobile-nav-item:hover { color: var(--text-base); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px var(--primary-glow);
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.btn-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-purple:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: white;
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border-color: var(--border);
  color: var(--text-subtle);
  border-radius: 10px;
  font-weight: 500;
}

.btn-outline-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-base);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-base);
  border-radius: 10px;
  font-weight: 600;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-base);
  border-color: rgba(255,255,255,0.3);
}

.btn-light {
  background: white;
  color: #1a1a2e;
  font-weight: 700;
  border: none;
  border-radius: 10px;
}

.btn-light:hover {
  background: #f0f0ff;
  color: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  bottom: 0;
  left: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: #a78bfa;
  font-weight: 500;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-subtle);
  max-width: 540px;
  line-height: 1.8;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* ===== HERO CODE CARD ===== */
.hero-code-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(124,58,237,0.1);
}

.code-card-header {
  background: rgba(255,255,255,0.04);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.code-card-body { padding: 20px; }

.hero-code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-subtle);
  margin: 0;
  white-space: pre;
}

.hero-code .kw    { color: #c084fc; }
.hero-code .cls   { color: #67e8f9; }
.hero-code .fn    { color: #86efac; }
.hero-code .num   { color: #fbbf24; }
.hero-code .bool  { color: #f472b6; }
.hero-code .comment { color: #475569; font-style: italic; }

/* ===== SCROLL INDICATOR ===== */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce-down 2s ease infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== STATS ===== */
.stats-section { border-bottom: 1px solid var(--border); }

.stat-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ===== SECTION HEADERS ===== */
.section-badge {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: #a78bfa;
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-subtle);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== OPTION CARDS ===== */
.option-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.option-card-info:hover {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(59,130,246,0.1);
}

.option-card-shop:hover {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.1);
}

.option-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.option-card-info .option-card-glow {
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
}

.option-card-shop .option-card-glow {
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
}

.option-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
}

.option-badge {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #60a5fa;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.option-badge-purple {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.25);
  color: #a78bfa;
}

.option-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.option-desc {
  color: var(--text-subtle);
  font-size: 0.95rem;
  line-height: 1.7;
}

.option-features {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.option-features li i {
  color: #4ade80;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== PRICE BOX ===== */
.option-price-box {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.option-price-box-purple {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.2);
}

.option-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.option-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== SERVICES ===== */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(124,58,237,0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(124,58,237,0.2);
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags span {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== SKILLS ===== */
.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}

.tech-card:hover {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.25);
  color: var(--text-base);
}

.skill-bar-item { margin-bottom: 0.5rem; }

.skill-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-base);
}

.skill-percent {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.skill-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PROJECTS PAGE ===== */
.projects-page-wrap {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.projects-compact-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.projects-compact-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.projects-compact-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.filter-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(124,58,237,0.3);
}

/* ===== PROJECT CARDS ===== */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(124,58,237,0.08);
}

.project-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img img { transform: scale(1.05); }

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,16,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-img-overlay { opacity: 1; }

.project-overlay-links {
  display: flex;
  gap: 12px;
}

.project-overlay-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.2s;
}

.project-overlay-links a:hover { background: var(--primary); }

.project-img-placeholder {
  height: 200px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

/* Category colour gradients */
.project-img-placeholder { background: linear-gradient(135deg,#1e3a5f 0%,#0f172a 100%); color: rgba(14,165,233,0.5); }
.project-img-placeholder.cat-web       { background: linear-gradient(135deg,#1e3a5f 0%,#0c1a3a 100%); color: rgba(14,165,233,0.6); }
.project-img-placeholder.cat-bot       { background: linear-gradient(135deg,#2d1b69 0%,#0d0520 100%); color: rgba(139,92,246,0.6); }
.project-img-placeholder.cat-api       { background: linear-gradient(135deg,#064e3b 0%,#021a14 100%); color: rgba(16,185,129,0.6); }
.project-img-placeholder.cat-shop      { background: linear-gradient(135deg,#7c2d12 0%,#2a0d04 100%); color: rgba(249,115,22,0.6); }
.project-img-placeholder.cat-dashboard { background: linear-gradient(135deg,#4c1d95 0%,#1a0835 100%); color: rgba(236,72,153,0.6); }
.project-img-placeholder.cat-other     { background: linear-gradient(135deg,#1e293b 0%,#0a0f1a 100%); color: rgba(100,116,139,0.6); }

/* Subtle grid overlay on placeholder */
.project-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.project-placeholder-links {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-placeholder-links { opacity: 1; }

.project-placeholder-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 1rem;
  text-decoration: none;
}

.project-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(124,58,237,0.1);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-base);
}

.project-desc {
  color: var(--text-subtle);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0.75rem;
}

.tech-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(59,130,246,0.08) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  color: var(--text-subtle);
  font-size: 1rem;
  margin: 0;
}

/* ===== FILTER BAR ===== */
.filter-bar { gap: 8px; }

.filter-btn {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 20px;
  font-size: 0.875rem;
  color: var(--text-subtle);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.25);
  color: var(--text-base);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}

.page-header-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}

.page-subtitle {
  color: var(--text-subtle);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(59,130,246,0.1) 100%);
  border: 2px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: rgba(124,58,237,0.5);
  box-shadow: 0 0 80px rgba(124,58,237,0.15);
}

.about-status-badge {
  position: absolute;
  bottom: 20px;
  right: 0;
  background: rgba(8,8,16,0.9);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-role-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: #a78bfa;
  font-weight: 600;
}

.about-text {
  color: var(--text-subtle);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===== FOCUS / WHY CARDS ===== */
.focus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.25);
}

.focus-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.focus-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.focus-card p {
  color: var(--text-subtle);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

.why-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.25);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.why-card h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ===== HONEYPOT (spam protection) ===== */
.hp-wrap { position: absolute; left: -9999px; top: -9999px; visibility: hidden; overflow: hidden; width: 0; height: 0; }
.hp-field { position: absolute; left: -9999px; }

/* ===== CONTACT ===== */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.contact-info-icon-discord { background: rgba(88,101,242,0.1); border-color: rgba(88,101,242,0.2); color: #7289da; }
.contact-info-icon-telegram { background: rgba(0,136,204,0.1); border-color: rgba(0,136,204,0.2); color: #0088cc; }
.contact-info-icon-github   { background: rgba(255,255,255,0.05); border-color: var(--border); color: var(--text-subtle); }

.contact-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--text-base);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-value:hover { color: var(--primary); }

.contact-availability {
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius);
  padding: 1rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-control {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text-base) !important;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(124,58,237,0.4) !important;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1) !important;
  color: var(--text-base) !important;
}

.form-control::placeholder { color: var(--text-muted); }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-base);
  margin-bottom: 6px;
}

.invalid-feedback {
  color: #f87171;
  font-size: 0.8rem;
}

/* ===== EMPTY STATE ===== */
.empty-state { padding: 4rem 0; }

.empty-icon {
  font-size: 4rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border); }

.footer-top { padding: 4rem 0; }

.footer-heading {
  color: var(--text-base);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-base); }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { display: flex; align-items: center; }
.footer-contact a { color: var(--text-subtle); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--primary); }

.footer-social {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
}
.footer-social:hover { color: var(--primary); transform: translateY(-2px); }

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

/* ===== ALERTS ===== */
.alert-success {
  background: rgba(74,222,128,0.1) !important;
  border-color: rgba(74,222,128,0.25) !important;
  color: #4ade80 !important;
}

.alert-error, .alert-danger {
  background: rgba(248,113,113,0.1) !important;
  border-color: rgba(248,113,113,0.25) !important;
  color: #f87171 !important;
}

.alert-info {
  background: rgba(96,165,250,0.1) !important;
  border-color: rgba(96,165,250,0.25) !important;
  color: #60a5fa !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(8,8,16,0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .py-6 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .hero-title { font-size: 2.5rem; }
  .option-card { padding: 1.75rem; }
  .cta-card { padding: 2rem; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
  .contact-form-card,
  .contact-info-card { padding: 1.5rem; }
  .announcement-bar { padding: 7px 40px 7px 12px; }
  .announcement-inner { justify-content: flex-start; }
  .ann-text { font-size: 0.78rem; }
}

/* ===== DESKTOP FLOATING ACTION BUTTON ===== */
.desktop-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: white !important;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(124,58,237,0.45), 0 2px 10px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.95);
}

.desktop-fab.fab-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.desktop-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(124,58,237,0.55), 0 2px 12px rgba(0,0,0,0.4);
}

/* ===== PROCESS / HOW IT WORKS SECTION ===== */
.process-section { background: var(--bg-surface); }

.process-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.process-number {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 1rem;
  font-family: 'Consolas', monospace;
  text-transform: uppercase;
}

.process-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.process-step:hover .process-icon {
  background: rgba(124,58,237,0.18);
  border-color: rgba(124,58,237,0.45);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(124,58,237,0.18);
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-base);
}

.process-step p {
  color: var(--text-subtle);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 240px;
  margin: 0 auto;
}

.process-connector {
  position: absolute;
  top: calc(1.65rem + 36px);
  left: calc(50% + 46px);
  right: calc(-50% + 46px);
  height: 1px;
  background: linear-gradient(90deg, rgba(124,58,237,0.5) 0%, rgba(59,130,246,0.2) 100%);
}

/* ===== HERO TRUST STRIP ===== */
.hero-trust {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-item i { color: #4ade80; font-size: 0.9rem; }

.trust-sep {
  color: var(--border);
  font-size: 1rem;
}

/* ===== IMPROVED OPTION CARDS: Featured badge ===== */
.option-featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.option-card-featured {
  border-color: rgba(124,58,237,0.4) !important;
  box-shadow: 0 0 0 1px rgba(124,58,237,0.2), var(--shadow-card) !important;
}

/* ===== MOBILE BOTTOM NAV – improved ===== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1025;
  background: rgba(4, 4, 12, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(124,58,237,0.15);
  padding: 0.4rem 0;
  padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

body:has(.mobile-bottom-nav) main,
body:has(.mobile-bottom-nav) footer {
  margin-bottom: 72px;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.3rem 0;
  transition: color 0.2s;
  position: relative;
}

.mobile-nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 0 0 2px 2px;
  transition: width 0.2s ease;
}

.mobile-nav-item.active::before { width: 24px; }

.mobile-nav-item i { font-size: 1.35rem; }
.mobile-nav-item.active { color: var(--primary); }
.mobile-nav-item:hover { color: var(--text-base); }

/* ===== STAT CARD IMPROVEMENT ===== */
.stat-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
  border-color: rgba(124,58,237,0.2);
  transform: translateY(-3px);
}

@media (max-width: 991.98px) {
  .desktop-fab { bottom: 1.5rem; right: 1.5rem; padding: 0.65rem 1.2rem; font-size: 0.85rem; }
  .process-connector { display: none; }
  .process-step { padding: 0; }
}
