/* ==========================================================================
   GALFA BAHRAEN — PROFESSIONAL PORTFOLIO STYLESHEET
   Aesthetics: Warm Executive Amber & Mocha Brown · Light Luxury Cream Canvas
   ========================================================================== */

:root {
  /* Warm Amber & Brown Luxury Palette */
  --bg: #faf7f2;
  --bg-alt: #f4efe6;
  --bg-card: #ffffff;
  --panel: #ffffff;
  --panel-card: #ffffff;
  --panel-hover: #fdfaf6;
  
  --text: #22150c;         /* Deep rich espresso brown */
  --text-body: #3c2a1a;    /* Warm dark mocha */
  --text-muted: #6e543d;   /* Warm bronze brown */
  --text-dim: #997b63;     /* Light roasted coffee */
  
  --amber: #d97706;        /* Warm vibrant amber */
  --amber-hover: #b45309;  /* Deep cognac amber */
  --amber-dark: #92400e;   /* Rich warm bronze mahogany */
  --amber-light: #fef3c7;  /* Soft champagne amber */
  --amber-glow: rgba(217, 119, 6, 0.22);
  --amber-border: rgba(180, 83, 9, 0.25);

  --line: #e6dac8;         /* Warm sandstone border */
  --line-light: #edd8be;   /* Light warm cream border */

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 14px rgba(78, 42, 10, 0.06);
  --shadow-md: 0 12px 36px rgba(78, 42, 10, 0.09);
  --shadow-lg: 0 24px 60px rgba(78, 42, 10, 0.14);
  --shadow-amber: 0 8px 28px rgba(217, 119, 6, 0.28);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ==========================================================================
   DYNAMIC WARM AMBER AURORA CANVAS & OVERLAY
   ========================================================================== */
.aurora-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.aurora-warm-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(254, 243, 199, 0.4) 0%, rgba(250, 247, 242, 0.65) 65%, #faf7f2 100%);
  pointer-events: none;
}

/* ==========================================================================
   CUSTOM DYNAMIC & MAGNETIC CURSOR (AMBER / MOCHA)
   ========================================================================== */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.1s ease;
  will-change: transform;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 119, 6, 0.6);
  background: rgba(217, 119, 6, 0.04);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease,
              box-shadow 0.25s ease;
  will-change: transform, width, height;
}

.custom-cursor-ring.cursor-hover {
  width: 60px;
  height: 60px;
  border-color: var(--amber-dark);
  background: rgba(217, 119, 6, 0.12);
  box-shadow: 0 0 25px rgba(217, 119, 6, 0.3);
  backdrop-filter: blur(2px);
}

.custom-cursor-ring.cursor-click {
  transform: translate(-50%, -50%) scale(0.85);
}

/* Hide custom cursor on touch/mobile devices */
@media (pointer: coarse), (max-width: 992px) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   BILINGUAL & TYPOGRAPHY LOGIC
   ========================================================================== */
[data-en] {
  display: none !important;
}

body.en [data-id] {
  display: none !important;
}

body.en [data-en] {
  display: initial !important;
}

body.en p[data-en],
body.en div[data-en],
body.en h1[data-en],
body.en h2[data-en],
body.en h3[data-en] {
  display: block !important;
}

