/* ===================================
   Variables CSS & Configuration
   =================================== */
:root {
  /* Palette corporate / admin */
  --primary-950: #0c1426;
  --primary-900: #111a30;
  --primary-800: #14233f;
  --primary-700: #1a2f52;
  --primary-600: #1f3c6d;
  --primary-500: #2b58a4;
  --primary-400: #3976d0;
  --primary-300: #6c9df0;
  --primary-200: #a8c4ff;
  --primary-100: #dbe6ff;
  --primary-50: #f5f8ff;

  --gray-950: #0b101c;
  --gray-900: #0f1727;
  --gray-800: #192438;
  --gray-700: #23314a;
  --gray-600: #2f3e5f;
  --gray-500: #adb2bb;
  --gray-400: #7b89a5;
  --gray-300: #aab4c8;
  --gray-200: #d2d8e5;
  --gray-100: #e9edf5;
  --gray-50: #f6f8fb;

  --primary: var(--primary-500);
  --primary-dark: var(--primary-700);
  --primary-soft: rgba(57, 118, 208, 0.12);
  --success: #12b981;
  --success-dark: #0e9d70;
  --warning: #f4a11e;
  --danger: #ef5a67;
  --info: #3f8cff;

  --glass-white: rgba(255, 255, 255, 0.94);
  --glass-dark: rgba(13, 19, 33, 0.4);

  --accent-pink: #dd5fa3;
  --accent-cyan: #3ab9e6;
  --accent-lime: #99dda1;
  --accent-orange: #f2a162;

  --text-primary: #f9fbff;
  --text-secondary: #d7deea;
  --text-muted: #9da8bb;

  --surface-950: rgba(8, 11, 20, 0.9);
  --surface-900: rgba(12, 18, 31, 0.9);
  --surface-800: rgba(16, 25, 40, 0.9);

  --glass-bg: var(--surface-900);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 18px 52px rgba(8, 14, 30, 0.5);

  --blur-strong: blur(24px);
  --blur-medium: blur(16px);
  --blur-light: blur(8px);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow: 0 25px 60px rgba(5, 6, 20, 0.25);
  --shadow-md: 0 20px 45px rgba(4, 5, 18, 0.3);
  --shadow-lg: 0 35px 80px rgba(3, 4, 15, 0.45);
  --shadow-hover: 0 45px 90px rgba(3, 4, 20, 0.55);
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glow-primary: 0 0 18px rgba(75, 79, 255, 0.55);
  --glow-success: 0 0 18px rgba(16, 185, 129, 0.45);

  --glass-blur: 20px;
  --glass-border-strong: rgba(255, 255, 255, 0.35);
  --glass-border-soft: rgba(255, 255, 255, 0.08);
  --noise-opacity: 0.05;

  --z-nav: 50;
  --z-overlay: 40;
  --z-base: 1;

  --gradient-hero: radial-gradient(circle at 16% 18%, rgba(63, 140, 255, 0.16), transparent 40%),
                    radial-gradient(circle at 86% 8%, rgba(34, 64, 124, 0.4), transparent 38%),
                    linear-gradient(135deg, #0f1628, #162338);
  --gradient-card: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --gradient-border: linear-gradient(130deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  --gradient-primary: linear-gradient(120deg, #2b58a4, #3f8cff);
  --gradient-success: linear-gradient(120deg, #17ad7c, #13b981);
  --gradient-warning: linear-gradient(120deg, #f4b040, #f48a1e);
  --gradient-danger: linear-gradient(120deg, #f07280, #ef5a67);
  --gradient-info: linear-gradient(120deg, #3f8cff, #245bbf);
  --gradient-body: radial-gradient(circle at 10% 18%, rgba(63, 140, 255, 0.12), transparent 45%),
                   radial-gradient(circle at 85% 14%, rgba(51, 90, 150, 0.16), transparent 42%),
                   linear-gradient(140deg, #0b1120, #0f1830 48%, #101e38);
  --gradient-glow: conic-gradient(from 90deg, rgba(63, 140, 255, 0.18), rgba(43, 88, 164, 0.2), rgba(168, 196, 255, 0.24), rgba(63, 140, 255, 0.18));
  --grid-lines: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);

  --transition-fast: 150ms ease;
  --transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 600ms cubic-bezier(0.18, 0.89, 0.32, 1.28);

  --space-2xs: 0.4rem;
  --space-xs: 0.8rem;
  --space-sm: 1.2rem;
  --space-md: 1.8rem;
  --space-lg: 2.4rem;
  --space-xl: 3.5rem;

  --navbar-height: 72px;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--gradient-body);
  background-attachment: fixed;
  min-height: 100dvh;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 24px);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: var(--gradient-glow);
  opacity: 0.35;
  filter: blur(120px);
  animation: orbitGlow 28s linear infinite;
}

body::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><defs><filter id="n" x="0" y="0"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4"/></filter></defs><rect width="200" height="200" filter="url(%23n)" opacity="0.2"/></svg>');
  opacity: var(--noise-opacity);
  mix-blend-mode: soft-light;
}

/* ===================================
   Layout & Containers
   =================================== */
.main-container,
.analytics-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm);
  animation: fadeIn 0.5s ease;
}

.analytics-container {
  max-width: 1400px;
}

.analytics-shell {
  padding-top: calc(var(--space-xl) + var(--navbar-height));
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--space-xl) + var(--navbar-height)) var(--space-sm) var(--space-xl);
}

