/* ==========================================================================
   THIBAULT BONIFAY — ULTRA LUXURY FINTECH & CYBER AUDIT PORTFOLIO
   ========================================================================== */

/* HIDE ALL NETLIFY INJECTED BADGES / FOOTERS / WIDGETS / WATERMARKS */
.nl-badge,
#nl-badge,
#nl-card,
.nl-card,
[class*="nl-badge"],
[id*="nl-badge"],
.netlify-badge,
[data-netlify-badge],
#netlify-badge,
a[href*="netlify.com"],
a[href*="netlify.app"],
div[class*="netlify"],
iframe[src*="netlify"],
.netlify-footer-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  z-index: -9999 !important;
}

:root {
  --bg: #03050a;
  --panel: #080d19;
  --panel-glass: rgba(8, 13, 25, 0.78);
  --panel-border: rgba(255, 255, 255, 0.09);
  --panel-border-hover: rgba(0, 242, 254, 0.55);
  
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-dark: #475569;
  
  --cyan: #00f2fe;
  --blue: #3b82f6;
  --emerald: #00e676;
  --purple: #a855f7;
  --amber: #f59e0b;
  --rose: #f43f5e;
  
  --glow-cyan: rgba(0, 242, 254, 0.4);
  --glow-purple: rgba(168, 85, 247, 0.4);
  --glow-emerald: rgba(0, 230, 118, 0.4);
  
  --banner-safe-bg: rgba(0, 230, 118, 0.12);
  --banner-safe-border: rgba(0, 230, 118, 0.4);
  --banner-warn-bg: rgba(139, 92, 246, 0.12);
  --banner-warn-border: rgba(139, 92, 246, 0.3);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

/* LIGHT THEME OVERRIDES */
[data-theme="light"] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-glass: rgba(255, 255, 255, 0.95);
  --panel-border: rgba(15, 23, 42, 0.16);
  --panel-border-hover: rgba(2, 132, 199, 0.65);
  
  --text: #0f172a;
  --muted: #1e293b;
  --muted-dark: #334155;
  
  --cyan: #0284c7;
  --blue: #1d4ed8;
  --emerald: #047857;
  --purple: #6d28d9;
  --amber: #b45309;
  --rose: #be123c;
  
  --glow-cyan: rgba(2, 132, 199, 0.25);
  --glow-purple: rgba(124, 58, 237, 0.25);
  --glow-emerald: rgba(5, 150, 105, 0.25);

  --banner-safe-bg: #ecfdf5;
  --banner-safe-border: #6ee7b7;
  --banner-warn-bg: #f5f3ff;
  --banner-warn-border: #c4b5fd;
  color-scheme: light;
}

