/* ==========================================================================
   BeratHallac.dev — Premium Design System (TeaSound Formatter Aesthetic)
   ========================================================================== */

:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-surface: #1e293b;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  --accent-lime: #84cc16;
  --accent-lime-hover: #65a30d;
  --accent-lime-light: #f7fee7;
  --accent-lime-border: #d9f99d;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-dark: #334155;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #334155 #0b101b;
}

/* Custom Sleek Dark / Matte-Black Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
  background-color: #0b101b;
}

::-webkit-scrollbar-track {
  background: #0b101b;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border: 2px solid #0b101b;
  border-radius: 999px;
  transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
  border-color: #0b101b;
}

::-webkit-scrollbar-thumb:active {
  background: #475569;
}

::-webkit-scrollbar-corner {
  background: #0b101b;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-body);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header Topbar Announcement Bar (Modern Marquee & Badge Vitrin)
   ========================================================================== */
.topbar-announcement {
  position: relative;
  z-index: 101;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.topbar-announcement.dismissed {
  display: none !important;
}

.announcement-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  position: relative;
  padding: 6px 16px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid currentColor;
  flex-shrink: 0;
}

.announcement-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 40px;
  padding-right: 40px; /* Equal padding ensures centering and zero overlap with close button */
}

.announcement-text {
  font-weight: 500;
  letter-spacing: -0.1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

.announcement-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.announcement-link:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

.announcement-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.7;
  font-size: 18px;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.announcement-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

/* Marquee / Kayan Yazı Animation */
.topbar-style-marquee .marquee-track,
.topbar-style-pulsing_glow .marquee-track {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 40px;
  width: 100%;
}

.topbar-style-marquee .marquee-content,
.topbar-style-pulsing_glow .marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  min-width: 100%;
  animation: marqueeScroll var(--marquee-duration, 20s) linear infinite;
}

.topbar-announcement[data-pause-hover="1"]:hover .marquee-content,
.topbar-style-marquee:hover .marquee-content,
.topbar-style-pulsing_glow:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.topbar-style-pulsing_glow {
  box-shadow: 0 0 25px rgba(132, 204, 22, 0.15) inset;
}

.announcement-slider-wrap {
  position: relative;
  height: 28px;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.announcement-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  min-width: 0;
}

.announcement-slide-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.announcement-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
}

.announcement-static-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .announcement-wrapper {
    min-height: 36px;
    padding-left: 32px;
    padding-right: 32px; /* Protected space preventing any overlap */
  }
  .announcement-close {
    right: 4px;
    width: 22px;
    height: 22px;
    font-size: 16px;
  }
  .announcement-badge {
    font-size: 9.5px;
    padding: 2px 5px;
  }
  .announcement-text {
    font-size: 11.5px;
  }
  .announcement-link {
    font-size: 11.5px;
  }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-primary);
}

.brand-logo .dot-dev {
  color: #15803d;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  background: rgba(15, 23, 42, 0.04);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: -0.1px;
}

.nav-link:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #0f172a;
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2.5px;
  border-radius: 999px;
  background: #84cc16;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.search-trigger:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-trigger:active {
  transform: translateY(0);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.cart-btn:hover {
  background: var(--bg-subtle);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent-lime);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-lime {
  background: var(--accent-lime);
  color: var(--text-primary);
}

