/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Dark theme colors */
  --bg-dark: #0a0a0a;
  --bg-dark-card: #1a1f2c;
  --bg-dark-secondary: #111827;
  
  /* Light theme colors */
  --bg-light: #ffffff;
  --bg-light-secondary: #f8f9fb;
  --bg-light-card: #f3f4f6;
  --bg-light-card-hover: #ebedf0;
  
  /* Borders */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-hover-dark: rgba(255, 140, 0, 0.3);
  --border-hover-light: rgba(255, 140, 0, 0.25);
  
  /* Text colors */
  --text-dark-primary: #f0f0f0;
  --text-dark-secondary: #a0a0b0;
  --text-dark-muted: #6a6a7a;
  --text-light-primary: #1a1f2c;
  --text-light-secondary: #4b5563;
  --text-light-muted: #9ca3af;
  
  /* Accent */
  --accent: #ff8c00;
  --accent-light: #ffaa40;
  --accent-glow: rgba(255, 140, 0, 0.15);
  --accent-glow-strong: rgba(255, 140, 0, 0.25);
  --accent-glow-light: rgba(255, 140, 0, 0.08);
  
  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Shadows */
  --shadow-card-dark: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-light: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px rgba(255, 140, 0, 0.1);
  --shadow-light-hover: 0 12px 40px rgba(0, 0, 0, 0.08);
  
  /* Transition */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dark);
}

/* When over light sections, nav text adapts */
.navbar.scrolled-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  filter: brightness(1.2);
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--text-dark-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

/* ===== HERO (DARK) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-dark-primary);
  /* Ensure the hero container clips the scaled canvas */
}

/* Wrapper for zoom effect */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

#heroCanvas {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--bg-dark) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
  will-change: transform, opacity;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255, 140, 0, 0); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s ease forwards;
  opacity: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #ff8c00, #ff6a00, #ffaa40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dark-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.3s ease forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.25);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark-primary);
  border: 1px solid var(--border-dark);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 140, 0, 0.05);
  transform: translateY(-2px);
}

/* Light variant buttons */
.section-light .btn-outline {
  color: var(--text-light-primary);
  border-color: var(--border-light);
}

.section-light .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 48px; }
  50% { opacity: 0.3; height: 32px; }
}

/* ===== SECTION COMMON ===== */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-radius: var(--radius-xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title-center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ===== LIGHT SECTION UTILITY ===== */
.section-light {
  background: var(--bg-light);
  color: var(--text-light-primary);
}

.section-light .section-subtitle {
  color: var(--text-light-secondary);
}

/* ===== DARK SECTION UTILITY ===== */
.section-dark {
  background: var(--bg-dark-card);
  color: var(--text-dark-primary);
}

.section-dark .section-subtitle {
  color: var(--text-dark-secondary);
}

/* ===== ABOUT SECTION (LIGHT / WHITE) ===== */
.about {
  padding: 120px 0;
  background: var(--bg-light);
  color: var(--text-light-primary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-card-light);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.about-image-frame:hover .about-image {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.25;
  z-index: -1;
}

.about-content {
  padding: 8px 0;
}

.about-role {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-light-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-light-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.badge-card:hover {
  border-color: var(--border-hover-light);
  background: var(--bg-light-card);
  transform: translateX(4px);
  box-shadow: var(--shadow-light-hover);
}

.badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow-light);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.badge-icon svg {
  width: 16px;
  height: 16px;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-light-primary);
}

.badge-desc {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

/* ===== SERVICES (LIGHT / WHITE) ===== */
.services {
  padding: 120px 0;
  background: var(--bg-light);
  color: var(--text-light-primary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

.services .section-subtitle {
  color: var(--text-light-secondary);
}

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

.service-card {
  background: var(--bg-light-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover-light);
  background: var(--bg-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow-light);
  border: 1px solid rgba(255, 140, 0, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-glow);
  border-color: rgba(255, 140, 0, 0.25);
  transform: scale(1.05);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-light-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.service-tags li {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  color: var(--text-light-muted);
  transition: all var(--transition);
}

.service-card:hover .service-tags li {
  border-color: var(--border-hover-light);
  color: var(--text-light-secondary);
}

/* ===== REMOTE SECTION (DARK) ===== */
.remote {
  padding: 120px 0;
  background: var(--bg-dark-card);
  color: var(--text-dark-primary);
  position: relative;
}

.remote .section-label {
  background: rgba(255, 140, 0, 0.1);
  border-color: rgba(255, 140, 0, 0.2);
}

.remote .section-title {
  color: var(--text-dark-primary);
}

.remote-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.remote-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.remote-text {
  font-size: 1rem;
  color: var(--text-dark-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.remote-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.remote-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
}

.remote-feature svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--accent);
}

.remote-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.remote-visual-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remote-icon-large {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.remote-icon-large svg {
  width: 52px;
  height: 52px;
}

.remote-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 140, 0, 0.1);
  border-radius: 50%;
  animation: remotePulse 3s infinite ease-out;
}

.remote-pulse-2 {
  width: 240px;
  height: 240px;
  animation-delay: 1s;
}

@keyframes remotePulse {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); }
}

/* ===== PARTNERS (LIGHT / WHITE) ===== */
.partners {
  padding: 120px 0;
  background: var(--bg-light);
  color: var(--text-light-primary);
  position: relative;
}

.partners .section-subtitle {
  color: var(--text-light-secondary);
}

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

.partner-card {
  background: var(--bg-light-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: var(--border-hover-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light-hover);
}

.partner-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--text-light-primary);
}