[data-theme="light"] body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  color: #0f172a;
}

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4,
[data-theme="light"] .brand-text b,
[data-theme="light"] .hero-ticker-wrap b {
  color: #0f172a;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(110deg, #0284c7 0%, #2563eb 60%, #7c3aed 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-ticker-wrap {
  background: rgba(241, 245, 249, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .nav-wrap {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .nav-wrap.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .nav.open .nav-menu-wrapper {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav.open .nav-links a {
  color: #0f172a;
}

[data-theme="light"] .nav.open .nav-links a:hover {
  background: rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .nav-cta {
  background: #0f172a;
  color: #ffffff !important;
}

[data-theme="light"] .menu-btn span {
  background: #0f172a;
}

[data-theme="light"] .nav-cta:hover {
  background: #0284c7;
}

[data-theme="light"] .btn.primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .btn.primary:hover {
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .btn.glass {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn.glass:hover {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7 !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.18);
}

[data-theme="light"] .btn.ghost {
  background: transparent;
  color: #334155 !important;
  border-color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .btn.ghost:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  border-color: #0f172a;
}

[data-theme="light"] .dashboard-preview-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .dashboard-preview-card .card-header {
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .dashboard-preview-card .card-title {
  color: #0f172a;
}

[data-theme="light"] .mini-stat {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mini-stat label {
  color: #475569;
}

[data-theme="light"] .console-window {
  background: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .console-line {
  color: #38bdf8;
}

[data-theme="light"] .app-store-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .app-store-header {
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .app-store-meta h3 span {
  color: #0f172a;
  font-weight: 800;
}

[data-theme="light"] .app-developer {
  color: #475569;
}

[data-theme="light"] .app-store-body {
  background: #ffffff;
}

[data-theme="light"] .app-store-desc {
  color: #334155;
}

[data-theme="light"] .store-tags-list span {
  background: #f1f5f9;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .arrow-btn {
  background: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .arrow-btn:hover {
  background: #0369a1;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .sampling-tool-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .samp-input {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.18);
  font-weight: 500;
}

[data-theme="light"] .samp-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .samp-input option {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .samp-risk-box {
  background: #f0f9ff;
  border-color: #7dd3fc;
}

[data-theme="light"] .sampling-results-wrap {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .samp-stat-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .samp-stat-card span {
  color: #475569;
}

[data-theme="light"] .sample-table-wrap {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

[data-theme="light"] .sample-table th {
  background: #e2e8f0;
  color: #0369a1;
  border-bottom: 2px solid rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .sample-table td {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

[data-theme="light"] .sample-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

[data-theme="light"] .samp-tab-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

[data-theme="light"] .samp-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .samp-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .samp-tab-content {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .samp-formula-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .samp-formula-box {
  background: #e2e8f0;
  color: #0f172a;
  border-left-color: #7c3aed;
}

[data-theme="light"] .samp-tuto-step {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .preset-pill {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

[data-theme="light"] .preset-pill:hover,
[data-theme="light"] .preset-pill.active {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .slider-container {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .mini-stat {
  background: #f1f5f9;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.08) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px;
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Ambient Background Orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.4;
}

.orb-1 {
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25), rgba(59, 130, 246, 0.1) 60%, transparent 80%);
  animation: orb-float-1 18s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: 20%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), rgba(0, 242, 254, 0.08) 60%, transparent 80%);
  animation: orb-float-2 22s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes orb-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, -90px) scale(1.2); }
}

/* Noise Overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Glowing Cursor Follower */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08), rgba(59, 130, 246, 0.03) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.08s ease-out;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(9, 14, 24, 0.95);
  border: 1px solid var(--cyan);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.25);
  color: #fff;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  z-index: 100000;
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
}

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

/* Layout Container */
.container {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: #fff;
}

/* Animated Gradient Text */
.gradient-text {
  background: linear-gradient(110deg, #ffffff 10%, var(--cyan) 45%, var(--blue) 80%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 6s linear infinite;
}

@keyframes shine-text {
  to { background-position: 200% center; }
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}

.pulse-icon {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(135deg, var(--cyan), #00b4d8);
  color: #020611;
  box-shadow: 0 10px 35px rgba(0, 242, 254, 0.35);
}

.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 242, 254, 0.55);
}

.btn.glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--panel-border);
  backdrop-filter: blur(16px);
  color: #fff;
}

.btn.glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--panel-border);
}

.btn.ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.35s ease;
  padding: 20px 0;
}

.nav-wrap.scrolled {
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--panel-border);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

.brand-text b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  font-weight: 700;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--panel-border);
  margin-right: 12px;
  white-space: nowrap;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--emerald);
}

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

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-theme-toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--cyan);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-theme-toggle:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan);
  transform: scale(1.06);
}

.btn-copy-email {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--text);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-copy-email:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.btn-lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-lang-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

[data-theme="light"] .btn-lang-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .btn-lang-toggle:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text, #ffffff);
  margin: 6px 0;
  transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 135px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ticker Bar (Hero Banner) */
.hero-ticker-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  contain: layout paint;
  overflow: hidden;
  background: rgba(9, 14, 24, 0.65);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  padding: 12px 0;
  margin-top: 25px !important;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
}

.hero-ticker {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  width: max-content;
  min-width: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.ticker-item b {
  color: #fff;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.ticker-dot.cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.ticker-dot.green { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.ticker-dot.purple { background: var(--purple); box-shadow: 0 0 10px var(--purple); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  margin-top: 0 !important;
}

.hero-copy h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.18;
  margin-bottom: 26px;
  word-break: break-word;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-lead strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-kpis {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--panel-border);
}

.kpi-card {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.kpi-val {
  display: flex;
  align-items: baseline;
  min-height: 42px;
}

.kpi-card strong, .kpi-card .counter-prefix {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.kpi-card .unit {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--cyan);
  margin-left: 2px;
  line-height: 1;
}

.kpi-card span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
  display: block;
}

.kpi-card small {
  color: var(--muted-dark);
  font-size: 10px;
}

/* Hero Dashboard Card Preview */
.hero-visual {
  perspective: 1000px;
}

.dashboard-preview-card {
  background: var(--panel-glass);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 242, 254, 0.12);
  overflow: hidden;
  transition: transform 0.2s ease-out, border-color 0.3s ease;
}

.dashboard-preview-card:hover {
  border-color: var(--panel-border-hover);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--panel-border);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--rose); }
.dot.yellow { background: var(--amber); }
.dot.green { background: var(--emerald); }

.card-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.live-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.card-body {
  padding: 26px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.mini-stat {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-border);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.mini-stat label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.green-glow { color: var(--emerald); text-shadow: 0 0 12px rgba(0, 230, 118, 0.4); }
.cyan-glow { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 242, 254, 0.4); }

.chart-container {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 22px;
}

.chart-header-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.chart-tag {
  color: var(--cyan);
  font-weight: 700;
}

.interactive-bars {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.bar-item {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 4px 4px 0 0;
  transition: all 0.35s ease;
  position: relative;
  cursor: pointer;
}

.bar-item:hover, .bar-item.active {
  filter: brightness(1.3);
  box-shadow: 0 0 20px var(--cyan);
}

.console-box {
  background: #020408;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  line-height: 1.8;
}

.console-line .c-cyan { color: var(--cyan); }
.console-line .c-green { color: var(--emerald); }
.console-line .c-purple { color: var(--purple); }

.card-footer {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--panel-border);
}

.tech-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  color: var(--muted);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */

.section {
  padding: 130px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--cyan);
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 26px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.section-tag.center { text-align: center; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.1;
}

.section-head h2 span { color: var(--cyan); }

