/* ============================================================
   DEVDUO.IN — PREMIUM REDESIGN
   Dark-first, glassmorphism, glow, micro-animations
   ============================================================ */

/* ========================
   RESET & VARIABLES
   ======================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font: "Inter", sans-serif;

  /* Light Mode (Default) */
  --bg:          #f8fafc;
  --bg-alt:      #f1f5f9;
  --card:        rgba(255, 255, 255, 0.94);
  --card-solid:  #ffffff;
  --card-border: rgba(15, 23, 42, 0.09);
  --text:        #0f172a;
  --text-2:      #1e293b;
  --muted:       #475569;
  --line:        rgba(15, 23, 42, 0.09);
  --shadow:      0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.06);

  /* Brand */
  --primary:      #2563eb;
  --primary-dark: #1d4ed8;
  --accent:       #7c3aed;
  --primary-2:    #3b82f6;

  /* Gradients */
  --gradient:   linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-2: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);

  /* Glow */
  --glow:   rgba(37, 99, 235, 0.15);
  --glow-2: rgba(124, 58, 237, 0.12);
}

body.dark-mode {
  --bg:          #050816;
  --bg-alt:      #080d1f;
  --card:        rgba(255, 255, 255, 0.035);
  --card-solid:  #0d1326;
  --card-border: rgba(255, 255, 255, 0.07);
  --text:        #f1f5f9;
  --text-2:      #e2e8f0;
  --muted:       #94a3b8;
  --line:        rgba(255, 255, 255, 0.07);
  --shadow:      0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --primary:      #3b82f6;
  --primary-dark: #1d4ed8;
  --accent:       #8b5cf6;
  --primary-2:    #60a5fa;
  --gradient:   linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-2: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  --glow:        rgba(59, 130, 246, 0.4);
  --glow-2:      rgba(139, 92, 246, 0.35);
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Screen reader only helper */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus {
  position: fixed;
  left: 18px;
  top: 18px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--card-solid);
  color: var(--text);
  border-radius: 8px;
  z-index: 9999;
  box-shadow: var(--shadow-card);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ========================
   CUSTOM CURSOR
   ======================== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}

.cursor-follower {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(59, 130, 246, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-follower.expand {
  width: 60px;
  height: 60px;
  border-color: rgba(139, 92, 246, 0.55);
}

@media (hover: none), (max-width: 980px) {
  .cursor, .cursor-follower { display: none; }
}

/* ========================
   PORTFOLIO WRAPPER
   ======================== */
.portfolio {
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

/* ========================
   WHATSAPP FLOAT
   ======================== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 22px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #25d366, #1fba59);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 500;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.6);
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1360px;
  z-index: 200;
  padding: 12px 24px;
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: padding 0.3s ease, background 0.3s ease, top 0.3s ease, box-shadow 0.3s ease;
}

body:not(.dark-mode) .navbar {
  background: rgba(240, 244, 255, 0.75);
  border-color: rgba(15, 23, 42, 0.1);
}

.navbar.scrolled {
  top: 8px;
  padding: 8px 22px;
  background: rgba(5, 8, 22, 0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body:not(.dark-mode) .navbar.scrolled {
  background: rgba(240, 244, 255, 0.95);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.5);
  transition: transform 0.35s ease;
}

.logo:hover .logo-icon {
  transform: rotate(8deg) scale(1.1);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

body:not(.dark-mode) .logo-text { color: #0f172a; }

.logo-text span { color: var(--primary-2); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

body:not(.dark-mode) .nav-links { color: rgba(15, 23, 42, 0.75); }

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: #ffffff; }
body:not(.dark-mode) .nav-links a:hover { color: #0f172a; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.28s ease;
}

.nav-links a:hover::after { width: 100%; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn, .menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: all 0.25s ease;
}

body:not(.dark-mode) .theme-btn,
body:not(.dark-mode) .menu-btn {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.theme-btn:hover, .menu-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.45);
  color: #60a5fa;
  transform: translateY(-2px);
}

.menu-btn { display: none; }

/* Mobile navigation: show menu button and stacked nav when opened */
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed;
    right: 18px;
    top: 84px;
    background: var(--card);
    border-radius: 12px;
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
    display: none;
    box-shadow: var(--shadow-card);
    z-index: 1200;
    min-width: 200px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; }
}

/* Focus outlines for keyboard users */
a:focus, button:focus, input:focus, .btn:focus { outline: 3px solid rgba(96,165,250,0.18); outline-offset: 3px; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--gradient);
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.38);
  letter-spacing: 0.2px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.5);
}

.btn:hover::before { transform: translateX(120%); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
}

body:not(.dark-mode) .btn-outline {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

body:not(.dark-mode) .btn-outline:hover {
  background: rgba(59, 130, 246, 0.06);
}

/* ========================
   HERO
   ======================== */
.hero {
  min-height: 100vh;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050816 0%, #090f28 45%, #0e0523 100%);
}

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

/* Subtle grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Top-right ambient glow */
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 110px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.32);
  color: #93c5fd;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 26px;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  animation: pulseDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero heading */
.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.5px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 22px;
}

body.dark-mode .hero h1 {
  color: #ffffff;
}