@media (min-width: 992px) {
  .app-shell {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}
@media (max-width: 991px) {
  .app-shell {
    padding-top: 10px !important;
  }
}

.top-nav {
  position: fixed;
  top: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 2 * var(--space-sm)));
  background: linear-gradient(135deg, rgba(20, 29, 50, 0.9), rgba(27, 43, 70, 0.92));
  border: 1px solid var(--glass-border);
  border-top-color: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 60px rgba(6, 9, 20, 0.45);
  padding: 0.95rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: var(--z-nav);
  transition: background 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

.top-nav:hover {
  background: linear-gradient(135deg, rgba(23, 34, 58, 0.95), rgba(35, 57, 90, 0.95));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) translateY(-1px);
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: white;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-chip__logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.brand-chip span {
  background: rgba(255, 255, 255, 0.14);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.hero-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(18, 28, 48, 0.98), rgba(39, 71, 124, 0.92));
  color: white;
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  display: grid;
  gap: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel--analytics {
  background: linear-gradient(145deg, rgba(15, 21, 36, 0.96), rgba(28, 50, 86, 0.95));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel--analytics::before {
  opacity: 0.12;
}

.hero-panel--analytics::after {
  opacity: 0.42;
}

.hero-panel--analytics h1 {
  color: white;
}

@media (min-width: 992px) {
  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

.hero-panel::after,
.hero-panel::before {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero-panel::before {
  inset: -12% -10% -12% -10%;
  background-image: var(--grid-lines);
  background-size: 180px 180px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.hero-panel::after {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 140, 255, 0.28), transparent 60%);
  filter: blur(24px);
  bottom: -110px;
  left: -40px;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 680px;
}

.hero-actions {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-graphic {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(63, 140, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 30px rgba(1, 4, 19, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: var(--space-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-highlight__logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.metric-card {
  background: rgba(255, 255, 255, 0.16);
  padding: var(--space-sm);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 30px rgba(7, 11, 38, 0.35);
}

.metric-card .label {
  font-size: 0.85rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-card .value {
  font-size: 1.8rem;
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.info-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 22, 68, 0.06);
  position: relative;
  overflow: hidden;
}

.info-card h3 {
  color: black;
}

.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.info-card:hover::after {
  opacity: 1;
}

.info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.info-card ul {
  list-style: none;
  color: var(--gray-600);
}

.info-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.timeline {
  border-left: 2px dashed rgba(75, 79, 255, 0.15);
  padding-left: var(--space-md);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  left: -var(--space-md);
  top: 4px;
  border: 3px solid white;
  box-shadow: 0 0 0 6px rgba(75, 79, 255, 0.1);
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  left: 20px;
  position: relative;
}

.links-toolbar,
.analytics-toolbar {
  background: linear-gradient(145deg, rgba(248, 250, 253, 0.94), rgba(244, 247, 252, 0.9));
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: 0 14px 40px rgba(9, 16, 35, 0.12);
  border: 1px solid rgba(45, 98, 169, 0.08);
  margin-bottom: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.analytics-toolbar {
  background: linear-gradient(145deg, rgba(242, 245, 250, 0.94), rgba(236, 242, 252, 0.9));
}

.search-input {
  flex: 1 1 22px;
  background: var(--gray-50);
  border: 1px solid rgba(45, 98, 169, 0.08);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
}

.search-input input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.search-input input:focus {
  outline: none;
}

.filter-pill {
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  border: 1px solid rgba(57, 118, 208, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.filter-pill.active {
  background: linear-gradient(120deg, rgba(63, 140, 255, 0.15), rgba(63, 140, 255, 0.08));
  color: var(--primary-dark);
  border-color: rgba(63, 140, 255, 0.38);
  box-shadow: 0 10px 25px rgba(57, 118, 208, 0.22);
}

.badge-soft {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.analytics-toolbar .date-chip {
  background: var(--gray-50);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

.insight-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 22, 68, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.insight-card__title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

.insight-card__title_2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white  ;
}

.insight-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-800);
}

.insight-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-dark);
  font-weight: 600;
}

.insight-card--accent {
  background: var(--gradient-primary);
  color: white;
}

.insight-card--accent .insight-card__value {
  color: white;
}

.chip-light {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.premium-banner {
  background: linear-gradient(120deg, rgba(75, 79, 255, 0.95), rgba(166, 110, 253, 0.95));
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
}

.nav-actions {
  display: inline-flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(75, 79, 255, 0.15);
  color: var(--primary-100);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform var(--transition), color var(--transition);
}

.chip:hover {
  transform: translateY(-2px);
  color: white;
}

.premium-banner .actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.6s ease;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.page-header .subtitle {
  color: var(--gray-500);
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin: 0;
}

.page-header .link-url {
  color: var(--gray-500);
  font-size: 0.95rem;
  word-break: break-all;
  line-height: 1.8;
}

.page-header .link-url strong {
  color: var(--gray-700);
  font-weight: 600;
}

/* ===================================
   Statistics Cards
   =================================== */
.stat-card {
  background: var(--glass-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card .icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.stat-card:hover .icon {
  transform: rotate(5deg) scale(1.1);
}

.stat-card .icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover .icon::before {
  opacity: 1;
}

.stat-card .value {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1;
  margin: var(--space-xs) 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================================
   Cards & Panels
   =================================== */
.card-custom,
.chart-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 255, 0.9));
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-lg);
  transition: box-shadow var(--transition), transform var(--transition);
  animation: fadeInUp 0.6s ease;
  border: 1px solid rgba(43, 88, 164, 0.12);
  position: relative;
  overflow: hidden;
}

.card-custom:hover,
.chart-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.card-custom h2,
.chart-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
  padding-bottom: var(--space-xs);
}

.card-custom h2::after,
.chart-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--glow-primary);
}

/* ===================================
   Forms & Inputs
   =================================== */
.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
  display: block;
  font-size: 0.95rem;
}

.form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition);
  width: 100%;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.form-control:hover {
  border-color: var(--gray-300);
}

.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group-text {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-right: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--gray-500);
  transition: all var(--transition);
}

.input-group .form-control {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: none;
}

.input-group:focus-within .input-group-text {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
}

.form-text {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  padding: 0.4rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
  background: var(--gradient-success);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-warning {
  background: var(--gradient-warning);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-danger {
  background: var(--gradient-danger);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-info {
  background: var(--gradient-info);
  color: white;
}

.btn-analytics {
  background: var(--gradient-success);
  color: white;
  border: none;
  transition: all var(--transition);
}

.btn-analytics:hover {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  font-weight: 600;
}

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

.btn-light {
  background: white;
  color: var(--gray-800);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-back {
  background: white;
  color: var(--primary);
  border: 2px solid white;
  font-weight: 600;
  padding: 0.4rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-back:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateX(-3px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ===================================
   Links & Link Items
   =================================== */
.link-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.link-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
  transition: left 0.5s ease;
}

.link-item:hover {
  background: white;
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.link-item:hover::before {
  left: 100%;
}

.link-short {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
}

.link-short:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  transform: translateX(3px);
  text-decoration-thickness: 2px;
}

.link-url {
  color: var(--gray-500);
  font-size: 0.95rem;
  word-break: break-all;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
}

.link-source-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

.link-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: var(--space-xs);
  overflow: hidden;
}

.link-avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  object-fit: cover;
  margin-right: 0;
}

.link-avatar-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xs);
}

.admin-row:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .admin-row {
    grid-template-columns: 1fr;
  }
}

.lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(226, 232, 240, 0.6);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.8rem;
}

