/* ==========================================================================
   CV DOST — SLEEK DARK DESIGN SYSTEM (Gemini Sidebar + Widescreen Fit)
   Obsidian Canvas, Royal Blue Accent, Full-Bleed Video with Edge Cross-Fade
   ========================================================================== */

:root {
  --bg-canvas: #0D0F13;
  --bg-sidebar: #0D0F13;
  --bg-sidebar-hover: rgba(255, 255, 255, 0.08);
  --bg-sidebar-active: #282A2C;
  --bg-card-dark: #191C23;
  --border-subtle: #20242D;
  --border-hover: #2F3542;

  --text-white: #FFFFFF;
  --text-heading: #F3F4F6;
  --text-body: #C4C7C5;
  --text-muted: #8E918F;
  --text-dim: #64748B;

  --accent-blue: #1D64F2;
  --accent-blue-hover: #1554D1;
  --accent-blue-glow: rgba(29, 100, 242, 0.4);

  --accent-pink: #FB7185;
  --accent-pink-glow: rgba(251, 113, 133, 0.3);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-heading);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* Complete no-scroll layout */
}

/* ── Overall App Layout (Sidebar + Main Stage) ── */
.app-layout {
  display: flex;
  height: 100vh;
  max-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* ── 1. LEFT DARK SIDEBAR (Curved Right Edge Only) ── */
.dark-sidebar {
  width: 270px;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  background-color: var(--bg-sidebar);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  padding: 14px 10px 10px 10px;
  flex-shrink: 0;
  z-index: 50;
  overflow-y: auto;
  scrollbar-width: none;
  transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-sidebar::-webkit-scrollbar {
  display: none;
}

/* Collapsed Sidebar */
.dark-sidebar.collapsed {
  margin-left: -270px;
}

/* Sidebar Brand Header (Gemini Style) */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 14px 8px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.4px;
}

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

.sidebar-icon-action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-icon-action-btn:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-white);
}

.sidebar-icon-action-btn:active {
  transform: scale(0.92);
}

.sidebar-collapse-btn {
  background: #282A2E;
  border: none;
  color: var(--text-body);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sidebar-collapse-btn:hover {
  background: #37393E;
  color: var(--text-white);
}

.sidebar-collapse-btn:active {
  transform: scale(0.92);
}

/* Sidebar Navigation Items (Full Pill Shape) */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.sidebar-nav::-webkit-scrollbar {
  display: none;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-radius: 9999px; /* Gemini pill */
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item:hover {
  color: var(--text-white);
  background-color: var(--bg-sidebar-hover);
}

/* Active Nav Item: Gemini Subtle Pill */
.nav-item.active {
  background-color: var(--bg-sidebar-active);
  color: var(--text-white);
  font-weight: 600;
}

.nav-icon {
  flex-shrink: 0;
  color: var(--text-body);
  opacity: 0.95;
}

.nav-item.active .nav-icon {
  color: var(--text-white);
}

/* Category Subheaders (e.g. Notebooks, Recent) */
.sidebar-category-header {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 14px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.2px;
}

.sidebar-category-action {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.sidebar-category-action:hover {
  color: var(--text-white);
}

/* Sub-items list (e.g. Saved Resumes & Sessions) */
.nav-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-body);
  transition: all 0.15s ease;
  gap: 10px;
}

.nav-sub-item:hover {
  color: var(--text-white);
  background-color: var(--bg-sidebar-hover);
}

.nav-sub-item.active-sub {
  background-color: var(--bg-sidebar-active);
  color: var(--text-white);
  font-weight: 600;
}

.sub-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  flex: 1;
}

.sub-item-lead-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.nav-sub-item:hover .sub-item-lead-icon,
.nav-sub-item.active-sub .sub-item-lead-icon {
  color: var(--text-white);
}

.sub-item-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.sub-item-pin {
  color: var(--text-muted);
  opacity: 0.8;
  flex-shrink: 0;
}

/* ── Bottom Account & Quota Container (Reference Match & Expanded Height) ── */
.sidebar-account-box {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

/* User Profile Row (Exact Gemini Reference) */
.sidebar-user-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 10px;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease;
  cursor: pointer;
}