.gradient-text {
  background: var(--gradient-2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientPan 4s ease-in-out infinite;
}

/* Hero paragraph */
.hero p,
.hero-subheadline {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 34px;
  max-width: 520px;
}

body.dark-mode .hero p,
body.dark-mode .hero-subheadline {
  color: rgba(255, 255, 255, 0.7);
}

.typing {
  color: var(--accent);
  font-weight: 800;
}

body.dark-mode .typing {
  color: #a78bfa;
}

/* CTA buttons */
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Hero Tech Strip */
.hero-tech-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tech-strip-label {
  font-weight: 700;
  color: var(--text);
}

.tech-strip-pills {
  color: var(--primary);
  font-weight: 600;
}

body.dark-mode .tech-strip-pills {
  color: #93c5fd;
}

/* Stats strip */
.stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.28s ease, transform 0.2s ease;
}

.stats span:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.stats i {
  color: var(--primary);
}

body.dark-mode .stats i {
  color: var(--primary-2);
}

/* ========================
   HERO VISUAL
   ======================== */
.visual {
  position: relative;
  height: 500px;
}

.hero-visual-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Glassmorphism card base */
.hv-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.hv-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 40px rgba(59, 130, 246, 0.12);
}

/* Main code card */
.hv-main {
  top: 55px;
  left: 0;
  width: 310px;
  padding: 20px 22px;
  animation: floatCard 5s ease-in-out infinite;
}

.hv-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.hv-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hv-dots span:nth-child(1) { background: #ef4444; }
.hv-dots span:nth-child(2) { background: #f59e0b; }
.hv-dots span:nth-child(3) { background: #22c55e; }

.hv-filename {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 600;
  font-family: "Courier New", monospace;
}

.hv-code {
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.9;
}

.hv-code-line { color: rgba(255, 255, 255, 0.65); }
.pl-2 { padding-left: 18px; }

.token-kw  { color: #c084fc; font-weight: 700; }
.token-var { color: #60a5fa; }
.token-str { color: #34d399; }
.token-val { color: #fbbf24; }
.token-num { color: #f87171; }

/* Stat card */
.hv-stat-card {
  top: 35px;
  right: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCard 4.5s ease-in-out infinite 0.6s;
  border-color: rgba(59, 130, 246, 0.2);
}

.hv-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.hv-stat-card strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.hv-stat-card span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

/* Tech stack card */
.hv-tech-card {
  bottom: 110px;
  left: 30px;
  padding: 16px 18px;
  animation: floatCard 6s ease-in-out infinite 1.1s;
  border-color: rgba(139, 92, 246, 0.2);
}

.hv-tech-label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.hv-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hv-tech-badges span {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Delivery card */
.hv-delivery-card {
  bottom: 50px;
  right: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 5.5s ease-in-out infinite 0.9s;
  border-color: rgba(34, 197, 94, 0.2);
}

.hv-delivery-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #22c55e, #15803d);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.hv-delivery-card strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.hv-delivery-card span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  display: block;
  margin-top: 3px;
}

/* Glow orbs */
.hv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.hv-orb1 {
  width: 220px;
  height: 220px;
  background: rgba(59, 130, 246, 0.22);
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.hv-orb2 {
  width: 160px;
  height: 160px;
  background: rgba(139, 92, 246, 0.18);
  bottom: 20%;
  right: 15%;
}

/* Animated rings */
.hv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.18);
  top: 45%;
  left: 45%;
  animation: expandRing 3.5s ease-out infinite;
  pointer-events: none;
}

.hv-ring1 {
  width: 160px;
  height: 160px;
  margin-top: -80px;
  margin-left: -80px;
}

.hv-ring2 {
  width: 160px;
  height: 160px;
  margin-top: -80px;
  margin-left: -80px;
  animation-delay: 1.75s;
}

/* ========================
   METRICS
   ======================== */
.metrics {
  padding: 40px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-alt);
}

.metric-card {
  padding: 30px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.metric-card:hover {
  transform: translateY(-7px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 24px 56px var(--glow);
}

.metric-card h3 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.metric-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* ========================
   SECTION TITLE SHARED
   ======================== */
.section-title {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px auto;
  padding: 0 16px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1.2px;
  line-height: 1.22;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.68;
}

.line {
  width: 48px;
  height: 3px;
  background: var(--gradient);
  border-radius: 999px;
  margin: 20px auto 0;
}

/* ========================
   SKILLS
   ======================== */
.skills-section {
  padding: 90px 80px;
  background: var(--bg);
}

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

.skill-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-9px);
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 28px 68px var(--glow);
}

/* Decorative corner circle */
.skill-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.06;
  transition: opacity 0.35s ease;
}

.skill-card:hover::after { opacity: 0.12; }

/* Icon wrap */
.skill-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 26px;
}

.skill-icon-wrap.blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
}

.skill-icon-wrap.green {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

.skill-icon-wrap.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.18);
}

.skill-info { flex: 1; }

.skill-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.skill-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.skill-progress { margin-top: 4px; }

.progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-top span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.progress-track {
  height: 5px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.reveal.active .progress-fill.web  { transform: scaleX(0.92); }
.reveal.active .progress-fill.auto { transform: scaleX(0.85); }
.reveal.active .progress-fill.ml   { transform: scaleX(0.78); }

/* ========================
   PROJECTS
   ======================== */
.projects-section {
  padding: 90px 80px;
  background: var(--bg-alt);
}

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

.section-top-left .label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1.2px;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.28s ease, opacity 0.28s ease;
}

.view-all:hover { gap: 12px; opacity: 0.8; }

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

.project-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 32px 80px var(--glow);
  border-color: rgba(59, 130, 246, 0.28);
}

.project-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.project-card:hover .project-img-wrap img { transform: scale(1.1); }

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 22, 0.65) 0%, transparent 55%);
  z-index: 1;
}