.icon-canvas-preview {
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(241, 245, 249, 0.9);
}

.link-url--pill {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(15, 23, 42, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-panel--analytics .link-url--pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e5e7eb;
}

.hero-panel--analytics .link-url--pill strong {
  color: #fff;
}

.analytics-shell .link-url--pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.analytics-shell .hero-panel--analytics .link-url--pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ===================================
   Badges
   =================================== */
.badge-clicks {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
  animation: pulse 2s infinite;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.mockup-badge {
  background: var(--gradient-warning);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ===================================
   Login Screen
   =================================== */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: var(--space-lg);
  animation: fadeIn 0.5s ease;
  position: relative;
  z-index: var(--z-base);
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.5s ease;
}

.brand-lockup {
  align-items: center;
  gap: var(--space-xs);
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
}

.login-box h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

/* ===================================
   Alerts
   =================================== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  animation: slideInDown 0.3s ease;
  border-left: 4px solid;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-dark);
  border-color: var(--success);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: var(--danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: var(--warning);
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border-color: var(--info);
}

.alert .btn-close {
  margin-left: auto;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.alert .btn-close:hover {
  opacity: 1;
}

/* ===================================
   Charts & Analytics
   =================================== */
.chart-card canvas {
  max-height: 400px;
  height: auto !important;
}

.chart-card.small-chart canvas {
  max-height: 250px;
}

.recent-click {
  padding: var(--space-sm);
  border-radius: var(--radius);
  background: var(--gray-50);
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}

.recent-click:hover {
  background: white;
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.recent-click .time {
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
}

.recent-click .details {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xs);
  font-size: 0.9rem;
}

.recent-click .details span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gray-600);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.recent-click .details span:hover {
  background: var(--primary);
  color: white;
}

/* ===================================
   Mockup Overlay
   =================================== */
.mockup-overlay {
  position: relative;
}

.mockup-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(3px);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.mockup-overlay .mockup-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: var(--gradient-warning);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  animation: pulse 2s infinite;
}

