/* =========================================
   1. PRO DESIGN SYSTEM & BASE (AE Network Stack Style)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Core Colors */
  --bg-base: #f9fafb; /* Faint off-white/gray for contrast with pure white cards */
  --bg-surface: #ffffff; /* Pure white for cards */
  --bg-glass: rgba(255, 255, 255, 0.6); /* Frosted glass sections */
  --bg-hover: #f3f4f6;
  
  /* Borders */
  --border: #e5e7eb;
  --border-glass: rgba(255, 255, 255, 0.8);
  --border-hover: #d1d5db;
  
  /* Typography */
  --text-heading: #111827; /* Near black */
  --text-main: #374151; /* Standard text */
  --text-muted: #6b7280; /* Soft gray for descriptions */
  --text-dark: #ffffff;
  
  /* Brand Accents (The Blue from the image) */
  --color-primary: #3b82f6; 
  --color-primary-hover: #2563eb;
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadows matching the airy image aesthetic */
  --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 30px -4px rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 16px 40px rgba(59, 130, 246, 0.05);

  /* Semantic Colors */
  --color-success-bg: rgba(16, 185, 129, 0.1);
  --color-success-border: rgba(16, 185, 129, 0.2);
  --color-success-text: #059669;
  --color-danger-bg: rgba(239, 68, 68, 0.1);
  --color-danger-border: rgba(239, 68, 68, 0.2);
  --color-danger-text: #dc2626;
  --color-accent-bg: #eff6ff; /* Light blue tint */
  --color-accent-border: #bfdbfe;
  --color-accent-text: var(--color-primary);
}

/* Hide the default system cursor for the whole page */
body, a, button {
  cursor: none; 
}