.project-content { padding: 22px; }

.project-content h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.project-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.result-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.result-box::before { content: "✦"; font-size: 9px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tags span {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #a78bfa;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: var(--gradient);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icons a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 24px var(--glow);
}

/* ========================
   PROCESS
   ======================== */
.process-section {
  padding: 90px 80px;
  background: var(--bg);
}

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

/* Connector line between steps */
.process-grid::before {
  content: "";
  position: absolute;
  top: 46px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4));
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
}

.process-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 28px 68px var(--glow);
}

/* Decorative gradient bottom border */
.process-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.process-card:hover::before { opacity: 1; }

.num {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  opacity: 0.65;
}

.process-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.process-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ========================
   WHY CHOOSE US
   ======================== */
.testimonials-section {
  padding: 90px 80px;
  background: var(--bg-alt);
}

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

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 28px 68px var(--glow);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: box-shadow 0.35s ease;
}

.testimonial-card:hover .card-icon-wrap { box-shadow: 0 0 30px; }

.card-icon-wrap.blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.16);
}

.card-icon-wrap.violet {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.16);
}

.card-icon-wrap.green {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.16);
}

.stars {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ========================
   CONTACT
   ======================== */
.contact-section {
  padding: 90px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--bg);
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 38px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px var(--glow);
}

.contact-box h2 {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.small-line {
  width: 44px;
  height: 3px;
  background: var(--gradient);
  border-radius: 999px;
  margin-bottom: 22px;
}

.contact-box > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 14px;
  margin: 14px 0;
  font-weight: 600;
}

.contact-line i {
  min-width: 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  color: white;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: transform 0.28s ease, border-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid var(--card-border);
  color: var(--muted);
  background: var(--card);
}

.socials a:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 10px 24px var(--glow);
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
  backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn { width: 100%; }

/* Legacy footer placeholder neutralized - see FOOTER GRID section */
footer {
  width: 100%;
}

/* ========================
   BACK TO TOP
   ======================== */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 100;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(59, 130, 246, 0.6);
}

/* ========================
   REVEAL ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid children - ensure all children activate */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.active > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.active > *:nth-child(8) { transition-delay: 0.40s; }

/* ========================
   KEYFRAME ANIMATIONS
   ======================== */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-13px); }
}

@keyframes gradientPan {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

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

@keyframes expandRing {
  0%   { transform: scale(0.75); opacity: 0.6; }
  100% { transform: scale(2.5);  opacity: 0;   }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.65); }
}

/* ========================
   RESPONSIVE — TABLET
   ======================== */
@media (max-width: 1100px) {
  .hero,
  .skills-section,
  .projects-section,
  .process-section,
  .testimonials-section,
  .contact-section,
  .metrics,
  footer {
    padding-left: 48px;
    padding-right: 48px;
  }

  .navbar { width: calc(100% - 52px); }
}

@media (max-width: 980px) {
  .hero,
  .skills-section,
  .projects-section,
  .process-section,
  .testimonials-section,
  .contact-section,
  .metrics,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .navbar { width: calc(100% - 32px); top: 10px; }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 70px;
    gap: 0;
  }

  .visual { display: none; }

  .skills-grid,
  .projects,
  .process-grid,
  .testimonial-grid,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section { grid-template-columns: 1fr; }

  /* Mobile Nav dropdown */
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 24px 28px;
    background: rgba(5, 8, 22, 0.96);
    backdrop-filter: blur(24px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
  }

  .nav-links.open { display: flex; }
  .menu-btn { display: inline-grid; }
}

/* ========================
   RESPONSIVE — MOBILE
   ======================== */
@media (max-width: 620px) {
  .hero {
    padding: 0 20px;
  }

  .hero-grid {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .navbar {
    width: calc(100% - 24px);
    top: 8px;
    padding: 10px 16px;
  }

  .nav-cta { display: none; }

  .skills-section,
  .projects-section,
  .process-section,
  .testimonials-section,
  .pricing-section,
  .blog-section,
  .contact-section {
    padding: 64px 20px;
  }

  .metrics {
    padding: 40px 20px;
  }

  .skills-grid,
  .projects,
  .process-grid,
  .testimonial-grid,
  .pricing-grid,
  .blog-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .section-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .process-grid::before { display: none; }

  .contact-box { padding: 28px 22px; }
}

/* Project card filter animation classes */
.project-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, scale 0.4s ease;
}

.project-card.hide {
  opacity: 0;
  transform: scale(0.8) translateY(15px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

body:not(.dark-mode) .filter-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--muted);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--glow);
  transform: translateY(-2px);
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(10, 18, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(34, 197, 94, 0.15);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.dark-mode) .toast {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 0 24px rgba(34, 197, 94, 0.08);
}