/* ===================================
   Loading & Error States
   =================================== */
.loading {
  text-align: center;
  padding: var(--space-xl);
  color: white;
  animation: fadeIn 0.5s ease;
}

.loading .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3rem;
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-rotate 0.75s linear infinite;
}

.error-message {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.5s ease;
}

/* ===================================
   Utility Classes
   =================================== */
.d-none {
  display: none !important;
}

.d-flex {
  display: flex !important;
}

.d-block {
  display: block !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.gap-2 {
  gap: var(--space-xs) !important;
}

.letter-spacing-1 {
  letter-spacing: 0.08em;
}

.gap-3 {
  gap: var(--space-sm) !important;
}

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: end !important;
}

.text-muted {
  color: var(--gray-500) !important;
}

.text-muted-2 {
  color: var(--gray-600) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-white {
  color: white !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-success {
  color: var(--success) !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: var(--space-xs) !important;
}

.mb-3 {
  margin-bottom: var(--space-sm) !important;
}

.mb-4 {
  margin-bottom: var(--space-md) !important;
}

.mt-2 {
  margin-top: var(--space-xs) !important;
}

.mt-3 {
  margin-top: var(--space-sm) !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: var(--space-xs) !important;
}

.ms-2 {
  margin-left: var(--space-xs) !important;
}

.py-5 {
  padding-top: var(--space-xl) !important;
  padding-bottom: var(--space-xl) !important;
}

.px-5 {
  padding-left: var(--space-xl) !important;
  padding-right: var(--space-xl) !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

/* ===================================
   Responsive Grid (Bootstrap-like)
   =================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.row.g-3 > * {
  padding: 0.5rem;
}

.row.g-4 > * {
  padding: 0.75rem;
}

[class*="col-"] {
  flex: 0 0 auto;
}

.col-12 {
  width: 100%;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.333333%;
}

.col-3 {
  width: 25%;
}

.col-2 {
  width: 16.666667%;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
  
  .col-md-4 {
    width: 33.333333%;
  }
  
  .col-md-3 {
    width: 25%;
  }
  
  .col-md-2 {
    width: 16.666667%;
  }
}

@media (min-width: 992px) {
  .col-lg-8 {
    width: 66.666667%;
  }
  
  .col-lg-6 {
    width: 50%;
  }
  
  .col-lg-4 {
    width: 33.333333%;
  }
  
  .col-lg-3 {
    width: 25%;
  }
  
  .col-lg-12 {
    width: 100%;
  }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes spinner-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbitGlow {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  .top-nav {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 30px;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    padding: 0.9rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(23, 34, 58, 0.98), rgba(35, 57, 90, 0.98));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .brand-chip {
    width: 100%;
    justify-content: space-between;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xxs);
  }

  .nav-actions .btn,
  .nav-actions .user-pill {
    width: 100%;
    justify-content: center;
  }

  .page-header {
    padding: var(--space-md);
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .stat-card .value {
    font-size: 2rem;
  }
  
  .card-custom,
  .chart-card {
    padding: var(--space-md);
  }
  
  .login-box {
    padding: var(--space-lg);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .link-item {
    padding: var(--space-sm);
  }
  
  .recent-click .details {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .links-toolbar,
  .analytics-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 576px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2rem;
  }
  
  .col-6 {
    width: 100%;
  }
  
  .stat-card .icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .hero-panel {
    padding: var(--space-md);
  }
}

/* ===================================
   Dark Mode Support (optionnel)
   =================================== */
@media (prefers-color-scheme: dark) {
  /* Décommenter pour activer le mode sombre
  body {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  }
  
  .page-header,
  .card-custom,
  .chart-card,
  .stat-card {
    background: rgba(255, 255, 255, 0.05);
    color: white;
  }
  */
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  body {
    background: white;
  }
  
  .btn,
  .login-screen,
  .mockup-overlay::after,
  .mockup-label {
    display: none !important;
  }
  
  .page-header,
  .card-custom,
  .chart-card,
  .stat-card {
    box-shadow: none;
    border: 1px solid var(--gray-200);
  }
}

/* ===================================
   Scrollbar Personnalisée
   =================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.5);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.7);
}

/* ===================================
   Focus Visible (Accessibilité)
   =================================== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ===================================
   Landing Page
   =================================== */
body.landing-page {
  background: radial-gradient(circle at 20% 20%, rgba(99, 139, 255, 0.18), transparent 30%), radial-gradient(circle at 80% 0%, rgba(255, 180, 120, 0.12), transparent 24%), #f6f9ff;
  color: #1b2533;
}

.landing-main {
  position: relative;
  z-index: 1;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding: 20px 0;
  backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.95));
  border-bottom: 1px solid rgba(43, 88, 164, 0.12);
  box-shadow: 0 4px 20px rgba(21, 54, 108, 0.08);
  transition: all 0.3s ease;
}

.landing-brand .brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
}

