/* ============================================================
   MAIN CSS — UMESH PARDESHI PORTFOLIO
   Global Design System, Variables, Typography, Layout
   ============================================================ */

/* ── Google Fonts loaded asynchronously in HTML head for non-blocking render ── */

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-bg:           #050510;
  --color-bg-2:         #080820;
  --color-bg-card:      rgba(255,255,255,0.035);
  --color-bg-card-hover:rgba(255,255,255,0.065);
  --color-border:       rgba(255,255,255,0.08);
  --color-border-hover: rgba(99,102,241,0.4);

  --color-primary:      #6366f1;
  --color-primary-light:#818cf8;
  --color-secondary:    #8b5cf6;
  --color-accent:       #06b6d4;
  --color-accent-2:     #22d3ee;
  --color-pink:         #ec4899;
  --color-green:        #10b981;
  --color-yellow:       #f59e0b;
  --color-orange:       #f97316;

  --color-text-primary: #f8fafc;
  --color-text-secondary:#94a3b8;
  --color-text-muted:   #64748b;
  --color-text-inverse: #0f172a;

  /* Gradients */
  --gradient-primary:   linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-hero:      linear-gradient(135deg, #050510 0%, #0a0a25 50%, #050518 100%);
  --gradient-card:      linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.05) 100%);
  --gradient-text:      linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  --gradient-glow:      radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 70%);

  /* Glass Effect */
  --glass-bg:           rgba(255,255,255,0.04);
  --glass-border:       rgba(255,255,255,0.08);
  --glass-blur:         20px;
  --glass-shadow:       0 8px 32px rgba(0,0,0,0.4);

  /* Typography */
  --font-primary:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:       'Space Grotesk', sans-serif;
  --font-mono:          'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes (fluid) */
  --text-xs:    clamp(0.65rem, 1vw, 0.75rem);
  --text-sm:    clamp(0.8rem, 1.2vw, 0.875rem);
  --text-base:  clamp(0.9rem, 1.5vw, 1rem);
  --text-lg:    clamp(1rem, 1.8vw, 1.125rem);
  --text-xl:    clamp(1.1rem, 2vw, 1.25rem);
  --text-2xl:   clamp(1.25rem, 2.5vw, 1.5rem);
  --text-3xl:   clamp(1.5rem, 3vw, 1.875rem);
  --text-4xl:   clamp(1.8rem, 4vw, 2.25rem);
  --text-5xl:   clamp(2.2rem, 5vw, 3rem);
  --text-6xl:   clamp(2.8rem, 6vw, 3.75rem);
  --text-7xl:   clamp(3.5rem, 8vw, 4.5rem);
  --text-8xl:   clamp(4rem, 10vw, 6rem);

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Border Radius */
  --radius-sm:    0.375rem;
  --radius-md:    0.625rem;
  --radius-lg:    1rem;
  --radius-xl:    1.5rem;
  --radius-2xl:   2rem;
  --radius-full:  9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl:    0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 40px rgba(99,102,241,0.3);
  --shadow-glow-sm:0 0 20px rgba(99,102,241,0.2);

  /* Transitions */
  --transition-fast:  0.15s ease;
  --transition-base:  0.25s ease;
  --transition-slow:  0.4s ease;
  --transition-spring:0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index layers */
  --z-base:     1;
  --z-sticky:   100;
  --z-dropdown: 200;
  --z-modal:    1000;
  --z-overlay:  900;
  --z-toast:    1100;

  /* Layout */
  --max-width:      1400px;
  --nav-height:     72px;
  --section-py:     clamp(2.5rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

/* Prevent FOUC */
body.loading { opacity: 0; }
body.loaded  { opacity: 1; transition: opacity 0.3s ease; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }
svg { display: block; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(99,102,241,0.3);
  color: var(--color-text-primary);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-7xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { color: var(--color-text-secondary); line-height: 1.7; }

.text-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 25%, #06b6d4 50%, #ec4899 75%, #6366f1 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 6s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.35));
}

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

.text-primary   { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.text-muted     { color: var(--color-text-muted) !important; }
.text-accent    { color: var(--color-accent) !important; }

.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }
.font-light   { font-weight: 300; }
.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-black   { font-weight: 900; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: var(--text-5xl);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform-origin: left;
  transform: scaleX(0);
  z-index: calc(var(--z-sticky) + 10);
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s linear;
  will-change: transform;
}

#cursor-glow.expanded {
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
}

