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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #050505;
  color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

a { 
  text-decoration: none; 
  color: inherit; 
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
  position: relative;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  min-width: 180px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  width: 100%;
  height: auto;
  max-width: 180px;
}

.menu {
  display: flex;
  gap: 32px;
  color: #cbd5e1;
  font-weight: 500;
}

.menu a { 
  transition: color 0.3s; 
}

.menu a:hover { 
  color: #60a5fa; 
}

/* Hero Section */
.hero {
  position: relative;
  width: 100vw;
  min-height: 680px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 160px 20px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.38) 0%,
      rgba(5, 5, 5, 0.52) 58%,
      #050505 100%
    ),
    url('../../assets/images/hero_section.jpg') center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 10px 16px;
  border-radius: 999px;
  color: #60a5fa;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 24px;
  justify-items: center;
  pointer-events: none;
}

.focus-pill {
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  color: rgba(241, 245, 249, 0.78);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.logo-marquee {
  width: min(100%, 1180px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-right: clamp(48px, 7vw, 104px);
}

.tech-logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.tech-logo img {
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

.tech-logo svg {
  width: 45px;
  height: 38px;
  overflow: visible;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

.aws-mark text {
  fill: #f1f5f9;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}

.aws-mark path {
  fill: none;
  stroke: #ff9900;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sonarqube-mark path {
  fill: none;
  stroke: #4e9bcd;
  stroke-width: 5;
  stroke-linecap: round;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: white;
}

.btn.primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3); 
}

.btn.secondary {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}

.btn.secondary:hover { 
  background: rgba(148, 163, 184, 0.2); 
}

/* Card & Images */
.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.1);
  padding: 0;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.3s;
}

.card:hover img {
  opacity: 1;
}

.hero-image {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.feature-media {
  position: relative;
  height: 240px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  background: #07111f;
}

.feature-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.feature-media .feature-image {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.dot-field {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0.68;
  pointer-events: none;
  mix-blend-mode: screen;
}

.dot-field-one {
  background: rgba(96, 165, 250, 0.95);
  box-shadow:
    56px 28px 0 rgba(96, 165, 250, 0.72),
    146px 88px 0 rgba(248, 250, 252, 0.68),
    236px 44px 0 rgba(34, 211, 238, 0.72);
  animation: drift-one 12s linear infinite;
}

.dot-field-two {
  top: 62px;
  left: 42px;
  width: 4px;
  height: 4px;
  background: rgba(167, 139, 250, 0.82);
  box-shadow:
    78px 118px 0 rgba(167, 139, 250, 0.7),
    174px 20px 0 rgba(34, 211, 238, 0.62),
    262px 132px 0 rgba(248, 250, 252, 0.58);
  animation: drift-two 16s linear infinite;
}

.dot-field-three {
  top: 130px;
  left: 26px;
  width: 3px;
  height: 3px;
  opacity: 0.5;
  background: rgba(248, 250, 252, 0.82);
  box-shadow:
    96px -84px 0 rgba(248, 250, 252, 0.54),
    198px 42px 0 rgba(96, 165, 250, 0.58),
    288px -38px 0 rgba(167, 139, 250, 0.48);
  animation: drift-three 10s linear infinite;
}

@keyframes drift-one {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(28px, -34px, 0);
  }
}

@keyframes drift-two {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-32px, 26px, 0);
  }
}

@keyframes drift-three {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(22px, 30px, 0);
  }
}

.feature:hover .feature-image {
  opacity: 1;
}

/* Icon Styles */
.icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
  border-radius: 16px;
  transition: all 0.3s;
}

.feature:hover .icon {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.4), rgba(167, 139, 250, 0.4));
  transform: scale(1.1);
}

.icon svg {
  width: 40px;
  height: 40px;
  stroke: #60a5fa;
  fill: none;
  stroke-width: 2;
}

/* Section */
.section {
  padding: 100px 0;
}

.section > .mission-pill {
  display: block;
  text-align: center;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: #cbd5e1;
  text-align: center;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.1);
  padding: 32px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s;
}

.feature:hover {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-5px);
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #f1f5f9;
  font-weight: 700;
}

.muted { 
  color: #94a3b8; 
  font-size: 15px; 
}

/* Mission Section */
.mission {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}

.mission-pill {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(241, 245, 249, 0.68);
  font-size: 14px;
  font-weight: 600;
}