.landing-menu a {
  color: #1f3c6d;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.landing-menu a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2b58a4, #3f8cff);
  transition: width 0.3s ease;
}

.landing-menu a:hover {
  color: #2b58a4;
  background: rgba(43, 88, 164, 0.08);
}

.landing-menu a:hover::after {
  width: 60%;
}

.landing-actions .btn {
  border-radius: var(--radius-pill);
  box-shadow: none;
}

.landing-actions .btn {
  border-radius: var(--radius-pill);
  box-shadow: none;
}

.landing-main .container {
  position: relative;
  z-index: 2;
}

.hero {
  padding: 96px 0 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.8));
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-200);
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: #0e1830;
}

.hero .lead {
  max-width: 720px;
  color: #334158;
}

.hero-actions .btn {
  border-radius: var(--radius-pill);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(43, 88, 164, 0.08);
  border: 1px solid rgba(43, 88, 164, 0.18);
  color: #0e203d;
  font-weight: 600;
  font-size: 0.95rem;
}

.pill-location {
  background: rgba(241, 165, 67, 0.15);
  border-color: rgba(241, 165, 67, 0.4);
  color: #8a4a12;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-meta {
  max-width: 720px;
}

.hero-stats {
  max-width: 900px;
}

.stat-chip {
  min-width: 180px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  box-shadow: 0 14px 40px rgba(21, 54, 108, 0.08);
}
.stat-chip .label {
  color: #5a6882;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.stat-chip strong {
  display: block;
  color: #0e1830;
  font-size: 1.1rem;
}

.stat-chip small {
  color: #5a6882;
}

.hero-panel {
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 16px 55px rgba(21, 54, 108, 0.12);
}

.panel-top h3 {
  color: #0e1830;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0 8px;
}

.mini-card {
  padding: 12px;
  border-radius: var(--radius);
  background: #f8fbff;
  border: 1px solid rgba(17, 45, 97, 0.08);
}

.mini-card .label {
  color: #5a6882;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.mini-card h4 {
  color: #0e1830;
  margin: 0;
}

.checklist {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2a3550;
}

.check-item i {
  color: var(--success);
}

.link-ghost {
  color: #2b58a4;
  text-decoration: none;
  font-weight: 600;
}

.link-ghost:hover {
  text-decoration: underline;
}

.landing-section {
  padding: 72px 0;
}

.landing-section.alt {
  background: #f2f6fd;
  border-block: 1px solid rgba(17, 45, 97, 0.06);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.image-slot {
  background: repeating-linear-gradient(135deg, rgba(43, 88, 164, 0.08) 0, rgba(43, 88, 164, 0.08) 12px, rgba(43, 88, 164, 0.02) 12px, rgba(43, 88, 164, 0.02) 24px);
  border: 1px dashed rgba(17, 45, 97, 0.3);
  border-radius: var(--radius-lg);
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #1f3c6d;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2 {
  color: #0e1830;
  margin-bottom: 8px;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(21, 54, 108, 0.08);
}

.service-card h3 {
  color: #0e1830;
  margin-bottom: 6px;
}

.service-card p {
  color: #4b5872;
  margin: 0;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(43, 88, 164, 0.14);
  color: #2b58a4;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.detail-section {
  padding: 72px 0;
}

.detail-section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-section h3 {
  color: #0e1830;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2a3550;
}

.feature-list i {
  color: var(--success);
}

.preview-card {
  background: #fff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 16px 55px rgba(21, 54, 108, 0.12);
}

.preview-header strong {
  color: #0e1830;
}

.tag,
.tag-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
}

.tag {
  background: rgba(63, 140, 255, 0.12);
  color: #2b58a4;
  border: 1px solid rgba(63, 140, 255, 0.35);
}

.tag-soft {
  background: rgba(43, 88, 164, 0.08);
  color: #1f3c6d;
  border: 1px solid rgba(43, 88, 164, 0.2);
}