.btn-lime:hover {
  background: var(--accent-lime-hover);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section (TeaSound Desktop Window Preview)
   ========================================================================== */
.hero-section {
  padding: 56px 0 72px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-lime-light);
  border: 1px solid var(--accent-lime-border);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #3f6212;
  margin-bottom: 24px;
  text-transform: none;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title .brand-accent {
  color: var(--text-primary);
}

.hero-title .brand-accent span {
  color: #15803d;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  width: 100%;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.trust-info h4,
.trust-info .trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.trust-info p {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Desktop Window Preview (TeaSound Formatter Pixel-Perfect)
   ========================================================================== */
.window-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.window-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.window-title {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-ctrl-btn {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.window-ctrl-btn.ctrl-close { background: #f87171; }
.window-ctrl-btn.ctrl-min { background: #cbd5e1; }
.window-ctrl-btn.ctrl-max { background: #cbd5e1; }

.window-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 380px;
}

.window-sidebar {
  background: #0b1120;
  color: #ffffff;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  user-select: none;
}

.window-side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 18px 6px;
  margin-bottom: 6px;
}

.window-side-brand-icon {
  width: 32px;
  height: 32px;
  background: #84cc16;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1120;
  flex-shrink: 0;
}

.window-side-brand-title {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.window-side-brand-title span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 1px;
}

.window-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.window-side-item:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.window-side-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.window-side-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  background: #84cc16;
  border-radius: 0 4px 4px 0;
}

.window-main {
  background: #ffffff;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.window-sim-tab {
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.2s ease;
}

.window-sim-tab.active {
  display: flex;
}

.window-hero-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.window-hero-text h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.window-hero-text p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.window-usb-icon {
  width: 38px;
  height: 48px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  flex-shrink: 0;
}

.form-group-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-mini {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
}

.select-mini {
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: 12.5px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}

.select-mini:focus {
  outline: none;
  border-color: #0f172a;
}

.window-action-btn {
  width: 100%;
  padding: 11px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.window-action-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.window-notice {
  font-size: 11px;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 7px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}

/* Simulator Progress Bar */
.sim-progress-wrap {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.sim-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.sim-progress-fill {
  width: 0%;
  height: 100%;
  background: #84cc16;
  border-radius: 999px;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Unified Split Auth Page Layout (Login & Register Side-by-Side)
   ========================================================================== */
.auth-unified-section {
  padding: 48px 0 80px 0;
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.auth-unified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.auth-brand-side {
  background: #0f172a;
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-brand-side::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #84cc16;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.auth-brand-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.auth-brand-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #e2e8f0;
}

.auth-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #84cc16;
  flex-shrink: 0;
}

.auth-form-side {
  padding: 48px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.auth-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.auth-tab-btn {
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.auth-tab-panel {
  display: none;
  animation: fadeIn 0.2s ease;
}

.auth-tab-panel.active {
  display: block;
}

@media (max-width: 900px) {
  .auth-unified-section {
    padding: 24px 0 60px 0;
  }
  .auth-unified-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    border-radius: 18px;
  }
  .auth-brand-side {
    padding: 32px 24px 28px 24px;
  }
  .auth-brand-title {
    font-size: 22px;
  }
  .auth-brand-desc {
    font-size: 13.5px;
    margin-bottom: 0;
  }
  .auth-feature-list {
    display: none;
  }
  .auth-form-side {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .auth-unified-section {
    padding: 16px 0 40px 0;
  }
  .auth-brand-side {
    padding: 24px 18px 20px 18px;
  }
  .auth-brand-badge {
    margin-bottom: 12px;
  }
  .auth-brand-title {
    font-size: 19px;
  }
  .auth-brand-desc {
    font-size: 13px;
  }
  .auth-form-side {
    padding: 24px 16px;
  }
  .auth-tabs-nav {
    margin-bottom: 20px;
  }
  .auth-tab-btn {
    padding: 9px 10px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Section Headers & Grid Layouts
   ========================================================================== */
.section {
  padding: 48px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  text-transform: none;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  transition: gap 0.2s ease;
}

.section-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Product Cards Grid (4 Columns)
   ========================================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.15);
}

.card-badge-pill {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
}

.card-badge-pill.badge-new {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

.card-badge-pill.badge-popular {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.card-badge-pill.badge-free {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.product-info {
  margin-bottom: 20px;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.4px;
}

.product-price .free-text {
  color: #15803d;
}

.action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.action-icon-btn:hover {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

/* ==========================================================================
   Project Cards Grid (4 Columns)
   ========================================================================== */
.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  width: 100%;
  height: 140px;
  background: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-preview-mock {
  width: 85%;
  height: 75%;
  background: #1e293b;
  border-radius: 6px;
  border: 1px solid #334155;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.project-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.project-tech {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

/* ==========================================================================
   Modern Glowing Status Badges & Pills
   ========================================================================== */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  line-height: 1;
}

.badge-status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.badge-status-progress {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.badge-status-soon {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

/* Status Dot with Glow and Pulse Animation */
.status-dot {
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.badge-status-completed .status-dot,
.status-pill-completed .status-dot {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.badge-status-progress .status-dot,
.status-pill-progress .status-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.badge-status-soon .status-dot,
.status-pill-soon .status-dot {
  background-color: #0ea5e9;
  box-shadow: 0 0 8px #0ea5e9;
}

.status-dot.pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-status-completed .status-dot.pulse::after,
.status-pill-completed .status-dot.pulse::after {
  border: 2px solid rgba(16, 185, 129, 0.6);
}

.badge-status-progress .status-dot.pulse::after,
.status-pill-progress .status-dot.pulse::after {
  border: 2px solid rgba(245, 158, 11, 0.6);
}

@keyframes statusPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Backward compatibility for status-badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-detail-hero {
  padding: 40px 0 60px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.product-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-icon-large {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 6px;
}

.detail-rating .stars {
  color: #f59e0b;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.detail-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.detail-price-box .price-large {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.feature-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-check-list li svg {
  color: var(--accent-lime-hover);
  flex-shrink: 0;
}

/* ==========================================================================
   Tabs Component
   ========================================================================== */
.tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ==========================================================================
   User Dashboard Layout (/hesabim)
   ========================================================================== */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 40px 0 80px 0;
}

.account-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: fit-content;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.account-menu-item:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.account-menu-item.active {
  background: #0f172a;
  color: #ffffff;
}

.account-content-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4,
.footer-col h5,
.footer-col .footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Global Search Modal (Cmd+K)
   ========================================================================== */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-modal-backdrop.open {
  display: flex;
}

.search-modal {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.search-modal-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.search-modal-input {
  width: 100%;
  border: none;
  font-size: 16px;
  color: var(--text-primary);
  background: transparent;
  outline: none;
}

.search-modal-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background: var(--bg-subtle);
}

/* ==========================================================================
   Advanced Projects & Gallery Design System
   ========================================================================== */
.projects-header-hero {
  padding: 40px 0 32px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
}

.projects-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #0f172a;
  color: var(--text-primary);
}

.filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.project-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.project-card-modern:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-xl);
}

.project-card-thumb-wrap {
  width: 100%;
  height: 180px;
  background: #0b1120;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card-modern:hover .project-card-thumb-wrap img {
  transform: scale(1.05);
}

.project-card-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  line-height: 1;
}

.status-pill-completed {
  background: rgba(6, 78, 59, 0.88);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.status-pill-progress {
  background: rgba(120, 53, 15, 0.88);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.status-pill-soon {
  background: rgba(12, 74, 110, 0.88);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tech-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--bg-subtle);
  border-radius: 4px;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Project Detail View (Interactive Gallery & Specs Matrix)
   ========================================================================== */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.project-gallery-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.project-gallery-main {
  width: 100%;
  height: 380px;
  background: #0b1120;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.project-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb-item {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.gallery-thumb-item:hover, .gallery-thumb-item.active {
  opacity: 1;
  border-color: #84cc16;
  transform: translateY(-2px);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-specs-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.spec-grid-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.spec-item-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.spec-item-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ==========================================================================
   Project Description & Architecture Showcase (.project-desc-card)
   ========================================================================== */
.project-desc-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.06);
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}

.project-desc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #84cc16 0%, #06b6d4 50%, #3b82f6 100%);
}

.project-desc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.project-desc-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-desc-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(132, 204, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #84cc16;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.project-section-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #65a30d;
  margin-bottom: 4px;
  display: block;
}

.project-desc-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  letter-spacing: -0.5px;
  margin: 0;
}

.project-desc-subtitle {
  font-size: 13.5px;
  color: var(--text-muted, #64748b);
  margin-top: 4px;
}

/* Rich Prose Styling */
.project-prose {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
}

.project-prose p {
  margin-bottom: 20px;
}

.project-prose p:last-child {
  margin-bottom: 0;
}

.project-prose strong {
  color: #0f172a;
  font-weight: 700;
}

.project-prose h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-top: 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-prose h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #84cc16;
  border-radius: 2px;
  flex-shrink: 0;
}

.project-prose ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.project-prose ul li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  line-height: 1.45;
}

.project-prose ul li:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-prose ul li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(132, 204, 22, 0.18);
  color: #4d7c0f;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Architecture & Developer Note Callout */
.project-insight-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 22px 24px;
  color: #f8fafc;
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.18);
}

.project-insight-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #84cc16;
  flex-shrink: 0;
}

.project-insight-content {
  flex: 1;
}

.project-insight-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.project-insight-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.project-desc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light, #e2e8f0);
}

@media (max-width: 768px) {
  .project-desc-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }
  .project-desc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .project-prose ul {
    grid-template-columns: 1fr;
  }
  .project-insight-card {
    flex-direction: column;
    padding: 18px 16px;
  }
  .project-desc-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .project-desc-actions > div:first-child {
    flex-direction: column;
    align-items: stretch;
  }
  .project-desc-actions > div:first-child .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Modern Blog Styling
   ========================================================================== */
.blog-featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.blog-featured-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.blog-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  max-width: 800px;
  margin: 0 auto;
}

.blog-article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 40px 0 16px 0;
  letter-spacing: -0.5px;
}

.blog-article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 12px 0;
}

.blog-article-content p {
  margin-bottom: 24px;
}

.blog-article-content pre {
  background: #0b1120;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  margin: 28px 0;
  border: 1px solid #1e293b;
}

/* ==========================================================================
   About Page (Senior Developer Portfolio Presentation)
   ========================================================================== */
.about-hero-card {
  background: #0b1120;
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-hero-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.skills-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.skill-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.skill-box:hover {
  transform: translateY(-3px);
  border-color: #84cc16;
  box-shadow: var(--shadow-md);
}

.timeline-track {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 36px 0;
}

.timeline-node {
  position: relative;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #84cc16;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #84cc16;
}



/* ==========================================================================
   Global Floating Toast Notification System (Top Right & Responsive)
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.bh-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 16px 18px 18px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bh-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.bh-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #84cc16;
  animation: toastProgress 4.5s linear forwards;
}

.bh-toast-error .bh-toast-progress {
  background: #ef4444;
}

.bh-toast-info .bh-toast-progress, .bh-toast-warning .bh-toast-progress {
  background: #38bdf8;
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

.bh-toast-success .bh-toast-icon {
  background: rgba(132, 204, 22, 0.15);
  color: #84cc16;
  border: 1px solid rgba(132, 204, 22, 0.3);
}

.bh-toast-error .bh-toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.bh-toast-info .bh-toast-icon, .bh-toast-warning .bh-toast-icon {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.bh-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bh-toast-msg {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.45;
}

.bh-toast-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.bh-toast-close:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .toast-container {
    top: 16px;
    left: 16px;
    right: 16px;
  }
  .bh-toast {
    min-width: 0;
    max-width: 100%;
    transform: translateY(-50px);
  }
  .bh-toast.show {
    transform: translateY(0);
  }
}

/* ==========================================================================
   User Dashboard & Account Portal Design System (BeratHallac.dev)
   ========================================================================== */
.account-hero-banner {
  background: linear-gradient(135deg, #070b14 0%, #0f172a 60%, #1e293b 100%);
  border-radius: 20px;
  padding: 32px 36px;
  color: #ffffff;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.account-hero-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.account-user-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #84cc16 0%, #166534 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #070b14;
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.3);
  flex-shrink: 0;
}

.account-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.account-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 96px;
}

.account-nav-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  padding: 10px 12px 6px 12px;
}

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 2px;
}

.account-nav-item:hover {
  background: #f8fafc;
  color: #0f172a;
  transform: translateX(2px);
}

.account-nav-item.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.account-nav-item.active svg {
  stroke: #84cc16;
}

.account-nav-item .badge-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(132, 204, 22, 0.18);
  color: #166534;
}

.account-nav-item.active .badge-count {
  background: #84cc16;
  color: #0f172a;
}

.account-content-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.account-stat-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s ease;
}

.account-stat-box:hover {
  border-color: #84cc16;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.account-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
  letter-spacing: -0.5px;
}

.account-stat-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
}