/* Force-hide the system cursor everywhere */
*, *::before, *::after {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 34.56px;
  pointer-events: none;
  z-index: 999999;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Smooth scale transition for hover state */
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
              height 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-cursor.cursor-hover {
  width: 32px; /* Slightly larger for the "Active" state */
  height: 40.96px;
}

.custom-cursor img {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: center center;
}

/* Hide cursor on touch devices to prevent "ghost" pointers */
@media (max-width: 1024px) {
  .custom-cursor {
    display: none !important;
  }
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  
  /* Ambient Background Blue Glows matching the image */
  background-image: 
    radial-gradient(circle at 15% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* =========================================
   3. CHATBOT
   ========================================= */

/* Container & FAB */
.circular-fab {
  position: fixed; bottom: 32px; right: 32px;
  width: 110px; height: 110px;
  z-index: 1001; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rotating-text {
  position: absolute; width: 100%; height: 100%;
  animation: rotateCircle 10s linear infinite;
}
@keyframes rotateCircle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Chat Window */
.chat-window {
  position: fixed; bottom: 150px; right: 32px;
  width: 360px; height: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  display: none; /* Toggled by JS */
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.message { padding: 10px 14px; border-radius: 14px; font-size: 14px; max-width: 80%; }
.bot-message { background: var(--bg-hover); align-self: flex-start; }
.user-message { background: var(--color-primary); color: white; align-self: flex-end; }

/* Mobile Safety */
@media (max-width: 768px) {
  .circular-fab, .chat-window { display: none !important; }
}

/* Central Logo Container for the Circular FAB */
.fab-center-logo {
  /* Dimensions & Positioning */
  width: 44px;
  height: 44px;
  position: absolute; /* Ensures it stays centered while text rotates around it */
  z-index: 10;
  
  /* Visual Style (Design System Aligned) */
  background-color: var(--bg-surface); /* Pure white surface */
  border: 1px solid var(--border); /* Subtle gray border */
  border-radius: 14px; /* Proportional squircle/rounded corner */
  
  /* Flexbox Centering for the actual image/icon */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Effects */
  box-shadow: var(--shadow-sm); /* Airy shadow for depth */
  overflow: hidden; /* Clips the logo image to the border-radius */
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Internal Image/Logo styling */
.fab-center-logo img {
  width: 70%; /* Adjust based on your logo's visual weight */
  height: auto;
  display: block;
  object-fit: contain;
  /* Prevent the logo from rotating with the outer text */
  pointer-events: none;
}

/* Hover interaction to match the parent FAB scaling */
.circular-fab:hover .fab-center-logo {
  border-color: var(--color-primary); /* Brand blue accent on hover */
  transform: scale(1.05);
}

/* --- Chat Window Container --- */
.chat-window {
  position: fixed;
  bottom: 150px;
  right: 32px;
  width: 360px;
  height: 520px;
  background: var(--bg-surface); /* Pure white surface */
  border: 1px solid var(--border); /* Subtle gray border */
  border-radius: 24px;
  box-shadow: var(--shadow-md); /* Soft airy shadow */
  display: none; /* Toggled via JS */
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  font-family: var(--font-sans);
}

/* --- Header Section --- */
.chat-header {
  padding: 16px 20px;
  background: var(--bg-hover);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #10b981; /* Success green */
  border-radius: 50%;
}

.chat-header-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.chat-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.chat-close:hover { color: var(--color-primary); }

/* --- Chat Body & Messages --- */
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-surface);
}

/* Custom Scrollbar for Chat Body */
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.message {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
  word-wrap: break-word;
}

.bot-message {
  background: var(--bg-hover);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background: var(--color-primary); /* Brand blue accent */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* --- Footer & Input Area --- */
.chat-footer {
  padding: 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
}

#user-input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#user-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-send-btn {
  height: 44px;
  padding: 0 20px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.chat-send-btn:hover {
  background: var(--color-primary-hover);
}

.chat-send-btn:active {
  transform: scale(0.96);
}

/* Mobile Visibility (Prevents clutter with Bottom Nav) */
@media (max-width: 768px) {
  .chat-window {
    display: none !important;
  }
}



/* ============================================================
   HERO SECTION (CANVAS & BRANDING)
   ============================================================ */

/* --- 1. Canvas Base & Grid Layout --- */
.canvas-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Figma-style Dot Grid Background */
.canvas-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 2px);
  background-size: 32px 32px;
  z-index: 1;
}

/* Interactive Workspace Container */
.workspace {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* --- 2. Central Branding Card --- */
.branding-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 95%;
  max-width: 850px;
  pointer-events: none; /* Allows dragging elements behind the card */
}

.branding-card > * { 
  pointer-events: auto; /* Re-enables clicks for buttons/links */
}

/* Headline Wrapper (Prevents layout shift during text swap) */
.headline-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 380px; 
  margin-bottom: 16px;
  
}

.headline {
  margin: 0;
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-heading);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 48px;
}

.central-btns { 
  justify-content: center; 
  display: flex;
  gap: 16px;
}

/* --- 3. Draggable Elements --- */
.drag-element {
  position: absolute;
  touch-action: none;
  user-select: none;
  cursor: grab;
  box-shadow: var(--shadow-md);
  transition: transform 0.1s ease;
  z-index: 5;
}

.drag-element:active {
  cursor: grabbing;
  transform: scale(1.05);
  z-index: 100;
}

/* Desktop Initial Positions */
.drag-pos-1 { top: 15%; left: 8%; }
.drag-pos-2 { top: 60%; right: 12%; }
.drag-pos-3 { top: 10%; right: 10%; }
.drag-pos-4 { top: 80%; left: 15%; }

/* Sticky Notes Theming */
.sticky {
  width: 180px;
  padding: 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
}
.sticky.yellow { background: #fef08a; color: #854d0e; transform: rotate(-2deg); }
.sticky.green { background: #bbf7d0; color: #166534; transform: rotate(3deg); }
.sticky .author { display: block; margin-top: 12px; font-size: 10px; opacity: 0.6; }

/* Component & Swatch Theming */
.component-box {
  width: 220px;
  background: white;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  overflow: hidden;
}
.comp-header { background: #eff6ff; padding: 8px; display: flex; gap: 4px; border-bottom: 1px solid var(--color-accent-border); }
.comp-header .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-border); }
.comp-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line { height: 6px; background: #f3f4f6; border-radius: 10px; width: 100%; }
.skeleton-line.short { width: 60%; }
.skeleton-btn { height: 24px; background: var(--color-primary); border-radius: 4px; margin-top: 8px; }

.swatch-group { display: flex; }
.swatch { width: 40px; height: 40px; border: 2px solid white; border-radius: 50%; margin-left: -12px; }
.swatch.color-primary { background: #3b82f6; margin-left: 0; }
.swatch.color-success { background: #10b981; }
.swatch.color-dark { background: #111827; }

.label { 
  position: absolute; top: -25px; left: 0; font-size: 10px; font-family: monospace; 
  color: var(--color-primary); font-weight: bold; background: var(--color-accent-bg); 
  padding: 2px 6px; border-radius: 4px; 
}

/* --- 4. Animations --- */
.static-text {
  transition: opacity 0.4s ease;
}

.dynamic-phrase {
  display: inline;
  will-change: transform, opacity;
  animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.phrase-exit {
  animation: floatOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-15px); }
}

/* --- 5. Responsive Design --- */
@media (max-width: 1024px) {
  /* Hide draggables on tablets/mobiles to prevent UI clutter */
  .drag-element {
    display: none !important;
  }

  .canvas-hero {
    height: auto;
    min-height: 80vh;
    padding: 120px 24px 60px;
  }

  .branding-card {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 0 auto;
  }

  .headline-wrapper {
    height: auto;
    min-height: 140px;
    margin-bottom: 24px;
  }

  .headline { font-size: 42px; }

  
 
}




/* =========================================
   EV CASE STUDY SPECIFIC LAYOUT
   ========================================= */

/* Hero Section */
.cs-ev-header {
  padding: 160px 0 64px;
}
.cs-ev-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}
.cs-ev-back:hover {
  color: var(--color-primary);
}
.cs-ev-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-heading);
  margin-bottom: 40px;
  max-width: 900px;
}
@media (min-width: 768px) { .cs-ev-title { font-size: 64px; } }

/* Right-aligned Subtext */
.cs-ev-subtext-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 64px;
}
.cs-ev-subtext {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}

/* Meta Data Row */
.cs-ev-meta-section {
  margin-bottom: 80px;
}
.cs-ev-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .cs-ev-meta-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.cs-ev-meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.meta-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.meta-value {
  font-size: 14px;
  color: var(--text-heading);
  line-height: 1.5;
  font-weight: 500;
}

/* Main Layout (Sidebar + Content) */
.cs-ev-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 120px;
}
@media (min-width: 1024px) { .cs-ev-layout { grid-template-columns: 240px 1fr; gap: 80px; } }

/* Sidebar */
.cs-ev-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-nav li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.sidebar-nav li:hover { color: var(--color-primary); }
.sidebar-nav li.active { color: var(--color-primary); }
.sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--border-hover);
}
.sidebar-nav li.active .sidebar-dot { background-color: var(--color-primary); }

/* Main Content Area */
.cs-ev-main .section-heading {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 40px;
}

/* Summary Split Layout */
.summary-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
@media (min-width: 860px) { .summary-split { grid-template-columns: 1fr 1.5fr; gap: 64px; } }

.summary-highlight {
  font-size: 24px;
  line-height: 1.4;
  color: var(--text-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.summary-desc p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Stats Row */
.summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.stat-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-size: 40px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-lbl {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Image Placeholder */
.cs-ev-image-placeholder {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cs-ev-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================================
   EV CASE STUDY: PROBLEM & RESEARCH SECTIONS
   ========================================= */

.cs-ev-sec {
  padding-top: 80px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.cs-ev-sec:first-of-type { border-top: none; }

/* Headings & Accents */
.cs-ev-main .section-heading.centered { text-align: center; margin-bottom: 16px; }
.cs-ev-main .section-subheading.centered { text-align: center; color: var(--text-muted); font-size: 18px; margin-bottom: 48px; }

.accent-underline {
  display: inline-block;
  position: relative;
}

/* --- The Problem Section --- */
.problem-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 860px) { .problem-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.problem-card:hover { 
  transform: translateY(-4px); 
  border-color: var(--border-hover); 
  box-shadow: var(--shadow-md); 
}
.problem-card-img {
  width: 100%;
  height: 200px;
  background: var(--bg-base);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.problem-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}
.problem-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.problem-card p strong { color: var(--text-heading); font-weight: 600; }

.problem-lists-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .problem-lists-grid { grid-template-columns: 1fr 1fr; } }
.problem-lists-grid h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
}
.ev-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ev-bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.ev-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.4;
}
.ev-bullet-list li strong { color: var(--text-heading); font-weight: 600; }

/* --- Users & Research Section --- */
.surface-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  margin-top: 64px;
  box-shadow: var(--shadow-sm);
}

.research-3col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 64px;
}
@media (min-width: 860px) { .research-3col-grid { grid-template-columns: repeat(3, 1fr); } }