/* ============================================================
   LOADING SCREEN — Animated Logo + Text
   ============================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  max-width: 90vw;
  text-align: center;
}

.loading-logo-box {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
  animation: logoPulse 2s ease-in-out infinite alternate;
}

@media (max-width: 480px) {
  .loading-logo-box {
    width: 55px;
    height: 55px;
    margin-bottom: 1rem;
  }
}

.loading-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .loading-logo-img {
    width: 36px;
    height: 36px;
  }
}

.loading-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: letterFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loading-text span:nth-child(1)  { animation-delay: 0.08s; }
.loading-text span:nth-child(2)  { animation-delay: 0.12s; }
.loading-text span:nth-child(3)  { animation-delay: 0.16s; }
.loading-text span:nth-child(4)  { animation-delay: 0.20s; }
.loading-text span:nth-child(5)  { animation-delay: 0.24s; }
.loading-text span:nth-child(6)  { animation-delay: 0.28s; }
.loading-text span:nth-child(7)  { animation-delay: 0.36s; }
.loading-text span:nth-child(8)  { animation-delay: 0.40s; }
.loading-text span:nth-child(9)  { animation-delay: 0.44s; }
.loading-text span:nth-child(10) { animation-delay: 0.48s; }
.loading-text span:nth-child(11) { animation-delay: 0.52s; }
.loading-text span:nth-child(12) { animation-delay: 0.56s; }

@keyframes letterFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
  }
}

.loading-bar {
  width: min(220px, 70vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: barFill 1.4s ease-out forwards;
}

@keyframes barFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.navbar.scrolled {
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Image logo styles */
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* White bg logo needs a slight background on dark navbar */
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 4px 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-logo-img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