.section .mission-pill {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.mission h2 {
  font-size: 48px;
  line-height: 1.28;
  margin-bottom: 44px;
  color: #f8fafc;
  font-weight: 500;
  letter-spacing: 0;
}

.mission h2 span {
  color: #2563eb;
  font-weight: 500;
}

.mission p { 
  max-width: 540px;
  margin: 0 auto;
  font-size: 21px;
  color: rgba(241, 245, 249, 0.62);
  line-height: 1.55;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 80px 0;
}

.cta h2 { 
  font-size: 48px; 
  margin-bottom: 20px; 
  font-weight: 800; 
}

.cta p { 
  font-size: 18px; 
  color: #cbd5e1; 
  margin-bottom: 40px; 
}

/* Footer */
.footer {
  padding: 60px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col p { 
  color: #cbd5e1; 
  font-size: 16px; 
}

.footer-col a:hover { 
  color: #a78bfa; 
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 50%;
  transition: all 0.3s;
  cursor: pointer;
}

.social-icon:hover {
  background: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  stroke: #60a5fa;
  fill: none;
  stroke-width: 2;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: #64748b;
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 200;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.72);
  color: #f1f5f9;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.72);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive */
@media (max-width: 768px) {
  .grid, .footer-content { 
    grid-template-columns: 1fr; 
  }

  .hero {
    min-height: 600px;
    padding: 132px 20px 148px;
  }
  
  .hero h1 { 
    font-size: 42px; 
  }

  .hero-logo-strip {
    bottom: 8px;
    gap: 22px;
  }

  .focus-pill {
    font-size: 14px;
  }

  .tech-logo {
    width: 39px;
    height: 39px;
  }

  .tech-logo img {
    max-width: 29px;
    max-height: 29px;
  }

  .tech-logo svg {
    width: 35px;
    height: 29px;
  }
  
  .section-title { 
    font-size: 36px; 
  }
  
  .menu { 
    gap: 16px; 
    font-size: 14px; 
  }
  
  .btns { 
    flex-direction: column; 
  }
  
  .mission { 
    padding: 0 4px; 
  }

  .mission-pill {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .mission h2 {
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 28px;
  }

  .mission p {
    font-size: 17px;
  }
  
  .cta { 
    padding: 60px 0; 
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

.contact-form {
  max-width: 600px;
  margin: 60px auto 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.1);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.phone-group {
  grid-column: auto;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.3s;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="tel"]::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-bottom-color: rgba(239, 68, 68, 0.8);
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: transparent;
  border-bottom-color: rgba(96, 165, 250, 0.8);
  box-shadow: none;
}

.form-group select option {
  background: #0f172a;
  color: #f1f5f9;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.phone-input-wrapper {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.phone-input-wrapper select,
.phone-input-wrapper input[type="tel"] {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.3s;
}

.phone-input-wrapper input[type="tel"]::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.phone-input-wrapper select:focus,
.phone-input-wrapper input[type="tel"]:focus {
  outline: none;
  background: transparent;
  border-bottom-color: rgba(96, 165, 250, 0.8);
  box-shadow: none;
}

.phone-input-wrapper select option {
  background: #0f172a;
  color: #f1f5f9;
}

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

.form-group input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
}

.form-group input[type="file"].error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.05);
}

.form-group input[type="file"]::file-selector-button {
  padding: 6px 12px;
  background: rgba(96, 165, 250, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 6px;
  color: #60a5fa;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  margin-right: 10px;
  font-size: 12px;
}

.form-group input[type="file"]::file-selector-button:hover {
  background: rgba(96, 165, 250, 0.3);
  border-color: rgba(96, 165, 250, 0.5);
}

.file-help-text {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #fca5a5;
  margin-top: 5px;
  font-weight: 500;
}

.field-error:empty {
  display: none;
}

.submit-btn {
  width: 100%;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.submit-btn:active {
  transform: translateY(1px);
}

/* Form Messages */
.form-message {
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  animation: slideDown 0.4s ease-out;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group input[type="text"],
  .form-group input[type="tel"],
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .form-group textarea {
    min-height: 80px;
  }

  .submit-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .phone-input-wrapper {
    grid-template-columns: 70px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track,
  .dot-field {
    animation: none;
    transform: translateX(0);
  }
}