.toast.show {
  transform: translateX(0);
}

.toast i {
  font-size: 24px;
  color: #22c55e;
}

.toast-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.toast-content strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.toast-content span {
  color: var(--muted);
  font-size: 12px;
}

/* Loading state for form submit button */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: var(--gradient);
  z-index: 10000;
  width: 0%;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
  pointer-events: none;
}

/* Hero Visual Terminal */
.terminal-card {
  display: flex;
  flex-direction: column;
  height: 320px;
  width: 380px !important;
  font-family: 'Courier New', Courier, monospace;
}
.terminal-body {
  flex: 1;
  background: rgba(5, 8, 20, 0.72);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  overflow: hidden;
  text-align: left;
}
.terminal-output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: none;
}
.terminal-output::-webkit-scrollbar { display: none; }
.terminal-line {
  line-height: 1.4;
  word-break: break-all;
}
.terminal-line.command-entered {
  color: #3b82f6;
  font-weight: 700;
}
.terminal-line.output-text {
  color: #f1f5f9;
}
.terminal-line.error-text {
  color: #ef4444;
}
.terminal-line.success-text {
  color: #22c55e;
}
.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}
.terminal-prompt {
  color: #8b5cf6;
  font-weight: 800;
  user-select: none;
}
#terminalInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #34d399;
  font-family: inherit;
  font-size: 13px;
}

/* GitHub Graph Section */
.github-dashboard {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.github-graph-wrap {
  width: 100%;
  max-width: 820px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.github-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
}
.github-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.pulse-dot-green {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulseDot 1.4s infinite;
}
.github-grid-days {
  display: grid;
  grid-template-columns: repeat(26, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 4.5px;
  aspect-ratio: 26/7;
  margin-bottom: 14px;
}
.github-grid-days span {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease;
}
body:not(.dark-mode) .github-grid-days span {
  background: rgba(15, 23, 42, 0.03);
}
.github-grid-days span:hover {
  transform: scale(1.2);
  z-index: 10;
}
/* Contribution levels color coding */
.github-grid-days span.lvl-0 { background: rgba(255, 255, 255, 0.03); }
body:not(.dark-mode) .github-grid-days span.lvl-0 { background: rgba(15, 23, 42, 0.03); }
.github-grid-days span.lvl-1 { background: #0e4429; }
.github-grid-days span.lvl-2 { background: #006d32; }
.github-grid-days span.lvl-3 { background: #26a641; }
.github-grid-days span.lvl-4 { background: #39d353; }

/* Custom Tooltip on Hover for GitHub Grid */
.github-grid-days span::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}
.github-grid-days span:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.github-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.github-key {
  display: flex;
  gap: 3px;
}
.github-key span {
  width: 10px;
  height: 10px;
  border-radius: 1.5px;
}
.github-key span.lvl-0 { background: rgba(255,255,255,0.06); }
body:not(.dark-mode) .github-key span.lvl-0 { background: rgba(15,23,42,0.06); }
.github-key span.lvl-1 { background: #0e4429; }
.github-key span.lvl-2 { background: #006d32; }
.github-key span.lvl-3 { background: #26a641; }
.github-key span.lvl-4 { background: #39d353; }

/* Estimator Section */
.calc-container {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.calc-options {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-group h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  text-align: left;
}
.calc-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-pill {
  position: relative;
  cursor: pointer;
}
.calc-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.calc-pill span {
  display: block;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.calc-pill:hover span {
  border-color: rgba(59, 130, 246, 0.3);
}
.calc-pill.active span {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--glow);
}

.calc-grid-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.calc-checkbox {
  position: relative;
  cursor: pointer;
}
.calc-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
  text-align: left;
}
.checkbox-box i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}
.checkbox-box strong {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
}
.checkbox-box span {
  color: var(--muted);
  font-size: 11px;
}
.calc-checkbox:hover .checkbox-box {
  border-color: rgba(59, 130, 246, 0.3);
}
.calc-checkbox input:checked + .checkbox-box {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.04);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.08);
}
.calc-checkbox input:checked + .checkbox-box i {
  transform: scale(1.15);
}

/* Switch styling for priority */
.calc-switch-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  width: fit-content;
}
.calc-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.calc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-round {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--line);
  transition: .3s;
  border-radius: 34px;
}
.slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  transition: .3s;
  border-radius: 50%;
}
.calc-switch input:checked + .slider-round {
  background: var(--gradient);
}
.calc-switch input:checked + .slider-round:before {
  transform: translateX(22px);
}

/* Summary Card styling */
.summary-card {
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
  text-align: left;
}
.summary-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.4px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  margin: 12px 0;
  font-weight: 600;
}
.summary-line span {
  font-weight: 500;
}
.summary-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.summary-total span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}
.summary-total strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-2);
  line-height: 1;
}
.summary-timeline {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.summary-timeline strong {
  color: var(--text);
}
.calc-cta {
  width: 100%;
}

/* Testimonials Slider */
.testimonials-slider-container {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto 24px;
}
.testimonials-slider-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
}
.testimonials-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonials-slider .testimonial-card {
  min-width: 100%;
  box-shadow: none;
  border: 1px solid var(--card-border);
  transform: none !important;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  text-align: left;
}
.testimonials-slider .testimonial-card.active {
  opacity: 1;
}
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.slider-btn:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dots .dot.active {
  width: 24px;
  background: var(--primary);
  border-radius: 999px;
}
.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--card-border);
}
.client-meta h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.client-meta span {
  font-size: 11px;
  color: var(--muted);
}

