/* ==========================================================================
   NEXATECH Landing Page Styles
   Theme: Warm, Soft, Modern & Trustworthy
   Background: Singapore Cityscape with Atmospheric Motion Canvas
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Warm Sunset & Amber Palette */
  --primary-glow: #F59E0B;
  --primary-warm: #FBBF24;
  --primary-deep: #D97706;
  --accent-terracotta: #E27D60;
  --accent-rose: #FB7185;
  --accent-coral: #E76F51;

  /* Trust & Verification Accents */
  --success-emerald: #10B981;
  --success-glow: rgba(16, 185, 129, 0.25);
  --info-cyan: #38BDF8;

  /* Backgrounds & Surface Glass */
  --bg-deep-space: #0B0E14;
  --glass-bg: rgba(22, 27, 34, 0.72);
  --glass-bg-hover: rgba(30, 36, 46, 0.82);
  --glass-bg-light: rgba(255, 248, 240, 0.04);
  --glass-border: rgba(254, 215, 170, 0.16);
  --glass-border-focus: rgba(245, 158, 11, 0.45);
  --glass-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 24px -4px rgba(245, 158, 11, 0.08);

  /* Warm Typography Colors */
  --text-pure: #FFFFFF;
  --text-main: #FFF8EE;
  --text-muted: #D1C7BA;
  --text-dim: #9C9388;
  --text-highlight: #FDE68A;

  /* Layout & Sizing */
  --header-height: 80px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Animation Timings */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.65s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   Scroll Progress Indicator
   -------------------------------------------------------------------------- */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.2);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-glow), var(--accent-rose), var(--primary-warm));
  box-shadow: 0 0 12px var(--primary-glow);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Cityscape Background & Motion Atmosphere Canvas
   -------------------------------------------------------------------------- */
.city-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.city-bg-image {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* Multi-layer warm sunset/twilight glass gradient overlay */
.city-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, 
      rgba(11, 14, 20, 0.78) 0%, 
      rgba(20, 16, 26, 0.65) 40%, 
      rgba(15, 18, 26, 0.76) 75%, 
      rgba(11, 14, 20, 0.94) 100%),
    radial-gradient(circle at 65% 35%, rgba(245, 158, 11, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 20% 75%, rgba(226, 125, 96, 0.14) 0%, transparent 55%);
}

.atmosphere-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 500;
  display: flex;
  align-items: center;
  transition: background var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(15, 18, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nt-logo-svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.35));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .nt-logo-svg {
  transform: rotate(-4deg) scale(1.08);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-pure);
}

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

/* Nav links */
.desktop-nav .nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-warm), var(--accent-rose));
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
}

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

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

.cta-nav-link {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  color: var(--primary-warm);
}

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

.cta-nav-link:hover {
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-coral));
  color: #111;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  z-index: 600;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: rgba(15, 18, 25, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  padding: 6rem 2rem 2rem;
  z-index: 550;
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

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

.mobile-cta-link {
  margin-top: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-coral));
  color: #111 !important;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Shared Glassmorphism & UI Panels
   -------------------------------------------------------------------------- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254, 215, 170, 0.35), transparent);
}

.glass-panel:hover {
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 28px rgba(245, 158, 11, 0.15);
}

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--accent-coral) 100%);
  color: #12151B;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--primary-warm);
  color: var(--primary-warm);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-block {
  width: 100%;
}

/* Shimmer Keyframe */
.shimmer-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.35) 50%, 
    transparent 100%
  );
  transform: rotate(25deg);
  animation: shimmerSweep 4.5s infinite;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

/* --------------------------------------------------------------------------
   Scroll Animations: Zoom-In / Zoom-Out & Reveals
   -------------------------------------------------------------------------- */
.zoom-on-scroll {
  opacity: 0;
  transform: translateY(32px) scale(0.92);
  transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-smooth);
  will-change: opacity, transform;
}