.sidebar-user-profile-row:hover {
  background: var(--bg-sidebar-hover);
}

.sidebar-user-meta-group {
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #23314A 0%, #171E2D 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.sidebar-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-user-text-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 1px;
}

.sidebar-user-display-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.sidebar-user-plan-badge {
  font-size: 0.74rem;
  color: #8EA7C7;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar-settings-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.25s ease, background 0.15s ease;
}

.sidebar-settings-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(35deg);
}

.sidebar-settings-btn:active {
  transform: scale(0.92) rotate(35deg);
}

/* Quota Usage & Plan Details Box (Sleek Dark Theme) */
.sidebar-quota-card {
  background: #141720;
  background: linear-gradient(180deg, #171a24 0%, #10131b 100%);
  border: 1px solid #232838;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.sidebar-quota-card:hover {
  border-color: #333a4d;
  background: linear-gradient(180deg, #191c28 0%, #121520 100%);
}

.quota-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quota-plan-title {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.quota-plan-title::before {
  display: none;
}

.quota-compact-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quota-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 2px 0;
}

.stat-label {
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.stat-val {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  font-size: 0.73rem;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

/* Sidebar Logout Button */
.sidebar-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  color: #94A3B8;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.sidebar-logout-btn svg {
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sidebar-logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #F87171;
}

.sidebar-logout-btn:hover svg {
  color: #F87171;
  transform: translateX(2px);
}

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

/* ── 2. MAIN CONTENT STAGE (Full Bleed Canvas) ── */
.dark-main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background-color: var(--bg-canvas);
  position: relative;
  overflow: hidden;
}

.dark-sidebar.collapsed ~ .dark-main-stage {
  margin-left: 0;
}

/* Top utility bar */
.top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 36px;
  height: 54px;
  flex-shrink: 0;
  z-index: 20;
  position: relative;
  border: none;
}

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

.sidebar-expand-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 9999px;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.sidebar-expand-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.dark-sidebar.collapsed ~ .dark-main-stage .sidebar-expand-btn {
  display: inline-flex;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.top-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.top-icon-btn:hover {
  color: var(--text-white);
}

.top-user-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1E293B;
  color: #93C5FD;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  cursor: pointer;
}

/* ── 3. HERO SPLIT CANVAS (Zero-Scroll 100vh Viewport Layout) ── */
.hero-split-canvas {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(460px, 520px) 1fr;
  align-items: stretch;
  height: calc(100vh - 54px);
  max-height: calc(100vh - 54px);
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: grid-template-columns 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Left Column: Hero Copy & CTA */
.hero-copy-column {
  max-width: 540px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 36px 0 54px;
  z-index: 10;
  box-sizing: border-box;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-white);
  letter-spacing: -1.2px;
  margin: 0 0 16px 0;
}

/* The "stylish" accented word exactly from reference */
.accent-stylish-wrap {
  display: inline-flex;
  align-items: baseline;
  color: var(--accent-pink);
  position: relative;
}

.accent-stylish-text {
  color: var(--accent-pink);
  font-style: italic;
  font-family: var(--font-display);
}

.typing-cursor-bar {
  display: inline-block;
  margin-left: 2px;
  color: var(--text-white);
  font-weight: 300;
  animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtext {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 22px 0;
  max-width: 470px;
}

/* Glowing Blue Rounded Pill Button */
.hero-cta-group {
  margin-bottom: 18px;
}

.btn-create-resume-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-blue);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 9999px;
  box-shadow: 0 6px 24px var(--accent-blue-glow);
  transition: all 0.2s ease;
}

.btn-create-resume-pill:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(29, 100, 242, 0.55);
}

/* Secondary inline links matching reference */
.hero-inline-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.inline-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.inline-link:hover {
  color: var(--text-white);
  text-decoration: underline;
}

.link-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--border-subtle);
}