/* FAQs Accordions */
.faq-accordion-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}
.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.28);
}
.faq-item.active {
  box-shadow: var(--shadow-card);
  border-color: rgba(59, 130, 246, 0.25);
}
.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-trigger:hover {
  color: var(--primary-2);
}
.faq-trigger i {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-trigger i {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), padding 0.38s ease;
  padding: 0 24px;
}
.faq-item.active .faq-content {
  max-height: 180px; /* arbitrary max height */
  padding-bottom: 20px;
}
.faq-content p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* Spotlight overlay */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.spotlight-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.spotlight-box {
  width: 90%;
  max-width: 580px;
  background: rgba(13, 20, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
body:not(.dark-mode) .spotlight-box {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.15), 0 0 30px rgba(59, 130, 246, 0.06);
}
.spotlight-overlay.show .spotlight-box {
  transform: translateY(0) scale(1);
}
.spotlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body:not(.dark-mode) .spotlight-header {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}
.spotlight-header i {
  font-size: 16px;
  color: var(--muted);
}
#commandSearch {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}
.spotlight-header kbd {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}
body:not(.dark-mode) .spotlight-header kbd {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
}
.spotlight-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spotlight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.spotlight-item i {
  margin-right: 12px;
  font-size: 15px;
  color: var(--muted);
}
.spotlight-item-left {
  display: flex;
  align-items: center;
}
.spotlight-item span.shortcut {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
}
.spotlight-item:hover,
.spotlight-item.selected {
  background: var(--gradient);
  color: #fff;
}
.spotlight-item:hover i,
.spotlight-item.selected i,
.spotlight-item:hover span.shortcut,
.spotlight-item.selected span.shortcut {
  color: #fff;
}
.spotlight-footer {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  color: var(--muted);
  text-align: left;
}
body:not(.dark-mode) .spotlight-footer {
  background: rgba(15, 23, 42, 0.02);
  border-top-color: rgba(15, 23, 42, 0.05);
}
.spotlight-footer kbd {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9px;
}
body:not(.dark-mode) .spotlight-footer kbd {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

/* Project Modal overlay */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.project-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.project-modal-box {
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  background: rgba(13, 20, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow-y: auto;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: none;
  text-align: left;
}
.project-modal-box::-webkit-scrollbar { display: none; }

body:not(.dark-mode) .project-modal-box {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
}
.project-modal-overlay.show .project-modal-box {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 30;
  transition: all 0.2s ease;
}
body:not(.dark-mode) .modal-close {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.05);
}
.modal-close:hover {
  background: #ef4444;
  border-color: transparent;
  color: #fff;
  transform: rotate(90deg);
}
.project-modal-body {
  padding: 34px;
}
.pm-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 24px;
}
.pm-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
.pm-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pm-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.pm-subheading {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.pm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-left: 18px;
}
.pm-list li {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.pm-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Responsive fixes for new features */
@media (max-width: 980px) {
  .calc-container {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .summary-card {
    position: relative;
    top: 0;
  }
  .github-grid-days {
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(14, 1fr);
    aspect-ratio: 13/14;
  }
}

@media (max-width: 620px) {
  .calc-grid-features {
    grid-template-columns: 1fr;
  }
  .spotlight-box {
    margin-top: 20px;
  }
  .project-modal-body {
    padding: 24px 18px;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: #050816;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loader-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.loader-text span {
  color: #a855f7;
}

/* ============================================================
   NAV CALENDLY BUTTON
   ============================================================ */
.nav-calendly-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: #6d28d9;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-calendly-btn:hover {
  background: #6d28d9;
  color: #ffffff;
  border-color: #6d28d9;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.35);
  transform: translateY(-2px);
}

body.dark-mode .nav-calendly-btn {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

body.dark-mode .nav-calendly-btn:hover {
  background: #a855f7;
  color: #ffffff;
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

@media (max-width: 600px) {
  .nav-calendly-btn span {
    display: none;
  }
  .nav-calendly-btn {
    padding: 8px 12px;
  }
}

/* ============================================================
   MARQUEE LOGOS STRIP
   ============================================================ */
.marquee-section {
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.marquee-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 24px;
}
.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeLoop 25s linear infinite;
}
@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.marquee-item i {
  font-size: 18px;
}

/* ============================================================
   PRICING TIERS
   ============================================================ */
.pricing-section {
  padding: 72px 28px;
  background: var(--bg-alt);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 50px var(--glow);
}
.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, var(--card) 100%);
  box-shadow: 0 12px 36px var(--glow);
}
.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.pricing-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
body.dark-mode .pricing-badge {
  color: var(--primary-2);
}
.pricing-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.pricing-card .price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.pricing-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.pricing-features li i {
  color: #22c55e;
  font-size: 12px;
  flex-shrink: 0;
}
.pricing-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 12.5px;
  color: var(--muted);
}
.pricing-card .btn,
.pricing-card .btn-outline {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.blog-section {
  padding: 100px 5%;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.blog-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img {
  transform: scale(1.06);
}
.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 8, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}
.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 12px;
}
.blog-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-link {
  font-size: 14px;
  font-weight: 700;
  color: #c084fc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}
.blog-link:hover {
  gap: 12px;
}

/* ============================================================
   COPYABLE CONTACT LINES
   ============================================================ */
.contact-line.copyable {
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  padding: 6px 10px;
  border-radius: 8px;
  margin: -6px -10px;
}
.contact-line.copyable:hover {
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
}
.contact-line .copy-icon {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-line.copyable:hover .copy-icon {
  opacity: 1;
  transform: scale(1.15);
  color: #c084fc;
}

/* ============================================================
   FAQ SEARCH BAR
   ============================================================ */
.faq-search-wrap {
  position: relative;
  max-width: 540px;
  margin: 0 auto 40px auto;
}
.faq-search-wrap i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
}
.faq-search-wrap input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  backdrop-filter: blur(12px);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-search-wrap input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  max-width: 440px;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.cookie-content i {
  font-size: 20px;
  color: #f59e0b;
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}


/* ============================================================
   DEVDUOLABS PRODUCTION CSS v10
   Modern Software & Automation Agency
   ============================================================ */

/* SECTION SHARED CONTAINER */
.services-section,
.ai-solutions-section,
.projects-section,
.process-section,
.calculator-section,
.pricing-section,
.trust-section,
.about-section,
.faq-section,
.contact-section {
  padding: 72px 28px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* 1. CUSTOMER-FOCUSED SOFTWARE SERVICES (#services) - ALL 5 IN ONE LINE */
.services-section {
  background: var(--bg);
  padding: 72px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
  box-sizing: border-box;
}

.services-grid .service-card {
  grid-column: auto !important;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  min-width: 0;
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--glow);
  border-color: rgba(59, 130, 246, 0.4);
}

.service-card.highlight {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--card) 100%);
}

.service-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
  transform: translateZ(22px);
  transition: transform 0.25s ease;
}