.token-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.token-download-btn:hover {
  background: #1e293b;
  border-color: #84cc16;
  color: #84cc16;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(132, 204, 22, 0.2);
}

.key-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #070b14;
  color: #84cc16;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(132, 204, 22, 0.3);
  letter-spacing: 0.8px;
}

@media (max-width: 992px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px !important;
  }

  .account-sidebar-card {
    position: sticky;
    top: 60px;
    z-index: 50;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .account-sidebar-card::-webkit-scrollbar {
    display: none;
  }

  .account-nav-group-title {
    display: none !important;
  }

  .account-nav-item {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transform: none !important;
  }

  .account-nav-item.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
  }

  .account-nav-item.active svg {
    stroke: #84cc16 !important;
  }

  .account-sidebar-card > div {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }

  .account-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .account-stat-box {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  .account-stat-value {
    font-size: 22px !important;
  }

  .account-hero-banner {
    padding: 22px 18px !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .account-hero-banner .account-user-meta {
    gap: 14px !important;
  }

  .account-hero-banner .account-avatar {
    width: 48px !important;
    height: 48px !important;
    font-size: 22px !important;
    border-radius: 12px !important;
  }

  .account-hero-banner h1 {
    font-size: 19px !important;
  }

  .account-content-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 576px) {
  .account-hero-banner > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .account-hero-banner .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
  }

  .account-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .account-stat-box {
    padding: 12px 10px !important;
  }

  .account-stat-value {
    font-size: 20px !important;
  }

  .account-content-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
}