.research-col h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.research-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.research-col .ev-bullet-list li { font-size: 14px; }

.research-2col-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .research-2col-images { grid-template-columns: 1fr 1fr; } }

.research-img-card {
  display: flex;
  flex-direction: column;
}
.research-img-wrapper {
  width: 100%;
  height: 360px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.research-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.research-img-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.research-img-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* =========================================
   EV CASE STUDY: FRUSTRATIONS & FINDINGS
   ========================================= */

.frustrations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 860px) { 
  .frustrations-grid { grid-template-columns: auto; } 
}

.frictions-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.frictions-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.friction-pill {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-surface);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.friction-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateX(4px); 
}

.frustrations-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.frustrations-image-wrapper img {
  max-width: 100%;
  height: auto;
  
  transition: filter 0.4s ease;
  border-radius: 16px;
}



/* =========================================
   EV CASE STUDY: REDESIGN SECTION
   ========================================= */

.redesign-blocks {
  display: flex;
  flex-direction: column;
  gap: 96px; 
  margin-top: 20px;
}

.redesign-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .redesign-row { 
    grid-template-columns: 1fr 1.3fr; 
    gap: 64px; 
  }
}

.redesign-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
  line-height: 1.3;
}

.redesign-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.redesign-text .ev-bullet-list {
  margin-bottom: 20px;
}

/* Inner frame for the dashboard mockups to match the screenshot's soft container */
.redesign-img-wrapper {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px; 
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.redesign-img-wrapper:hover {
  border-color: var(--border-hover);
}

.redesign-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-base);
  transition: filter 0.4s ease, transform 0.4s ease;
}


/* =========================================
   EV CASE STUDY: USER TESTING & SNIPPETS
   ========================================= */

/* --- User Testing Section --- */
.user-testing-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 24px;
}
@media (min-width: 860px) {
  .user-testing-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.ut-right h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.user-testing-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .user-testing-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ut-chart-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease;
}
.ut-chart-wrapper:hover {
  border-color: var(--border-hover);
}
.ut-chart-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
 
  transition: filter 0.4s ease;
}


/* --- Snippets (Before & After) Section --- */
.snippets-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 32px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 860px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-img-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s;
  padding: 8px;
  border-radius: 24px;
}
.ba-img-wrapper:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.ba-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.ba-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* =========================================
   EV CASE STUDY: IMPACT, LEARNINGS & NEXT
   ========================================= */

.ev-closing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease;
}
.ev-closing-card:hover {
  border-color: var(--border-hover);
}

/* --- Redesign Impact --- */
.impact-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .impact-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.impact-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impact-stat-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
/* Trending Icons */
.impact-stat-value.positive svg { color: var(--color-success-text); } 
.impact-stat-value.negative svg { color: var(--color-danger-text); } 

.impact-stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Learnings --- */
.learnings-wrapper {
  margin-top: 32px;
}

/* --- What's Next --- */
.whats-next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .whats-next-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .whats-next-grid { grid-template-columns: repeat(2, 1fr); }
}

.next-col h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.3;
}

/* --- Closing Statement --- */
.ev-closing-statement {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 20px;
}

.ev-closing-statement h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .ev-closing-statement h3 { font-size: 28px; }
}

.ev-closing-statement h3 svg {
  color: var(--text-muted);
}

.ev-closing-statement p {
  font-size: 14px;
  color: var(--text-muted);
}



/* =========================================
   CASE STUDY: NEW LAYOUT ORDER
   ========================================= */
.cs-header-section {
  padding: 160px 0 64px;
}
.cs-header-section h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 24px;
  max-width: 900px;
}
@media (min-width: 768px) { .cs-header-section h1 { font-size: 56px; } }
.cs-header-section .cs-cover-sub {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}


/* Full Width Image */
.cs-image-section {
  height: 400px;
  overflow: hidden;
  width: 100%;
   border-radius: 16px;
  padding: 8px;
}
@media (min-width: 768px) { .cs-image-section { height: 600px; } }
.cs-image-section img {
  width: 100%;
  height: 100%;
  border: 0px solid;
  border-radius: 12px;
  object-fit: cover;
  max-height: 580px;
  transition: filter 0.4s ease;
}


/* Meta Cards (Role, Duration, Tools) below image */
.cs-meta-section {
  padding: 64px 0 32px;
}
.cs-meta-row {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}
.cs-meta-cell {
  flex: 1;
  min-width: 200px;
  padding: 24px 32px;
  border-right: 1px solid var(--border);
}
.cs-meta-cell:last-child { border-right: none; }
.cs-meta-key {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cs-meta-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-heading);
  line-height: 1.5;
}

/* Sub-lists for IA and Flows */
.cs-nested-list { margin-left: 20px; margin-bottom: 24px; }
.cs-nested-list h4 { color: var(--text-heading); font-size: 16px; margin: 16px 0 8px; font-weight: 600;}


.cs-sub-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin: 40px 0 16px;
  padding-bottom: 8px;

}

/* Reading Progress Bar */
#read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-primary);
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Hero Cover */
.cs-cover { padding: 160px 0 72px; border-bottom: 1px solid var(--border); }
.cs-cover-inner { max-width: 800px; }
.cs-back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); text-decoration: none; margin-bottom: 40px; transition: color 0.2s; }
.cs-back-link:hover { color: var(--color-primary); }
.cs-cover-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 20px; }
.cs-cover h1 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-heading); margin-bottom: 24px; }
@media (min-width: 768px) { .cs-cover h1 { font-size: 56px; } }
.cs-cover-sub { font-size: 20px; color: var(--text-muted); line-height: 1.6; margin-bottom: 48px; }