.section-head p {
  color: var(--muted);
  max-width: 400px;
  font-size: 17px;
}

/* ==========================================================================
   SECTION 01: PROFIL & EXPERTISE
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 74px;
}

.intro-grid h2 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.08;
}

.intro-grid h2 span { color: var(--cyan); }

.intro-copy p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.intro-copy strong { color: var(--text); }

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

.expertise-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-card:hover {
  transform: translateY(-10px);
  border-color: var(--panel-border-hover);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 242, 254, 0.15);
}

.card-num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted-dark);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.expertise-card h3 {
  font-size: 21px;
  margin-bottom: 16px;
}

.expertise-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--panel-border);
  padding-top: 20px;
}

.card-list li {
  font-size: 13px;
  color: var(--muted);
  position: relative;
  padding-left: 18px;
}

.card-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE AUDITHIBZ SIMULATOR
   ========================================================================== */

.simulator-section {
  background: linear-gradient(180deg, #04060b 0%, #090e18 50%, #04060b 100%);
  border-y: 1px solid var(--panel-border);
}

.simulator-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

.sim-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 22px;
  align-items: flex-end;
  margin-bottom: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--panel-border);
}

.sim-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}

.sim-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 13px 18px;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border 0.25s;
}

.sim-select:focus {
  border-color: var(--cyan);
}

.glow-btn {
  height: 50px;
  white-space: nowrap;
}

.sim-screen {
  background: #020307;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.sim-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 14px;
}

.sim-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 26px;
}

.sim-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 15px var(--cyan);
  transition: width 0.1s linear;
}

.sim-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.sim-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}

.m-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.m-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.m-val.green { color: var(--emerald); text-shadow: 0 0 12px rgba(0, 230, 118, 0.4); }
.m-val.yellow { color: var(--amber); }
.m-val.cyan { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 242, 254, 0.4); }

.sim-logs {
  background: #010204;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  height: 130px;
  overflow-y: auto;
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-entry.system { color: var(--muted); }
.log-entry.process { color: var(--cyan); }
.log-entry.success { color: var(--emerald); }

/* ==========================================================================
   SECTION 03: PARCOURS & TIMELINE
   ========================================================================== */

.experience-section {
  background: var(--bg);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 185px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--panel-border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 70px 1fr;
  align-items: flex-start;
}

.date-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--cyan);
  padding-top: 14px;
}

.timeline-marker {
  position: relative;
  display: grid;
  place-items: center;
  padding-top: 18px;
}

.timeline-marker i {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
}

.role-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all 0.35s ease;
}

.role-card:hover {
  border-color: var(--panel-border-hover);
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.role-header h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.company-name {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 700;
}

.experience-type {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  color: var(--muted);
}

.role-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.chips b {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 99px;
  color: #00f2fe;
}

/* ==========================================================================
   APP STORE CATALOG & REAL APP SCREENSHOT PREVIEWS
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.app-store-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.app-store-card:hover {
  transform: translateY(-10px);
  border-color: var(--panel-border-hover);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.18);
}

.app-store-header {
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--panel-border);
}

.app-store-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.icon-audithibz {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #030812;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35);
}

.icon-fsc {
  background: linear-gradient(135deg, #107c41, #1f9a55);
  color: #fff;
  box-shadow: 0 10px 30px rgba(16, 124, 65, 0.45);
}

.icon-sampling {
  background: linear-gradient(135deg, var(--purple), #6366f1);
  color: #fff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.45);
}

.icon-brand {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.app-store-meta {
  flex: 1;
}

.app-store-meta h3 {
  font-size: 20px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-version-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  border: 1px solid var(--panel-border);
}

.app-developer {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-rating {
  font-size: 12px;
  color: var(--amber);
  font-weight: 800;
}

/* Screenshot Preview Canvas Window */
.app-screenshot-window {
  background: #080d19;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  height: 310px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-screenshot-window img {
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  object-position: top center;
  display: block;
  padding: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  filter: brightness(0.99) contrast(1.03);
  image-rendering: -webkit-optimize-contrast;
}

.app-store-card:hover .app-screenshot-window img {
  transform: scale(1.03);
  filter: brightness(1.04) contrast(1.05);
}

.screenshot-tab-bar {
  height: 34px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
}

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

.window-controls-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.screenshot-tab-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  font-family: monospace;
}

/* APP STORE CARD FOOTER */
.app-store-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.app-store-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.app-store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--panel-border);
  padding-top: 20px;
}

.store-tags-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-tags-list span {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  color: var(--muted);
}

.arrow-btn {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 9px 18px;
  border-radius: 99px;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
}

.arrow-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.35);
}

/* ==========================================================================
   PURE HTML/CSS PIXEL-PERFECT REAL APP UI SCREENS
   ========================================================================== */

.real-ui-screen {
  background: #060912;
  height: 256px;
  overflow-y: auto;
  padding: 14px;
  font-family: var(--font-main);
}

/* REAL EXCEL WORKBOOK UI */
.excel-app-bar {
  background: #107c41;
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px 4px 0 0;
  display: flex;
  justify-content: space-between;
}

.excel-formula-bar {
  background: #121826;
  border-x: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  padding: 4px 10px;
  font-family: monospace;
  font-size: 10px;
  color: var(--cyan);
  display: flex;
  gap: 8px;
}

