/* =========================================
   KALANA SAHAN PORTFOLIO 2026 - DESIGN SYSTEM
   Premium Dark + Zentix Brand Integration
   + Sub-Pages & App Detail Styles
   ========================================= */

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

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #7c3aed;
  --primary-light: #a855f7;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.3);
  --danger: #f43f5e;
  --bg-dark: #050508;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(124,58,237,0.4);
  --text-primary: #f1f0f7;
  --text-secondary: #94a3b8;
  --text-muted: #4b5563;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --gradient-zentix: linear-gradient(135deg, #a855f7 0%, #06b6d4 60%, #10b981 100%);
  --gradient-glow: radial-gradient(ellipse at top, rgba(124,58,237,0.15) 0%, transparent 70%);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.2);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --zentix-primary: #8b5cf6;
  --zentix-accent: #06b6d4;
  --zentix-green: #10b981;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ---- SELECTION ---- */
::selection { background: rgba(124,58,237,0.3); color: white; }

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,0.12) 0%, transparent 100%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6,182,212,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  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;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* ============================================
   HEADER / NAV
   ============================================ */

#main-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#main-header.scrolled {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--gradient-main);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.5);
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
  height: 2px;
  width: 80px;
  background: var(--gradient-main);
  margin: 1rem auto 3rem;
  border-radius: 2px;
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-main);
  border-radius: 4px;
  filter: blur(6px);
  opacity: 0.5;
}

/* ============================================
   TEXT GRADIENTS
   ============================================ */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-zentix {
  background: var(--gradient-zentix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BADGE / CHIP
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-purple { background: rgba(124,58,237,0.15); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.25); }
.badge-cyan { background: rgba(6,182,212,0.15); color: var(--accent); border: 1px solid rgba(6,182,212,0.25); }
.badge-green { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.25); }
.badge-pink { background: rgba(244,63,94,0.15); color: var(--danger); border: 1px solid rgba(244,63,94,0.25); }

/* ============================================
   BUTTON
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--gradient-main);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  box-shadow: 0 4px 24px rgba(124,58,237,0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.55); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(124,58,237,0.08);
  transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Floating Profile Image */
@keyframes float-hero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.floating-img { animation: float-hero 7s ease-in-out infinite; }

/* Cursor glow */
#cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* Particle Canvas */
#particles-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.4;
}

/* ============================================
   TYPING EFFECT CURSOR
   ============================================ */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================
   SKILL CARDS
   ============================================ */
.skill-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.skill-card:hover { transform: translateY(-6px); }
.skill-card .skill-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.75rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  transition: transform 0.3s, background 0.3s;
}
.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(124,58,237,0.25);
}

/* ============================================
   DRAGON / SCROLL ANIMATION
   ============================================ */
#dragon-container {
  position: fixed;
  right: -10px;
  top: 0;
  width: 120px;
  height: 100vh;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

#dragon-svg {
  position: absolute;
  right: 0;
  width: 100px;
  transition: top 0.1s linear;
  filter: drop-shadow(0 0 12px rgba(124,58,237,0.6));
}

/* Dragon trail */
#dragon-trail-canvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 150px;
  height: 100vh;
  z-index: 49;
  pointer-events: none;
  opacity: 0.6;
}

/* ============================================
   ZENTIX SECTION
   ============================================ */
.zentix-hero-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(6,182,212,0.08) 100%);
  border-top: 1px solid rgba(139,92,246,0.15);
  border-bottom: 1px solid rgba(6,182,212,0.15);
  overflow: hidden;
}
.zentix-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,92,246,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.zentix-logo-glow {
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.5)) drop-shadow(0 0 40px rgba(6,182,212,0.3));
}

.zentix-app-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.zentix-app-card:hover { transform: translateY(-8px); }
.zentix-app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(139,92,246,0.3);
  transition: border-color 0.3s;
}
.zentix-app-card:hover::after { border-color: rgba(6,182,212,0.5); }