.wrap {
  width: min(1180px, 92%);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.amber {
  color: var(--amber-hover);
}

.text-glow-amber {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #78350f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(217, 119, 6, 0.25));
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ==========================================================================
   SCROLL REVEAL & TRANSITIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-transition {
  position: relative;
}

.section-transition::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, #edd8be 50%, var(--line) 80%, transparent 100%);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 218, 200, 0.9);
  transition: background var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

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

.brand-initials {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid var(--amber-border);
  color: var(--amber-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(217, 119, 6, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand:hover .brand-initials {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 25px rgba(217, 119, 6, 0.35);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.07em;
  font-weight: 600;
}

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

.nav-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--amber-dark);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal), left var(--transition-normal);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
  left: 0;
}

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

.btn-cv-header {
  border-color: var(--amber-border);
  color: var(--amber-dark);
  background: rgba(254, 243, 199, 0.6);
}

.btn-cv-header:hover {
  background: var(--amber);
  color: #ffffff;
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--amber-border);
  color: var(--amber-dark);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-lang:hover {
  background: var(--amber);
  color: #ffffff;
  box-shadow: var(--shadow-amber);
}

.lang-divider {
  opacity: 0.4;
}

.lang-sub {
  color: var(--text-dim);
}

.btn-lang:hover .lang-sub {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle .bar {
  width: 20px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 650;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #ffffff;
  border-color: var(--amber-dark);
  box-shadow: 0 4px 18px rgba(180, 83, 9, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, var(--amber-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(180, 83, 9, 0.38);
}

.btn-amber-outline {
  background: rgba(254, 243, 199, 0.7);
  color: var(--amber-dark);
  border-color: var(--amber-border);
}

.btn-amber-outline:hover {
  background: var(--amber);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.25);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-body);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
  background: #fffdf9;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text-muted);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(78, 42, 10, 0.04);
}

.tag-amber {
  background: #fef3c7;
  border-color: rgba(217, 119, 6, 0.35);
  color: var(--amber-dark);
  font-weight: 700;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 80px 0 70px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid var(--amber-border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-muted);
  max-width: 630px;
  margin-bottom: 34px;
  line-height: 1.7;
}

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

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  color: var(--amber-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.metric-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Hero Portrait Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-card {
  width: 100%;
  max-width: 375px;
  background: #ffffff;
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(217, 119, 6, 0.12);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: var(--shadow-lg), 0 0 55px rgba(217, 119, 6, 0.22);
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #faf6f0;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-card:hover .portrait-img {
  transform: scale(1.04);
}

.portrait-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(78, 42, 10, 0.08);
}

.badge-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.badge-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.badge-sub {
  font-size: 11px;
  color: var(--amber-dark);
  font-weight: 600;
}

.portrait-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding: 0 4px;
}

/* ==========================================================================
   SECTIONS & INTERACTIVE CARDS
   ========================================================================== */
.section {
  padding: 92px 0;
  position: relative;
}

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

.section-header {
  margin-bottom: 48px;
  max-width: 820px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--amber-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* Crisp Clean Warm Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.card-interactive:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(217, 119, 6, 0.12);
}

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

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

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
}

.about-narrative .section-intro {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.75;
}

.callout-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border-left: 4px solid var(--amber-dark);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius-md);
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
}

.callout-icon {
  color: var(--amber-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--amber-dark);
  margin-bottom: 6px;
}

.callout-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.callout-notice {
  border-left-color: #2563eb;
  background: #f8fafc;
}

.callout-notice .callout-icon {
  color: #2563eb;
}

.callout-notice strong {
  color: #1d4ed8;
}

/* Pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--amber);
  background: #fffdfa;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--amber-dark);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.pillar-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
}

.pillar-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   EXPERTISE SECTION
   ========================================================================== */
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  border: 1px solid var(--amber-border);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19.5px;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline {
  position: relative;
  border-left: 2px solid var(--line);
  margin-left: 14px;
  padding-left: 38px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -46px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--amber);
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.4);
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background: var(--amber-dark);
  transform: scale(1.3);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--amber-dark);
  letter-spacing: 0.08em;
}

.timeline-company {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-dark);
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.role-title {
  font-size: 19px;
  margin-bottom: 10px;
}

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

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   APP SHOWCASE & INTERACTIVE SLIDESHOW CAROUSELS
   ========================================================================== */
.showcase-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.showcase-title-area {
  max-width: 760px;
}

.showcase-app-name {
  font-size: 24px;
  margin: 8px 0 6px;
}

.showcase-app-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Carousel Outer Window */
.carousel-container {
  padding: 0;
  overflow: hidden;
  background: #faf6f0;
  border: 1px solid var(--amber-border);
}