/* ── 4. RIGHT SIDE: FULL SCREEN FIT VIDEO SHOWCASE WITH CROSS-FADE ── */
.hero-visual-column {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.video-showcase-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

/* Ambient glow reflecting the UI blue & pink accents */
.video-ambient-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(29, 100, 242, 0.25) 0%, rgba(251, 113, 133, 0.12) 50%, transparent 80%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

/* Video Container Fit to Full Screen */
.video-container-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: unset;
  border-radius: 0;
  overflow: hidden;
  z-index: 2;
  box-shadow: none;
  background-color: var(--bg-canvas);
  -webkit-mask-image: none;
  mask-image: none;
}

.dashboard-featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  background-color: var(--bg-canvas);
}

#interview-hero-video {
  object-position: right center;
}

/* Cross-fade gradient overlay masks specifically blending into the opposite side color */
.video-edge-fade-left {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(340px, 45%, 680px);
  height: 100%;
  background: linear-gradient(
    to right,
    var(--bg-canvas) 0%,
    rgba(13, 15, 19, 0.98) 28%,
    rgba(13, 15, 19, 0.82) 52%,
    rgba(13, 15, 19, 0.45) 75%,
    rgba(13, 15, 19, 0.15) 90%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-edge-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient(to bottom, var(--bg-canvas) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

.video-edge-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient(to top, var(--bg-canvas) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

.video-edge-fade-right {
  display: none;
}

/* ── 5. STUDENT CAREER PROFILE MODAL ── */
.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal-box {
  background-color: var(--bg-card-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  padding: 28px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.profile-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title-group h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 6px 0;
}

.modal-title-group p {
  font-size: 0.82rem;
  color: var(--text-body);
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-white);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-field input,
.form-field select {
  background-color: #12141A;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.85rem;
  color: var(--text-white);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(29, 100, 242, 0.2);
}

.modal-footer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.btn-save-modal {
  background-color: var(--accent-blue);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-save-modal:hover {
  background-color: var(--accent-blue-hover);
}

.save-status-msg {
  font-size: 0.82rem;
  color: #10B981;
  font-weight: 600;
}

/* ── 6. RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1080px) {
  html,
  body,
  .app-layout {
    overflow-y: auto;
    height: auto;
    max-height: none;
  }

  .hero-split-canvas {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    padding: 24px 0 0;
    gap: 32px;
  }

  .hero-copy-column {
    max-width: 100%;
    padding: 10px 20px;
  }

  .hero-visual-column {
    position: relative;
    width: 100%;
    height: 380px;
    min-height: 380px;
    margin: 0;
    padding: 0;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .video-edge-fade-left {
    display: none;
  }

  .video-edge-fade-top {
    height: 60px;
    background: linear-gradient(to bottom, var(--bg-canvas) 0%, transparent 100%);
  }
}

@media (max-width: 768px) {
  .dark-main-stage {
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    border: none;
  }

  .dark-sidebar {
    position: fixed;
    top: 0;
    left: -270px;
    height: 100vh;
    max-height: 100vh;
    margin: 0 !important;
    margin-left: 0 !important;
    border-radius: 0;
    border: none;
    z-index: 100;
  }

  .dark-sidebar.collapsed {
    margin-left: 0 !important;
  }

  .dark-sidebar.mobile-open {
    left: 0 !important;
    margin-left: 0 !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
  }

  .mobile-menu-btn {
    display: block;
  }

  .sidebar-expand-btn {
    display: none !important;
  }

  .top-nav-bar {
    padding: 14px 20px;
  }

  .hero-headline {
    font-size: 2.3rem;
  }
}

/* ── CV Dost Support & Help Modal Cards ── */
.support-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.support-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.support-channel-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.channel-icon-col {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-accent {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

.email-accent {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

.faq-accent {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
}

.channel-info-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
}

.channel-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Command / Search Overlay Modal ── */
.search-modal-box {
  background-color: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.search-input-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.search-input-header input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-size: 1rem;
  font-family: var(--font-body);
}

.search-input-header input::placeholder {
  color: var(--text-dim);
}

.search-kbd-tag {
  font-size: 0.72rem;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 3px 6px;
  border-radius: 4px;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease;
  cursor: pointer;
}

.search-result-item:hover,
.search-result-item.selected {
  background: rgba(255, 255, 255, 0.07);
}

.search-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

.search-item-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.search-item-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.15);
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-no-results {
  padding: 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}