/* Cover Image with Grayscale Hover Effect */
.cs-cover-img { width: 100%; height: 400px; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-base); }
@media (min-width: 768px) { .cs-cover-img { height: 600px; } }
.cs-cover-img img { width: 100%; height: 100%; object-fit: cover;  }


/* Layout & Sidebar */
.cs-layout { display: grid; grid-template-columns: 1fr; align-items: start; max-width: 1148px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .cs-layout { grid-template-columns: 220px 1fr; gap: 80px; } }

.cs-sidebar { display: none; padding: 100px 0; }
@media (min-width: 1024px) { .cs-sidebar { display: block; position: sticky; top: 100px; align-self: start; } }
.cs-sidebar-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 20px; padding-left: 16px; }
.cs-timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.cs-timeline::before { content: ''; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 1px; background: var(--border); }
.cs-tl-item { position: relative; padding: 0 0 4px 20px; }
.cs-tl-dot { position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-surface); transition: all 0.2s; z-index: 1; }
.cs-tl-item.active .cs-tl-dot { border-color: var(--color-primary); background: var(--color-primary); }
.cs-tl-link { font-size: 13px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.cs-tl-item.active .cs-tl-link, .cs-tl-link:hover { color: var(--color-primary); }

/* Article Content */
.cs-article { padding: 100px 0 100px; min-width: 0; }

.cs-sec { padding-top: 20px; margin-top: -20px; }


.cs-sec-num { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; font-family: monospace; }
.cs-sec-h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-heading); margin: 0 0 24px; }

.cs-prose p { font-size: 17px; color: var(--text-main); line-height: 1.8; margin-bottom: 24px; }
.cs-prose strong { color: var(--text-heading); font-weight: 600; }

.cs-prose ul { list-style: none; padding: 0; margin: 0 0 24px 0; }
.cs-prose ul li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 16px; color: var(--text-main); line-height: 1.6; }
.cs-prose ul li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--color-primary); font-size: 14px; font-weight: bold; }

.cs-img-block { margin: 40px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.cs-img-caption { padding: 16px 24px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); }