.preview-body {
  margin: 14px 0;
  display: grid;
  gap: 12px;
}

.preview-hero h5 {
  color: #0e1830;
  margin: 6px 0 10px;
}

.preview-proof {
  display: grid;
  gap: 10px;
}

.proof-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #f8fbff;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 45, 97, 0.08);
}

.proof-row i {
  color: var(--primary-200);
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: #4b5872;
}

.preview-body.presence {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.mini-metric {
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(17, 45, 97, 0.08);
}

.mini-metric .label {
  color: #5a6882;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.mini-metric strong {
  display: block;
  color: #0e1830;
  font-size: 1.1rem;
}

.mini-metric small {
  color: #4b5872;
}

.dataviz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.viz-block {
  background: #f8fbff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius);
  padding: 12px;
}

.viz-block.wide {
  grid-column: span 2;
}

.heatmap {
  display: grid;
  gap: 6px;
}

.heatmap span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(43, 88, 164, 0.25), rgba(43, 88, 164, 0.85));
}

.dataviz .preview-footer {
  color: #4b5872;
}

.plaque-preview {
  display: grid;
  gap: 12px;
}

.plaque-card {
  background: linear-gradient(135deg, #ffffff, #f4f7ff);
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 16px 55px rgba(21, 54, 108, 0.12);
}

.plaque-top h4 {
  color: #0e1830;
}

.plaque-score {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: center;
  margin: 14px 0;
}

.plaque-qr {
  background: #f8fbff;
  border: 1px dashed rgba(17, 45, 97, 0.2);
  border-radius: var(--radius);
  padding: 10px;
  text-align: center;
}

.qr-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.qr-dots span {
  width: 10px;
  height: 10px;
  background: rgba(43, 88, 164, 0.9);
  border-radius: 2px;
  display: block;
  margin: 0 auto;
}

.plaque-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.plaque-note {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  color: #2a3550;
}

.plaque-note i {
  color: #2b58a4;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.step-index {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: rgba(43, 88, 164, 0.14);
  color: #2b58a4;
  font-weight: 800;
}

.process-step h4 {
  color: #0e1830;
  margin-bottom: 4px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: center;
  background: linear-gradient(120deg, rgba(43, 88, 164, 0.12), #ffffff);
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 16px 55px rgba(21, 54, 108, 0.12);
}

.cta-right {
  display: grid;
  gap: 10px;
}

.cta-badge {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #f8fbff;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 45, 97, 0.08);
}

.cta-badge i {
  color: #2b58a4;
}

.landing-footer {
  padding: 20px 0 32px;
  border-top: 1px solid rgba(17, 45, 97, 0.08);
  background: #f6f9ff;
  color: #0e1830;
}

@media (max-width: 991px) {
  .landing-nav .container {
    gap: 12px;
  }

  .landing-menu {
    width: 100%;
    flex-wrap: wrap;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .landing-nav .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 72px 0 52px;
  }

  .landing-section,
  .detail-section {
    padding: 56px 0;
  }

  .landing-actions {
    width: 100%;
  }
}

/* ===================================
   NEW MODERN DESIGN STYLES
   =================================== */

/* Hero Modern */
.hero-modern {
  padding: 20px 0 80px;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 88, 164, 0.08), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.badge-modern {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(43, 88, 164, 0.08);
  border: 1px solid rgba(43, 88, 164, 0.2);
  border-radius: 50px;
  color: #1f3c6d;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #0e1830;
  margin: 20px 0;
  font-family: 'Inter', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #2b58a4 0%, #3f8cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #4b5872;
  line-height: 1.7;
  max-width: 600px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(18, 185, 129, 0.1);
  color: #12b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.trust-item strong {
  display: block;
  color: #0e1830;
  font-size: 1rem;
}

.trust-item p {
  color: #5a6882;
  font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.visual-card {
  background: white;
  border: 1px solid rgba(17, 45, 97, 0.1);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(21, 54, 108, 0.12);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.visual-dots {
  display: flex;
  gap: 6px;
}

.visual-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(43, 88, 164, 0.2);
}

.visual-dots span:nth-child(1) {
  background: #ff5f56;
}

.visual-dots span:nth-child(2) {
  background: #ffbd2e;
}

.visual-dots span:nth-child(3) {
  background: #27c93f;
}

.metric-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-item {
  background: #f8fbff;
  border: 1px solid rgba(17, 45, 97, 0.08);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: #5a6882;
  margin-bottom: 8px;
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0e1830;
}

/* Section Header */
.section-header {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0e1830;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5a6882;
  line-height: 1.6;
}

/* Packs Section */
.packs-section {
  padding: 80px 0;
  background: #f8faff;
}

.pricing-card {
  background: white;
  border: 2px solid rgba(17, 45, 97, 0.08);
  border-radius: 24px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(21, 54, 108, 0.15);
  border-color: rgba(43, 88, 164, 0.3);
}

.pricing-card.featured {
  border-color: #2b58a4;
  border-width: 3px;
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(43, 88, 164, 0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2b58a4, #3f8cff);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(43, 88, 164, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pack-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0e1830;
  margin-bottom: 8px;
}

.pack-desc {
  color: #5a6882;
  margin: 0;
}

.pricing-price {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 2px solid rgba(17, 45, 97, 0.08);
}

.price-amount {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #2b58a4;
  line-height: 1;
}

.price-period {
  display: block;
  color: #5a6882;
  font-size: 0.9rem;
  margin-top: 8px;
}

.pack-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex-grow: 1;
}

.pack-features li {
  padding: 12px 0;
  color: #2a3550;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.pack-features i {
  color: #12b981;
  font-size: 1.1rem;
}

/* Plaques Section */
.plaques-section {
  padding: 80px 0;
  background: white;
}

.product-card {
  background: white;
  border: 2px solid rgba(17, 45, 97, 0.08);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(21, 54, 108, 0.15);
  border-color: rgba(43, 88, 164, 0.3);
}

.product-card.featured {
  border-color: #2b58a4;
  border-width: 3px;
  box-shadow: 0 20px 60px rgba(43, 88, 164, 0.15);
}

.product-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.product-image {
  position: relative;
  background: linear-gradient(135deg, #f8faff, #e8f0ff);
  padding: 48px 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(43, 88, 164, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

.product-placeholder {
  text-align: center;
  color: #2b58a4;
}

.product-placeholder.premium-glow {
  filter: drop-shadow(0 8px 24px rgba(43, 88, 164, 0.3));
}

.product-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0e1830;
  margin-bottom: 16px;
}

.product-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(17, 45, 97, 0.08);
}

.product-price .price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2b58a4;
}

.product-price .price-unit {
  color: #5a6882;
  font-size: 1rem;
  margin-left: 8px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.product-features li {
  padding: 10px 0;
  color: #2a3550;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.product-features i {
  color: #12b981;
  font-size: 1rem;
  margin-top: 2px;
}

/* Benefits */
.benefit-item {
  padding: 24px;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(43, 88, 164, 0.08);
  color: #2b58a4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.benefit-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0e1830;
  margin-bottom: 8px;
}

.benefit-item p {
  color: #5a6882;
  margin: 0;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: #f8faff;
}

.service-card-modern {
  background: white;
  border: 2px solid rgba(17, 45, 97, 0.08);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(21, 54, 108, 0.12);
  border-color: rgba(43, 88, 164, 0.3);
}

.service-icon-modern {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2b58a4, #3f8cff);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(43, 88, 164, 0.25);
}

.service-content-modern {
  flex-grow: 1;
}

.service-content-modern h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0e1830;
  margin-bottom: 12px;
}

.service-content-modern p {
  color: #5a6882;
  line-height: 1.6;
}

.service-pricing {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 2px solid rgba(17, 45, 97, 0.08);
}

.service-pricing strong {
  font-size: 1.3rem;
  color: #2b58a4;
  font-weight: 800;
}

/* Process Section */
.process-section {
  padding: 80px 0;
  background: white;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  background: #f8faff;
  border: 2px solid rgba(17, 45, 97, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}

.process-item:hover {
  transform: translateX(8px);
  border-color: rgba(43, 88, 164, 0.3);
  box-shadow: 0 8px 32px rgba(21, 54, 108, 0.1);
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b58a4, #3f8cff);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(43, 88, 164, 0.25);
}

.process-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0e1830;
  margin-bottom: 12px;
}

.process-content p {
  color: #5a6882;
  line-height: 1.7;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2b58a4 0%, #1f3c6d 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Footer updates */
.landing-footer {
  padding: 60px 0 32px;
  background: #0e1830;
  color: #d2d8e5;
}

.landing-footer h4,
.landing-footer h5 {
  color: white;
}

.landing-footer .text-muted {
  color: #aab4c8 !important;
}

.landing-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Updates */
@media (max-width: 991px) {
  .hero-modern {
    padding: 80px 0 60px;
  }

  .metric-display {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .metric-item {
    padding: 16px 12px;
  }

  .metric-value {
    font-size: 1.4rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .service-card-modern {
    flex-direction: column;
    text-align: center;
  }

  .service-icon-modern {
    margin: 0 auto;
  }

  .process-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .process-number {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
  }

  .metric-display {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .packs-section,
  .plaques-section,
  .services-section,
  .process-section {
    padding: 60px 0;
  }

  .cta-box {
    padding: 32px 24px;
    text-align: center;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

/* ===================================
   MENU HAMBURGER MOBILE
   =================================== */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #2b58a4;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid rgba(17, 45, 97, 0.1);
  box-shadow: 0 10px 40px rgba(21, 54, 108, 0.15);
  padding: 24px;
  transform: translateY(-120%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: #0e1830;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.mobile-menu-item:hover {
  background: rgba(43, 88, 164, 0.08);
  color: #2b58a4;
}

body.menu-open {
  overflow: hidden;
}

/* ===================================
   HERO BENEFITS (New Marketing Section)
   =================================== */
.hero-benefits {
  display: grid;
  gap: 24px;
}

.social-proof-card {
  background: white;
  border: 2px solid rgba(17, 45, 97, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(21, 54, 108, 0.12);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 12px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #2b58a4;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: #5a6882;
  font-weight: 600;
}

.benefits-checklist {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border: 2px solid rgba(17, 45, 97, 0.1);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(21, 54, 108, 0.12);
}

.checklist-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0e1830;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.checklist-title i {
  color: #12b981;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.checklist-items li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
}

.checklist-items i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(43, 88, 164, 0.1), rgba(63, 140, 255, 0.15));
  color: #2b58a4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.checklist-items strong {
  display: block;
  color: #0e1830;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.checklist-items p {
  color: #5a6882;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.badge-item {
  background: white;
  border: 2px solid rgba(18, 185, 129, 0.2);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #0e1830;
  transition: all 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-4px);
  border-color: #12b981;
  box-shadow: 0 8px 24px rgba(18, 185, 129, 0.15);
}

.badge-item i {
  display: block;
  font-size: 1.5rem;
  color: #12b981;
  margin-bottom: 8px;
}

.badge-item span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.3;
}

/* Responsive pour hero-benefits */
@media (max-width: 768px) {
  .proof-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  .checklist-items li {
    gap: 12px;
  }

  .checklist-items i {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ===================================
   RECENT CLICKS - SCROLL VERTICAL
   =================================== */
.recent-clicks-container {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 8px;
}

.recent-clicks-container::-webkit-scrollbar {
  width: 8px;
}

.recent-clicks-container::-webkit-scrollbar-track {
  background: rgba(43, 88, 164, 0.05);
  border-radius: 10px;
}

.recent-clicks-container::-webkit-scrollbar-thumb {
  background: rgba(43, 88, 164, 0.3);
  border-radius: 10px;
}

.recent-clicks-container::-webkit-scrollbar-thumb:hover {
  background: rgba(43, 88, 164, 0.5);
}

/* ===================================
   ENHANCED HEADER & BRAND
   =================================== */
.landing-brand {
  transition: transform 0.3s ease;
}

.landing-brand:hover {
  transform: translateX(4px);
}

.brand-mark {
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 88, 164, 0.15), rgba(63, 140, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brand-mark:hover::before {
  opacity: 1;
}

.brand-chip__logo {
  transition: transform 0.3s ease;
}

.brand-mark:hover .brand-chip__logo {
  transform: scale(1.1);
}

.nav-wrapper {
  position: relative;
}

/* Responsive menu visibility */
@media (max-width: 991px) {
  .landing-menu {
    display: none !important;
  }
}

/* ===================================
   FIX BTN-OUTLINE-PRIMARY SUR FOND BLANC
   =================================== */
.landing-page .btn-outline-primary {
  background: transparent;
  border: 2px solid #2b58a4;
  color: #2b58a4;
  font-weight: 600;
}

.landing-page .btn-outline-primary:hover {
  background: #2b58a4;
  color: white;
  border-color: #2b58a4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 88, 164, 0.25);
}

/* Fix pour les pricing cards */
.pricing-card .btn-outline-primary {
  border: 2px solid #2b58a4;
  color: #2b58a4;
  background: transparent;
  font-weight: 600;
}

.pricing-card .btn-outline-primary:hover {
  background: #2b58a4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 88, 164, 0.25);
}

/* Fix pour les product cards */
.product-card .btn-outline-primary {
  border: 2px solid #2b58a4;
  color: #2b58a4;
  background: transparent;
  font-weight: 600;
}

.product-card .btn-outline-primary:hover {
  background: #2b58a4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 88, 164, 0.25);
}

/* Fix pour service cards */
.service-card-modern .btn-outline-primary {
  border: 2px solid #2b58a4;
  color: #2b58a4;
  background: transparent;
  font-weight: 600;
}

.service-card-modern .btn-outline-primary:hover {
  background: #2b58a4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 88, 164, 0.25);
}

/* Fix pour footer */
.landing-footer .btn-outline-primary {
  border: 2px solid #2b58a4;
  color: #2b58a4;
  background: white;
  font-weight: 600;
}

.landing-footer .btn-outline-primary:hover {
  background: #2b58a4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 88, 164, 0.25);
}