.partner-type {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

/* ===== FOOTER (DARK) ===== */
.footer {
  background: var(--bg-dark-card);
  color: var(--text-dark-primary);
  padding: 80px 0 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.8fr 0.8fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.2);
  opacity: 0.8;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dark-primary);
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list li {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-list a {
  color: var(--text-dark-secondary);
  transition: color var(--transition);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .remote-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .remote-visual {
    order: -1;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .about-badges {
    gap: 10px;
  }
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(255, 140, 0, 0.3);
  color: var(--text-light-primary);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

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

/* ===== GUIDED SCROLLING (Progress Indicator) ===== */
.scroll-indicator {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none; /* Hide on mobile to save space */
  }
}

.scroll-track {
  position: relative;
  width: 2px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Light theme support for track */
body:has(#contact:hover) .scroll-track,
.navbar.scrolled-light ~ .scroll-indicator .scroll-track {
    background: rgba(0, 0, 0, 0.1);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.1s ease-out;
  z-index: 1;
}

.scroll-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-dark-secondary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Light theme support for dots */
body:has(#contact:hover) .scroll-dot,
.navbar.scrolled-light ~ .scroll-indicator .scroll-dot {
    background: var(--bg-light-card);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.scroll-dot:hover {
  transform: scale(1.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.scroll-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow-strong);
  transform: scale(1.3);
}

/* Custom About Section Overrides */
.about-grid-new {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid-new {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.badge-new-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .badge-new-container {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Partner Logos (Text-based placeholder) */
.partner-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #9CA3AF;
  letter-spacing: -0.03em;
  transition: color var(--transition);
  filter: grayscale(100%);
  cursor: default;
}

.partner-logo:hover {
  color: var(--primary);
}

/* Support Button in Navbar */
.btn-support {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ff8c00;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-support:hover {
  background-color: #ff9e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.btn-support svg {
  width: 16px;
  height: 16px;
}

/* UX Improvements: Hero Logo Responsive */
.hero-logo-container {
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-logo {
  width: min(100%, 650px);
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-logo-container {
    margin-bottom: 1rem;
  }
  .hero-main-logo {
    width: min(100%, 350px);
  }
}


@media (max-width: 768px) {
  .hero {
    padding-top: 88px;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 1.5rem;
  }

  .hero-logo-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .hero-main-logo {
    width: min(100%, 320px);
  }
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  z-index: 3;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.scroll-mouse {
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.08);
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes scrollWheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 768px) {
  .hero-scroll-indicator {
    bottom: 22px;
    gap: 8px;
  }

  .scroll-mouse {
    width: 24px;
    height: 40px;
    padding-top: 7px;
  }

  .scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }
}

/* ===== RESPONSIVE REFINEMENTS ===== */
@media (max-width: 1200px) {
  .nav-container,
  .container {
    width: min(100%, calc(100% - 48px));
  }

  .remote-card {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 720px;
  }

  .hero-subtitle {
    max-width: 560px;
    line-height: 1.7;
  }

  .services-grid {
    align-items: stretch;
  }

  .service-card {
    height: 100%;
  }

  .partners-grid {
    gap: 2.5rem !important;
  }
}

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

  .nav-container {
    height: 68px;
  }

  .logo-img {
    height: 32px;
  }

  .nav-menu {
    top: 68px;
    padding: 16px;
    gap: 8px;
  }

  .nav-link,
  .btn-support {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 88px;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
  }

  .hero-title {
    margin-bottom: 18px;
    line-height: 1.05;
  }

  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-buttons {
    width: 100%;
    gap: 12px;
  }

  .btn {
    min-height: 48px;
    width: 100%;
    max-width: 320px;
  }

  .about,
  .services,
  .remote,
  .partners,
  .footer {
    padding-top: 80px;
  }

  .about,
  .services,
  .remote,
  .partners {
    padding-bottom: 80px;
  }

  .about-grid-new {
    gap: 2rem;
  }

  .about-content {
    padding-right: 0 !important;
  }

  .services-grid {
    gap: 18px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-desc {
    font-size: 0.92rem;
  }

  .remote-card {
    gap: 28px;
    padding: 28px 20px;
  }

  .remote-visual {
    min-height: 220px;
  }

  .remote-icon-large {
    width: 96px;
    height: 96px;
  }

  .remote-icon-large svg {
    width: 42px;
    height: 42px;
  }

  .remote-pulse {
    width: 150px;
    height: 150px;
  }

  .remote-pulse-2 {
    width: 200px;
    height: 200px;
  }

  .partner-logo {
    font-size: 1.35rem;
  }

  .footer {
    padding-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .container,
  .nav-container {
    width: min(100%, calc(100% - 32px));
  }

  .hero-main-logo {
    width: min(100%, 280px);
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-subtitle br {
    display: none;
  }

  .about-image-wrapper {
    max-width: 340px;
    margin: 0 auto;
  }

  .partners-grid {
    gap: 1.75rem !important;
  }

  .footer-list li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 76px;
  }

  .hero-content {
    padding-top: 0.75rem;
  }

  .hero-logo-container {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .hero-main-logo {
    width: min(100%, 250px);
  }

  .btn {
    max-width: 100%;
  }

  .scroll-text {
    display: none;
  }

  .remote-card {
    border-radius: 20px;
  }

  .partner-logo {
    font-size: 1.15rem;
  }
}

/* ===== SMALL PHONE REFINEMENTS ===== */
@media (max-width: 430px) {
  .navbar {
    padding: 0 12px;
  }

  .nav-container {
    width: min(100%, calc(100% - 24px));
    height: 64px;
  }

  .nav-menu {
    top: 64px;
    left: 12px;
    right: 12px;
    border-radius: 0 0 16px 16px;
  }

  .logo-img {
    height: 30px;
  }

  .hero-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn,
  .btn-support {
    min-height: 46px;
  }

  .scroll-mouse {
    width: 22px;
    height: 36px;
  }

  .about,
  .services,
  .remote,
  .partners,
  .footer {
    padding-top: 64px;
  }

  .about,
  .services,
  .remote,
  .partners {
    padding-bottom: 64px;
  }

  .about-image-wrapper {
    max-width: 100%;
  }

  .service-card {
    padding: 24px 18px;
  }

  .service-title {
    font-size: 1.05rem;
  }

  .service-tags {
    gap: 8px;
  }

  .service-tags li {
    font-size: 11px;
    padding: 4px 10px;
  }

  .remote-card {
    padding: 24px 16px;
  }

  .remote-text,
  .remote-feature {
    font-size: 0.92rem;
  }

  .remote-icon-large {
    width: 84px;
    height: 84px;
  }

  .remote-icon-large svg {
    width: 36px;
    height: 36px;
  }

  .remote-pulse {
    width: 132px;
    height: 132px;
  }

  .remote-pulse-2 {
    width: 176px;
    height: 176px;
  }

  .partners-grid {
    gap: 1.25rem !important;
  }

  .partner-logo {
    font-size: 1rem;
  }

  .footer-top {
    gap: 28px;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-top: 78px;
  }

  .hero-main-logo {
    width: min(100%, 220px);
  }

  .hero-title {
    font-size: clamp(1.7rem, 9.5vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 13px;
  }

  .nav-link,
  .btn-support {
    font-size: 13px;
  }

  .service-card,
  .remote-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-list li,
  .footer-list a {
    font-size: 0.9rem;
  }
}