/* ==========================================================================
   Header In-App Notification System & Dropdown
   ========================================================================== */
.notification-dropdown-wrapper {
  position: relative;
}

.notification-trigger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-trigger:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.notification-badge-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: notifPulse 2s infinite ease-in-out;
}

@keyframes notifPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.notification-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 1px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow: hidden;
  animation: notifFadeIn 0.2s ease-out;
}

@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.notification-panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification-panel-body {
  max-height: 380px;
  overflow-y: auto;
}

.notification-item {
  padding: 14px 16px;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background 0.15s ease;
  position: relative;
}

.notification-item:hover {
  background: #f8fafc;
}

.notification-item.unread {
  background: rgba(132, 204, 22, 0.04);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #84cc16;
}

.notification-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.notification-item.unread .notification-icon-box {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
}

.notification-icon-update { color: currentColor; }
.notification-icon-announcement { color: currentColor; }
.notification-icon-info { color: currentColor; }
.notification-icon-warning { color: currentColor; }

/* Sleek Monochrome Sweet Confirmation Modal */
.bh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  padding: 16px;
}

.bh-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bh-modal-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  padding: 24px 22px 20px;
  text-align: center;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 1px rgba(15, 23, 42, 0.1);
  transform: scale(0.92) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bh-modal-backdrop.active .bh-modal-box {
  transform: scale(1) translateY(0);
}

.bh-modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px -3px rgba(15, 23, 42, 0.25);
}

.bh-modal-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.bh-modal-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.bh-modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bh-modal-btn-cancel {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.bh-modal-btn-cancel:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.bh-modal-btn-confirm {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.bh-modal-btn-confirm:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.notification-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  line-height: 1.35;
}

.notification-item-msg {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
}

.notification-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.notification-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-action-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.notif-action-btn:hover {
  color: #0f172a;
  background: rgba(0,0,0,0.05);
}

.notif-btn-link {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.notif-btn-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.notification-panel-footer {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notification-panel-footer a {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.notification-panel-footer a:hover {
  color: #84cc16;
}

.notif-btn-clear {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.notif-btn-clear:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.12);
}

.notif-empty-state {
  padding: 36px 20px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* ==========================================================================
   Modern Product Catalog, Filter System & Rotating Glow Cards
   ========================================================================== */
.products-hero-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px auto;
}

.products-catalog-filter-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 36px;
}

.catalog-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.catalog-pill-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-pill-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.catalog-pill-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.catalog-pill-btn .pill-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.catalog-pill-btn.active .pill-count {
  background: #84cc16;
  color: #070b14;
}

.catalog-secondary-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.catalog-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.catalog-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #84cc16;
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15);
}

.catalog-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.products-grid-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* Base Product Card */
.product-card-premium {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

/* Featured Product Card */
.product-card-premium.featured {
  border: 1.5px solid #84cc16;
  box-shadow: 0 8px 30px rgba(132, 204, 22, 0.12);
}

/* Product Image Cover Frame (Clean Developer Aesthetic) */
.product-cover-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #070b14;
  margin-bottom: 16px;
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1e293b;
}