/* Cards & Grids */
.cs-card-grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 32px 0; }
@media (min-width: 768px) { .cs-card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.cs-info-card { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); box-shadow: var(--shadow-sm); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.cs-info-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cs-info-card h4 { font-size: 18px; font-weight: 600; color: var(--text-heading); margin: 0 0 16px 0; }
.cs-info-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.cs-info-card ul { margin-bottom: 0; }
.cs-info-card ul li { font-size: 14px; margin-bottom: 8px; color: var(--text-muted); }

.cs-highlight-box { padding: 32px; border-radius: 16px; background: var(--color-accent-bg); border: 1px solid var(--color-accent-border); margin: 40px 0; }
.cs-highlight-box h3 { color: var(--color-primary); font-size: 20px; font-weight: 600; margin: 0 0 16px 0; }
.cs-highlight-box p { color: var(--text-main); font-size: 16px; margin: 0 0 24px 0; line-height: 1.6; }

.cs-tag-cluster { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-tag { background: var(--bg-surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-main); box-shadow: 0 1px 2px rgba(0,0,0,0.02); transition: all 0.2s; }
.cs-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Solution Alternating Blocks */
.cs-solution-block { display: grid; grid-template-columns: 1fr; gap: 32px; margin: 64px 0; align-items: center; }
@media (min-width: 860px) { .cs-solution-block { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 860px) {
  .cs-solution-block:nth-child(even) .cs-sol-content { order: 2; }
  .cs-solution-block:nth-child(even) .cs-sol-visual { order: 1; }
}

.cs-sol-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--color-accent-bg); color: var(--color-primary); border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.cs-sol-content h3 { font-size: 24px; font-weight: 600; color: var(--text-heading); margin: 0 0 16px 0; line-height: 1.2; }
.cs-sol-content p { font-size: 16px; margin-bottom: 24px; color: var(--text-muted); }
.cs-sol-visual { border-radius: 16px; padding: 8px; border: 1px solid var(--border); background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.cs-sol-visual img { width: 100%; border-radius: 8px;  display: block; }


/* =========================================
   USER REVIEWS / VALIDATION CARDS
   ========================================= */
.cs-review-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  margin: 40px 0; 
}
@media (min-width: 860px) { 
  .cs-review-grid { grid-template-columns: repeat(3, 1fr); } 
}

.cs-review-card { 
  padding: 32px; 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  background: var(--bg-surface); 
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cs-review-card:hover { 
  transform: translateY(-4px); 
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.cs-review-header { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  margin-bottom: 20px; 
}
.cs-review-avatar { 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  object-fit: cover; 
  border: 1px solid var(--border);
  filter: grayscale(20%);
}
.cs-review-meta { 
  display: flex; 
  flex-direction: column; 
  gap: 2px;
}
.cs-review-name { 
  font-size: 15px; 
  font-weight: 600; 
  color: var(--text-heading); 
}
.cs-review-role { 
  font-size: 13px; 
  color: var(--text-muted); 
}

.cs-review-stars { 
  display: flex; 
  gap: 4px; 
  margin-bottom: 16px; 
  color: #f59e0b; /* Premium Gold/Yellow */
}
.cs-review-stars svg { 
  width: 16px; 
  height: 16px; 
  fill: currentColor; 
}

.cs-review-text { 
  font-size: 15px; 
  color: var(--text-main); 
  line-height: 1.6; 
  margin: 0; 
  font-style: italic;
}

/* Impact Metrics */
.cs-impact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 40px 0; }
@media (min-width: 640px) { .cs-impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .cs-impact-grid { grid-template-columns: repeat(3, 1fr); } }

.cs-impact-card { padding: 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-surface); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, box-shadow 0.2s; }
.cs-impact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.cs-impact-card.positive { background: var(--color-success-bg); border-color: var(--color-success-border); }
.cs-impact-card.positive .cs-impact-val { color: var(--color-success-text); }
.cs-impact-card.negative { background: var(--color-danger-bg); border-color: var(--color-danger-border); }
.cs-impact-card.negative .cs-impact-val { color: var(--color-danger-text); }
.cs-impact-card.neutral { background: var(--color-accent-bg); border-color: var(--color-accent-border); }
.cs-impact-card.neutral .cs-impact-val { color: var(--color-accent-text); }

.cs-impact-val { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; }
.cs-impact-desc { font-size: 14px; font-weight: 500; color: var(--text-main); line-height: 1.5; }

/* Learnings Typography */
.cs-learning-list { display: flex; flex-direction: column;  }
.cs-learning-row { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
@media (max-width: 640px) { .cs-learning-row { flex-direction: column; gap: 8px; } }

.cs-learning-num { font-size: 13px; font-weight: 600; color: var(--text-muted); font-family: monospace; width: 32px; flex-shrink: 0; }
.cs-learning-title { font-size: 18px; font-weight: 600; color: var(--text-heading); width: 280px; flex-shrink: 0; line-height: 1.4; }
.cs-learning-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Closing & Tags */
.cs-next-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 48px; }
.cs-next-tag { padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-main); background: var(--bg-surface); transition: border-color 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.cs-next-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.cs-closing-block { padding: 48px; border-radius: 16px; background: var(--bg-surface); text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.cs-closing-block p { font-size: 18px; color: var(--text-muted); line-height: 1.6; max-width: 600px; margin: 0 auto; }
.cs-closing-block strong { color: var(--text-heading); font-weight: 600; }

/* =========================================
   2. LAYOUT & UTILITIES
   ========================================= */
.container { width: 100%; max-width: 1148px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (min-width: 1024px) { section { padding: 140px 0; } }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.section-title { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; color: var(--text-heading); line-height: 1.1; text-align: left; }
.section-subtitle { color: var(--text-muted); font-size: 18px; margin-bottom: 64px; max-width: 600px; text-align: left; }

.pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(59, 130, 246, 0.05); border: 1px solid var(--border); border-radius: 999px; height: 34px; padding: 0 16px; margin-bottom: 40px; transition: border-color 0.2s; }
.pill:hover { border-color: var(--color-primary); }
.pill-icon { color: var(--color-primary); display: flex; align-items: center; }
.pill-text { font-size: 13px; font-weight: 500; color: var(--text-main); }

/* Buttons */
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { font-size: 14px; font-weight: 500; border-radius: 8px; padding: 10px 24px; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-primary { background: var(--color-primary); color: #ffffff; border: 1px solid var(--color-primary); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn-secondary { background: #ffffff; color: var(--text-heading); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-hover); transform: translateY(-1px); }

/* Global Spotlight Hover */
.grid-spotlight {
  position: absolute; inset: 0; z-index: 0; background-size: 55px 55px; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  mask-image: radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), black 0%, transparent 100%);
}
.hero:hover .grid-spotlight, .contact-section:hover .grid-spotlight, .about-hero:hover .grid-spotlight, .page-hero:hover .grid-spotlight  { opacity: 1; }

/* =========================================
   3. NAVBAR & MOBILE MENU
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 50; padding: 16px 0; backdrop-filter: blur(16px);  -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.3s; background: rgba(255, 255, 255, 0.7); }
.navbar.scrolled { border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.7); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-heading); }
.logo-icon { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.logo-text { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.nav-links { display: none; gap: 36px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-heading); }

.btn-nav-cta { display: none; background: var(--color-primary); color: #ffffff; font-size: 13px; font-weight: 500; border: none; border-radius: 8px; padding: 8px 16px; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2); }
.btn-nav-cta:hover { background: var(--color-primary-hover); transform: translateY(-1px); }

.mobile-menu-btn { display: block; background: none; border: none; color: var(--text-heading); cursor: pointer; font-weight: 600; }
@media (min-width: 1024px) { .nav-links, .btn-nav-cta { display: flex; } .mobile-menu-btn { display: none; } }

.mobile-overlay { position: fixed; inset: 0; background: var(--bg-surface); z-index: 100; display: flex; flex-direction: column; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-overlay.active { opacity: 1; pointer-events: all; }
.mobile-close { align-self: flex-end; background: none; border: none; color: var(--text-heading); cursor: pointer; font-weight: 600; }
.mobile-overlay-links { margin-top: 60px; display: flex; flex-direction: column; gap: 32px; }
.mobile-overlay-links a { font-size: 28px; color: var(--text-heading); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }

/* =========================================
   4. HERO SECTIONS (Home, About, Works, Contact)
   ========================================= */
/* Main Home Hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 140px 0 80px; overflow: hidden; text-align: center; }
.hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 56px;  line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 24px; color: var(--text-heading); }
@media (min-width: 768px) { .hero h1 { font-size: 80px; } }
.hero p { font-size: 20px; color: var(--text-muted); line-height: 1.6; margin-bottom: 56px; max-width: 600px;}

/* About Hero */
.about-hero { padding: 160px 0 80px; position: relative; overflow: hidden; text-align: center; }
.about-hero-eyebrow { font-size: 13px; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.about-hero h1 { font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--text-heading); max-width: 800px; margin: 0 auto 28px; }
@media (min-width: 768px) { .about-hero h1 { font-size: 80px; } }
.about-hero p.lead { font-size: 20px; color: var(--text-muted); max-width: 620px; line-height: 1.65; margin: 0 auto 16px; }

/* Page Hero (Works) */
.page-hero { padding: 140px 0 56px; }
.page-hero-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.page-hero-text h1 { font-size: 56px; font-weight: 600; letter-spacing: -0.04em; color: var(--text-heading); line-height: 1.05; margin-bottom: 14px; }
@media (min-width: 768px) { .page-hero-text h1 { font-size: 72px; } }
.page-hero-text p { font-size: 17px; color: var(--text-muted); max-width: 500px; line-height: 1.6; }
.page-hero-avatar { flex-shrink: 0; width: 72px; height: 72px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.page-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Contact Hero */
.contact-section { padding: 160px 0 100px; min-height: calc(100vh - 300px); position: relative; }
.contact-interactive-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-bg-faint { position: absolute; inset: 0; background-size: 55px 55px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px); }
.contact-section-content-wrapper { position: relative; z-index: 10; }
.contact-hero-content { margin-bottom: 80px; max-width: 900px; }
.contact-hero-content h1 { font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 24px; color: var(--text-heading); }
.contact-hero-content p.lead { font-size: 20px; color: var(--text-muted); line-height: 1.6; }

/* =========================================
   5. WORKS & CASE STUDY CARDS
   ========================================= */
.works-section { padding-bottom: 120px; }
.grid-2col { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media (min-width: 768px) { .grid-2col { grid-template-columns: repeat(2, 1fr); } }
.grid-3col { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media (min-width: 640px) { .grid-3col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3col { grid-template-columns: repeat(3, 1fr); } }

.work-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.work-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; overflow: hidden; position: relative; background: var(--bg-base); padding: 8px 8px 0 8px; }
.card-img-large { height: 280px; }
.card-img-medium { height: 220px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; border-top-left-radius: 8px; border-top-right-radius: 8px; transition: transform 0.4s ease; }
.work-card:hover .card-img img { transform: scale(1.03); }

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body-medium { padding: 20px; }
.card-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-primary); background: rgba(59, 130, 246, 0.08); border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px; margin-bottom: 14px; width: fit-content; }
.card-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-heading); margin-bottom: 10px; line-height: 1.25; }
.card-title-medium { font-size: 17px; }
.card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.card-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.card-meta-dot { width: 3px; height: 3px; background: var(--border-hover); border-radius: 50%; }

