/* ==========================================================================
   CSS DESIGN SYSTEM & PREMIUM TOKENS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Modern Deep Space Dark Mode */
  --bg-dark: #060911;
  --bg-card: rgba(13, 20, 38, 0.45);
  --bg-card-hover: rgba(18, 28, 52, 0.6);
  --border-color: rgba(37, 99, 235, 0.12);
  --border-color-hover: rgba(37, 99, 235, 0.3);
  
  --primary: #2563eb;          /* Electric Blue */
  --primary-glow: rgba(37, 99, 235, 0.2);
  --secondary: #6366f1;        /* Indigo */
  --secondary-glow: rgba(99, 102, 241, 0.15);
  --success: #10b981;          /* Emerald */
  --success-glow: rgba(16, 185, 129, 0.15);
  --danger: #ef4444;           /* Coral/Red */
  --danger-glow: rgba(239, 68, 68, 0.15);
  
  --text-primary: #f1f5f9;     /* Cloud White */
  --text-secondary: #94a3b8;   /* Slate/Gray */
  --text-muted: #64748b;       /* Muted Steel */
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
}

@media (max-width: 768px) {
  .glass-card {
    padding: 24px;
    border-radius: var(--border-radius-md);
  }
}

.pre-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pre-title::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.accent-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   AMBIENT BACKGROUND GLOW ORBS
   ========================================================================== */
.bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  animation: floatOrb 30s infinite alternate ease-in-out;
}

.orb-1 {
  top: 5%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
}

.orb-2 {
  top: 40%;
  left: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 80%);
  animation-delay: -7s;
}

.orb-3 {
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--success) 0%, transparent 80%);
  animation-delay: -15s;
  opacity: 0.08;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-50px, 30px) scale(0.95); }
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 9, 17, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  transition: var(--transition-smooth);
}

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

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-smooth);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-links.open {
    right: 0;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 950px;
  background: linear-gradient(135deg, var(--text-primary) 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 650px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   FLAGSHIP PROJECTS SECTION
   ========================================================================== */
.projects-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
}

.project-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Curby AI Project Showcase Box */
.curby-showcase-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.project-details-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.project-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.project-logo-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0;
}

.project-tagline {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.project-desc-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.project-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 16px;
  text-align: center;
}

.project-stat-val {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.project-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.tech-tag-accent {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE MOBILE PHONE SIMULATOR
   ========================================================================== */
.phone-simulator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-shell {
  width: 320px;
  height: 600px;
  background: #000;
  border: 10px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-speaker-bar {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background: #111;
  border-radius: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-camera-dot {
  width: 6px;
  height: 6px;
  background: #1e293b;
  border-radius: 50%;
}

.phone-screen {
  flex: 1;
  margin-top: 14px;
  background: #f8f9ff;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  justify-content: space-between;
  color: #1a1a3e; /* Darker text inside simulated app screen */
}

/* Simulated App Details */
.app-header {
  text-align: center;
  margin-bottom: 8px;
}

.app-brand {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.5px;
  color: #1a1a3e;
}

.app-brand span {
  color: var(--primary);
}

.app-subtitle {
  font-size: 9px;
  color: var(--text-muted);
}

.app-viewport {
  flex: 1;
  background: #fff;
  border: 1px dashed rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  text-align: center;
}

.app-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  opacity: 0;
  pointer-events: none;
}

/* Camera scan animation trigger */
.phone-shell.scanning .app-scan-line {
  animation: cameraSweep 1.2s infinite ease-in-out;
  opacity: 1;
}

@keyframes cameraSweep {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.app-viewport-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.app-viewport-title {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a3e;
}

.app-viewport-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.app-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a3e;
  margin: 12px 0 6px 0;
  text-align: left;
  width: 100%;
}

.app-presets-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.app-preset-btn {
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.app-preset-btn:hover {
  background: rgba(37, 99, 235, 0.08);
}

.app-preset-btn.selected {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary);
}

.preset-title-text {
  font-size: 10px;
  font-weight: 700;
  color: #1a1a3e;
}

.preset-desc {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 2px;
}

.app-actions-wrap {
  margin-top: 12px;
  width: 100%;
}

.app-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.app-btn:hover {
  opacity: 0.9;
}

/* App Verdict Overlay Screen */
.app-verdict-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8f9ff;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 16px;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.app-verdict-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.verdict-header {
  font-size: 18px;
  font-weight: 850;
  text-align: center;
}

.verdict-box {
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  border: 1px solid;
  margin-top: 10px;
}

.verdict-box.ok {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--success);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.verdict-box.no {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--danger);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.verdict-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.verdict-box.ok .verdict-title { color: var(--success); }
.verdict-box.no .verdict-title { color: var(--danger); }

.verdict-reason {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.verdict-details {
  margin-top: 15px;
  text-align: left;
  flex: 1;
}

.verdict-detail-row {
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.verdict-detail-label {
  color: var(--text-muted);
}

.verdict-detail-value {
  font-weight: 600;
  color: #1a1a3e;
  max-width: 140px;
  text-align: right;
}

.verdict-action-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 11px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 8px;
}

.verdict-dismiss-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  padding: 8px;
  font-size: 10px;
  width: 100%;
  cursor: pointer;
}

/* App Countdown Timer Screen */
.app-timer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8f9ff;
  z-index: 6;
  display: flex;
  flex-direction: column;
  padding: 16px;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.app-timer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.timer-circle-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 30px 0;
}

.timer-svg {
  width: 160px;
  height: 160px;
  transform: rotate(-90deg);
}

.timer-circle-bg {
  fill: none;
  stroke: rgba(37, 99, 235, 0.08);
  stroke-width: 8;
}

.timer-circle-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 477.5;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s linear;
}

.timer-text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.timer-mins-value {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a3e;
  line-height: 1;
}

.timer-secs-value {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.timer-info-descr {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  max-width: 220px;
  line-height: 1.4;
}

/* ==========================================================================
   KDC DESIGNS CURRENT WORK SHOWCASE
   ========================================================================== */
.kdc-showcase-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: flex-start;
}

.kdc-intro-card {
  display: flex;
  flex-direction: column;
}

.kdc-subheading {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 600;
}

.kdc-intro-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.kdc-award-badge {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.kdc-award-icon {
  font-size: 32px;
}

.kdc-award-text h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.kdc-award-text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

/* Case Studies Accordion Grid */
.kdc-projects-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-study-accordion {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.case-study-accordion:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.case-study-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
}

.case-study-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-meta-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
}

.case-study-headline {
  font-size: 18px;
  font-weight: 700;
}

.case-study-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition-smooth);
}

