/* Modern DEVSFLOW Homepage - Black & Minimal Gold Design */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Color Palette */
:root {
  /* Primary Colors */
  --black: #000000;
  --dark-gray: #1a1a1a;
  --medium-gray: #2a2a2a;
  --light-gray: #404040;
  --text-gray: #a0a0a0;
  --white: #ffffff;
  
  /* Accent Colors */
  --gold: #f4d03f;
  --gold-muted: #e8c547;
  --gold-dark: #d4ac0d;
  
  /* Status Colors */
  --success: #27ae60;
  --warning: #f39c12;
  --error: #e74c3c;
  
  /* Typography */
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(244, 208, 63, 0.2);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary-modern {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(244, 208, 63, 0.3);
  background: linear-gradient(135deg, var(--gold-muted) 0%, var(--gold) 100%);
}

.btn-secondary-modern {
  background: var(--dark-gray);
  color: var(--white);
  border: 1px solid var(--light-gray);
}

.btn-secondary-modern:hover {
  background: var(--medium-gray);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-modern {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--light-gray);
}

.btn-outline-modern:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero-modern {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 100vh;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  color: var(--text-gray);
  width: fit-content;
}

.badge-icon {
  color: var(--gold);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
}

.accent-text {
  color: var(--gold);
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 500px;
}

.hero-stats-inline {
  display: flex;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Trust Card Icon */
.trust-icon-card { 
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%); 
}

.trust-countries {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.country-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.country-item:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateX(4px);
}

.country-flag {
  font-size: 1.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.country-item:hover .country-flag {
  background: rgba(244, 208, 63, 0.2);
  transform: scale(1.1);
}

.country-name {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

/* Hero Visual Cards */
.hero-visual {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Showcase - Redesigned */
.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-lg);
  width: 100%;
  max-width: 500px;
}

/* Main Value Card */
.value-card.primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  border: 2px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(96, 165, 250, 0.1);
  position: relative;
  overflow: hidden;
}

.value-card.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.6), transparent);
}


.value-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.value-icon {
  font-size: 1.5rem;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.value-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.value-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.value-stat .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.value-stat .stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
}