.grid-horizontal { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.work-card-horizontal { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s; cursor: pointer; text-decoration: none; color: inherit; display: grid; grid-template-columns: 1fr; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .work-card-horizontal { grid-template-columns: 320px 1fr; } }
@media (min-width: 1024px) { .work-card-horizontal { grid-template-columns: 400px 1fr; } }
.work-card-horizontal:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img-horiz { height: 200px; overflow: hidden; position: relative; background: var(--bg-base); padding: 8px 0 8px 8px; }
@media (min-width: 640px) { .card-img-horiz { height: 100%; min-height: 180px; } }
.card-img-horiz img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: transform 0.4s ease; }
.work-card-horizontal:hover .card-img-horiz img { transform: scale(1.03); }
.card-body-horiz { padding: 32px; display: flex; flex-direction: column; justify-content: center; }

/* =========================================
   6. ABOUT: ACHIEVEMENTS, SKILLS, STATS, TYPEWRITER
   ========================================= */
.achievements-section { padding: 100px 0; }
.achievements-layout { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .achievements-layout { grid-template-columns: 340px 1fr; gap: 80px; } }

.achievements-photo { width: 100%; max-width: 340px; aspect-ratio: 3/4; background: var(--bg-base); border: 1px solid var(--border); border-radius: 16px; padding: 8px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.achievements-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; filter: grayscale(10%); }

.achievements-content p { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; max-width: 580px; }
.achievements-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* Typewriter Title */
.typewriter-title { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-heading); line-height: 1.2; margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#typed-text { color: var(--color-primary); }
.typing-cursor { display: inline-block; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 48px; box-shadow: var(--shadow-sm); }
@media (min-width: 600px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-item { background: var(--bg-surface); padding: 32px 24px; text-align: left; transition: background 0.2s; }
.stat-item:hover { background: var(--bg-hover); }
.stat-number { font-size: 36px; font-weight: 700; color: var(--color-primary); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* Stats Matrix (Achievements) */
.stats-matrix { display: grid; grid-template-columns: 1fr; gap: 1px; background-color: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .stats-matrix { grid-template-columns: repeat(3, 1fr); } }
.stat-cell { background-color: var(--bg-surface); padding: 56px 40px; display: flex; flex-direction: column; align-items: flex-start; transition: background-color 0.2s ease; }
.stat-cell:hover { background-color: var(--bg-hover); }
.stat-heading { font-size: 22px; font-weight: 600; color: var(--text-heading); margin-bottom: 16px; letter-spacing: -0.01em; }
.stat-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 32px; }
.stat-tag { background: var(--color-accent-bg); color: var(--color-primary); border: 1px solid var(--color-accent-border); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-top: auto; }

/* Steps/Experience Section */
.steps-section { padding: 100px 0; }
.steps-header { margin-bottom: 64px; }
.steps-header h2 { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; color: var(--text-heading); line-height: 1.1; }
.steps-header p { font-size: 16px; color: var(--text-muted); margin-top: 12px; max-width: 480px; }
.steps-list { display: flex; flex-direction: column; gap: 0; color:var(--text-muted);  }
.step-item { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 56px 0; border-bottom: 1px solid var(--border); transition: background 0.2s; }
@media (min-width: 768px) { .step-item { grid-template-columns: 260px 1fr; gap: 64px; align-items: start; } }
.step-item:first-child { border-top: 1px solid var(--border); }
.step-number { font-size: 12px; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.step-company { font-size: 22px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.02em; }
.step-list { list-style: none; padding: 0; margin: 0 0 24px 0; }
.step-list li { position: relative; padding-left: 20px; margin-bottom: 12px; color: var(--text-main); font-size: 16px; line-height: 1.65; }
.step-list li::before { content: '–'; position: absolute; left: 0; color: var(--border-hover); font-weight: 600; }

/* Skillsets (Access Section) */
.access-section { padding: 100px 0; }
.access-header { text-align: center; margin-bottom: 72px; }
.access-header h2 { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; color: var(--text-heading); line-height: 1.15; max-width: 600px; margin: 0 auto 16px; }
.access-header p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.65; }
.access-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .access-grid { grid-template-columns: repeat(3, 1fr); } }
.access-card { border-right: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s; padding-right: 16px;}
.access-card:last-child {border-right: none;}
.access-card:hover { border-color: var(--color-primary); transform: translateY(-4px); }
.access-card h3 { font-size: 20px; font-weight: 600; color: var(--text-heading); margin-bottom: 20px; letter-spacing: -0.01em; }
.access-list { list-style: none; padding: 0; margin: 0; }
.access-list li { position: relative; padding-left: 18px; margin-bottom: 12px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.access-list li::before { content: '–'; position: absolute; left: 0; color: var(--color-primary); }

/* =========================================
   7. CAROUSELS & LOGO GRIDS
   ========================================= */
/* Tool/Industry Carousel */
.industry-carousel-wrapper { position: relative; width: 100%; overflow: hidden; padding: 0 0 100px; }
.industry-carousel-wrapper::before, .industry-carousel-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 150px; z-index: 2; pointer-events: none; }
.industry-carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-base), transparent); }
.industry-carousel-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-base), transparent); }
.industry-track { display: flex; gap: 20px; width: max-content; padding-left: max(24px, calc((100vw - 1100px) / 2)); animation: industryScroll 40s linear infinite; }
.industry-carousel-wrapper:hover .industry-track { animation-play-state: paused; }
@keyframes industryScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 10px)); } }
.industry-card { width: 140px; height: 140px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 24px; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.industry-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.industry-card img { width: 56px; height: 56px; transition: transform 0.3s ease; }
.industry-card:hover img { transform: scale(1.05); }

/* Featured On Carousel */
.featured-section { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.featured-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 36px; }
.featured-track-wrapper { position: relative; overflow: hidden; }
.featured-track-wrapper::before, .featured-track-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.featured-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-base), transparent); }
.featured-track-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-base), transparent); }
.featured-track { display: flex; gap: 48px; align-items: center; justify-content: center; width: max-content; animation: featuredScroll 30s linear infinite; }
.featured-track-wrapper:hover .featured-track { animation-play-state: paused; }
@keyframes featuredScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50%)); } }
.featured-logo a { display: flex; align-items: center; gap: 10px; color: var(--text-heading); font-size: 20px; text-decoration:none; font-weight: 600;  opacity: 1; transition: all 0.3s; white-space: nowrap; }
.featured-logo a:hover { opacity: 1; transform: scale(1.05); }
.featured-logo svg { flex-shrink: 0; }