.zoom-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.32);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-warm);
  margin-bottom: 1.75rem;
}

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

.pulse-animation {
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-float {
  animation: floatingHero 4s ease-in-out infinite;
}

@keyframes floatingHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #FFF7ED 20%, var(--primary-warm) 60%, var(--accent-rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 820px;
}

.stat-card {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-warm);
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Scroll hint */
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.75;
}

.mouse-icon {
  width: 22px;
  height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 6px;
  margin-left: -2px;
  background: var(--primary-warm);
  border-radius: 2px;
  animation: mouseScroll 1.6s infinite;
}

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

.scroll-hint {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Content Sections Layout
   -------------------------------------------------------------------------- */
.content-section {
  padding: 6.5rem 1.5rem;
  position: relative;
  z-index: 10;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-warm);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-glow), var(--accent-rose));
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   2. Our Goal Section
   -------------------------------------------------------------------------- */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.goal-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.goal-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-warm);
  margin-bottom: 1.5rem;
}

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

.goal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-pure);
}

.goal-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.goal-desc strong {
  color: var(--text-highlight);
}

.goal-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.check-bullet {
  color: var(--success-emerald);
  font-weight: bold;
}

/* Expansion Visualizer */
.global-expansion-banner {
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.8), rgba(245, 158, 11, 0.08));
}

.expansion-graphic {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 100px;
}

.connection-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.animated-path {
  animation: dashTravel 20s linear infinite;
}

@keyframes dashTravel {
  to { stroke-dashoffset: -300; }
}

.pulse-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.node-ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-warm);
  box-shadow: 0 0 16px var(--primary-warm);
  position: relative;
}

.node-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary-glow);
  animation: pulseNode 2.5s infinite;
}

@keyframes pulseNode {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.node-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-pure);
  background: rgba(11, 14, 20, 0.8);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.expansion-text {
  flex: 1;
}

.expansion-text h4 {
  font-size: 1.35rem;
  color: var(--primary-warm);
  margin-bottom: 0.5rem;
}

.expansion-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   3. About Us Section
   -------------------------------------------------------------------------- */
.about-hero-box {
  padding: 3rem;
  margin-bottom: 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.12), transparent 70%), var(--glass-bg);
}

.about-story-text {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.quote-symbol {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-warm);
  opacity: 0.35;
  margin-bottom: -1.5rem;
}

.primary-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--text-pure);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.primary-quote strong {
  color: var(--primary-warm);
}

.quote-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Services Grid */
.subsection-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.services-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-chip {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
}

.service-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-pure);
}

.service-info p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. The Role of Both Sides Section
   -------------------------------------------------------------------------- */
.roles-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.role-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.role-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--success-emerald);
  margin-bottom: 1.25rem;
}

.badge-partner {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--primary-warm);
}

.role-title {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.role-summary {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
}

.role-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.role-checklist li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.role-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-emerald);
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.role-check-warm {
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary-warm);
}

.assurance-banner {
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(245, 158, 11, 0.08));
  border-color: rgba(16, 185, 129, 0.25);
}

.assurance-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.assurance-content h4 {
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.assurance-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   5. The Proven Experience Section (Upwork Screenshots)
   -------------------------------------------------------------------------- */
.gallery-hint {
  text-align: center;
  font-size: 0.95rem;
  color: var(--primary-warm);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.screenshot-card {
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.screenshot-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #0d1117;
  overflow: hidden;
}

.screenshot-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-smooth);
}

.screenshot-card:hover .screenshot-img {
  transform: scale(1.06);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 14, 20, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.screenshot-card:hover .screenshot-overlay {
  opacity: 1;
}

.zoom-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.9);
  color: #111;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(10px);
  transition: transform var(--transition-fast);
}

.zoom-cta-pill svg {
  width: 18px;
  height: 18px;
}

.screenshot-card:hover .zoom-cta-pill {
  transform: translateY(0);
}