.excel-real-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  background: #090e18;
}

.excel-real-table th {
  background: #131b2e;
  color: var(--muted);
  border: 1px solid #1e293b;
  padding: 5px 8px;
  text-align: left;
  font-size: 10px;
}

.excel-real-table td {
  border: 1px solid #182238;
  padding: 5px 8px;
  color: #e2e8f0;
}

.cell-code { color: var(--cyan); font-weight: 700; }
.cell-num { text-align: right; }
.cell-ok { color: var(--emerald); font-weight: 800; }

.excel-totals-row {
  background: rgba(0, 242, 254, 0.08);
  font-weight: 800;
}

.excel-green-banner {
  background: #00a859;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  margin-top: 10px;
  box-shadow: 0 0 15px rgba(0, 168, 89, 0.4);
}

.excel-tabs-bar {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  background: #090e18;
  padding: 4px;
  border-radius: 4px;
}

.tab-pill {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.tab-pill.active {
  background: #107c41;
  color: #fff;
  font-weight: 800;
}

/* REAL TASKPANE OFFICE ADD-IN UI */
.taskpane-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  height: 100%;
}

.taskpane-sidebar {
  background: #090e18;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.taskpane-header {
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 6px;
}

.dropzone-pdf {
  border: 1px dashed var(--cyan);
  background: rgba(0, 242, 254, 0.04);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

.btn-insert-excel {
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
}

/* ==========================================================================
   SECTION 05: COMPETENCES & SKILLS
   ========================================================================== */

.skills-wrapper {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 54px;
}

.skills-intro {
  margin-bottom: 44px;
}

.skills-intro h2 {
  font-size: 42px;
  margin-bottom: 14px;
}

.skills-intro h2 span { color: var(--cyan); }

.skills-intro p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
}

.skills-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--muted);
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--cyan);
  color: #030812;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

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

.skill-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: all 0.35s ease;
}

.skill-pill:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: var(--panel-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.s-icon {
  font-size: 24px;
}

.s-info strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.s-info small {
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   MODAL POPUP & AUDITHIBZ SAMPLING ONLINE TOOL STYLES
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(20px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-window {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 242, 254, 0.18);
  transform: translateY(35px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #e2e8f0;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f172a;
}

.modal-header h3 {
  font-size: 20px;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.modal-close:hover {
  background: var(--rose);
  border-color: var(--rose);
}

.modal-body {
  padding: 30px;
}

.fsc-preview-mockup {
  background: #070b14;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.fsc-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--panel-border);
}

.fsc-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  border-radius: 99px;
}

/* Sampling Tool Specific Styling */
.sampling-tool-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  margin-top: 40px;
}

.sampling-input-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}
.sampling-input-grid.samp-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.sampling-input-grid.samp-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.sampling-input-grid.align-end {
  align-items: end;
}

.samp-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}

.samp-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 13px 18px;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease;
}

.samp-input:focus {
  border-color: var(--cyan);
}

.sampling-results-wrap {
  background: #03050a;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-top: 26px;
}

.sample-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.samp-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}

.samp-stat-card span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 6px;
}

.samp-stat-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cyan);
}

.sample-table-wrap {
  max-height: 300px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sample-table th {
  position: sticky;
  top: 0;
  background: #0a0e18;
  color: var(--cyan);
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  border-bottom: 1px solid var(--panel-border);
}

.sample-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Sampling Methodology Documentation Tabs */
.samp-guide-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 8px;
}

.samp-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  padding: 10px 18px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.samp-tab-btn:hover {
  color: #fff;
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.06);
}