/* Scrolled navbar — slightly smaller logo */
.navbar.scrolled .nav-logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Attention-grabbing animated, color-shifting flame emoji for Blog link */
.nav-link[href="blog.html"]:not(.active)::before {
  content: '🔥';
  position: absolute;
  top: -11px;
  right: -8px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  animation: navFlameBreathe 3s infinite ease-in-out;
  filter: drop-shadow(0 0 3px #f97316);
  z-index: 2;
}

/* Complementary color-shifting sparkle emoji for Blog link */
.nav-menu li:has(> a[href="blog.html"]:not(.active)) {
  position: relative;
}
.nav-menu li:has(> a[href="blog.html"]:not(.active))::before {
  content: '✨';
  position: absolute;
  top: -12px;
  right: -20px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  animation: navSparkleBreathe 3s infinite ease-in-out;
  filter: drop-shadow(0 0 3px #fbbf24);
  z-index: 1;
}

/* Color-changing animation on the Blog link text */
.nav-link[href="blog.html"] {
  animation: navBlogTextColors 4s infinite ease-in-out !important;
  font-weight: 700 !important;
}

@keyframes navBlogTextColors {
  0%, 100% {
    color: #22d3ee;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
  }
  50% {
    color: #ec4899;
    text-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
  }
}

@keyframes navFlameBreathe {
  0% {
    transform: translateY(0) scale(1) rotate(-6deg);
    filter: drop-shadow(0 0 3px #f97316) hue-rotate(0deg);
  }
  50% {
    transform: translateY(-2px) scale(1.2) rotate(6deg);
    filter: drop-shadow(0 0 8px #ef4444) hue-rotate(180deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(-6deg);
    filter: drop-shadow(0 0 3px #f97316) hue-rotate(360deg);
  }
}

@keyframes navSparkleBreathe {
  0% {
    transform: translateY(0) scale(1) rotate(6deg);
    filter: drop-shadow(0 0 3px #fbbf24) hue-rotate(180deg);
  }
  50% {
    transform: translateY(-3px) scale(1.25) rotate(-6deg);
    filter: drop-shadow(0 0 8px #fbbf24) hue-rotate(360deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(6deg);
    filter: drop-shadow(0 0 3px #fbbf24) hue-rotate(540deg);
  }
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff !important;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(99,102,241,0.5);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: calc(var(--z-sticky) + 1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.show { opacity: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  width: 100%;
  text-align: center;
}

.hero-live-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-greeting {
  display: block;
  font-size: var(--text-lg);
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  perspective: 1000px;
}

.hero-word {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: filter var(--transition-base);
}

.hero-word:hover {
  filter: drop-shadow(0 0 35px rgba(99, 102, 241, 0.7));
}

.hero-headline .text-gradient {
  display: block;
}

.city-flip-text {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  background: linear-gradient(135deg, #06b6d4, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-base);
}

.hero-subheadline {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.scroll-indicator-wheel {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 4px;
}

.scroll-indicator-dot {
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: scroll-dot 2s ease infinite;
}

@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(10px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-indicator-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.footer-social-link:hover {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover { color: var(--color-primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-contact-icon {
  color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-made {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.hidden { display: none !important; }
.show   { display: block !important; }

.w-full   { width: 100%; }
.h-full   { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

.mt-auto { margin-top: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.opacity-0 { opacity: 0; }
.opacity-50{ opacity: 0.5; }
.opacity-100{ opacity: 1; }

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */
.mesh-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.grid-bg {
  background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(5,5,16,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-slow);
    z-index: var(--z-sticky);
  }

  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; }

  .nav-link { font-size: var(--text-base); }
  .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
    text-align: center;
    box-sizing: border-box;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: auto !important; padding-bottom: 1rem !important; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-content { padding-bottom: 0.5rem !important; }
  .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 0.5rem !important;
    gap: 0 !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
  }
  .hero-stat {
    flex: 1 1 0px !important;
    min-width: 0 !important;
    padding: 0 2px !important;
    text-align: center !important;
  }
  .hero-stat-number {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: block !important;
    font-weight: 900 !important;
  }
  .hero-stat-label {
    font-size: clamp(0.75rem, 2.8vw, 0.95rem) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    margin-top: 6px !important;
    display: block !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
  }
  .hero-stat-divider { display: none !important; }
  .hero-ctas { flex-direction: column; align-items: center; margin-bottom: 1.75rem !important; }
  .scroll-indicator { display: none !important; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* Ultra-wide screens */
@media (min-width: 2000px) {
  :root { --max-width: 1800px; }
}

@media (max-width: 768px) {
  .pricing-card { text-align: center; align-items: center; }
  .pricing-header { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .pricing-price { justify-content: center; }
  .pricing-features { width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; text-align: left; }
  .pricing-feature { justify-content: flex-start; text-align: left; }
  .pricing-support { justify-content: center; width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; }
  .service-card { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .service-icon { margin: 0 auto 1.5rem; }
  .project-card { text-align: center; }
  .project-meta { justify-content: center; }
  .testimonial-card { text-align: center; align-items: center; }
  .testimonial-client { flex-direction: column; text-align: center; }
  .testimonial-info { align-items: center; }
}


/* Colorful Footer Social Icons */
.footer-social-link[aria-label="WhatsApp"] {
  color: #25D366 !important;
  background: rgba(37, 211, 102, 0.1) !important;
  border-color: rgba(37, 211, 102, 0.2) !important;
}
.footer-social-link[aria-label="WhatsApp"]:hover {
  background: #25D366 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.footer-social-link[aria-label="Instagram"] {
  color: #E1306C !important;
  background: rgba(225, 48, 108, 0.1) !important;
  border-color: rgba(225, 48, 108, 0.2) !important;
}
.footer-social-link[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}
