:root {
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --accent-blue: #3b82f6;
  --accent-blue-dark: #2563eb;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glow-color: rgba(59, 130, 246, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-unit: 8px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

.section {
  padding: calc(var(--spacing-unit) * 15) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 8);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: calc(var(--spacing-unit) * 2);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: calc(var(--spacing-unit) * 2);
  transition: var(--transition);
}

.btn {
  display: inline-block;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4);
  border-radius: calc(var(--spacing-unit) * 1.5);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-blue-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--accent-blue);
}

.btn-glow {
  box-shadow: 0 0 20px var(--glow-color);
}

.btn-glow:hover {
  box-shadow: 0 0 30px var(--glow-color);
}

.btn-block {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--spacing-unit) * 2) 0;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
}

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

.logo-accent {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: calc(var(--spacing-unit) * 4);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
}

.language-toggle {
  display: flex;
  gap: calc(var(--spacing-unit) * 0.5);
  background: var(--bg-secondary);
  padding: calc(var(--spacing-unit) * 0.5);
  border-radius: calc(var(--spacing-unit) * 1);
}

.lang-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
  border-radius: calc(var(--spacing-unit) * 0.75);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.875rem;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent-blue);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: calc(var(--spacing-unit) * 1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: calc(var(--spacing-unit) * 15);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #06b6d4;
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

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

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: calc(var(--spacing-unit) * 3);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: calc(var(--spacing-unit) * 5);
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  justify-content: center;
  margin-bottom: calc(var(--spacing-unit) * 8);
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 8);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: calc(var(--spacing-unit) * 1);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
}

.service-card {
  padding: calc(var(--spacing-unit) * 4);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 40px var(--glow-color);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #06b6d4 100%);
  border-radius: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, #06b6d4 100%);
}

.timeline-item {
  display: flex;
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 6);
  position: relative;
}

.timeline-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--accent-blue);
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: calc(var(--spacing-unit) * 1);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  color: var(--text-primary);
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-marquee {
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
  padding: calc(var(--spacing-unit) * 4) 0;
  border-radius: calc(var(--spacing-unit) * 2);
}

.marquee-content {
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tech-item {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: calc(var(--spacing-unit) * 1.5);
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-primary);
}

.tech-item i {
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 6);
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: calc(var(--spacing-unit) * 4);
  color: var(--text-primary);
}

.contact-item {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: calc(var(--spacing-unit) * 1.5);
  font-size: 1.25rem;
  color: var(--accent-blue);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 0.5);
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.contact-value:hover {
  color: var(--accent-blue);
}

.contact-form {
  padding: calc(var(--spacing-unit) * 4);
}

.form-group {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-group label {
  display: block;
  margin-bottom: calc(var(--spacing-unit) * 1);
  color: var(--text-primary);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1.5);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: calc(var(--spacing-unit) * 1);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--glow-color);
}

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

.footer {
  background: var(--bg-secondary);
  padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: calc(var(--spacing-unit) * 3);
    gap: calc(var(--spacing-unit) * 2);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .process-timeline::before {
    left: 16px;
  }

  .timeline-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 calc(var(--spacing-unit) * 2);
  }

  .section {
    padding: calc(var(--spacing-unit) * 10) 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