.screenshot-meta {
  padding: 1.25rem;
}

.screenshot-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
}

.screenshot-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-warm);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pill-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

/* --------------------------------------------------------------------------
   6. FAQs Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.faq-search-wrap .search-icon {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  pointer-events: none;
}

#faqSearchInput {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 3rem;
  border-radius: var(--radius-pill);
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--text-pure);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#faqSearchInput:focus {
  border-color: var(--primary-warm);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 1.25rem;
}

.faq-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-warm);
  opacity: 0.8;
  flex-shrink: 0;
}

.faq-title-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-pure);
  flex: 1;
}

.faq-chevron {
  font-size: 1.25rem;
  color: var(--primary-warm);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(28, 34, 46, 0.85);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-smooth);
}

.faq-answer-inner {
  padding: 0 1.65rem 1.65rem 3.8rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-answer-inner strong {
  color: var(--text-highlight);
}

/* --------------------------------------------------------------------------
   7. Contact Box & Direct Email Section
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.contact-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  word-break: break-all;
}

.btn-copy-small {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary-warm);
  transition: all var(--transition-fast);
}

.btn-copy-small:hover {
  background: var(--primary-warm);
  color: #111;
}

.status-pill-small {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-emerald);
}

/* Contact Form */
.contact-box {
  padding: 2.5rem;
}

.contact-box-title {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.contact-box-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
}

.form-group label .required {
  color: var(--accent-rose);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(16, 20, 28, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--text-pure);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-warm);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-msg {
  font-size: 0.8rem;
  color: var(--accent-rose);
  min-height: 1rem;
}

/* --------------------------------------------------------------------------
   Interactive Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-open {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-modal[hidden] {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2005;
  width: 92%;
  max-width: 1280px;
  height: 88vh;
  background: rgba(18, 22, 30, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lightbox-top-bar {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 15, 22, 0.9);
}

.lightbox-title-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lightbox-counter {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary-warm);
  border-radius: var(--radius-pill);
}

.lightbox-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-pure);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lightbox-btn:hover {
  background: var(--primary-warm);
  color: #111;
}

.lightbox-btn svg {
  width: 20px;
  height: 20px;
}

.lightbox-close-btn:hover {
  background: var(--accent-rose);
  color: #fff;
}

.lightbox-image-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #090c12;
}

.lightbox-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.lightbox-img-wrapper.is-dragging {
  cursor: grabbing;
}

.lightbox-current-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
  transform-origin: center center;
}

.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 22, 30, 0.75);
  border: 1px solid var(--glass-border);
  color: var(--text-pure);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.lightbox-nav-arrow:hover {
  background: var(--primary-warm);
  color: #111;
  transform: translateY(-50%) scale(1.1);
}

.arrow-prev { left: 1.5rem; }
.arrow-next { right: 1.5rem; }

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  background: rgba(18, 22, 30, 0.95);
  border: 1px solid var(--success-emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--success-glow);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-bounce);
  pointer-events: none;
}

.toast-notification.is-visible {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-notification[hidden] {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

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

.toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.toast-message {
  font-size: 0.95rem;
  color: var(--text-pure);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: rgba(11, 14, 20, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 4.5rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .footer-tagline {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 380px;
  margin-top: 0.85rem;
}

.footer-nav-col h5 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--primary-warm);
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-nav-col a:hover {
  color: var(--primary-warm);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .goals-grid,
  .roles-comparison-grid,
  .screenshots-grid,
  .contact-layout,
  .footer-container {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .global-expansion-banner {
    flex-direction: column;
    text-align: center;
  }
  .expansion-graphic {
    width: 100%;
  }
  .faq-answer-inner {
    padding-left: 1.65rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .lightbox-nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .arrow-prev { left: 0.5rem; }
  .arrow-next { right: 0.5rem; }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .zoom-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .shimmer-effect::after {
    display: none;
  }
}
