/* ==========================================================================
   SUJON FARAZI - PROFESSIONAL SYSTEMS ARCHITECT & DEVELOPER PORTFOLIO
   Modern, Ultra-Premium Dark Futuristic Aesthetic with Bengali/English Localization
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #060911;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 33, 62, 0.85);
  --bg-card-elevated: #111a2e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 242, 254, 0.35);
  --border-accent: rgba(124, 58, 237, 0.35);

  --cyan-primary: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.25);
  --blue-primary: #4facfe;
  --violet-primary: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --amber: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #060911;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmosphere Glows */
.bg-ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform;
  pointer-events: none;
}

.ambient-orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.22), transparent 70%);
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  top: 30%;
  left: -200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
}

.ambient-orb-3 {
  width: 550px;
  height: 550px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
}

/* Tech Grid Pattern Overlay */
.tech-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--cyan-primary);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-tag.violet {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: #a78bfa;
}

.badge-tag.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--cyan-primary) 70%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #a78bfa 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.075rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 9, 17, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--tr-fast);
}

.navbar.scrolled {
  background: rgba(6, 9, 17, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00f2fe, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
  position: relative;
  overflow: hidden;
}

.brand-symbol::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #090e1a;
  border-radius: calc(var(--radius-sm) - 1px);
  z-index: 1;
}

.brand-symbol span {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #fff, var(--cyan-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--cyan-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-primary);
  transition: width var(--tr-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher */
.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--tr-fast);
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
  color: var(--cyan-primary);
}

.lang-switch-btn .flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* Primary Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-primary), var(--blue-primary));
  color: #060911;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 150px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 2px;
}

.stat-num .accent-symbol {
  color: var(--cyan-primary);
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Visual & Interactive Code Card */
.hero-visual-col {
  position: relative;
}

.terminal-card {
  background: rgba(13, 20, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.1);
  position: relative;
  backdrop-filter: blur(20px);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
}

.code-line {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.code-prompt { color: var(--cyan-primary); }
.code-keyword { color: #f43f5e; font-weight: 600; }
.code-func { color: #60a5fa; }
.code-str { color: #34d399; }
.code-num { color: #f59e0b; }
.code-comment { color: #64748b; font-style: italic; }

.terminal-highlight-box {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.terminal-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-status-row span.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 600;
}

/* Floating Hardware Integration Pill */
.floating-glass-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(14px);
  z-index: 3;
}

.fgb-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fgb-text h4 {
  font-size: 0.92rem;
  color: #fff;
}

.fgb-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CLIENTS / PARTNERS TRUST SECTION
   ========================================================================== */
.clients-section {
  padding: 40px 0 70px;
  border-bottom: 1px solid var(--border-subtle);
}

.clients-label {
  text-align: center;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 28px;
  font-weight: 600;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
}

.client-logo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all var(--tr-fast);
}

.client-logo-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.client-logo-card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter var(--tr-fast);
}

.client-logo-card:hover img {
  filter: grayscale(0%);
}

.client-logo-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.client-logo-card:hover span {
  color: #fff;
}

/* ==========================================================================
   ABOUT / ARCHITECTURAL PILLARS SECTION ("আমি কে")
   ========================================================================== */
.about-section {
  padding: 110px 0 90px;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-card-profile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.about-card-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--violet-primary), var(--emerald));
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  object-fit: cover;
  background: #111a2e;
}

.profile-name-block h3 {
  font-size: 1.45rem;
  color: #fff;
}

.profile-name-block p {
  color: var(--cyan-primary);
  font-size: 0.88rem;
  font-weight: 600;
}

.profile-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 4px;
}

.profile-bio-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.profile-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.profile-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.chk-icon {
  color: var(--cyan-primary);
  font-size: 1.1rem;
  margin-top: 1px;
}

/* Pillar Cards Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--tr-fast);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.pillar-icon.cyan { background: rgba(0, 242, 254, 0.12); color: var(--cyan-primary); }
.pillar-icon.violet { background: rgba(139, 92, 246, 0.12); color: var(--violet-primary); }
.pillar-icon.emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.pillar-icon.amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); }

.pillar-card h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURED ENTERPRISE PROJECTS SECTION
   ========================================================================== */
.projects-section {
  padding: 100px 0;
  position: relative;
}

.project-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 46px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--tr-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--tr-smooth);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.15);
}