.product-cover-frame.featured {
  border-color: rgba(132, 204, 22, 0.4);
}

.product-cover-frame .cover-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #070b14;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-card-premium:hover .product-cover-frame img {
  transform: scale(1.03);
}

/* Product Detail Screenshot Frame */
.product-detail-screenshot-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #070b14;
  border: 1px solid #1e293b;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.product-detail-screenshot-frame.featured {
  border: 1.5px solid #84cc16;
}

.product-detail-screenshot-frame .screenshot-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #070b14;
}

.product-card-premium.featured .card-inner {
  background: #ffffff;
  border-radius: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.product-card-premium:not(.featured) .card-inner {
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.badge-featured-aura {
  background: #84cc16;
  color: #070b14;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(132, 204, 22, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-discount-tag {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.product-price-section {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-price-original {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.product-price-current {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
  .products-grid-catalog {
    grid-template-columns: 1fr;
  }
  .catalog-secondary-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .product-card-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Clean Product Detail Plan Cards & Checkout CTA
   ========================================================================== */
.plan-select-card {
  cursor: pointer;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  background: #ffffff;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.plan-select-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.plan-select-card .plan-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.plan-select-card .plan-card-price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}

.plan-select-card .plan-card-discount {
  font-size: 10.5px;
  color: #dc2626;
  font-weight: 700;
  margin-top: 2px;
}

.plan-select-card .plan-card-regular {
  font-size: 10.5px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-top: 2px;
}

/* Active Selected Plan State */
.plan-select-card.active {
  border: 2px solid #0f172a !important;
  background: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
}

.plan-select-card.active .plan-card-title {
  color: #ffffff !important;
}

.plan-select-card.active .plan-card-price {
  color: #84cc16 !important;
}

.plan-select-card.active .plan-card-regular {
  color: #94a3b8 !important;
}

.plan-card-popular-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #84cc16;
  color: #0f172a;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.badge-discount-clean {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.btn-product-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-product-buy:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   Native Studio Desktop Application Shell & Hardware Simulator
   ========================================================================== */
.studio-app-shell {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  margin-bottom: 32px;
}

.studio-titlebar {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
  user-select: none;
}

.studio-traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.studio-light.close { background: #ef4444; }
.studio-light.min { background: #f59e0b; }
.studio-light.max { background: #22c55e; }

.studio-titlebar-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.studio-titlebar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #84cc16;
}

.studio-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #f8fafc;
}

.studio-left-pane {
  padding: 32px;
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.studio-right-pane {
  padding: 28px;
  background: #070b14;
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hardware Simulator Console inside Right Pane */
.hardware-gui-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 18px;
}

.gui-row {
  margin-bottom: 14px;
}

.gui-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.gui-control-select, .gui-control-input {
  width: 100%;
  background: #070b14;
  border: 1px solid #334155;
  color: #84cc16;
  font-family: monospace;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 8px;
}

.gui-terminal-output {
  background: #05080f;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 11.5px;
  color: #cbd5e1;
  min-height: 70px;
  line-height: 1.5;
}

/* Specifications Matrix Grid */
.specs-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.spec-matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.spec-matrix-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.spec-num-tag {
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  color: #84cc16;
  background: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .studio-body {
    grid-template-columns: 1fr;
  }
  .studio-left-pane {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px;
  }
  .studio-right-pane {
    padding: 24px;
  }
}

/* ==========================================================================
   Comprehensive Universal Responsive Engine (Mobile Bottom Dock & Header)
   ========================================================================== */

/* Cart Trigger Button & Badges */
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full, 9999px);
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  color: var(--text-primary, #0f172a);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
}

.cart-trigger:hover {
  background: var(--bg-subtle, #f1f5f9);
  border-color: #cbd5e1;
  color: #000000;
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #84cc16;
  color: #070b14;
  font-size: 10px;
  font-weight: 900;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(132, 204, 22, 0.4);
}

.desktop-nav-items {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Mobile Bottom App Dock Navigation Bar --- */
.mobile-bottom-dock {
  display: none;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px !important;
  z-index: 999999 !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  justify-content: space-around;
  align-items: center;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 10px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
  max-width: 72px;
}

.dock-item:hover, .dock-item.active {
  color: #0f172a;
}

.dock-item.active .dock-icon {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.dock-icon {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dock-item-center {
  position: relative;
  margin-top: -16px;
  z-index: 10;
}

.dock-icon-center {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(132, 204, 22, 0.45);
  border: 3px solid #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff !important;
}

.dock-icon-center svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.dock-item-center:hover .dock-icon-center,
.dock-item-center.active .dock-icon-center {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(132, 204, 22, 0.6);
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
}

.dock-item-center .dock-label {
  font-weight: 800;
  color: #166534;
  margin-top: 2px;
}

.dock-item-center.active .dock-label {
  color: #15803d;
}

.dock-label {
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: -0.1px;
}

.dock-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #84cc16;
  color: #0f172a;
  font-size: 9px;
  font-weight: 900;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

.dock-badge-notif {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

/* Global Search Modal Styles */
.search-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999999 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.search-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.search-modal {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
  transform: translateY(-16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.open .search-modal {
  transform: translateY(0) scale(1);
}

.search-modal-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  box-sizing: border-box;
}

.search-modal-input {
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  width: 100%;
  flex: 1;
  min-width: 0;
  background: transparent;
}

.search-modal-close-btn {
  background: #f1f5f9;
  border: none;
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.search-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.search-modal-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* --- Container Fluidity --- */
@media (max-width: 1280px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- Tablet & Mobile Navigation Breakpoint (<= 992px) --- */
@media (max-width: 992px) {
  body {
    padding-bottom: 78px; /* Room for bottom dock */
  }

  .mobile-bottom-dock {
    display: flex;
  }

  .desktop-nav-items {
    display: none !important;
  }

  .site-header {
    height: auto;
  }

  .nav-container {
    height: 64px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo {
    font-size: 19px;
  }

  /* Slide-down Glassmorphic Mobile Drawer */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none;
    border-bottom: 1.5px solid #e2e8f0;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    padding: 16px 20px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-radius: 0 0 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9998;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

  .nav-menu.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu.mobile-open .mobile-only-auth-item {
    display: block !important;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    justify-content: flex-start;
    border-radius: 10px;
    border: 1px solid transparent;
  }

  .nav-link:hover {
    background: #f1f5f9;
    color: #0f172a;
  }

  .nav-link.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  }

  .nav-link.active::after {
    display: none;
  }

  /* Hero Section Responsiveness */
  .hero-section {
    padding: 36px 0 48px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(28px, 6vw, 42px);
    letter-spacing: -0.8px;
  }

  .hero-subtitle {
    font-size: 15.5px;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  /* Projects & Products Grid (2 columns on tablet) */
  .grid-4, .grid-3, .features-value-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Project Detail Layout (Stacked on Tablet) */
  .project-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .project-sidebar-card {
    position: static !important;
    width: 100% !important;
  }

  /* Footer 2 Columns on Tablet */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

/* --- Mobile Breakpoint (<= 768px) --- */
@media (max-width: 768px) {
  .nav-container {
    height: 60px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo {
    font-size: 18px;
  }

  /* Topbar Announcement Fluidity */
  .topbar-announcement {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .announcement-slider-wrap {
    height: 32px;
  }

  .announcement-slide-item {
    font-size: 11.5px;
  }

  .announcement-inline-item, .announcement-static-content {
    max-width: calc(100vw - 70px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    gap: 6px;
  }

  .announcement-badge {
    font-size: 9.5px;
    padding: 2px 6px;
  }

  .announcement-link {
    font-size: 11px;
    white-space: nowrap;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding: 24px 0 40px 0;
  }

  .hero-title {
    font-size: clamp(25px, 7.5vw, 34px);
    line-height: 1.18;
    margin-bottom: 12px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Trust Badges 1 Column on Mobile */
  .trust-badges {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding-top: 16px;
    text-align: left;
  }

  .trust-item {
    justify-content: flex-start;
  }

  /* Interactive Simulator Window on Mobile */
  .window-frame {
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    width: 100%;
  }

  .window-body {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .window-sidebar {
    padding: 8px 10px;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    gap: 6px;
    background: #0b1120;
  }

  .window-sidebar::-webkit-scrollbar {
    display: none;
  }

  .window-side-brand {
    display: none !important;
  }

  .window-side-item {
    padding: 7px 11px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
  }

  .window-side-item.active {
    background: #84cc16;
    color: #070b14;
    font-weight: 800;
  }

  .window-side-item.active::before {
    display: none;
  }

  .window-main {
    padding: 16px 14px;
  }

  .window-hero-banner {
    padding: 10px 12px;
  }

  .window-hero-text h3 {
    font-size: 12.5px;
    line-height: 1.3;
  }

  .window-hero-text p {
    font-size: 10.5px;
    line-height: 1.35;
  }

  /* Search Modal on Mobile (Full Responsive) */
  .search-modal-backdrop {
    padding: 14px 10px calc(84px + env(safe-area-inset-bottom, 0px)) 10px !important;
    align-items: flex-start !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .search-modal {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 16px !important;
    margin: 0 !important;
  }

  .search-modal-input-wrap {
    padding: 12px 14px;
  }

  .search-modal-input {
    font-size: 14.5px;
  }

  /* Grids: 1 Column on Mobile */
  .grid-4, .grid-3, .grid-2, .products-grid, .posts-grid, .latest-posts-grid, .features-value-grid, .latest-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Product and Project Card Polish */
  .product-card, .project-card, .blog-card {
    border-radius: 12px;
    width: 100%;
  }

  /* Filter Bar Scroll on Mobile */
  .category-filter-bar, .filter-pills-wrap {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    flex-wrap: nowrap !important;
  }

  .category-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill-btn {
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  /* Specs Matrix Grid */
  .specs-matrix-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Footer 1 Column on Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand .brand-logo {
    justify-content: center;
  }

  .footer-brand div {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Notification Panel on Mobile */
  .notification-dropdown-panel {
    position: fixed !important;
    top: 64px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 14px !important;
  }
}

/* Homepage Value & Blog Grids */
.features-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.latest-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Product Detail Component Styles */
.product-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-detail-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.product-features-checklist {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-tabs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Tabs Navigation Horizontal Scroll on Mobile */
.tabs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
  max-width: 100%;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary, #0f172a);
}

.tab-btn.active {
  color: var(--text-primary, #0f172a);
  border-bottom-color: var(--text-primary, #0f172a);
  font-weight: 700;
}

/* Rich Product Text & HTML Typography */
.product-rich-text {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-rich-text h2,
.product-rich-text h3,
.product-rich-text h4,
.product-rich-text h5 {
  color: #0f172a;
  font-weight: 800;
  margin: 24px 0 12px 0;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.product-rich-text h2 { font-size: 20px; }
.product-rich-text h3 { font-size: 17px; }
.product-rich-text h4 { font-size: 15.5px; }

.product-rich-text p {
  margin: 0 0 16px 0;
  line-height: 1.75;
}

.product-rich-text p:last-child {
  margin-bottom: 0;
}

.product-rich-text ul,
.product-rich-text ol {
  margin: 12px 0 18px 0;
  padding-left: 22px;
}

.product-rich-text li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #334155;
}

.product-rich-text strong,
.product-rich-text b {
  color: #0f172a;
  font-weight: 700;
}

.product-rich-text code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  font-family: monospace;
  border: 1px solid #e2e8f0;
}

.product-rich-text blockquote {
  border-left: 3px solid #0f172a;
  padding: 10px 16px;
  margin: 16px 0;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

/* Modern System Requirements Grid & Cards */
.system-reqs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.reqs-platform-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reqs-platform-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.reqs-platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.reqs-platform-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
}

.reqs-platform-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reqs-platform-badge {
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.req-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.req-spec-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.req-spec-row:hover {
  background: #f1f5f9;
}

.req-spec-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.req-spec-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.req-spec-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
  line-height: 1.45;
  word-break: break-word;
}

/* Modern Collapsible Changelog Accordion */
.changelog-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.changelog-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.changelog-item:hover {
  border-color: #cbd5e1;
}

.changelog-item.active {
  border-color: #0f172a;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  background: #f8fafc;
  transition: background 0.15s ease;
  flex-wrap: wrap;
  gap: 12px;
}

.changelog-header:hover {
  background: #f1f5f9;
}

.changelog-item.active .changelog-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.changelog-version-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.changelog-version-title {
  font-size: 16.5px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
}

/* Beautiful Modern Kararlı Pill Badge */
.badge-release-stable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}

.badge-release-stable .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #84cc16;
}

.badge-release-mandatory {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.changelog-meta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  flex-wrap: wrap;
}

.accordion-chevron {
  transition: transform 0.25s ease;
  color: #0f172a;
  flex-shrink: 0;
}

.changelog-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.changelog-body {
  padding: 22px 20px;
  display: none;
}

.changelog-item.active .changelog-body {
  display: block;
}

.changelog-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-changelog-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-changelog-download:hover {
  background: #1e293b;
  color: #ffffff;
}

/* Cool Theme-Matching Countdown Timer (No Gradients) */
.product-discount-countdown {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
  width: 100%;
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 6px;
}

.countdown-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #84cc16;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown-block {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  min-width: 0;
}

.countdown-num {
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.countdown-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Modern Software Assurance & Trust Cockpit */
.product-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 540px) {
  .product-trust-grid {
    grid-template-columns: 1fr;
  }
}

.product-trust-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
}

.product-trust-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.product-trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f172a;
  transition: all 0.2s ease;
}

.product-trust-card:hover .product-trust-icon {
  background: #0f172a;
  color: #84cc16;
  border-color: #0f172a;
}

.product-trust-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.product-trust-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.product-guarantee-banner {
  margin-top: 10px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
  flex-wrap: wrap;
}

.reviews-breakdown-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.project-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-xl, 24px);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.03));
}

@media (max-width: 992px) {
  .product-main-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  .product-detail-hero {
    padding: 16px 0 40px 0 !important;
  }

  .product-detail-box {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  .product-features-checklist {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .product-tabs-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    margin-top: 20px !important;
  }

  .reviews-breakdown-card {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 16px 14px !important;
  }

  .reviews-breakdown-card > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
    padding-right: 0 !important;
    padding-bottom: 14px;
  }

  .related-products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .project-hero-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }

  .project-gallery-box, .project-specs-card, .project-desc-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .countdown-num {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .product-detail-box {
    padding: 16px 12px !important;
  }
  .product-tabs-card {
    padding: 16px 12px !important;
  }
  .countdown-grid {
    gap: 4px !important;
  }
  .countdown-block {
    padding: 6px 2px !important;
  }
  .countdown-num {
    font-size: 15px !important;
  }
  .countdown-label {
    font-size: 8.5px !important;
  }
}


@media (max-width: 992px) {
  .filter-controls-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 576px) {
  .filter-controls-grid {
    grid-template-columns: 1fr !important;
  }

  .products-catalog-filter-card {
    padding: 14px !important;
  }

  .catalog-filter-pills {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    padding-bottom: 6px;
  }

  .catalog-pill-btn {
    white-space: nowrap !important;
    flex-shrink: 0;
  }
}

/* Shopping Cart Styles */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: start;
}

.cart-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.cart-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cart-item-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #0f172a;
  color: #84cc16;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.qty-input {
  width: 34px;
  height: 28px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-price-col {
  text-align: right;
  min-width: 90px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.cart-item-delete-btn {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cart-item-delete-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

.cart-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 96px;
}

@media (max-width: 992px) {
  .cart-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .cart-summary-card {
    position: static !important;
  }
}

@media (max-width: 640px) {
  .cart-hero-section {
    padding: 20px 0 40px 0 !important;
  }

  .cart-item-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .cart-item-actions {
    justify-content: space-between !important;
    width: 100% !important;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px !important;
  }

  .cart-summary-card {
    padding: 20px 16px !important;
  }
}

/* ==========================================================================
   Checkout Page Styles & Responsive Grid System
   ========================================================================== */
.checkout-section {
  padding: 40px 0 80px 0;
}

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.gateway-card {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.gateway-card.active {
  border: 2px solid #84cc16 !important;
  background: #fbfdf9 !important;
}

.gateway-card:hover:not(.active) {
  border-color: #cbd5e1;
  background: #f8fafc;
}

@media (max-width: 992px) {
  .checkout-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .checkout-right-col .checkout-card {
    position: static !important;
  }
}

@media (max-width: 640px) {
  .checkout-section {
    padding: 20px 0 40px 0 !important;
  }

  .checkout-page-title {
    font-size: 24px !important;
  }

  .checkout-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }

  .gateway-card {
    padding: 14px 12px !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE PAGE SYSTEMS (About, Contact, TeaSound, Legal & CMS)
   ========================================================================== */

/* 1. Legal / Generic CMS Show Pages */
.legal-page-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.legal-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  max-width: 100%;
}

.legal-page-body {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
  overflow-wrap: break-word;
}

.legal-page-body table {
  width: 100% !important;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 16px 0;
}

.legal-page-body img,
.legal-page-body iframe,
.legal-page-body pre {
  max-width: 100% !important;
  height: auto;
  border-radius: 10px;
}

/* 2. About Page */
.about-hero-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.about-bio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stats-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.skills-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
}

/* 3. Contact Page */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 24px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* 4. TeaSound & HotCue Showcase Page (Clean, Modern, Gradient-Free) */
.teasound-hero {
  background-color: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 60px 0 70px 0;
  color: #ffffff;
}

.teasound-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.teasound-project-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.teasound-project-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.teasound-note-card {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 40px;
  color: #ffffff;
}

.teasound-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.teasound-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.teasound-product-banner {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 36px 40px;
  color: #ffffff;
}

.teasound-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.teasound-grid-2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.teasound-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .teasound-project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .teasound-grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .teasound-grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .teasound-product-banner {
    padding: 28px 20px;
  }
  .teasound-note-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   BREAKPOINTS: Tablet & Mobile Responsive Adjustments (Max 991px & Max 768px)
   ========================================================================== */
@media (max-width: 991px) {
  .legal-page-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about-hero-card {
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;
    gap: 32px !important;
  }

  .about-bio-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  .legal-content-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .about-bio-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 28px 20px !important;
    border-radius: 18px !important;
  }

  .stats-matrix-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .stats-matrix-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-info-card,
  .contact-form-card,
  .legal-content-card,
  .about-bio-card {
    padding: 20px 14px !important;
  }
}

/* Status Pills for Invoices & Orders */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
}

.status-pill-paid {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.status-pill-paid svg {
  color: #84cc16;
}

.status-pill-pending {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.status-pill-pending svg {
  color: #475569;
}

.status-pill-refunded {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.status-pill-refunded svg {
  color: #94a3b8;
}

.status-pill-cancelled {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

/* Circular Flag Language Switcher */
.lang-switcher-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switcher-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.lang-switcher-btn:hover {
  transform: scale(1.06);
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lang-flag-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lang-flag-circle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  z-index: 1050;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-header {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 6px 10px 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.lang-option-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  color: #0f172a;
}

.lang-option-item:hover {
  background: #f8fafc;
}

.lang-option-item.active {
  background: #0f172a;
  color: #ffffff;
}

.lang-option-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lang-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lang-option-text strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.lang-option-text span {
  font-size: 10.5px;
  opacity: 0.75;
  line-height: 1.2;
  margin-top: 2px;
}

.lang-check-icon {
  font-size: 13px;
  font-weight: 800;
  color: #84cc16;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lang-option-item.active .lang-check-icon {
  opacity: 1;
}

/* Complete Google Translate Banner & Iframe Suppression */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
iframe[class*="goog-te-banner"],
iframe[class*="VIpgJd"],
iframe[id*="google_translate"],
iframe[id*=":1.container"],
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-gadget-simple,
.goog-te-banner,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-gadget {
  display: none !important;
  visibility: hidden !important;
  height: 0px !important;
  width: 0px !important;
  max-height: 0px !important;
  max-width: 0px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -99999px !important;
  left: -99999px !important;
  z-index: -99999 !important;
}

html, body {
  top: 0px !important;
  position: static !important;
  margin-top: 0px !important;
  padding-top: 0px !important;
  transform: none !important;
}

body.translated-ltr,
body.translated-rtl {
  top: 0px !important;
  position: static !important;
  margin-top: 0px !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}