/* Testimonials Carousel */
.test-carousel-wrapper { position: relative; width: 100%; overflow: hidden; padding: 12px 0 48px; }
.test-carousel-wrapper::before, .test-carousel-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 150px; z-index: 2; pointer-events: none; }
.test-carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-base), transparent); }
.test-carousel-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-base), transparent); }
.testimonial-track { display: flex; gap: 24px; width: max-content; padding-left: max(24px, calc((100vw - 1100px) / 2)); animation: testScroll 50s linear infinite; }
.test-carousel-wrapper:hover .testimonial-track { animation-play-state: paused; }
@keyframes testScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 12px)); } }
.test-card { width: 400px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; cursor: default; box-shadow: var(--shadow-sm); }
@media (max-width: 768px) { .test-card { width: 340px; padding: 32px; } }
.test-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.test-quote { color: var(--text-main); font-size: 16px; line-height: 1.6; margin-bottom: 40px; }
.test-author { display: flex; align-items: center; gap: 16px; }
.test-avatars { display: flex; align-items: center; }
.avatar-company { width: 36px; height: 36px; border-radius: 50%; z-index: 1; border: 2px solid var(--bg-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-base); }
.avatar-person { width: 36px; height: 36px; border-radius: 50%; z-index: 2; margin-left: -12px; border: 2px solid var(--bg-surface); object-fit: cover; }
.test-info { display: flex; flex-direction: column; gap: 2px; }
.test-name { color: var(--text-heading); font-size: 14px; font-weight: 600; }
.test-title { color: var(--text-muted); font-size: 13px; }

/* Toolkit Section */
.toolkit-section { padding: 100px 0; border-top: 1px solid var(--border); }
.toolkit-intro { margin-bottom: 56px; }
.toolkit-intro h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-heading); margin-bottom: 12px; }
.toolkit-intro p { font-size: 16px; color: var(--text-muted); max-width: 520px; line-height: 1.65; }
.toolkit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: center; }
@media (min-width: 640px) { .toolkit-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .toolkit-grid { grid-template-columns: repeat(6, 1fr); gap: 48px; } }
.toolkit-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.toolkit-logo { max-height: 32px; max-width: 120px; width: auto;  }

.toolkit-name { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Certifications Section */
.cert-section { padding: 100px 0; border-top: 1px solid var(--border); }
.cert-header { margin-bottom: 64px; max-width: 700px; }
.cert-header h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-heading); margin-bottom: 16px; }
.cert-header p { font-size: 18px; color: var(--text-muted); }
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: flex; align-items: flex-start; gap: 24px; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow-sm); }
.cert-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-content { display: flex; flex-direction: column; }
.cert-org { font-size: 12px; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.cert-title { font-size: 20px; font-weight: 600; color: var(--text-heading); line-height: 1.4; letter-spacing: -0.01em; }
.cert-icon { width: 56px; height: 56px; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s ease, transform 0.3s ease; background: var(--bg-base); border-radius: 50%; border: 1px solid var(--border); }
.cert-card:hover .cert-icon { transform: scale(1.05); border-color: var(--color-primary); }
.cert-img { width: 100%; height: 100%; object-fit: cover;  }



/* =========================================
   8. UX PROCESS (Works Page)
   ========================================= */
.ux-process-section { padding: 120px 0; border-top: 1px solid var(--border); }
.ux-process-header { text-align: center; max-width: 900px; margin: 0 auto 80px; }
.ux-process-header h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-heading); margin-bottom: 24px; }
.ux-process-header p { font-size: 16px; color: var(--text-muted); line-height: 1.75; }
.ux-process-diagram { width: 100%; max-width: 800px; margin: 0 auto 80px; display: block; }
.ux-process-diagram svg { width: 100%; height: auto; color: var(--text-heading); }
.ux-process-diagram svg path {
    fill: #2b2933;
}