.service-icon-wrap.blue   { background: rgba(59, 130, 246, 0.12); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.25); }
.service-icon-wrap.violet { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.25); }
.service-icon-wrap.green  { background: rgba(34, 197, 94, 0.12); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.25); }
.service-icon-wrap.amber  { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.25); }
.service-icon-wrap.rose   { background: rgba(244, 63, 94, 0.12); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.25); }

.service-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  min-height: 40px;
  display: flex;
  align-items: center;
  line-height: 1.25;
  transform: translateZ(16px);
}

.service-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 52px;
  transform: translateZ(10px);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  padding: 0;
  flex-grow: 1;
  transform: translateZ(10px);
}

.service-features li {
  font-size: 11px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
  word-break: break-word;
}

.service-features li i {
  color: #22c55e;
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
  margin-top: auto;
  text-decoration: none;
  padding-top: 6px;
  white-space: nowrap;
  transform: translateZ(20px);
}

.service-cta:hover {
  gap: 10px;
  color: var(--primary-dark);
}

body.dark-mode .service-cta {
  color: var(--primary-2);
}

body.dark-mode .service-cta:hover {
  color: #ffffff;
}

/* 2. AI & AUTOMATION SECTION (#solutions) */
.ai-solutions-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-visual-container {
  max-width: 1200px;
  margin: 0 auto 56px auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.workflow-visual-title {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 30px;
}

body.dark-mode .workflow-visual-title {
  color: var(--primary-2);
}

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wf-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .wf-step {
  background: rgba(15, 23, 42, 0.5);
}

.wf-step:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.wf-step.highlight {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.15));
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15);
}

.wf-step-num {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  opacity: 0.7;
}

.wf-icon {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary);
}

body.dark-mode .wf-icon {
  color: var(--primary-2);
}

.wf-step.highlight .wf-icon {
  color: #8b5cf6;
}

body.dark-mode .wf-step.highlight .wf-icon {
  color: #c084fc;
}

.wf-step strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.wf-step span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.wf-arrow {
  color: var(--muted);
  font-size: 16px;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

.auto-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.auto-item:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.35);
}

.auto-item i {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
}