.value-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.feature {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.feature::before {
  content: '✓';
  margin-right: var(--space-xs);
  font-weight: 700;
}

/* Tech Showcase */
.tech-showcase {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.tech-showcase:hover {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.tech-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.tech-icon {
  font-size: 1.1rem;
}

.tech-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tech-tag {
  background: rgba(244, 208, 63, 0.1);
  color: var(--gold);
  padding: 2px var(--space-xs);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid rgba(244, 208, 63, 0.2);
}

/* Global Card */
.global-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.global-card:hover {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.global-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.global-icon {
  font-size: 1.1rem;
}

.global-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.global-locations {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.flag {
  font-size: 0.9rem;
}

.location-name {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.global-benefit {
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-text {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* Process Flow */
.process-flow {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.process-flow:hover {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.1);
}

.flow-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  justify-content: center;
}

.flow-icon {
  font-size: 1.1rem;
}

.flow-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.step-num {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-label {
  font-size: 0.7rem;
  color: var(--text-gray);
  font-weight: 500;
}

.flow-arrow {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: var(--space-md);
}

.info-card {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(244, 208, 63, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.info-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card.featured {
  background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
}

.info-card.wide {
  grid-column: 1 / -1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--medium-gray);
}

.services-icon { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%); }
.tech-icon { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.stats-icon { background: linear-gradient(135deg, var(--success) 0%, #16a085 100%); }
.process-icon { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* Services List */
.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.service-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.service-name {
  color: var(--white);
  font-size: 0.9rem;
}

/* Tech Grid */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tech-badge {
  background: var(--medium-gray);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Quick Stats */
.quick-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quick-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quick-number {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold);
}

.quick-label {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* Process Steps */
.process-steps {
  display: flex;
  gap: var(--space-sm);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--light-gray) 100%);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e6c055);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(244, 208, 63, 0.3);
  border: 2px solid var(--dark-gray);
}

.step-name {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-align: center;
}

/* Services Section */
.services-modern {
  min-height: calc(100vh - 160px); /* Account for header and footer */
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.services-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top left, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card-modern {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom left, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.service-card-modern:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-modern.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.service-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.service-icon-large {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.service-type {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 500;
}

.service-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.feature {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.service-action {
  margin-top: auto;
}

/* Technology Section - Redesigned */
.tech-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--medium-gray) 100%);
  position: relative;
  overflow: hidden;
}

.tech-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(243, 193, 27, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(61, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.tech-modern .section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(243, 193, 27, 0.1);
  border: 1px solid rgba(243, 193, 27, 0.2);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.tech-showcase {
  position: relative;
  z-index: 2;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.tech-stack-category {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tech-stack-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-stack-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(243, 193, 27, 0.3);
}

.tech-stack-category:hover::before {
  opacity: 1;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.category-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tech-stack-category:hover .category-icon::before {
  transform: translateX(100%);
}

.frontend-icon {
  background: linear-gradient(135deg, #61dafb 0%, #21d4fd 100%);
}

.backend-icon {
  background: linear-gradient(135deg, #16a085 0%, #2ecc71 100%);
}

.mobile-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.cloud-icon {
  background: linear-gradient(135deg, var(--gold) 0%, #f39c12 100%);
}

.category-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: var(--space-md);
}

.category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.category-description {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-top: 2px;
}

.category-badge {
  background: rgba(243, 193, 27, 0.2);
  color: var(--gold);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.tech-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tech-badge {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--medium-gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-badge:hover {
  background: rgba(243, 193, 27, 0.1);
  border-color: rgba(243, 193, 27, 0.3);
  transform: translateX(4px);
}

.tech-logo {
  font-size: 1.25rem;
  margin-right: var(--space-sm);
  width: 24px;
  text-align: center;
}

.tech-name {
  flex: 1;
  font-weight: 500;
  color: var(--white);
}

.tech-level {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-weight: 600;
}

.tech-badge[data-tech="react"] .tech-level,
.tech-badge[data-tech="vue"] .tech-level,
.tech-badge[data-tech="nodejs"] .tech-level,
.tech-badge[data-tech="python"] .tech-level,
.tech-badge[data-tech="nextjs"] .tech-level,
.tech-badge[data-tech="graphql"] .tech-level,
.tech-badge[data-tech="react-native"] .tech-level,
.tech-badge[data-tech="flutter"] .tech-level,
.tech-badge[data-tech="aws"] .tech-level,
.tech-badge[data-tech="docker"] .tech-level,
.tech-badge[data-tech="expo"] .tech-level,
.tech-badge[data-tech="openai"] .tech-level {
  background: rgba(243, 193, 27, 0.2);
  color: var(--gold);
}

.tech-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(243, 193, 27, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(243, 193, 27, 0.2);
}

.tech-stat {
  text-align: center;
  padding: var(--space-md);
}

.tech-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: var(--space-xs);
}

.tech-stat .stat-label {
  color: var(--text-gray);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Team Section */
.team-modern {
  min-height: calc(100vh - 160px); /* Account for header and footer */
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.team-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center left, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.team-member {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.team-member:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.member-avatar {
  margin-bottom: var(--space-lg);
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
}

.member-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.member-role {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.member-bio {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Contact Section */
.contact-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.contact-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.contact-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Contact Link Styling */
.contact-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin: calc(var(--space-sm) * -1);
}

.contact-link:hover {
  background: rgba(244, 208, 63, 0.1);
  border: 1px solid rgba(244, 208, 63, 0.3);
  transform: translateY(-1px);
  text-decoration: none;
  color: inherit;
}

.contact-link:hover .contact-icon {
  color: var(--gold);
  transform: scale(1.1);
}

.contact-link:hover .contact-text strong {
  color: var(--gold);
}

.contact-item.contact-link {
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-icon {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-text strong {
  color: var(--white);
  font-weight: 600;
}

.contact-text span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  gap: var(--space-md);
}

/* Contact Form */
.contact-form-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-gray);
}

/* Build Product Page Styles */
.build-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-showcase-card {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
}

.product-showcase-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.product-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.product-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.product-type:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.product-icon {
  font-size: 1.5rem;
}

.product-name {
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 500;
  text-align: center;
}

.showcase-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.showcase-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.showcase-benefit .benefit-icon {
  color: var(--gold);
  font-weight: 600;
}

.showcase-benefit .benefit-text {
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* Form Section */
.form-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.form-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.form-container-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.form-column-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-section-modern {
  margin-bottom: var(--space-xl);
}

.form-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gold);
  border-radius: 2px;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.label-icon {
  color: var(--gold);
}

.form-input-modern,
.form-select-modern,
.form-textarea-modern {
  width: 100%;
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-input-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
}

.form-input-modern::placeholder,
.form-textarea-modern::placeholder {
  color: var(--text-gray);
}

/* Fix for white dropdown in contact form */
.contact-modern .form-select-modern,
.contact-form-modern .form-select-modern,
select[name="service"] {
  background: var(--medium-gray) !important;
  color: var(--white) !important;
  color-scheme: dark;
}

.contact-modern .form-select-modern option,
.contact-form-modern .form-select-modern option,
select[name="service"] option {
  background: var(--medium-gray) !important;
  background-color: #2a2a2a !important;
  color: var(--white) !important;
  color: #ffffff !important;
}

.form-row-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.file-upload-modern {
  position: relative;
}

.file-upload-modern input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: var(--medium-gray);
  border: 2px dashed var(--light-gray);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-label-modern:hover {
  border-color: var(--gold);
  background: rgba(244, 208, 63, 0.05);
}

.upload-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.upload-text {
  color: var(--white);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.upload-hint {
  color: var(--text-gray);
  font-size: 0.8rem;
}

.form-actions-modern {
  margin-top: var(--space-xl);
  text-align: center;
}

.form-footer-text {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-top: var(--space-md);
}

/* Value Column */
.value-column-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.value-content-modern {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.value-content-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.value-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.value-stats-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.value-stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.value-stat:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.value-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-mono);
}

.value-stat-label {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

.value-benefits-modern {
  margin-bottom: var(--space-xl);
}

.benefits-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.benefit-item-modern {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.benefit-item-modern:hover {
  background: var(--medium-gray);
  transform: translateX(4px);
}

.benefit-icon-modern {
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.benefit-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.benefit-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.benefit-description {
  color: var(--text-gray);
  font-size: 0.875rem;
  line-height: 1.5;
}

.tech-stack-modern {
  margin-bottom: var(--space-xl);
}

.tech-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.tech-grid-modern {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tech-item-modern {
  background: var(--medium-gray);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-item-modern:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.testimonial-modern {
  background: var(--medium-gray);
  border-left: 4px solid var(--gold);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.testimonial-quote {
  color: var(--white);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.testimonial-author {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
}

.process-preview-modern {
  margin-bottom: var(--space-lg);
}

.process-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.process-steps-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.process-steps-modern::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--light-gray) 100%);
  z-index: 0;
}

.process-step-modern {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  border-left: 3px solid transparent;
}

.process-step-modern:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateX(4px);
  border-left: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.2);
}

.step-number-modern {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e6c055);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(244, 208, 63, 0.3);
  border: 2px solid var(--dark-gray);
}

.step-text-modern {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Hire Developer Page Styles */
.hire-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hire-stats-card {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
}

.hire-stats-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stats-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.benefit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.benefit-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.benefit-stat:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.benefit-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-mono);
}

.benefit-label {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-align: center;
}

.key-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.benefit-item .benefit-icon {
  color: var(--gold);
  font-weight: 600;
}

.benefit-item .benefit-text {
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* Filters Section - Redesigned */
.filters-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--medium-gray) 100%);
  position: relative;
  overflow: hidden;
}

.filters-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(243, 193, 27, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(61, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 60%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.filters-modern .section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(243, 193, 27, 0.1);
  border: 1px solid rgba(243, 193, 27, 0.2);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.filters-modern .filters-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.filters-container-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.filters-compact {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.filter-inline {
  flex: 1;
}

.filter-input-compact,
.filter-select-compact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--white);
  font-size: 0.875rem;
  width: 100%;
  transition: all 0.3s ease;
}

.filter-input-compact:focus,
.filter-select-compact:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(243, 193, 27, 0.2);
}

.filter-input-compact::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.team-summary-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-sm);
}

.team-info {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.team-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.price-compact {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.team-actions-compact {
  display: flex;
  gap: var(--space-sm);
}

.btn-compact {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-compact.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-compact.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-compact:hover:not(:disabled) {
  transform: scale(1.05);
}

.btn-compact:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.selected-team-compact {
  min-height: 0;
  transition: all 0.3s ease;
  max-height: 200px;
  overflow-y: auto;
}

.empty-team-compact {
  text-align: center;
  padding: var(--space-sm) 0;
}

.empty-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.selected-dev-compact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-dev-compact:last-child {
  border-bottom: none;
}

.selected-dev-avatar-compact {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.selected-dev-info-compact {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-dev-name-compact {
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 500;
}

.selected-dev-rate-compact {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.remove-dev-btn-compact {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px;
  transition: color 0.3s ease;
}

.remove-dev-btn-compact:hover {
  color: #e74c3c;
}



.team-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Developers Grid */
.developers-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.developers-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.developer-card {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
}

.developer-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dev-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.dev-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dev-info {
  flex: 1;
}

.dev-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.dev-role {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
}

.dev-rate {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.dev-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.dev-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.skill-tag {
  background: var(--medium-gray);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--gold);
  color: var(--black);
}

.dev-experience {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.exp-years,
.exp-projects {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.dev-action-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--white);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.dev-action-btn:hover {
  border-color: var(--gold);
  background: rgba(244, 208, 63, 0.1);
}

.dev-action-btn.added {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Contact Page Styles */
.contact-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-hero .hero-container {
  align-items: center;
}

.contact-info-card {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.contact-info-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.contact-card-subtitle {
  color: var(--text-gray);
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateX(4px);
}

.contact-method.contact-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-method.contact-link:hover {
  background: rgba(244, 208, 63, 0.15);
  transform: translateX(4px);
  text-decoration: none;
  color: inherit;
}

.contact-method.contact-link:hover .contact-icon {
  color: var(--gold);
  transform: scale(1.1);
}

.contact-method.contact-link:hover .contact-details strong {
  color: var(--gold);
}

.contact-method .contact-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-method .contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-method .contact-details strong {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-method .contact-details span {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.contact-method .contact-details small {
  color: var(--text-gray);
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: var(--space-xs);
  display: block;
}

/* Contact Section */
.contact-section-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-container-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* Compact Contact Info Design */
.contact-info-compact {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.1);
  transform: translateY(-1px);
}

.highlight-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlight-content strong {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.highlight-content span {
  color: var(--text-gray);
  font-size: 0.8rem;
  line-height: 1.3;
}

.contact-cta-compact {
  padding: var(--space-lg);
  background: rgba(244, 208, 63, 0.05);
  border: 1px solid rgba(244, 208, 63, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
}

.cta-text {
  margin-bottom: var(--space-md);
}

.cta-text h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.cta-text p {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin: 0;
}

.btn-compact {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.85rem;
}

.contact-form-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-info-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.office-locations-modern {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.office-locations-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top left, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.locations-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.locations-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.location-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.location-card:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.location-flag {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.location-info h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.location-info p {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin: 0;
}

.timezone {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
}

.response-times-modern {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.response-times-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center right, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.response-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.response-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.response-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.response-item:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateX(4px);
}

.response-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.response-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.response-details strong {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.response-details span {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.consultation-card {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.consultation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom center, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.consult-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.consult-icon {
  font-size: 2rem;
  color: var(--gold);
}

.consult-header h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.consultation-card p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.faq-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.faq-container-modern {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-modern:hover {
  border-color: var(--gold);
}

.faq-question-modern {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question-modern:hover {
  background: rgba(244, 208, 63, 0.05);
}

.faq-icon-modern {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item-modern.active .faq-icon-modern {
  transform: rotate(45deg);
}

.faq-answer-modern {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-modern.active .faq-answer-modern {
  max-height: 200px;
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Blog Page Styles */
.blog-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-stats-card {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
}

.blog-stats-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.blog-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.blog-topic:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.topic-icon {
  font-size: 1.5rem;
}

.topic-name {
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 500;
  text-align: center;
}

.blog-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.blog-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.blog-benefit .benefit-icon {
  color: var(--gold);
  font-weight: 600;
}

.blog-benefit .benefit-text {
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* Blog Posts Section */
.blog-posts-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.blog-posts-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.blog-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.blog-card-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card-modern:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: var(--medium-gray);
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--gold);
  color: var(--black);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-card-content {
  padding: var(--space-xl);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-gray);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-card-read-time {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.author-name {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-card-read-more {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-card-read-more:hover {
  color: var(--gold-muted);
  transform: translateX(4px);
}

/* Post Page Styles */
.post-hero-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.post-hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.post-navigation {
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.back-to-blog:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

.back-icon {
  font-size: 1rem;
}

.post-header-modern {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.post-category-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.post-title-modern {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-xl);
}

.post-meta-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar-large {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.author-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.author-role {
  color: var(--text-gray);
  font-size: 0.8rem;
}

.post-stats {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-gray);
  font-size: 0.875rem;
}

.stat-icon {
  color: var(--gold);
}

/* Post Content Section */
.post-content-modern {
  padding: var(--space-3xl) 0;
  background: var(--black);
}

.post-layout-modern {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-3xl);
  max-width: 1200px;
  margin: 0 auto;
}

.post-article-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-cover-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.post-cover-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content-text {
  padding: var(--space-2xl);
  color: var(--white);
  line-height: 1.8;
  font-size: 1rem;
}

.post-content-text h2 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: var(--space-xl) 0 var(--space-lg);
}

.post-content-text h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-md);
}

.post-content-text p {
  margin-bottom: var(--space-lg);
  color: var(--text-gray);
}

.post-content-text code {
  background: var(--medium-gray);
  color: var(--gold);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.post-content-text pre {
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.post-content-text pre code {
  background: none;
  color: var(--white);
  padding: 0;
}

/* Post Sidebar */
.post-sidebar-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-sticky-modern {
  position: sticky;
  top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.table-of-contents-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.toc-title-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.toc-icon {
  color: var(--gold);
}

.toc-list-modern {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toc-link-modern {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.875rem;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  display: block;
}

.toc-link-modern:hover {
  color: var(--gold);
  background: rgba(244, 208, 63, 0.1);
}

.share-section-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.share-title-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.share-icon {
  color: var(--gold);
}

.share-buttons-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.share-btn-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.share-btn-modern:hover {
  background: rgba(244, 208, 63, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.share-btn-icon {
  color: var(--gold);
}

.related-posts-modern {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.related-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.related-icon {
  color: var(--gold);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.related-post {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-post:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.related-post-title {
  color: var(--white);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
}

.related-post-date {
  color: var(--text-gray);
  font-size: 0.8rem;
}

/* Map Section */
.map-section-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.map-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.map-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

/* Office Map Styles */
.office-map-modern {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.office-map-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.map-controls {
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.map-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.map-icon {
  color: var(--gold);
}

.map-toggle-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.map-toggle-btn {
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--white);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-toggle-btn:hover {
  background: rgba(244, 208, 63, 0.1);
  border-color: var(--gold);
}

.map-toggle-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.google-map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 1px solid var(--light-gray);
  position: relative;
  z-index: 1;
}

.fallback-map {
  width: 100%;
  height: 300px;
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  position: relative;
  display: none;
  border: 1px solid var(--light-gray);
  z-index: 1;
}

.office-location {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  transition: all 0.3s ease;
}

.office-location.active {
  opacity: 1;
}

.office-location[data-location="canada"] {
  top: 30%;
  left: 25%;
}

.office-location[data-location="pakistan"] {
  top: 40%;
  left: 70%;
}

.office-location[data-location="middle-east"] {
  top: 45%;
  left: 55%;
}

.pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
}

.canada-pin {
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.pakistan-pin {
  background: linear-gradient(135deg, #2ed573 0%, #1dd1a1 100%);
}

.middle-east-pin {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
}

.pin::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid currentColor;
  color: inherit;
}

.office-label {
  background: var(--dark-gray);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  border: 1px solid var(--light-gray);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 208, 63, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(244, 208, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 208, 63, 0);
  }
}

/* CTA Section */
.cta-modern {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.cta-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  /* Ensure hero-content comes first on mobile */
  .hero-content {
    order: 1 !important;
    grid-row: 1 !important;
  }
  
  .hero-visual {
    order: 2 !important;
    grid-row: 2 !important;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .services-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .form-container-modern {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .product-types {
    grid-template-columns: 1fr;
  }
  
  .value-stats-modern {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .filters-container-modern {
    padding: var(--space-md);
  }
  
  .filters-compact {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .team-summary-compact {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }
  
  .team-info {
    gap: var(--space-md);
  }
  
  .benefit-stats {
    grid-template-columns: 1fr;
  }
  
  .developers-grid {
    grid-template-columns: 1fr;
  }
  
  .team-actions {
    flex-direction: column;
  }
  
  .contact-container-modern {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .blog-topics {
    grid-template-columns: 1fr;
  }
  
  .post-layout-modern {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .post-meta-modern {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .post-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Hero Section Mobile Optimization */
  .hero-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    padding: var(--space-xl) var(--space-md);
    min-height: 90vh;
  }
  
  /* Reinforce mobile ordering for smaller screens */
  .hero-content {
    order: 1 !important;
    grid-row: 1 !important;
  }
  
  .hero-visual {
    order: 2 !important;
    grid-row: 2 !important;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .hero-stats-inline {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Services Section Mobile */
  .services-grid-modern {
    gap: var(--space-lg);
  }
  
  .service-card-modern {
    padding: var(--space-lg);
  }
  
  /* Tech Section Mobile */
  .tech-stack-grid {
    gap: var(--space-lg);
  }
  
  .tech-stack-category {
    padding: var(--space-md);
  }
  
  .tech-stack {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  /* Team Section Mobile */
  .team-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .team-member {
    padding: var(--space-lg);
    text-align: center;
  }
  
  /* Contact Section Mobile */
  .contact-content {
    gap: var(--space-xl);
  }
  
  .contact-form-modern {
    padding: var(--space-lg);
  }
  
  .form-row-modern {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Contact Info Card Mobile */
  .contact-info-card {
    padding: var(--space-lg);
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }
  
  .contact-hero .hero-visual {
    width: 100%;
    justify-content: center;
  }
  
  .contact-methods {
    gap: var(--space-md);
  }
  
  .contact-method {
    padding: var(--space-md);
  }
  
  .contact-method .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  /* FAQ Section Mobile */
  .faq-item-modern {
    border-radius: var(--radius-md);
  }
  
  .faq-question-modern {
    padding: var(--space-lg);
    font-size: 1rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-categories-modern {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .form-row-modern {
    grid-template-columns: 1fr;
  }
  
  .product-types {
    grid-template-columns: 1fr;
  }
  
  .benefit-stats {
    grid-template-columns: 1fr;
  }
  
  .value-stats-modern {
    grid-template-columns: 1fr;
  }
  
  .post-title-modern {
    font-size: 2rem;
  }
  
  .post-author-info {
    flex-direction: column;
    text-align: center;
  }
}

/* Vendor Registration Styles */
.vendor-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-benefits-card {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.partner-benefits-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(244, 208, 63, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.benefits-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-align: center;
  position: relative;
  z-index: 1;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.benefit-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.benefit-highlight:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateX(4px);
}

.benefit-highlight .benefit-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 208, 63, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.benefit-text strong {
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
}

.benefit-text span {
  color: var(--text-gray);
  font-size: 0.75rem;
}

.vendor-registration-modern {
  background: var(--black);
  padding: var(--space-2xl) 0;
  min-height: calc(100vh - 160px);
}

.vendor-registration-layout-modern {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.form-column {
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.vendor-form-container {
  background: transparent;
}

.form-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--light-gray);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.section-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 208, 63, 0.1);
  border-radius: var(--radius-md);
}

.section-header h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  color: var(--white);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  color: var(--white);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(244, 208, 63, 0.05);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--medium-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-item:hover {
  background: rgba(244, 208, 63, 0.1);
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--light-gray);
  border-radius: 3px;
  background: var(--dark-gray);
  cursor: pointer;
  position: relative;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: var(--black);
  font-size: 12px;
  font-weight: bold;
}

.agreement-checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.agreement-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
}

.agreement-item:hover {
  background: rgba(244, 208, 63, 0.1);
  border-color: rgba(244, 208, 63, 0.3);
}

.agreement-item input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  background: var(--dark-gray);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.agreement-item input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.agreement-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 3px;
  color: var(--black);
  font-size: 14px;
  font-weight: bold;
}

.agreement-item input[type="checkbox"]:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(244, 208, 63, 0.1);
}

.agreement-item .checkmark {
  /* Hide the custom checkmark span since we're using CSS pseudo-elements */
  display: none;
}

.char-count {
  font-size: 0.75rem;
  color: var(--text-gray);
  text-align: right;
  margin-top: var(--space-xs);
}

.signature-note {
  background: rgba(244, 208, 63, 0.05);
  border: 1px solid rgba(244, 208, 63, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-top: var(--space-md);
}

.signature-note p {
  color: var(--text-gray);
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0;
}

.form-actions {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--light-gray);
  margin-top: var(--space-xl);
}

.value-column {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.value-column::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(244, 208, 63, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.value-content {
  position: relative;
  z-index: 1;
}

.value-title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.value-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-sm);
}

.stat-number {
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.75rem;
  margin-top: var(--space-xs);
}

.value-benefits h3,
.partner-types h3,
.partnership-process h3,
.partner-guarantee h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-sm);
}

.benefit-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 208, 63, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.benefit-item strong {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  display: block;
}

.benefit-item p {
  color: var(--text-gray);
  font-size: 0.75rem;
  margin: 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.partner-item {
  background: var(--medium-gray);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
}

.success-story {
  background: var(--medium-gray);
  border-left: 3px solid var(--gold);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  border-radius: var(--radius-sm);
}

.success-story blockquote {
  color: var(--white);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 var(--space-sm) 0;
}

.success-story cite {
  color: var(--text-gray);
  font-size: 0.75rem;
  font-style: normal;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.process-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--medium-gray);
  border-radius: var(--radius-sm);
}

.step-number {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

.guarantee-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  background: var(--medium-gray);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.75rem;
}

.guarantee-icon {
  color: var(--gold);
  font-weight: 700;
}

/* Responsive Vendor Registration */
@media (max-width: 1024px) {
  .vendor-registration-layout-modern {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .value-column {
    order: -1;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .value-stats {
    grid-template-columns: 1fr;
  }
  
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Enhanced Button States and Loading */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: btn-spin 1s linear infinite;
}

@keyframes btn-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-success {
  background: var(--success) !important;
  color: var(--white) !important;
}

.btn-error {
  background: var(--error) !important;
  color: var(--white) !important;
}

/* Form Enhancements */
.form-group {
  position: relative;
}

.form-input-modern,
.form-select-modern,
.form-textarea-modern {
  transition: all 0.3s ease;
}

.form-input-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.2);
}

.form-validation-error {
  border-color: var(--error) !important;
  background: rgba(231, 76, 60, 0.05) !important;
}

.form-validation-success {
  border-color: var(--success) !important;
  background: rgba(39, 174, 96, 0.05) !important;
}

.validation-message {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 0.75rem;
  color: var(--error);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.validation-message.show {
  opacity: 1;
  transform: translateY(0);
}

.validation-message.success {
  color: var(--success);
}

/* Interactive Elements */
.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable:hover {
  transform: translateY(-2px);
}

.clickable:active {
  transform: translateY(0);
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.form-input-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Coming Soon Page Styles */
.coming-soon-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 50%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
  padding: 50px 0 0px;
}

.coming-soon-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.coming-soon-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.coming-soon-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(244, 208, 63, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(244, 208, 63, 0.3);
  animation: float 3s ease-in-out infinite;
}

.construction-icon {
  font-size: 4rem;
  animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.coming-soon-text {
  max-width: 600px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(244, 208, 63, 0.1);
  border: 1px solid rgba(244, 208, 63, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
}

.coming-soon-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.coming-soon-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: var(--space-2xl);
}

.coming-soon-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.1);
  transform: translateX(4px);
}

.feature-icon {
  font-size: 1.25rem;
}

.feature-text {
  font-weight: 500;
  color: var(--white);
}

.coming-soon-actions {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.coming-soon-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(244, 208, 63, 0.05);
  border: 1px solid rgba(244, 208, 63, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-gray);
}

.note-icon {
  color: var(--gold);
}

.note-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.note-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .coming-soon-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .coming-soon-icon {
    width: 150px;
    height: 150px;
  }
  
  .construction-icon {
    font-size: 3rem;
  }
  
  .coming-soon-actions {
    flex-direction: column;
  }
  
  .feature-item:hover {
    transform: none;
  }
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--gold);
  color: var(--black);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* Reduce spacing overrides */
.hero-container {
  padding: var(--space-xl) var(--space-lg);
}

.container {
  padding: 0 var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  margin-bottom: var(--space-lg);
}

.hero-stats-inline {
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.hero-actions {
  gap: var(--space-md);
}

.services-modern,
.tech-modern,
.team-modern,
.contact-modern,
.faq-modern,
.cta-modern {
  padding: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  .hero-container {
    padding: var(--space-lg) var(--space-md);
  }
  
  .services-modern,
  .tech-modern,
  .team-modern,
  .contact-modern,
  .faq-modern,
  .cta-modern {
    padding: var(--space-xl) 0;
  }

  /* Mobile tech styles */
  .tech-stack-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .tech-stack-category {
    padding: var(--space-lg);
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .category-info {
    margin-left: 0;
    margin-top: var(--space-sm);
  }

  .tech-stats {
    grid-template-columns: repeat(3, 1fr);
    padding: var(--space-lg);
  }

  .tech-stat .stat-number {
    font-size: 1.5rem;
  }
}

/* Testimonials Section */
.testimonials-modern {
  background: var(--black);
  padding: var(--space-3xl) 0;
  position: relative;
}

.testimonials-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(244, 208, 63, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(244, 208, 63, 0.1);
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-lg);
}

.testimonial-text {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  top: -8px;
  left: -8px;
  opacity: 0.3;
}

.testimonial-rating {
  margin-bottom: var(--space-md);
}

.stars {
  font-size: 0.875rem;
  filter: drop-shadow(0 0 4px var(--gold));
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--medium-gray);
  border: 2px solid var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
}

.author-role {
  color: var(--text-gray);
  font-size: 0.75rem;
}

.company-badge {
  background: rgba(244, 208, 63, 0.1);
  color: var(--gold);
  padding: 2px var(--space-xs);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  width: fit-content;
  margin-top: 2px;
}

.testimonial-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--light-gray);
}

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

.big-stat {
  display: block;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-desc {
  color: var(--text-gray);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Testimonials Responsive */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .testimonial-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .big-stat {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: var(--space-lg);
  }
  
  .testimonial-text {
    font-size: 0.875rem;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
  }
}

/* Modern Footer Styles */
.footer-modern {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  border-top: 1px solid var(--light-gray);
  margin-top: var(--space-3xl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-content {
  padding: var(--space-3xl) 0 var(--space-2xl) 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--gold));
}

.brand-name {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  color: var(--text-gray);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 280px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: var(--medium-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

.social-icon {
  font-size: 1.125rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

.column-title {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav li a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-cta-text {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.footer-cta-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--light-gray);
  padding: var(--space-lg) 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  color: var(--text-gray);
  font-size: 0.75rem;
}

.footer-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-badges .badge {
  background: var(--medium-gray);
  color: var(--text-gray);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border: 1px solid var(--light-gray);
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: var(--space-2xl) 0 var(--space-xl) 0;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .footer-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 var(--space-md);
  }
  
  .footer-social {
    gap: var(--space-sm);
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .footer-badges .badge {
    font-size: 0.6875rem;
    padding: 4px var(--space-xs);
  }
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--white);
  z-index: 10000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toast-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.875rem;
  line-height: 1.4;
}

.toast-success {
  border-color: var(--success);
  background: linear-gradient(135deg, var(--success) 0%, rgba(39, 174, 96, 0.8) 100%);
}

.toast-error {
  border-color: var(--error);
  background: linear-gradient(135deg, var(--error) 0%, rgba(231, 76, 60, 0.8) 100%);
}

.toast-warning {
  border-color: var(--warning);
  background: linear-gradient(135deg, var(--warning) 0%, rgba(243, 156, 18, 0.8) 100%);
}

/* Enhanced Checkbox Styling */
.checkbox-item.checked {
  background: rgba(244, 208, 63, 0.15);
  border-color: var(--gold);
}

.agreement-item.checked {
  background: rgba(244, 208, 63, 0.15);
  border-color: var(--gold);
}

/* Character Counter Styles */
.char-count {
  font-size: 0.75rem;
  color: var(--text-gray);
  text-align: right;
  margin-top: var(--space-xs);
  font-family: var(--font-mono);
}

.char-count .current {
  font-weight: 600;
}

/* Enhanced Card Hover States */
.info-card,
.testimonial-card,
.dev-card,
.blog-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Compact Cards for Minimal Content */
.info-card.compact,
.testimonial-card.compact,
.dev-card.compact {
  padding: var(--space-md) !important;
  min-height: auto !important;
}

.compact .card-header {
  margin-bottom: var(--space-sm) !important;
}

.compact .card-title {
  font-size: 0.875rem !important;
  margin-bottom: var(--space-xs) !important;
}

.compact .card-content {
  padding: var(--space-sm) 0 !important;
}

.compact .trust-countries {
  gap: var(--space-xs) !important;
}

.compact .country-item {
  padding: var(--space-xs) var(--space-sm) !important;
  font-size: 0.75rem !important;
}

.compact .country-flag {
  font-size: 0.875rem !important;
}

.compact .trust-icon-card {
  width: 32px !important;
  height: 32px !important;
  font-size: 1rem !important;
}

/* Auto-compact cards based on content */
.info-card:has(.trust-countries) {
  padding: var(--space-md);
}

.info-card:has(.trust-countries) .card-header {
  margin-bottom: var(--space-sm);
}

.info-card:has(.trust-countries) .card-title {
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
}

/* Mobile-specific card optimizations */
@media (max-width: 768px) {
  .info-card,
  .testimonial-card,
  .dev-card {
    padding: var(--space-md) !important;
    margin-bottom: var(--space-md) !important;
  }
  
  .card-header {
    margin-bottom: var(--space-sm) !important;
  }
  
  .card-title {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
  }
  
  .trust-countries {
    gap: var(--space-xs) !important;
  }
  
  .country-item {
    padding: 4px var(--space-xs) !important;
    font-size: 0.75rem !important;
  }
  
  .trust-icon-card {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.875rem !important;
  }

  /* Hero showcase mobile styles */
  .hero-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 100%;
  }

  .value-card,
  .tech-showcase,
  .global-card,
  .process-flow {
    padding: var(--space-md);
  }

  .value-stat .stat-number {
    font-size: 1.25rem;
  }

  .tech-badges {
    gap: var(--space-xs);
  }

  .tech-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .flow-steps {
    gap: var(--space-xs);
  }

  .flow-step {
    min-width: 50px;
  }

  .step-num {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .flow-arrow {
    font-size: 0.875rem;
  }
}

/* Touch device optimizations */
.mobile-device .btn,
.mobile-device .clickable {
  min-height: 44px;
  min-width: 44px;
}

.mobile-device .form-input-modern,
.mobile-device .form-select-modern,
.mobile-device .form-textarea-modern {
  font-size: 16px !important; /* Prevent zoom on iOS */
  padding: var(--space-md) !important;
}

/* Touch feedback */
.touch-active {
  opacity: 0.8;
  transform: scale(0.98);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .toast,
  .btn,
  .form-input-modern,
  .form-select-modern,
  .form-textarea-modern,
  .info-card,
  .testimonial-card {
    transition: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .btn-primary-modern {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
  }
  
  .form-input-modern,
  .form-select-modern,
  .form-textarea-modern {
    border-width: 2px;
  }
}

/* Psychological Triggers & Behavioral Elements */
.scarcity-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--error) 0%, #d32f2f 100%);
  color: var(--white);
  padding: var(--space-sm) 0;
  z-index: 9999;
  animation: scarcityPulse 2s ease-in-out infinite;
}

.scarcity-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.scarcity-icon {
  font-size: 1.125rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.scarcity-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.scarcity-cta {
  background: var(--white);
  color: var(--error);
  padding: 4px var(--space-sm);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scarcity-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}


/* Modal Styles for Psychology */
.exit-intent-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.exit-intent-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--light-gray);
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--medium-gray);
  color: var(--white);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-body p {
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.modal-body ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.modal-body li {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
}

.modal-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Risk Reversal Elements */
.risk-reversal {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  text-align: center;
}

.risk-reversal-title {
  color: var(--success);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.risk-reversal-text {
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .services-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .tech-categories-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .team-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .filters-container-modern {
    padding: var(--space-sm);
  }
  
  .filters-compact {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .filter-input-compact,
  .filter-select-compact {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }
  
  .team-summary-compact {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: flex-start;
  }
  
  .team-actions-compact {
    align-self: flex-end;
  }
  
  .developers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Hero Section */
  .hero-container {
    padding: var(--space-2xl) var(--space-md);
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .hero-stats-inline {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .stat-item {
    flex-direction: row;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .info-card.wide {
    grid-column: span 1;
  }
  
  /* Typography */
  .section-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* Services */
  .services-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .service-card-modern {
    text-align: center;
  }
  
  /* Tech Stack */
  .tech-categories-modern {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .tech-items {
    justify-content: center;
    text-align: center;
  }
  
  /* Team */
  .team-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .testimonial-stats {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  /* Contact */
  .contact-container-modern {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-highlights {
    gap: var(--space-sm);
  }
  
  .highlight-item {
    padding: var(--space-sm);
  }
  
  .contact-cta-compact {
    padding: var(--space-md);
  }
  
  .contact-actions {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .form-row-modern {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  /* Developers */
  .developers-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .dev-card-modern {
    text-align: center;
  }
  
  /* Map */
  .office-map-modern {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .map-toggle-buttons {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .office-details-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* FAQ */
  .faq-container-modern {
    gap: var(--space-md);
  }
  
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  /* Extra small typography */
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .section-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Hero section extra small */
  .hero-container {
    padding: var(--space-lg) var(--space-sm);
    min-height: 85vh;
  }
  
  .hero-badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }
  
  .hero-stats-inline .stat-item {
    min-width: auto;
    text-align: center;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  /* Risk reversal section */
  .risk-reversal {
    padding: var(--space-md);
    margin-top: var(--space-lg);
  }
  
  .risk-reversal-title {
    font-size: 0.9rem;
  }
  
  .risk-reversal-text {
    font-size: 0.85rem;
  }
  
  /* Services section extra small */
  .service-card-modern {
    padding: var(--space-md);
  }
  
  .service-title {
    font-size: 1.1rem;
  }
  
  .service-description {
    font-size: 0.9rem;
  }
  
  /* Tech section extra small */
  .tech-stack {
    grid-template-columns: 1fr;
  }
  
  .tech-badge {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .tech-name {
    font-size: 0.8rem;
  }
  
  .tech-level {
    font-size: 0.7rem;
  }
  
  /* Team section extra small */
  .team-member {
    padding: var(--space-md);
  }
  
  .member-name {
    font-size: 1.1rem;
  }
  
  .member-bio {
    font-size: 0.9rem;
  }
  
  /* Contact form extra small */
  .contact-form-modern {
    padding: var(--space-md);
  }
  
  .form-input-modern,
  .form-select-modern,
  .form-textarea-modern {
    padding: var(--space-sm);
    font-size: 1rem;
  }
  
  .form-label-modern {
    font-size: 0.9rem;
  }
  
  /* Contact Info Card Extra Small */
  .contact-info-card {
    padding: var(--space-md);
  }
  
  .contact-card-title {
    font-size: 1rem;
  }
  
  .contact-card-subtitle {
    font-size: 0.8rem;
  }
  
  .contact-method {
    padding: var(--space-sm);
  }
  
  .contact-method .contact-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .contact-method .contact-details strong {
    font-size: 0.85rem;
  }
  
  .contact-method .contact-details span {
    font-size: 0.8rem;
  }
  
  .contact-method .contact-details small {
    font-size: 0.7rem;
    opacity: 0.9;
  }
  
  /* Contact Link Mobile */
  .contact-link {
    padding: var(--space-sm);
    margin: calc(var(--space-sm) * -1);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .contact-link:hover {
    background: rgba(244, 208, 63, 0.15);
  }
  
  /* FAQ extra small */
  .faq-question-modern {
    padding: var(--space-md);
    font-size: 0.95rem;
  }
  
  .faq-answer-content {
    font-size: 0.9rem;
    padding: var(--space-md);
  }
  
  /* Smaller buttons */
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
    min-height: 44px;
  }
  
  /* Mobile-optimized hero visual */
  .hero-showcase {
    gap: var(--space-md);
  }
  
  .value-card,
  .tech-showcase,
  .global-card,
  .process-flow {
    padding: var(--space-sm);
  }
  
  /* Optimize spacing for small screens */
  .services-modern,
  .tech-modern,
  .team-modern,
  .contact-modern,
  .faq-modern {
    padding: var(--space-xl) 0 var(--space-lg);
  }
}

/* Touch and Performance Optimizations */
@media (pointer: coarse) {
  /* Ensure all interactive elements are touch-friendly */
  .btn,
  .faq-question-modern,
  .nav-menu a,
  .social-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Larger tap targets for mobile */
  .tech-badge,
  .service-action .btn {
    min-height: 48px;
    padding: var(--space-md) var(--space-lg);
  }
  
  /* Optimize scroll performance */
  .hero-modern,
  .services-modern,
  .tech-modern {
    -webkit-overflow-scrolling: touch;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile-specific Performance Optimizations */
@media (max-width: 768px) {
  /* Optimize background attachments for mobile */
  .hero-modern,
  .services-modern,
  .tech-modern,
  .team-modern,
  .contact-modern {
    background-attachment: scroll;
  }
  
  /* Optimize images for mobile */
  img {
    image-rendering: optimizeQuality;
    -webkit-image-rendering: optimizeQuality;
  }
  
  /* Ensure proper text rendering on mobile */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Optimize tap highlighting */
  * {
    -webkit-tap-highlight-color: rgba(244, 208, 63, 0.2);
  }
  
  /* Smooth scrolling performance */
  html {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimize form inputs for mobile */
  input,
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
  
  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
  }
  
  /* Tighter spacing */
  .hero-container {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .info-card {
    padding: var(--space-md);
  }
  
  /* Stats as grid */
  .hero-stats-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
  }
  
  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  /* Form adjustments */
  .form-input-modern,
  .form-select-modern,
  .form-textarea-modern {
    padding: var(--space-md);
    font-size: 1rem; /* Prevent zoom on iOS */
  }
  
  /* Map controls */
  .map-controls {
    padding: var(--space-md);
  }
  
  .map-toggle-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }
}

/* MOBILE HERO SECTION FIX - Ensure content appears first on all mobile devices */
@media (max-width: 1024px) {
  .hero-modern .hero-container {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .hero-modern .hero-content {
    order: 1 !important;
  }
  
  .hero-modern .hero-visual {
    order: 2 !important;
  }
}