.zentix-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.12);
  transition: background 0.3s;
}
.zentix-stat:hover { background: rgba(139,92,246,0.12); }
.zentix-stat-number {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-zentix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Social connect buttons for Zentix */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
}
.social-btn:hover { transform: translateY(-3px); opacity: 0.9; }
.social-btn-google { background: rgba(52,168,83,0.12); color: #4ade80; box-shadow: 0 4px 15px rgba(52,168,83,0.15); }
.social-btn-google:hover { box-shadow: 0 8px 25px rgba(52,168,83,0.3); }
.social-btn-fb { background: rgba(59,130,246,0.12); color: #60a5fa; box-shadow: 0 4px 15px rgba(59,130,246,0.15); }
.social-btn-fb:hover { box-shadow: 0 8px 25px rgba(59,130,246,0.3); }
.social-btn-email { background: rgba(124,58,237,0.12); color: var(--primary-light); box-shadow: 0 4px 15px rgba(124,58,237,0.15); }
.social-btn-email:hover { box-shadow: 0 8px 25px rgba(124,58,237,0.3); }

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(124,58,237,0.2); }
.project-card .card-accent-line {
  height: 3px;
  background: var(--gradient-main);
  width: 0;
  transition: width 0.4s ease;
}
.project-card:hover .card-accent-line { width: 100%; }

/* ============================================
   CONTACT FORM
   ============================================ */
.form-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--primary);
  background: rgba(124,58,237,0.05);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

/* ============================================
   FOOTER
   ============================================ */
#main-footer {
  background: rgba(0,0,0,0.6);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.footer-social {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s;
}
.footer-social:hover {
  color: white;
  background: rgba(124,58,237,0.2);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fadeInUp { animation: fadeInUp 0.7s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.7s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.7s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Glow text animation */
@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 20px rgba(124,58,237,0.5); }
  50% { text-shadow: 0 0 40px rgba(6,182,212,0.7), 0 0 60px rgba(124,58,237,0.3); }
}
.glow-text { animation: glow-pulse 3s ease-in-out infinite; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-overlay.open { transform: translateX(0); }
.mobile-nav-link {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav-link:hover { color: var(--text-primary); }

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-main);
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(124,58,237,0.6);
}

/* ============================================
   ICON CONTAINER
   ============================================ */
.icon-container {
  min-height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  #dragon-container { display: none; }
  #dragon-trail-canvas { display: none; }

  .hero-text { text-align: center; }
  .hero-buttons { justify-content: center; }
}

/* ============================================
   ZENTIX PAGE SPECIFIC
   ============================================ */
.zentix-page-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}
.zentix-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.15);
  animation: ring-pulse 4s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.app-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s, transform 0.3s;
  border: 1px solid var(--border);
}
.app-item-card:hover {
  background: var(--bg-card-hover);
  transform: translateX(4px);
  border-color: var(--border-hover);
}
.app-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================
   SUB-PAGE & APP DETAIL STYLES
   ============================================ */

/* Legacy cardbg compat */
.bg-cardbg {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

/* App info card */
.app-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
}
.app-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
}

/* Image modal */
.modal-overlay {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
}
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
}
.modal-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.75rem;
  object-fit: contain;
}

/* Screenshot gallery */
.image-gallery-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #1a1a2e;
  padding-bottom: 0.75rem;
}
.image-gallery-scroll::-webkit-scrollbar { height: 4px; }
.image-gallery-scroll::-webkit-scrollbar-track { background: #0a0a0f; }
.image-gallery-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.app-screenshot {
  display: inline-block;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  vertical-align: top;
  border: 1px solid var(--border);
}
.app-screenshot:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.25);
}

/* Tech badge */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-light);
}

/* Feature list item */
.feature-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.625rem;
  transition: background 0.2s;
}
.feature-item:hover { background: rgba(255,255,255,0.03); }
.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--primary-light);
}

/* Download button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(22,163,74,0.3);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(22,163,74,0.45);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================
   SEO / ACCESSIBILITY UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* glassy header after scroll */
.glass-header {
  background: rgba(5,5,8,0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
}