.auto-icon-wa   { color: #25d366; }
.auto-icon-sup  { color: #3b82f6; }
.auto-icon-lead { color: #f59e0b; }
.auto-icon-ig   { color: #e1306c; }
.auto-icon-flow { color: #8b5cf6; }
.auto-icon-doc  { color: #0284c7; }
.auto-icon-api  { color: #10b981; }
.auto-icon-biz  { color: #ec4899; }

body.dark-mode .auto-icon-sup { color: #60a5fa; }
body.dark-mode .auto-icon-flow { color: #a855f7; }
body.dark-mode .auto-icon-doc { color: #38bdf8; }

.auto-item h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.auto-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.ai-cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

body.dark-mode .ai-cta-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(139, 92, 246, 0.18));
  border-color: rgba(139, 92, 246, 0.35);
}

.ai-cta-banner h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.ai-cta-banner p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

.ai-cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* 3. FEATURED PROJECTS (#projects) - IDENTICAL UNIFORM CARDS */
.projects-section {
  background: var(--bg);
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 460px;
  height: auto;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
  transform-style: preserve-3d;
}

.project-card-featured:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 24px 60px var(--glow);
}

.pcf-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.pcf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card-featured:hover .pcf-img {
  transform: scale(1.05);
}

.pcf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.1) 0%, rgba(5, 8, 22, 0.6) 100%);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  z-index: 2;
}

.pcf-badge {
  background: rgba(5, 8, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #60a5fa;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  transform: translateZ(24px);
}

.pcf-details {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  transform-style: preserve-3d;
}

.pcf-stack {
  font-size: 12px;
  font-weight: 700;
  color: #8b5cf6;
  margin-bottom: 8px;
  transform: translateZ(12px);
}

body.dark-mode .pcf-stack {
  color: #a78bfa;
}

.pcf-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  min-height: 52px;
  display: flex;
  align-items: center;
  transform: translateZ(16px);
}

.pcf-block {
  margin-bottom: 10px;
  transform: translateZ(10px);
}

.pcf-block strong {
  display: block;
  font-size: 11.5px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

body.dark-mode .pcf-block strong {
  color: var(--primary-2);
}

.pcf-block p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.pcf-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 14px 0 20px 0;
  transform: translateZ(12px);
}

.pcf-features-list span {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 7px;
}

.pcf-features-list span i {
  color: #22c55e;
  font-size: 11px;
}

.pcf-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  transform: translateZ(20px);
}

.projects-bottom-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-sm {
  padding: 10px 20px !important;
  font-size: 13px !important;
}

/* 4. HOW WE WORK (5-STEP METHODOLOGY) (#process) */
.process-section {
  background: var(--bg-alt);
  padding: 72px 28px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.process-step-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px 18px;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-width: 0;
  transform-style: preserve-3d;
}

.process-step-item:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

.ps-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 6px;
  line-height: 1;
  transform: translateZ(16px);
}

body.dark-mode .ps-number {
  color: var(--primary-2);
  opacity: 0.35;
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  transform: translateZ(14px);
}

.ps-header i {
  font-size: 15px;
  color: var(--primary);
}

body.dark-mode .ps-header i {
  color: var(--primary-2);
}

.ps-header h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}

.process-step-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  transform: translateZ(10px);
}

/* 5. FOOTER MULTI-COLUMN GRID (footer) */
footer {
  display: block !important;
  width: 100%;
  background: #030612 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 70px 32px 36px 32px !important;
  color: rgba(255, 255, 255, 0.75) !important;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  align-items: start;
}

.brand-col .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.brand-col .logo-text {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.brand-col .logo-text span {
  color: #60a5fa;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.footer-location {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.legal-btn:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* 6. TRUST, ABOUT, FAQS, CONTACT & ESTIMATOR */
.trust-section {
  background: var(--bg);
  padding: 72px 32px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 40px var(--glow);
}

.tc-icon {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 14px;
  transform: translateZ(18px);
}

body.dark-mode .tc-icon {
  color: var(--primary-2);
}

.trust-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  transform: translateZ(14px);
}

.trust-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  transform: translateZ(10px);
}

.real-requirements-banner {
  max-width: 1200px;
  margin: 32px auto 0 auto;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
}

.rrb-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

body.dark-mode .rrb-icon {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.2);
}

.rrb-content h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}

