/* ═════════════════════════════════════════════════════════════
   MAKSIM TODOROV — PORTFOLIO & VCARD DESIGN SYSTEM
   Modern Dark-Tech Glassmorphism, Neon Accents, Fluid Grid
   ═════════════════════════════════════════════════════════════ */

:root {
  /* Dark Theme (Default) */
  --bg-main: #090D16;
  --bg-surface: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-muted: rgba(30, 41, 59, 0.5);
  --bg-input: rgba(15, 23, 42, 0.8);
  
  --primary: #8B5CF6;
  --primary-hover: #A78BFA;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --primary-light: rgba(139, 92, 246, 0.15);
  
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;
  
  --text-main: #F8FAFC;
  --text-body: #94A3B8;
  --text-muted: #64748B;
  
  --border: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(139, 92, 246, 0.3);
  --border-focus: #8B5CF6;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  --shadow-glow: 0 12px 40px rgba(139, 92, 246, 0.25);
  
  --header-height: 74px;
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-muted: #F1F5F9;
  --bg-input: #FFFFFF;
  
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --primary-glow: rgba(124, 58, 237, 0.2);
  --primary-light: rgba(124, 58, 237, 0.08);
  
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  
  --border: rgba(226, 232, 240, 0.9);
  --border-glow: rgba(124, 58, 237, 0.25);
  --border-focus: #7C3AED;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 0 1px 1px rgba(0, 0, 0, 0.03) inset;
  --shadow-glow: 0 12px 30px rgba(124, 58, 237, 0.18);
}

/* ═════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Ambient Backdrops */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.glow-1 {
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8B5CF6 0%, rgba(139, 92, 246, 0) 70%);
}

.glow-2 {
  top: 40%;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #06B6D4 0%, rgba(6, 182, 212, 0) 70%);
  opacity: 0.22;
}

.glow-3 {
  bottom: 10%;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #EC4899 0%, rgba(236, 72, 153, 0) 70%);
  opacity: 0.2;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* ═════════════════════════════════════════════════════════════
   TYPOGRAPHY & UTILITIES
   ═════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #A78BFA 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #F43F5E 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 50px;
}

/* ═════════════════════════════════════════════════════════════
   BUTTONS & CONTROLS
   ═════════════════════════════════════════════════════════════ */

.btn-primary, .btn-secondary, .btn-ghost, .btn-primary-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  color: #FFFFFF;
  padding: 13px 24px;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-primary-small {
  background: var(--primary);
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary-small:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 13px 22px;
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 13px 20px;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--border);
}

/* ═════════════════════════════════════════════════════════════
   HEADER & NAVBAR
   ═════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 13, 22, 0.75);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.85);
}

.site-header.scrolled {
  background: rgba(9, 13, 22, 0.92);
  border-bottom-color: var(--border-glow);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.avatar-ring {
  position: relative;
}

.avatar-mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  border: 2px solid var(--bg-main);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-role {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
}

.nav-item:hover::after, .nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle-btn, .theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle-btn {
  width: 38px;
  padding: 0;
}

.lang-toggle-btn:hover, .theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mobile-drawer.active {
  display: flex;
}

.mobile-nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* ═════════════════════════════════════════════════════════════
   HERO SECTION & 3D HOLOGRAM CARD
   ═════════════════════════════════════════════════════════════ */

.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.availability-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chip-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-description {
  font-size: 17px;
  color: var(--text-body);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.social-chip:hover {
  color: var(--text-main);
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* 3D Glass Hologram Card */
.interactive-card-wrap {
  perspective: 1000px;
}

.glass-developer-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  overflow: hidden;
}

[data-theme="light"] .glass-developer-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.8) 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.dev-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.dev-avatar-wrap {
  position: relative;
}