.project-thumb-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0d1424;
}

.project-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-wrap img {
  transform: scale(1.06);
}

.project-badge-float {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
}

.project-info-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-client-name {
  font-size: 0.825rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-highlights-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-highlights-list li {
  font-size: 0.825rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-highlights-list li::before {
  content: '▸';
  color: var(--cyan-primary);
  font-size: 0.9rem;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tech-tag {
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.project-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-view-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan-primary);
  transition: gap var(--tr-fast);
}

.btn-view-details:hover {
  gap: 10px;
  color: #fff;
}

/* ==========================================================================
   SERVICES & CUSTOMER VALUE SECTION
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: rgba(13, 19, 33, 0.4);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--tr-fast);
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.service-box h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.service-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.service-feature-checklist li {
  font-size: 0.84rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature-checklist li svg {
  width: 14px;
  height: 14px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   TECHNICAL ARCHITECTURE MATRIX
   ========================================================================== */
.tech-stack-section {
  padding: 100px 0;
}

.tech-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tech-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tech-cat-icon {
  font-size: 1.4rem;
}

.tech-cat-header h4 {
  font-size: 1.05rem;
  color: #fff;
}

.tech-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-item-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.tech-item-name span.tech-badge {
  font-size: 0.72rem;
  color: var(--cyan-primary);
  font-family: var(--font-mono);
}

.tech-item-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   INTERACTIVE PROJECT ESTIMATOR FOR CUSTOMERS
   ========================================================================== */
.estimator-section {
  padding: 100px 0;
  position: relative;
}

.estimator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
}

.estimator-control-side h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.estimator-control-side p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.estimator-step-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.system-type-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.system-chip {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.system-chip:hover {
  background: rgba(255, 255, 255, 0.08);
}

.system-chip.selected {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-primary);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.estimator-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.addon-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 0.85rem;
  color: #e2e8f0;
  transition: all var(--tr-fast);
}

.addon-checkbox-label:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.addon-checkbox-label input[type="checkbox"] {
  accent-color: var(--cyan-primary);
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

/* Estimator Result Output Card */
.estimator-summary-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.08);
}

.summary-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-primary);
  margin-bottom: 14px;
}

.summary-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 20px;
}

.estimate-output-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.estimate-output-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 8px;
}

.estimate-output-list li strong {
  color: #fff;
}

.estimate-notes {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 26px;
}

/* ==========================================================================
   CONTACT & CLIENT DIRECT ACTION SECTION
   ========================================================================== */
.contact-section {
  padding: 110px 0 100px;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--tr-fast);
}

.contact-info-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.c-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.c-details h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.c-details a, .c-details p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.c-details a:hover {
  color: var(--cyan-primary);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(8, 13, 24, 0.85);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--tr-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.25);
  background: rgba(10, 16, 30, 0.95);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   MODAL - PROJECT ARCHITECTURE & DETAIL POPUP
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.modal-backdrop.is-open {
  display: grid;
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 900px;
  background: #0c1222;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: 90vh;
}

.modal-header {
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.3rem;
  color: #fff;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr-fast);
}

.modal-close-btn:hover {
  background: #ef4444;
}