.ux-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: auto; }
.ux-photo-item { border-radius: 16px; overflow: hidden; background: var(--bg-base); border: 1px solid var(--border); position: relative; padding: 8px;}
.ux-photo-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.photo-1 { grid-column: 1; grid-row: span 2; }
.photo-2 { grid-column: 2; grid-row: span 1; max-height:150px }
.photo-3 { grid-column: 3; grid-row: span 2; }
.photo-4 { grid-column: 2; grid-row: span 2; }
.photo-5 { grid-column: 1; grid-row: span 1; }
.photo-6 { grid-column: 3; grid-row: span 1; }

@media (max-width: 992px) {
  .ux-photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .photo-1 { grid-column: 1; grid-row: span 2; }
  .photo-2 { grid-column: 2; grid-row: span 1; }
  .photo-3 { grid-column: 2; grid-row: span 2; }
  .photo-4 { grid-column: 1; grid-row: span 1; }
  .photo-5 { grid-column: 1; grid-row: span 2; }
  .photo-6 { grid-column: 2; grid-row: span 1; }
}
@media (max-width: 600px) {
  .ux-photo-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ux-photo-item { grid-column: 1 !important; grid-row: span 1 !important; }
}

/* =========================================
   9. FAQ SECTION
   ========================================= */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; } .faq-sidebar { position: sticky; top: 120px; } }
.faq-wrapper { width: 100%; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 32px 0; cursor: pointer; }
.faq-question { font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; color: var(--text-heading); }
.faq-answer { color: var(--text-muted); margin-top: 16px; line-height: 1.7; font-size: 16px; display: none; padding-right: 48px; }
.faq-item.open .faq-answer { display: block; }
.faq-icon { transition: transform 0.2s; font-size: 24px; font-weight: 300; color: var(--text-muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--color-primary); }

/* =========================================
   10. CONTACT PAGE LAYOUT
   ========================================= */
.contact-info-section { margin-bottom: 64px; }
.contact-info-row { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .contact-info-row { grid-template-columns: repeat(3, 1fr); gap: 80px; } }
.info-item { display: flex; align-items: flex-start; gap: 16px; }
.info-icon { width: 48px; height: 48px; background: var(--color-accent-bg); border: 1px solid var(--color-accent-border); border-radius: 12px; display: flex; justify-content: center; align-items: center; color: var(--color-primary); flex-shrink: 0; }
.info-content h4 { font-size: 14px; font-weight: 600; color: var(--text-heading); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.info-content p, .info-content a { font-size: 16px; color: var(--text-main); text-decoration: none; margin: 0; transition: color 0.2s; }
.info-content a:hover { color: var(--color-primary); }

.social-section { margin-bottom: 96px; }
.social-section h4 { font-size: 20px; font-weight: 600; color: var(--text-heading); margin-bottom: 12px; letter-spacing: -0.01em; }
.social-section-subtext { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; padding: 10px 20px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 999px; color: var(--text-main); font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.social-pill:hover { background: var(--bg-hover); border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

/* Mentorship */
.mentorship-section { padding-top: 80px; border-top: 1px solid var(--border); }
.mentorship-header { margin-bottom: 48px; }
.mentorship-header h2 { font-size: 40px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.03em; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.plan-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 48px; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s; }
.plan-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-title { font-size: 24px; font-weight: 600; color: var(--text-heading); margin-bottom: 32px; letter-spacing: -0.02em; }
.plan-features { list-style: none; padding: 0; margin: 0 0 48px 0; }
.plan-features li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; color: var(--text-main); font-size: 15px; line-height: 1.6; }
.plan-features li svg { flex-shrink: 0; color: var(--color-primary); width: 20px; height: 20px; margin-top: 2px; }
.plan-price { font-size: 24px; font-weight: 600; color: var(--text-heading); margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.plan-price span { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.plan-btn { width: 100%; display: inline-flex; justify-content: center; align-items: center; padding: 16px; border-radius: 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: all 0.2s ease; text-decoration: none; }
.plan-btn-primary { background: var(--color-primary); color: #ffffff; border: 1px solid var(--color-primary); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); }
.plan-btn-primary:hover { background: var(--color-primary-hover); }
.plan-btn-secondary { background: #ffffff; color: var(--text-heading); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.plan-btn-secondary:hover { background: var(--bg-hover); border-color: var(--border-hover); }
.mentorship-footer { margin-top: 48px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* =========================================
   11. CTA SECTION & FOOTER
   ========================================= */
.cta-section { padding: 140px 0; border-top: 1px solid var(--border); text-align: center; }
.cta-section h2 { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; color: var(--text-heading); line-height: 1.1; margin-bottom: 12px; }
@media (min-width: 768px) { .cta-section h2 { font-size: 56px; } }
.cta-section p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

footer { border-top: 1px solid var(--border); padding: 100px 0 40px; background: var(--bg-base); }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 768px) { .footer-content { grid-template-columns: 2fr 1fr 1fr; gap: 32px; } }
.footer-brand p { color: var(--text-muted); margin-top: 24px; max-width: 320px; line-height: 1.6; font-size: 15px; }
.footer-links h5 { font-size: 14px; font-weight: 600; margin-bottom: 24px; color: var(--text-heading); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; font-size: 15px; }
.footer-links a:hover { color: var(--color-primary); }
.footer-badge { display: inline-block; margin-top: 32px; background: var(--bg-surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px; font-size: 13px; color: var(--text-muted); font-weight: 500; box-shadow: var(--shadow-sm); }
.footer-bottom { margin-top: 100px; padding-top: 32px; color: var(--text-muted); font-size: 14px; border-top: 1px solid var(--border); }
/* =========================================
   PAGE LOADER
   ========================================= */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-base); /* Changed to light theme bg */
  z-index: 9999; /* Ensures it stays on top of the navbar */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-image {
  width: 64px; /* Adjust this to make your logo bigger or smaller */
  height: auto;
  /* Adds a premium breathing/pulsing effect */
  animation: loaderPulse 1.5s infinite ease-in-out; 
}

@keyframes loaderPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

/* Utility class applied via JavaScript to fade it out */
.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