.dev-avatar-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #06B6D4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.avatar-initials {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.dev-card-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.dev-card-title {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.dev-card-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Terminal box */
.dev-code-box {
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

[data-theme="light"] .dev-code-box {
  background: #0F172A;
  color: #F8FAFC;
}

.code-box-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.code-file-name {
  font-size: 11px;
  color: #64748B;
  margin-left: 6px;
}

.code-content code {
  color: #E2E8F0;
  line-height: 1.5;
}

.c-keyword { color: #EC4899; }
.c-string { color: #34D399; }
.c-boolean { color: #F59E0B; }

/* Card footer */
.dev-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.timezone-widget {
  display: flex;
  flex-direction: column;
}

.tz-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tz-clock {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.card-btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.card-btn-mini:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Corner decor */
.corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--primary);
  pointer-events: none;
}
.corner-tl { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: 10px; right: 10px; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: 10px; left: 10px; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }

/* ═════════════════════════════════════════════════════════════
   ABOUT / VALUE PROPOSITION
   ═════════════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════
   SKILLS & TECH STACK
   ═════════════════════════════════════════════════════════════ */

.skills-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.skill-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.skill-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.skill-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.skill-info {
  display: flex;
  flex-direction: column;
}

.skill-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.skill-level {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════════
   FEATURED PROJECTS
   ═════════════════════════════════════════════════════════════ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.project-preview {
  height: 200px;
  position: relative;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-1 {
  background: linear-gradient(135deg, #4C1D95 0%, #1E1B4B 100%);
}
.preview-2 {
  background: linear-gradient(135deg, #065F46 0%, #064E3B 100%);
}
.preview-3 {
  background: linear-gradient(135deg, #1E3A8A 0%, #172554 100%);
}

.preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Screen mockups */
.preview-screen-mock {
  width: 85%;
  height: 120px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.mock-header {
  height: 18px;
  background: rgba(30, 41, 59, 0.8);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.mock-header span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.mock-body {
  padding: 10px;
}

.mock-kpi-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-pill {
  flex: 1;
  height: 12px;
  background: rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

.mock-chart-line {
  height: 40px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 100%);
  border-top: 2px solid #38BDF8;
  border-radius: 3px;
}

.mock-chat-bubble {
  height: 14px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.mock-chat-bubble.left {
  width: 70%;
  background: rgba(16, 185, 129, 0.3);
}
.mock-chat-bubble.right {
  width: 55%;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
}

.mock-candles-chart {
  height: 55px;
  background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(16, 185, 129, 0.4) 10px, rgba(16, 185, 129, 0.4) 14px, transparent 14px, transparent 24px, rgba(239, 68, 68, 0.4) 24px, rgba(239, 68, 68, 0.4) 28px);
}

.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ptag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--text-muted);
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.project-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.project-metrics {
  display: flex;
  gap: 20px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.p-metric {
  display: flex;
  flex-direction: column;
}

.p-metric b {
  font-size: 16px;
  color: var(--accent-emerald);
}

.p-metric span {
  font-size: 11px;
  color: var(--text-muted);
}

.project-footer {
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.p-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.p-link:hover {
  gap: 9px;
  color: var(--primary-hover);
}

/* ═════════════════════════════════════════════════════════════
   TIMELINE / EXPERIENCE
   ═════════════════════════════════════════════════════════════ */

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  z-index: 2;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.timeline-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.tcard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.tcard-role {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.tcard-company {
  font-size: 13px;
  color: var(--text-muted);
}

.tcard-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--text-muted);
}

.tcard-badge.current {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tcard-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tcard-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tcard-stack span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════════
   TESTIMONIALS & CLIENT REVIEWS
   ═════════════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px -10px var(--primary-glow);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

.author-project-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-emerald);
  margin-top: 4px;
}

/* ═════════════════════════════════════════════════════════════
   VCARD & QR CODE
   ═════════════════════════════════════════════════════════════ */

.vcard-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: center;
}

.vcard-box {
  width: 100%;
  height: 480px;
  perspective: 1200px;
  position: relative;
}

.vcard-face {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.vcard-front {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  transform: rotateY(0deg);
}

.vcard-back {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  transform: rotateY(180deg);
}

.vcard-box.flipped .vcard-front {
  transform: rotateY(-180deg);
}

.vcard-box.flipped .vcard-back {
  transform: rotateY(0deg);
}

.vcard-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vcard-logo {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.chip-hologram {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
}

.vcard-name {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.vcard-role {
  font-size: 14px;
  color: #A78BFA;
  font-weight: 600;
  margin-bottom: 24px;
}

.vcard-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vc-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #CBD5E1;
}

.btn-flip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-flip:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.vcard-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
}

.qr-code-box {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.qr-subtext {
  font-size: 12px;
  color: #94A3B8;
}

/* Actions Panel */
.vcard-actions-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
}

.action-panel-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.action-panel-desc {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 26px;
}

.vcard-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.vf-item {
  display: flex;
  gap: 14px;
}

.vf-icon {
  font-size: 18px;
}

.vf-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.vf-item p {
  font-size: 13px;
  color: var(--text-muted);
}

.vcard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ═════════════════════════════════════════════════════════════
   CONTACT SECTION & FORM
   ═════════════════════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.contact-card-direct, .contact-card-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
}

.contact-block-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.cm-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cm-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.cm-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cm-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cm-label {
  font-size: 11px;
  color: var(--text-muted);
}

.cm-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.cm-arrow {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 700;
}

.direct-footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 14px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.status-badge-inline {
  font-weight: 700;
  color: var(--accent-emerald);
  white-space: nowrap;
}

/* Contact form */
.c-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.f-input, .f-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.f-input:focus, .f-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.f-chips-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f-chip {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.f-chip:hover, .f-chip.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ═════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════ */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-weight: 800;
  color: var(--text-main);
  margin-right: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-back-to-top {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-back-to-top:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ═════════════════════════════════════════════════════════════
   TOAST POPUP
   ═════════════════════════════════════════════════════════════ */

.toast-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-glow);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-popup.show {
  opacity: 1;
  transform: translateY(0);
}

/* ═════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .vcard-layout {
    grid-template-columns: 1fr;
  }
  
  .vcard-box {
    max-width: 380px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 70px 0;
  }
}

/* ═════════════════════════════════════════════════════════════
   MODAL DIALOG (CASE STUDIES & RESUME)
   ═════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 36px;
  transform: translateY(24px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-header-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin: 20px 0 8px;
}

.modal-text {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
}

.modal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

@media (max-width: 500px) {
  .modal-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.modal-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.modal-kpi-card b {
  display: block;
  font-size: 22px;
  color: var(--accent-emerald);
  font-weight: 800;
}

.modal-kpi-card span {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.modal-tag {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-glow);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Project card button styling */
.p-btn-case {
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s ease;
}

.p-btn-case:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

/* ═════════════════════════════════════════════════════════════
   WORKFLOW PROCESS SECTION
   ═════════════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px -10px var(--primary-glow);
}

.proc-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.45;
  margin-bottom: 8px;
}

.proc-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.proc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.proc-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.proc-output {
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-emerald);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ═════════════════════════════════════════════════════════════
   SERVICES & PRICING IN USD ($)
   ═════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 45px -10px var(--primary-glow);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 15px 40px -10px var(--primary-glow);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px var(--primary-glow);
  white-space: nowrap;
}

.price-tier-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 8px;
}

.price-tier-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.price-tier-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 40px;
}

.price-amount-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.price-val {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.price-features li {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.45;
}

.btn-select-service {
  width: 100%;
  justify-content: center;
  padding: 13px 18px;
}