.samp-tab-btn.active {
  background: linear-gradient(135deg, #00f2fe, #3b82f6) !important;
  border-color: #00f2fe !important;
  color: #03050a !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.45) !important;
}

.samp-tab-content {
  transition: opacity 0.3s ease;
}

.tag-key {
  color: var(--emerald);
  font-weight: 800;
  background: rgba(0, 230, 118, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
}

.tag-random {
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   SECTION 06: CONTACT & FOOTER
   ========================================================================== */

.contact-section {
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  border-top: 1px solid var(--panel-border);
}

.contact-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.14), rgba(59, 130, 246, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-box {
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-box h2 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.08;
  margin-bottom: 44px;
}

.contact-box h2 span { color: var(--cyan); }

.email-terminal-card {
  max-width: 540px;
  margin: 0 auto 54px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.term-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--panel-border);
  gap: 7px;
}

.term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.term-title {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  font-family: monospace;
}

.term-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.term-email {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.term-btn {
  background: var(--cyan);
  color: #020611;
  border: 0;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.term-btn:hover {
  box-shadow: 0 0 25px var(--cyan);
  transform: translateY(-2px);
}

.social-links-row {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

footer {
  border-top: 1px solid var(--panel-border);
  padding: 32px 0;
  font-size: 13px;
  color: var(--muted);
}

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

.sep { margin: 0 8px; opacity: 0.4; }

.back-to-top:hover {
  color: var(--cyan);
}

/* Scroll Animations with Blur Unveil */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* 3D Tilt Card Specular Lighting Overlay */
.tilt-card {
  position: relative;
  overflow: hidden;
}

.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

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

/* Keyframes Animations */
@keyframes pulseGreenCell {
  0%, 100% {
    background: rgba(0, 230, 118, 0.15);
    box-shadow: inset 0 0 0 rgba(0, 230, 118, 0);
  }
  50% {
    background: rgba(0, 230, 118, 0.35);
    box-shadow: inset 0 0 15px rgba(0, 230, 118, 0.5), 0 0 20px rgba(0, 230, 118, 0.4);
  }
}

.mock-cell-active-pulse {
  animation: pulseGreenCell 2.5s infinite ease-in-out;
}

/* Responsive Queries */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

@media (max-width: 1024px) {
  .hero-grid, .intro-grid, .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  .expertise-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .timeline::before {
    display: none;
  }
  .timeline-item {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .date-badge {
    padding-top: 0;
  }
  .timeline-marker {
    display: none;
  }
  .sim-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sampling-input-grid.samp-grid-4,
  .sampling-input-grid.samp-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .sample-stats-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

.nav-right-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .nav-right-mobile {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  .mobile-lang-btn {
    display: inline-flex !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 99px !important;
    border: 1px solid rgba(0, 242, 254, 0.4) !important;
    background: rgba(0, 242, 254, 0.12) !important;
    color: var(--cyan) !important;
    font-weight: 700 !important;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2) !important;
  }

  .nav {
    position: relative;
  }
  .nav-menu-wrapper {
    display: none;
  }
  .nav-status {
    display: none;
  }
  .menu-btn {
    display: block;
    z-index: 101;
  }
  .menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav.open .nav-menu-wrapper {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    background: rgba(8, 12, 22, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    gap: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 35px rgba(0, 229, 255, 0.2);
    z-index: 100;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nav.open .nav-links a {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .nav.open .nav-links a:hover {
    background: rgba(0, 229, 255, 0.12);
    color: var(--cyan);
  }

  .nav.open .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav.open .nav-actions button,
  .nav.open .nav-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-section {
    padding-top: 180px !important;
    padding-bottom: 50px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 6.5vw, 44px) !important;
    line-height: 1.15;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-kpis {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .badge-eyebrow {
    font-size: 10.5px !important;
    padding: 6px 14px !important;
    margin-bottom: 20px;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  /* Timeline Mobile Optimization */
  .timeline {
    padding-left: 0 !important;
    gap: 20px !important;
  }
  .timeline::before {
    display: none !important;
  }
  .timeline-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .date-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 99px;
    padding: 4px 12px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
  }
  .role-card {
    padding: 20px 16px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
  }
  .role-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px;
  }
  .role-header h3 {
    font-size: 17px !important;
    line-height: 1.35;
  }
  .company-name {
    font-size: 13px !important;
    display: block;
    margin-top: 2px;
  }
  .experience-type {
    font-size: 10px !important;
    padding: 3px 10px !important;
    align-self: flex-start !important;
  }
  .role-desc {
    font-size: 13.5px !important;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .chips {
    gap: 6px !important;
  }
  .chips b {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .app-store-card {
    width: 100% !important;
  }
  .app-store-header {
    padding: 16px 14px !important;
    gap: 12px !important;
  }
  .app-store-meta h3 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .app-store-body {
    padding: 16px 14px !important;
  }
  .app-store-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .app-store-footer .arrow-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .skills-wrapper {
    padding: 20px 14px !important;
    border-radius: var(--radius-md) !important;
  }
  .skills-intro h2 {
    font-size: 26px !important;
  }
  .skills-grid-container {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .skill-pill {
    padding: 12px 14px !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .sampling-tool-box {
    padding: 18px 12px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
  }

  .sampling-input-grid,
  .sampling-input-grid.samp-grid-4,
  .sampling-input-grid.samp-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .samp-input-group {
    width: 100% !important;
  }

  .samp-input {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  .samp-safety-banner {
    flex-direction: column !important;
    text-align: center !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 12px !important;
  }

  .samp-safety-banner > div {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .samp-safety-banner button {
    width: 100% !important;
    justify-content: center !important;
  }

  .contact-section {
    padding: 60px 0 40px !important;
  }
  .contact-box h2 {
    font-size: clamp(26px, 6.5vw, 42px) !important;
    margin-bottom: 24px !important;
  }
  .email-terminal-card {
    width: 100% !important;
    margin-bottom: 30px !important;
  }
  .term-body {
    padding: 20px 14px !important;
  }
  .term-email {
    font-size: clamp(13px, 4vw, 20px) !important;
    word-break: break-all;
    text-align: center;
  }
  .term-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .social-links-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .social-link {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .modal-backdrop {
    padding: 12px !important;
  }
  .modal-window {
    max-width: 100% !important;
    max-height: 92vh !important;
    border-radius: var(--radius-md) !important;
  }
  .modal-header {
    padding: 16px 14px !important;
  }
  .modal-header h3 {
    font-size: 16px !important;
  }
  .modal-body {
    padding: 16px 14px !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 36px 0 !important;
  }
  .container div[style*="justify-content: space-between"] {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    min-width: 0;
  }
  .container div[style*="justify-content: space-between"] > * {
    min-width: 0;
    max-width: 100%;
  }
  .container div[style*="justify-content: space-between"] .btn {
    white-space: normal;
  }
  .section-head {
    margin-bottom: 20px !important;
  }
  .section-head h2 {
    font-size: clamp(22px, 6vw, 32px) !important;
  }
  .section-tag {
    font-size: 9.5px !important;
    padding: 4px 10px !important;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
  .app-screenshot-window {
    height: 310px !important;
  }
  .mock-app-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .mock-taskpane-view,
  .mock-excel-view,
  .mock-saas-view,
  .mock-sampling-view {
    min-width: 320px !important;
    width: 100%;
  }
  .samp-guide-tabs {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .samp-tab-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px) !important;
  }
  .hero-section {
    padding-top: 145px !important;
    padding-bottom: 36px !important;
  }
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .stat-item {
    padding: 10px 8px !important;
    text-align: center !important;
    border-radius: 10px !important;
  }
  .stat-number {
    font-size: 20px !important;
  }
  .stat-label {
    font-size: 9.5px !important;
  }
  .sample-stats-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .samp-stat-card {
    padding: 10px 8px !important;
    text-align: center;
    border-radius: 8px !important;
  }
  .samp-stat-card strong {
    font-size: 18px !important;
  }
  .preset-pills-row {
    justify-content: center;
    gap: 6px;
  }
  .preset-pill {
    padding: 5px 10px;
    font-size: 10px;
  }
  .card-body {
    padding: 12px 10px !important;
  }
  .metric-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .role-card {
    padding: 14px 10px !important;
  }
  .skills-wrapper {
    padding: 14px 10px !important;
  }
}

/* ==========================================
   AUTHENTIC HTML/CSS APP SCREEN MOCKUPS
   (Replaces generic AI photos with 100% faithful UI components)
   ========================================== */

.app-screenshot-window {
  background: #060912;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  height: 350px;
  overflow: hidden;
  position: relative;
}

.mock-app-viewport {
  width: 100%;
  height: calc(100% - 34px);
  background: #080d1a;
  color: #cbd5e1;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11.5px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

/* 1. MOCK SAAS WEB APP (AudiThibz App) */
.mock-saas-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0b1120;
}
.mock-saas-nav {
  height: 34px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.mock-saas-brand {
  font-weight: 800;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-saas-tabs {
  display: flex;
  gap: 12px;
}
.mock-saas-tab {
  color: var(--muted);
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 4px;
}
.mock-saas-tab.active {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  font-weight: 700;
}
.mock-saas-kpi-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 14px;
  background: #070c18;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-saas-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 8px 10px;
}
.mock-saas-kpi label {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
}
.mock-saas-kpi strong {
  font-size: 13px;
  color: #fff;
}
.mock-saas-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}
.mock-saas-table th {
  background: #0f172a;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  text-align: left;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-saas-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 10.5px;
}
.badge-matched {
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 9.5px;
}

/* 2. MOCK EXCEL SPREADSHEET (FS Checker PCG) */
.mock-excel-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0e1626;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.mock-excel-ribbon {
  background: #107c41;
  color: #fff;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 11px;
}
.mock-excel-tabs-ribbon {
  background: #0c5c30;
  display: flex;
  gap: 14px;
  padding: 4px 12px;
  font-size: 10px;
  color: rgba(255,255,255,0.85);
}
.mock-excel-tabs-ribbon span.active {
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid #fff;
}
.mock-excel-formula-bar {
  background: #192334;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: monospace;
  font-size: 10.5px;
}
.mock-excel-banner {
  background: #0b4827;
  color: #00e676;
  font-weight: 800;
  padding: 6px 12px;
  border-bottom: 1px solid #107c41;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.3px;
}
.mock-excel-grid-wrap {
  flex: 1;
  overflow: hidden;
  background: #0f172a;
}
.mock-excel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  color: #e2e8f0;
}
.mock-excel-table th {
  background: #192436;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 10px;
  text-align: center;
  font-weight: 700;
}
.mock-excel-table td {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 6px 10px;
}
.mock-excel-table tr.total-row {
  background: rgba(16, 124, 65, 0.25);
  font-weight: 800;
  color: #fff;
}
.mock-excel-footer-tabs {
  height: 24px;
  background: #192436;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.excel-tab-item {
  padding: 3px 10px;
  background: #0f172a;
  border-radius: 4px 4px 0 0;
  font-size: 9.5px;
  color: var(--muted);
}
.excel-tab-item.active {
  background: #107c41;
  color: #fff;
  font-weight: 700;
}

/* 3. MOCK AUDITHIBZ SAMPLING ENGINE */
.mock-sampling-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0b0f1a;
  padding: 12px;
  gap: 10px;
}
.mock-samp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}
.mock-samp-head h4 {
  font-size: 12px;
  color: var(--purple);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-samp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-samp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-samp-card label {
  font-size: 9.5px;
  color: var(--muted);
  display: block;
}
.mock-samp-card val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--purple);
  display: block;
}
.mock-hash-badge {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  font-family: monospace;
  font-size: 9.5px;
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid var(--purple);
  word-break: break-all;
}

/* 4. MOCK EXCEL TASKPANE ADD-IN (AUDITHIBZ MANIFEST) */
.mock-taskpane-view {
  display: flex;
  height: 100%;
  background: #0f172a;
}
.mock-tp-excel-side {
  flex: 1.25;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  background: #0b1120;
  padding: 8px;
}
.mock-tp-pane-side {
  flex: 1;
  background: #080d18;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 8px;
  border-left: 3px solid var(--cyan);
}
.mock-tp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 800;
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
}
.mock-tp-dropzone {
  border: 1px dashed var(--cyan);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  background: rgba(0, 229, 255, 0.05);
  font-size: 9.5px;
  color: var(--cyan);
  font-weight: 600;
}
.mock-tp-extracted-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 9.5px;
}
.mock-tp-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-tp-btn {
  background: linear-gradient(135deg, #107c41, #0d522c);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(16, 124, 65, 0.4);
  margin-top: 4px;
}

/* Sampling Tool High-End Upgrades */
.preset-pills-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.preset-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.preset-pill:hover, .preset-pill.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.slider-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}
.range-slider-input {
  width: 100%;
  accent-color: var(--cyan);
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
}

.audit-status-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.audit-status-btn.status-ok {
  background: rgba(0, 230, 118, 0.18);
  border-color: rgba(0, 230, 118, 0.4);
  color: #00e676;
}
.audit-status-btn.status-error {
  background: rgba(255, 23, 68, 0.18);
  border-color: rgba(255, 23, 68, 0.4);
  color: #ff1744;
}

/* ==========================================
   CV MODAL & IMPACT BADGE STYLES
   ========================================== */

/* CV Modal Styling */
.cv-modal-window {
  max-width: 860px !important;
  width: 94% !important;
}

.cv-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px !important;
}

.cv-iframe-wrap {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: #090d16;
}

.cv-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cv-summary-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

[data-theme="light"] .cv-summary-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

/* Timeline Impact Badges */
.timeline-impact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--panel-border);
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.22);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.impact-badge:hover {
  transform: translateY(-1px);
}

.impact-badge strong {
  color: var(--cyan);
}

.impact-badge.purple {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.22);
}

.impact-badge.purple strong {
  color: var(--purple);
}

.impact-badge.emerald {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.22);
}

.impact-badge.emerald strong {
  color: var(--emerald);
}

/* Light Theme Overrides for Timeline Role Cards & Chips */
[data-theme="light"] .role-card,
body[data-theme="light"] .role-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] p:not(.modal-window *),
[data-theme="light"] .role-desc,
[data-theme="light"] .intro-copy p,
[data-theme="light"] .expertise-card p,
[data-theme="light"] .app-store-desc,
[data-theme="light"] .section-head p {
  color: #1e293b !important;
  font-weight: 500;
}

[data-theme="light"] strong:not(.modal-window *),
[data-theme="light"] b:not(.modal-window *),
[data-theme="light"] .role-desc strong,
[data-theme="light"] .card-list li {
  color: #0f172a !important;
}

[data-theme="light"] .modal-window strong,
[data-theme="light"] .modal-window b {
  color: #ffffff !important;
}

[data-theme="light"] .modal-window p,
[data-theme="light"] .modal-window div:not(.samp-input),
[data-theme="light"] .modal-window span:not(.app-version-badge) {
  color: #cbd5e1 !important;
}

[data-theme="light"] .experience-type {
  background: #f1f5f9 !important;
  border-color: #0f172a !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .date-badge {
  color: #0284c7 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .chips b,
html[data-theme="light"] .chips b,
body[data-theme="light"] .chips b,
html[data-theme="light"] .timeline-item .chips b {
  background: #0369a1 !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25) !important;
}

[data-theme="dark"] .chips b,
html[data-theme="dark"] .chips b,
body[data-theme="dark"] .chips b,
html[data-theme="dark"] .timeline-item .chips b {
  background: rgba(0, 242, 254, 0.12) !important;
  border: 1px solid rgba(0, 242, 254, 0.35) !important;
  color: #00f2fe !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

[data-theme="light"] .impact-badge {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0f172a;
}

[data-theme="light"] .impact-badge strong {
  color: #0284c7;
}

[data-theme="light"] .impact-badge.purple {
  background: #f3e8ff;
  border-color: #9333ea;
}

[data-theme="light"] .impact-badge.purple strong {
  color: #7c3aed;
}

[data-theme="light"] .impact-badge.emerald {
  background: #dcfce7;
  border-color: #16a34a;
}

[data-theme="light"] .impact-badge.emerald strong {
  color: #15803d;
}




/* ==========================================================================
   ENHANCEMENTS — ACCESSIBILITY, ANIMATIONS, UX
   ========================================================================== */

/* --------------------------------------------------------------------------
   SKIP LINK (Keyboard Accessibility)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 16px;
  z-index: 10000;
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  clip: auto;
}

/* --------------------------------------------------------------------------
   FOCUS VISIBLE — Keyboard Navigation Ring
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.15);
}
[data-theme="light"] :focus-visible {
  outline-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* --------------------------------------------------------------------------
   READING PROGRESS BAR
   -------------------------------------------------------------------------- */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--emerald));
  z-index: 10000;
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

/* --------------------------------------------------------------------------
   SKELETON LOADERS for App Screenshot Windows
   -------------------------------------------------------------------------- */
.img-skeleton::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  z-index: 0;
  border-radius: var(--radius-sm);
}
.img-skeleton img {
  position: relative;
  z-index: 1;
}
.img-skeleton img.loaded::parent,
.img-skeleton:has(img[complete="true"]) {
  animation: none;
}
.app-screenshot-window {
  position: relative;
  overflow: hidden;
}
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
[data-theme="light"] .img-skeleton::before {
  background: linear-gradient(
    90deg,
    rgba(15,23,42,0.04) 0%,
    rgba(15,23,42,0.09) 50%,
    rgba(15,23,42,0.04) 100%
  );
  background-size: 200% 100%;
}

/* --------------------------------------------------------------------------
   VIEW TOGGLE BUTTON (Recruteur / Technique)
   -------------------------------------------------------------------------- */
.btn-view-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-view-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.05);
}
.btn-view-toggle.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}
.view-toggle-icon { font-size: 14px; }
.view-toggle-label { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; }