.carousel-track {
  position: relative;
  min-height: 480px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  background: #ffffff;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

/* Slide Visual Simulation */
.slide-visual {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdfaf6 0%, #f7efe4 100%);
  border-right: 1px solid var(--line);
}

.mockup-window {
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(78, 42, 10, 0.1);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f5ede2;
  border-bottom: 1px solid var(--line);
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-url {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 10px;
  background: #ffffff;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.mockup-content {
  padding: 20px;
  font-size: 13px;
}

/* FinansiaProf Mini Simulation Components */
.app-mini-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.badge-live {
  font-size: 10.5px;
  color: #10b981;
  font-weight: 700;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 99px;
}

.app-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.app-kpi-box {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.app-kpi-box small {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
}

.app-kpi-box strong {
  display: block;
  font-size: 13px;
  margin: 3px 0;
}

.kpi-sub {
  font-size: 9.5px;
  color: var(--text-muted);
}

.text-green { color: #15803d; }
.text-amber { color: #b45309; }
.text-emerald { color: #047857; }

.app-mini-chart {
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 14px 4px;
  background: #faf7f2;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.chart-bar {
  flex: 1;
  background: #edd8be;
  border-radius: 4px 4px 0 0;
  position: relative;
}

.chart-bar.active {
  background: var(--amber);
}

.chart-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  color: var(--text-dim);
}

/* Invoice Preview */
.invoice-preview-card {
  background: #ffffff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
}

.inv-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.inv-sub {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
}

.tag-status-paid {
  font-size: 10px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 99px;
  align-self: flex-start;
}

.inv-details {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.inv-table {
  font-size: 11px;
  margin-bottom: 12px;
}

.inv-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 4px 0;
  border-bottom: 1px solid #f0e6d8;
}

.inv-row.header {
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--line);
}

.inv-row.total {
  font-weight: 700;
  border-top: 2px solid var(--line);
  padding-top: 6px;
}

.inv-footer-actions {
  display: flex;
  gap: 8px;
}

.btn-mock {
  font-size: 10.5px;
  font-weight: 600;
  background: #fef3c7;
  color: var(--amber-dark);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Journal Table */
.journal-flow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
}

.flow-pill {
  background: #fef3c7;
  color: var(--amber-dark);
  padding: 4px 8px;
  border-radius: 6px;
}

.flow-arrow {
  color: var(--amber);
}

.journal-table {
  font-size: 11px;
}

.j-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 5px 0;
  border-bottom: 1px solid #f4ece1;
}

.j-row.j-head {
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--line);
}

/* BEP Simulation */
.bep-box {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bep-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ede1d1;
  padding-bottom: 6px;
}

.bep-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 8px 12px;
  border-radius: 6px;
}

/* Deep Learning App Simulation */
.dl-app-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--amber-border);
}

.dl-app-banner strong {
  display: block;
  color: var(--amber-dark);
  font-size: 13.5px;
}

.dl-app-banner p {
  font-size: 11px;
  color: #78350f;
  margin: 2px 0 0;
}