.rrb-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.about-section {
  background: var(--bg-alt);
  padding: 72px 32px;
}
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.about-content h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; color: var(--text); margin-bottom: 18px; line-height: 1.2; }
.about-content p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.ah-item { display: flex; align-items: center; gap: 12px; }
.ah-item i { font-size: 20px; color: var(--primary); flex-shrink: 0; }
body.dark-mode .ah-item i { color: var(--primary-2); }
.ah-item strong { display: block; font-size: 13px; color: var(--text); }
.ah-item span { font-size: 11px; color: var(--muted); }
.team-cards-wrap { display: flex; flex-direction: column; gap: 20px; }
.team-member-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.team-member-card:hover { transform: translateY(-4px); }
.tm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.team-member-card h4 { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.tm-role { display: block; font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
body.dark-mode .tm-role { color: var(--primary-2); }
.team-member-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.tm-contact a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tm-contact a:hover { color: var(--primary); }

.calculator-section { background: var(--bg); }
.calc-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
.calc-options { background: var(--card); border: 1px solid var(--card-border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-card); }
.calc-group { margin-bottom: 26px; }
.calc-group h3 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.calc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-pill {
  cursor: pointer;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.2s ease;
}
body.dark-mode .calc-pill { background: rgba(255, 255, 255, 0.05); }
.calc-pill.active, .calc-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.calc-pill input { display: none; }
.calc-grid-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-checkbox { cursor: pointer; }
.calc-checkbox input { display: none; }
.checkbox-box {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
body.dark-mode .checkbox-box { background: rgba(255, 255, 255, 0.03); }
.calc-checkbox input:checked + .checkbox-box {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}
.checkbox-box i { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.checkbox-box strong { font-size: 13px; color: var(--text); }
.checkbox-box span { font-size: 11px; color: var(--muted); }
.calc-summary {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}
.calc-result-box { text-align: center; padding: 24px; background: rgba(59, 130, 246, 0.06); border-radius: 20px; border: 1px solid rgba(59, 130, 246, 0.15); margin-bottom: 24px; }
.calc-price { font-size: 38px; font-weight: 900; color: var(--text); }
.calc-time { font-size: 14px; color: var(--muted); margin-top: 4px; }



.faq-section { background: var(--bg); }
.faq-accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); }
.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-trigger i { font-size: 14px; color: var(--primary); transition: transform 0.3s ease; }
.faq-item.active .faq-trigger i { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease; padding: 0 24px; }
.faq-item.active .faq-content { padding: 0 24px 20px 24px; }
.faq-content p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

.contact-section { background: var(--bg-alt); }
.contact-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; text-align: left; margin-bottom: 16px; }
.form-group label { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.wa-direct-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  margin: 20px 0;
  color: var(--text);
  border: 1px solid #25d366;
  background: rgba(37, 211, 102, 0.08);
  transition: all 0.25s ease;
}

.wa-direct-cta:hover {
  background: rgba(37, 211, 102, 0.18);
  transform: translateY(-2px);
}

.contact-line.copyable {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  margin-left: -12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-line.copyable:hover {
  background: rgba(59, 130, 246, 0.08);
  transform: translateX(4px);
}

.copy-icon {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.6;
}

/* 7. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .services-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .ai-solutions-section,
  .projects-section,
  .process-section,
  .calculator-section,
  .pricing-section,
  .trust-section,
  .about-section,
  .faq-section,
  .contact-section,
  footer {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .navbar { width: calc(100% - 48px); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 110px; gap: 40px; }
  .visual { display: none; }
  
  /* Services: 2 columns on tablet, 5th card centered across both */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4) {
    grid-column: auto;
  }
  .services-grid .service-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 580px;
    justify-self: center;
    width: 100%;
  }

  .automation-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { flex-direction: column; gap: 16px; }
  .wf-arrow { transform: rotate(90deg); }
  .project-card-featured { grid-template-columns: 1fr; }
  .pcf-media { min-height: 260px; height: 260px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline .process-step-item:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 580px;
    justify-self: center;
    width: 100%;
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-container { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .calc-container { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .ai-cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .services-section,
  .ai-solutions-section,
  .projects-section,
  .process-section,
  .calculator-section,
  .pricing-section,
  .trust-section,
  .about-section,
  .faq-section,
  .contact-section,
  footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
  .navbar { width: calc(100% - 24px); top: 8px; }
  
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
    max-width: 100%;
  }

  .automation-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .pcf-features-list { grid-template-columns: 1fr; }
  .calc-grid-features { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ai-cta-buttons { flex-direction: column; width: 100%; }
  .ai-cta-buttons .btn { width: 100%; }
}

/* ============================================================
   3D PERSPECTIVE, TILT & SPECULAR GLARE
   ============================================================ */
.service-card,
.project-card-featured,
.auto-item,
.trust-card,
.team-member-card,
.pricing-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after,
.project-card-featured::after,
.auto-item::after,
.trust-card::after,
.team-member-card::after,
.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 260px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.16), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
  z-index: 5;
}

body:not(.dark-mode) .service-card::after,
body:not(.dark-mode) .project-card-featured::after,
body:not(.dark-mode) .auto-item::after,
body:not(.dark-mode) .trust-card::after,
body:not(.dark-mode) .team-member-card::after,
body:not(.dark-mode) .pricing-card::after {
  background: radial-gradient(circle 260px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(59, 130, 246, 0.18), transparent 70%);
}

.service-card:hover::after,
.project-card-featured:hover::after,
.auto-item:hover::after,
.trust-card:hover::after,
.team-member-card:hover::after,
.pricing-card:hover::after {
  opacity: 1;
}

/* 3D FLOATING HERO BADGES */
@keyframes float3D-1 {
  0%, 100% { transform: translateY(0px) rotate3d(1, 1, 0, 0deg); }
  50% { transform: translateY(-8px) rotate3d(1, 1, 0, 2.5deg); }
}

@keyframes float3D-2 {
  0%, 100% { transform: translateY(0px) rotate3d(1, -1, 0, 0deg); }
  50% { transform: translateY(-10px) rotate3d(1, -1, 0, -3deg); }
}

.hv-stat-card {
  animation: float3D-1 6s ease-in-out infinite;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), 0 0 20px rgba(59, 130, 246, 0.2);
}

.hv-delivery-card {
  animation: float3D-2 7s ease-in-out infinite 1s;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), 0 0 20px rgba(139, 92, 246, 0.2);
}

/* 3D WORKFLOW SCANNER PULSE */
.wf-step {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.wf-step.scan-active {
  transform: translateY(-8px) scale(1.03);
  border-color: #60a5fa !important;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35), 0 0 18px rgba(96, 165, 250, 0.4) !important;
}

.wf-step.scan-active .wf-icon {
  transform: scale(1.18);
  transition: transform 0.3s ease;
}

/* TACTILE 3D BUTTONS */
.btn {
  transform: translateZ(0);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: translateY(2px) scale(0.98);
}