/* Recruiter Mode: hide technical sections */
body.recruiter-mode .demo-taskpane-box {
  display: none;
}
body.recruiter-mode #projets .store-tags-list,
body.recruiter-mode .samp-doc-accordion {
  display: none;
}

[data-theme="light"] .btn-view-toggle {
  color: #475569;
  border-color: rgba(15,23,42,0.15);
}
[data-theme="light"] .btn-view-toggle:hover,
[data-theme="light"] .btn-view-toggle.active {
  border-color: #0284c7;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.07);
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.testimonial-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 36px 32px 28px;
  margin: 0;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--panel-border-hover);
  box-shadow: 0 20px 50px rgba(0, 242, 254, 0.07);
}

.testimonial-quote-mark {
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 64px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.2;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 24px;
  font-style: italic;
  opacity: 0.9;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-style: normal;
  margin-bottom: 2px;
}

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

[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.1);
  box-shadow: 0 4px 20px rgba(15,23,42,0.04);
}
[data-theme="light"] .testimonial-quote-mark { color: #0284c7; opacity: 0.15; }
[data-theme="light"] .testimonial-text { color: #1e293b; }
[data-theme="light"] .testimonial-name { color: #0f172a; }

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE FIXES (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .section-head p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.6;
  }

  .section-tag {
    font-size: 10px;
    padding: 5px 10px;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.4;
  }

  .samp-grid-4, .samp-grid-3 {
    grid-template-columns: 1fr !important;
  }

  .sample-stats-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }

  .samp-stat-card strong {
    font-size: 18px !important;
  }
}

/* --------------------------------------------------------------------------
   ENHANCED CARD HOVER — Deeper glow on expertise & mindset cards
   -------------------------------------------------------------------------- */
.expertise-card:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 242, 254, 0.1);
}
.expertise-card:hover .card-num {
  opacity: 1;
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   PREFERS-REDUCED-MOTION — Disable all animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ambient-orb,
  .hero-ticker,
  .status-pulse,
  #reading-progress,
  .img-skeleton::before {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   MUTED TEXT CONTRAST FIX — Light mode (WCAG AA 4.5:1)
   -------------------------------------------------------------------------- */
[data-theme="light"] .muted,
[data-theme="light"] p:not(.modal-window *),
[data-theme="light"] small,
[data-theme="light"] .role-desc,
[data-theme="light"] .app-store-desc {
  color: #334155;
}
[data-theme="light"] .section-head p,
[data-theme="light"] .hero-lead {
  color: #334155;
}

/* --------------------------------------------------------------------------
   PWA Standalone Mode adjustments
   -------------------------------------------------------------------------- */
@media (display-mode: standalone) {
  .nav-wrap {
    padding-top: env(safe-area-inset-top);
  }
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ==========================================================================
   COMMAND PALETTE STYLES (Cmd + K)
   ========================================================================== */
.cmd-palette-window {
  max-width: 640px !important;
  width: 92% !important;
  padding: 0 !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.15) !important;
}

.cmd-palette-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
}

.cmd-search-icon {
  font-size: 16px;
  opacity: 0.7;
}

.cmd-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
}

.cmd-search-input::placeholder {
  color: var(--muted);
  font-size: 13px;
}

.cmd-shortcut-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-border);
  color: var(--muted);
}

.cmd-palette-body {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px;
}

.cmd-results-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: all 0.15s ease;
}

.cmd-item:hover,
.cmd-item.selected {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
}

.cmd-icon {
  font-size: 18px;
  width: 24px;
  display: grid;
  place-items: center;
}

.cmd-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmd-text strong {
  font-size: 13px;
  color: var(--text);
}

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

.cmd-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--cyan);
}

.cmd-palette-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--panel-border);
  background: rgba(0, 0, 0, 0.2);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: center;
}

[data-theme="light"] .cmd-palette-window {
  background: #ffffff;
}

[data-theme="light"] .cmd-item:hover,
[data-theme="light"] .cmd-item.selected {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   TECH STACK BADGES STYLES
   ========================================================================== */
.tech-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--cyan);
  display: inline-block;
}

[data-theme="light"] .tech-badge {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}