.dl-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dl-card-mindful,
.dl-card-meaningful,
.dl-card-joyful {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.triad-icon {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.dl-triad-grid strong {
  display: block;
  font-size: 11.5px;
  color: var(--text);
  margin-bottom: 3px;
}

.dl-triad-grid small {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
}

/* Module Builder */
.module-builder-preview {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.module-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.module-fields-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 12px;
}

.mod-item span {
  font-weight: 700;
  color: var(--amber-dark);
}

.mod-item em {
  display: block;
  color: var(--text-body);
  font-style: normal;
  margin-left: 18px;
}

.module-action-row {
  display: flex;
  gap: 8px;
}

/* Accreditation Card */
.accred-dash-card {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.accred-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.badge-accred {
  font-size: 10.5px;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  padding: 3px 8px;
  border-radius: 99px;
}

.accred-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}

.a-bar-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bar-fill {
  height: 6px;
  background: linear-gradient(90deg, var(--amber) 0%, #10b981 100%);
  border-radius: 99px;
}

/* School Profile Mockup */
.school-profile-mock {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.school-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.school-logo-mock {
  font-size: 24px;
  background: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.school-info-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 10px;
}

.info-tag-box {
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #f0e4d4;
}

.school-footer-badge {
  font-size: 10.5px;
  color: var(--amber-dark);
  font-weight: 600;
  background: #fef3c7;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Slide Caption on the Right */
.slide-caption {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--amber-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.slide-caption h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.3;
}

.slide-caption p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Carousel Bottom Navigation Controls */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text-body);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--amber);
  color: #ffffff;
  border-color: var(--amber-dark);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #edd8be;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--amber);
}

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */
.education-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.edu-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  border: 1px solid var(--amber-border);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edu-school {
  font-size: 20.5px;
  margin-bottom: 10px;
}

.edu-meta {
  margin-bottom: 14px;
}

.edu-prior {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.contact-profile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid var(--amber-dark);
  color: var(--amber-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
}

.contact-name {
  font-size: 20px;
  margin-bottom: 4px;
}

.contact-title {
  font-size: 13px;
  color: var(--amber-dark);
  font-weight: 600;
}

.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-badges .tag {
  align-self: flex-start;
  padding: 6px 12px;
}

.contact-note {
  font-size: 13.5px;
  color: var(--text-muted);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  text-decoration: none;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wa {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.icon-mail {
  background: #fef3c7;
  color: var(--amber-dark);
  border: 1px solid var(--amber-border);
}

.icon-li {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.channel-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.channel-info strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.channel-info span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.channel-info span.channel-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: 2px;
}

.channel-arrow {
  color: var(--text-dim);
  font-size: 20px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.channel-card:hover .channel-arrow {
  transform: translateX(5px);
  color: var(--amber-dark);
}

.copy-btn {
  flex-shrink: 0;
}

/* ==========================================================================
   MODAL DIALOGS & CV RESUME EXPORT VIEW
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 21, 12, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(720px, 94%);
  max-height: 88vh;
  overflow-y: auto;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--line);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  box-shadow: 0 25px 60px rgba(34, 21, 12, 0.25);
}

.modal.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  font-size: 20px;
  margin-top: 6px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--amber-dark);
}

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

.modal-list {
  padding-left: 20px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-list strong {
  color: var(--amber-dark);
}

.modal-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Resume CV Modal */
.modal-cv-dialog {
  width: min(840px, 96%);
  max-height: 92vh;
  background: #f7f3ec;
}

/* Security Verification Gate Modal */
.modal-security-dialog {
  width: min(520px, 94%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(34, 21, 12, 0.3);
  padding: 24px;
}

.security-header-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.security-shield-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.security-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.security-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
}

.security-step-card {
  display: flex;
  gap: 14px;
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.security-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber-dark);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-step-content {
  flex-grow: 1;
}

.security-step-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.security-step-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.btn-wa-security {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all var(--transition-fast);
}

.btn-wa-security:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.passcode-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.passcode-input {
  width: 100%;
  padding: 10px 42px 10px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text-title);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.passcode-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.passcode-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  animation: shakePasscode 0.35s ease;
}

@keyframes shakePasscode {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.btn-toggle-eye {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-eye:hover {
  color: var(--amber-dark);
}

.passcode-feedback {
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
  min-height: 18px;
}

.passcode-feedback.error {
  color: #dc2626;
}

.passcode-feedback.success {
  color: #16a34a;
}

/* Fallback print locked notice */
.cv-print-locked-notice {
  display: none;
}

.modal-cv-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.modal-cv-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-paper {
  background: #ffffff;
  color: #111827;
  padding: 44px 48px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(78, 42, 10, 0.08);
  font-family: var(--font-body);
  line-height: 1.5;
  border: 1px solid var(--line);
}

.cv-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cv-photo-box {
  width: 84px;
  height: 102px;
  border-radius: 8px;
  border: 1.5px solid var(--amber-dark);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(78, 42, 10, 0.12);
  background: #faf6f0;
}

.cv-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.cv-header-main {
  flex-grow: 1;
}

.cv-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #22150c;
}

.cv-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  color: #b45309;
  margin-top: 2px;
}

.cv-contacts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  color: #475569;
  text-align: right;
}

.cv-divider {
  border: none;
  border-top: 2px solid #22150c;
  margin: 16px 0 20px;
}

.cv-section {
  margin-bottom: 20px;
}

.cv-section-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.08em;
  border-bottom: 1.5px solid #cbd5e1;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.cv-text {
  font-size: 12.5px;
  color: #334155;
  text-align: justify;
}

.cv-competencies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #334155;
}

.cv-comp-group strong {
  color: #0f172a;
}

.cv-job {
  margin-bottom: 14px;
}

.cv-job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
  font-size: 12.5px;
}

.cv-job-role {
  color: #0f172a;
}

.cv-job-company {
  font-weight: 700;
  color: #92400e;
}

.cv-job-period {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.cv-job-bullets {
  padding-left: 18px;
  font-size: 12px;
  color: #334155;
}

.cv-job-bullets li {
  margin-bottom: 3px;
}

.cv-project-entry {
  font-size: 12px;
  color: #334155;
  margin-bottom: 6px;
}

.cv-project-entry strong {
  color: #0f172a;
}

.cv-edu-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #0f172a;
}

.cv-edu-row p {
  font-size: 11.5px;
  color: #475569;
}

.cv-edu-year {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.cv-edu-note {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.print-only {
  display: none;
}

.cv-page-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0 20px;
  position: relative;
  text-align: center;
}

.cv-page-marker::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #cbd5e1;
  z-index: 1;
}

.cv-page-marker span {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 5px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: #b45309;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  border: 1px dashed #f59e0b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 50px 0;
  background: #f4ece1;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

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

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 440px;
  margin-top: 8px;
  line-height: 1.5;
}

.footer-hosting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--amber-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  color: var(--amber-dark);
  font-weight: 700;
  margin-top: 14px;
  box-shadow: 0 2px 6px rgba(78, 42, 10, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--amber);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--amber-dark);
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #22150c;
  color: #fef3c7;
  border: 1px solid var(--amber);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(34, 21, 12, 0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 3000;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
    justify-content: flex-start;
  }

  .portrait-card {
    max-width: 320px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .slide-visual {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }

  .slide-caption {
    padding: 24px;
  }

  .grid-three,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .footer-right {
    align-items: flex-start;
  }

  .cv-contacts {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 68px;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-cv-header {
    display: none;
  }

  .navlinks {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    box-shadow: 0 20px 40px rgba(78, 42, 10, 0.15);
  }

  .navlinks.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item {
    font-size: 16px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero {
    padding: 44px 0 50px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .timeline {
    margin-left: 8px;
    padding-left: 24px;
    gap: 26px;
  }

  .timeline-dot {
    left: -32px;
    width: 12px;
    height: 12px;
  }

  .education-card {
    flex-direction: column;
  }

  .cv-paper {
    padding: 24px 20px;
  }

  .dl-triad-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRINT STYLES FOR CV EXPORT (A4 READY & CRISP EXECUTIVE LAYOUT)
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm;
  }

  html, body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide everything except CV print area */
  header,
  footer,
  .aurora-container,
  .custom-cursor-dot,
  .custom-cursor-ring,
  .hero,
  #about,
  #expertise,
  #experience,
  #projects,
  #education,
  #contact,
  #modalJonami,
  #modalPdfSecurity,
  .modal-overlay,
  .modal-header,
  .modal-footer,
  .toast {
    display: none !important;
  }

  .modal-cv {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    inset: auto !important;
    pointer-events: auto !important;
  }

  .modal-cv-dialog {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .cv-paper {
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    color: #111827 !important;
    background: #ffffff !important;
    border: none !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }

  /* Protection against unverified printing / unauthorized downloading */
  body:not(.cv-unlocked) #cvPrintArea {
    display: none !important;
  }

  body:not(.cv-unlocked) .cv-print-locked-notice {
    display: block !important;
    text-align: center !important;
    padding: 70px 40px !important;
    margin: 50px auto !important;
    border: 2px dashed #b45309 !important;
    border-radius: 12px !important;
    background: #faf7f2 !important;
    font-family: var(--font-body) !important;
  }

  body:not(.cv-unlocked) .cv-print-locked-notice h2 {
    font-family: var(--font-display) !important;
    font-size: 16pt !important;
    color: #92400e !important;
    margin-bottom: 12px !important;
  }

  body:not(.cv-unlocked) .cv-print-locked-notice p {
    font-size: 11pt !important;
    color: #334155 !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }

  body:not(.cv-unlocked) .cv-locked-owner {
    margin-top: 20px !important;
    font-size: 10pt !important;
    color: #64748b !important;
  }

  body.cv-unlocked .cv-print-locked-notice {
    display: none !important;
  }

  .cv-header {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-bottom: 12px !important;
  }

  .cv-section {
    break-inside: auto !important;
    page-break-inside: auto !important;
    margin-bottom: 14px !important;
  }

  .cv-section-title {
    color: #92400e !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
    break-after: avoid !important;
    page-break-after: avoid !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }

  .cv-job {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-bottom: 11px !important;
  }

  .cv-project-entry {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-bottom: 8px !important;
  }

  .cv-competencies {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .cv-edu-row {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .cv-name {
    color: #0f172a !important;
  }

  .cv-photo-box {
    display: block !important;
    width: 70px !important;
    height: 86px !important;
    border: 1.5px solid #111827 !important;
    border-radius: 4px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .cv-photo-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .cv-job-company {
    color: #92400e !important;
  }

  .print-only {
    display: flex !important;
  }

  .cv-page-marker {
    display: none !important;
  }

  .cv-page-break {
    break-before: page !important;
    page-break-before: always !important;
    display: block !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    visibility: hidden !important;
  }

  .cv-page1-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 8.5pt !important;
    color: #94a3b8 !important;
  }

  .cv-page2-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
    padding-bottom: 6px !important;
    margin-bottom: 12px !important;
    font-size: 9pt !important;
    color: #64748b !important;
  }

  .cv-page2-header strong {
    color: #0f172a !important;
    font-family: var(--font-display) !important;
    font-size: 10.5pt !important;
  }

  .cv-page2-sub {
    color: #b45309 !important;
    font-weight: 600 !important;
  }

  .cv-page2-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 8.5pt !important;
    color: #94a3b8 !important;
  }
}