.modal-body-scroll {
  padding: 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-gallery-view {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #080d19;
  border: 1px solid var(--border-subtle);
}

.modal-gallery-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal-spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.modal-spec-box h4 {
  font-size: 0.95rem;
  color: var(--cyan-primary);
  margin-bottom: 10px;
}

.modal-spec-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-features-list li {
  font-size: 0.88rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-features-list li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
}

.modal-footer {
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #04070d;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--cyan-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .projects-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimator-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-col {
    order: -1;
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .projects-grid,
  .services-grid,
  .tech-categories-grid,
  .system-type-chips,
  .estimator-addons-grid,
  .form-row-2,
  .modal-spec-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .floating-glass-badge {
    position: static;
    margin-top: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* 2026 portfolio positioning refresh — premium, concise, sector-neutral */
.hero-section { padding-top: 148px; padding-bottom: 85px; }
.hero-grid { grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 58px); }
.hero-title { font-size: clamp(2.55rem, 4.5vw, 4.2rem); letter-spacing: -.048em; line-height: 1.11; }
.hero-title span { display: inline; }
.hero-title .gradient-text { display: inline-block; }
.hero-subtitle { font-size: 1.05rem; max-width: 610px; line-height: 1.85; }
.status-pill { letter-spacing: .08em; font-size: .68rem; text-transform: uppercase; border-color: rgba(0,242,254,.25); background: rgba(0,242,254,.065); color: #b0f7fc; }
.status-dot { background: #00f2fe; box-shadow: 0 0 11px rgba(0,242,254,.5); }
.hero-stats-row { margin-top: 7px; }
.stat-label { letter-spacing: .065em; }
.architecture-panel { position: relative; overflow: hidden; border: 1px solid rgba(119,209,240,.24); border-radius: 23px; background: linear-gradient(147deg,#17263a 0%,#101627 55%,#0a1020 100%); box-shadow: 0 28px 100px rgba(0,0,0,.44), 0 0 50px rgba(0,242,254,.065); }
.architecture-panel::before { content: ""; position: absolute; right: -75px; top: 38px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(17,189,234,.13),transparent 67%); pointer-events: none; }
.architecture-topbar { padding: 16px 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.085); background: rgba(255,255,255,.018); color: #b1bfce; letter-spacing: .065em; font-size: .68rem; font-family: var(--font-mono); }
.arch-dots { display: flex; gap: 6px; }
.arch-dots i { width: 8px; height: 8px; border-radius: 100%; background: #687689; display: block; }
.arch-dots i:first-child { background: #27cbb7; }
.arch-dots i:nth-child(2) { background: #61d7ee; }
.arch-version { margin-left: auto; color: #64d7ec; font-size: .64rem; }
.architecture-content { padding: clamp(24px,2.8vw,39px); position: relative; }
.arch-kicker { font-size: .72rem; letter-spacing: .19em; color: #73deee; font-weight: 700; margin-bottom: 12px; }
.architecture-content h2 { font-size: clamp(1.6rem,2.3vw,2.25rem); letter-spacing: -.035em; line-height: 1.28; max-width: 390px; }
.architecture-content > p { color: #a3b1c6; font-size: .92rem; max-width: 390px; line-height: 1.85; margin-top: 15px; }
.arch-flow { margin-top: 29px; display: flex; align-items: center; gap: 7px; }
.arch-step { flex: 1; min-width: 0; border: 1px solid rgba(130,178,206,.19); background: rgba(255,255,255,.025); border-radius: 11px; padding: 14px 9px; text-align: center; }
.arch-step span { display: block; color: #79d7ec; font-size: .72rem; font-family: var(--font-mono); font-weight: 700; margin-bottom: 3px; }
.arch-step strong { display: block; color: #e9f1f8; font-size: .75rem; font-weight: 600; }
.arch-link { color: #48bbce; font-size: .88rem; }
.arch-chip-grid { margin-top: 25px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.arch-chip-grid span { border: 1px solid rgba(95,230,251,.12); border-radius: 9px; background: rgba(0,242,254,.045); padding: 9px 10px; color: #afd8e2; font-size: .74rem; }
.arch-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.075); margin-top: 25px; padding-top: 19px; color: #6b8c9f; letter-spacing: .11em; font-family: var(--font-mono); font-size: .59rem; }
.arch-bottomline span:last-child { color: #3cb9cb; white-space: nowrap; }
.client-logo-card { gap: 10px; background: rgba(12,29,47,.64); border-color: rgba(124,170,193,.14); padding: 11px 15px; }
.client-logo-card .sector-mark { font-size: 1.2rem; color: #53d8e7; line-height: 1; }
.clients-label { letter-spacing: .19em; }
.profile-name-block h3 { letter-spacing: -.03em; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .hero-title { font-size: clamp(2.25rem,4vw,3.25rem); } .arch-step { padding-inline: 4px; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual-col { order: 0; } .architecture-panel { max-width: 660px; } }
@media (max-width: 640px) { .hero-section { padding-top: 113px; } .hero-stats-row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; } .stat-num { font-size: 1.5rem; } .stat-label { font-size: .63rem; } .arch-link { display: none; } .arch-flow { gap: 5px; } .arch-step { padding: 10px 4px; } .arch-step strong { font-size: .64rem; } .arch-chip-grid { grid-template-columns: 1fr 1fr; } .arch-chip-grid span { font-size: .65rem; } .status-pill { font-size: .59rem; } }
/* Keep identity, language switch and mobile navigation visible on narrow screens. */
@media (max-width: 640px) {
  .navbar-inner { height: 70px; gap: 8px; }
  .brand-link { gap: 7px; flex-shrink: 0; }
  .brand-symbol { width: 36px; height: 36px; font-size: 1rem; flex-shrink: 0; }
  .brand-name { font-size: .87rem; white-space: nowrap; }
  .brand-subtitle { font-size: .53rem; letter-spacing: .04em; white-space: nowrap; }
  .nav-actions { gap: 8px; margin-left: auto; }
  .nav-actions .btn-whatsapp { display: none; }
  .lang-switch-btn { font-size: .73rem; padding: 7px 9px; }
  .mobile-nav-toggle { display: block; padding: 5px; flex-shrink: 0; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .77rem; }
  .brand-subtitle { font-size: .47rem; }
  .lang-switch-btn { padding: 6px; font-size: .68rem; }
}
@media (max-width: 640px) {
  .estimator-wrapper { padding: 18px; gap: 24px; grid-template-columns: minmax(0,1fr); }
  .estimator-control-side, .estimator-summary-card { min-width: 0; width: 100%; }
  .estimator-summary-card { padding: 18px; }
  .estimate-output-list li { flex-wrap: wrap; gap: 8px; }
  .estimate-output-list li strong { text-align: left !important; max-width: 100% !important; }
  .system-type-chips, .estimator-addons-grid { grid-template-columns: minmax(0,1fr); }
}

/* Smooth headline rotation with stable space for both messages. */
.hero-title.hero-title-rotator { display: grid; }
.hero-title .hero-title-frame {
  display: block;
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 650ms ease, transform 650ms ease, visibility 650ms;
}
.hero-title .hero-title-frame.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .hero-title-frame { transition: none; transform: none; }
}

/* Header portrait keeps the existing gradient border and glow. */
.brand-symbol-photo { flex-shrink: 0; }
.brand-symbol-photo img {
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: calc(var(--radius-sm) - 2px);
  object-fit: cover;
  object-position: center 25%;
}


/* --- LIVE INDICATOR & GALLERY STYLES --- */
.project-live-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  z-index: 4;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseLive 1.8s infinite;
  display: inline-block;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.btn-live-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  transition: all var(--tr-fast);
  text-decoration: none;
}

.btn-live-preview:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #34d399;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-live-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #34d399;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--tr-fast);
}

.btn-live-modal:hover {
  background: #10b981;
  color: #042f2e;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.modal-gallery-thumb {
  width: 74px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(148, 163, 184, 0.2);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  background: #0f172a;
  padding: 0;
  transition: all 0.2s ease;
}

.modal-gallery-thumb:hover, .modal-gallery-thumb.active {
  opacity: 1;
  border-color: var(--cyan-primary);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.modal-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