.case-study-accordion.open .case-study-icon {
  transform: rotate(180deg);
  background: var(--primary);
}

.case-study-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 24px;
}

.case-study-accordion.open .case-study-content {
  max-height: 400px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 20px;
}

.case-study-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.case-study-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.case-study-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.case-study-bullets li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

@media (max-width: 900px) {
  .curby-showcase-split,
  .kdc-showcase-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .phone-simulator-container {
    margin-top: 20px;
  }
}

/* ==========================================================================
   SUMMARIZED VISIBLE RESUME SECTION
   ========================================================================== */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Work Experience Timeline */
.timeline-wrap {
  position: relative;
  padding-left: 32px;
  margin-top: 20px;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(37, 99, 235, 0.15);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -41px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 4px solid var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  background: var(--primary);
}

.timeline-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.role-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.role-title span {
  color: var(--primary);
}

.role-company {
  color: var(--text-secondary);
  font-weight: 500;
}

.role-duration {
  font-size: 13px;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
  color: #60a5fa;
  letter-spacing: 0.5px;
}

.role-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.role-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.role-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.role-highlights li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
}

/* Skills Categories Grid */
.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.skills-category-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
  padding: 24px;
}

.skills-category-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

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

.skills-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   MINIMALIST INQUIRY / CONTACT SECTION
   ========================================================================== */
.contact-flex {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-lead {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 30px;
}

/* Minimal Line-Input Form */
.contact-form-col {
  position: relative;
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-field-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-field-wrap input,
.input-field-wrap select,
.input-field-wrap textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-smooth);
  width: 100%;
}

.input-field-wrap select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.input-field-wrap input:focus,
.input-field-wrap select:focus,
.input-field-wrap textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.input-field-wrap label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-smooth);
}

/* Float Label effect */
.input-field-wrap input:focus ~ label,
.input-field-wrap input:not(:placeholder-shown) ~ label,
.input-field-wrap textarea:focus ~ label,
.input-field-wrap textarea:not(:placeholder-shown) ~ label {
  top: -12px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Custom dropdown caret */
.input-field-wrap.select-wrap::after {
  content: '↓';
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--text-secondary);
  pointer-events: none;
}

.input-field-wrap select:focus ~ label,
.input-field-wrap select:valid ~ label {
  top: -12px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.form-error-msg {
  font-size: 11px;
  color: var(--danger);
  margin-top: 4px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.input-field-wrap.invalid .form-error-msg {
  opacity: 1;
}

.input-field-wrap.invalid input {
  border-bottom-color: var(--danger);
}

.submit-btn-wrap {
  margin-top: 10px;
}

.form-submit-btn {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
  transition: var(--transition-smooth);
  width: 100%;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.success-indicator-screen {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--success);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.success-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-heading {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.success-body {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contact-flex {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 0;
  background: #04060b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-right {
  text-align: right;
}

.footer-right .credentials {
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-right {
    text-align: center;
  }
}

/* ==========================================================================
   SCROLL DRIVEN ANIMATIONS (Native Reveal Effects)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
    }
    
    .scroll-reveal {
      animation: revealUp auto linear backwards;
      animation-timeline: view();
      animation-range: entry 5% entry 40%;
    }
  }
}
