:root {
  color-scheme: dark;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
  --gradient-primary: linear-gradient(135deg, #5b7cff, #00d8ff);
  --gradient-accent: linear-gradient(135deg, #00d8ff, #5b7cff);
  --shadow-glow: 0 0 30px rgba(91, 124, 255, 0.25);
  --shadow-elevated: 0 45px 100px rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, #0f1729 0%, #1a2d4d 50%, #0f1729 100%);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1729 0%, #1a2d4d 50%, #0f1729 100%);
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(15, 23, 41, 0.8);
  border-bottom: 1px solid rgba(91, 124, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #00d8ff;
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.85rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #ffffff;
  background: var(--gradient-primary);
  box-shadow: 0 20px 50px rgba(91, 124, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 30px 70px rgba(91, 124, 255, 0.4);
}

.btn-outline {
  color: #ffffff;
  background: transparent;
  border: 1.5px solid rgba(91, 124, 255, 0.5);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(91, 124, 255, 0.1);
  border-color: #00d8ff;
}

.hero-section {
  padding: 6rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.6rem;
  align-items: center;
}

.hero-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.75rem, 5vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: #00d8ff;
  font-weight: 700;
}

.hero-text {
  max-width: 44rem;
  margin: 1.4rem 0 2rem;
  color: #cbd5e1;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top right, rgba(91, 124, 255, 0.15), transparent 30%), radial-gradient(circle at bottom left, rgba(0, 216, 255, 0.12), transparent 32%), rgba(26, 45, 77, 0.4);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(91, 124, 255, 0.1);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(91, 124, 255, 0.08) 1px, transparent 1px), linear-gradient(rgba(91, 124, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-futuristic {
  position: absolute;
  top: 12%;
  right: 10%;
  width: 240px;
  height: 260px;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero-futuristic-panel {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 80px rgba(20, 35, 85, 0.08);
  backdrop-filter: blur(18px);
  padding: 1.4rem;
  display: grid;
  gap: 1.4rem;
}

.futuristic-chip {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91, 124, 255, 0.95), rgba(0, 216, 255, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.futuristic-lines {
  display: grid;
  gap: 0.7rem;
}

.futuristic-lines span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.88), rgba(91, 124, 255, 0.75));
}

.futuristic-lines span:first-child {
  width: 70%;
}

.futuristic-lines span:nth-child(2) {
  width: 50%;
}

.futuristic-lines span:last-child {
  width: 90%;
}

.futuristic-card {
  padding: 1rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.22);
  color: #f8fbff;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-card {
  width: 100%;
  max-width: 520px;
  padding: 3rem;
  background: rgba(26, 45, 77, 0.6);
  border: 1.5px solid rgba(91, 124, 255, 0.2);
  border-radius: 36px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.95rem;
  color: #ffffff;
}

.hero-card p {
  margin: 0 0 1.85rem;
  color: #cbd5e1;
}

.hero-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-taglist span {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(91, 124, 255, 0.2);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(91, 124, 255, 0.3);
}

.section {
  padding: 5rem 0 4rem;
  scroll-margin-top: 80px;
}

.section-services {
  background: rgba(26, 45, 77, 0.8);
  border-radius: 40px;
  border: 1px solid rgba(91, 124, 255, 0.15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
  padding: 0 1rem;
}

.section-heading h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.service-card {
  padding: 2.5rem;
  border-radius: 28px;
  background: rgba(26, 45, 77, 0.6);
  border: 1.5px solid rgba(91, 124, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 80px rgba(91, 124, 255, 0.2);
  border-color: rgba(91, 124, 255, 0.4);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 15px 35px rgba(91, 124, 255, 0.3);
}

.service-card h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.service-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-about {
  scroll-margin-top: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  padding: 0 1rem;
}

.about-grid > div:first-child h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-grid > div:first-child p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-list {
  display: grid;
  gap: 1.2rem;
}

.about-item {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(26, 45, 77, 0.6);
  border: 1.5px solid rgba(91, 124, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-item:hover {
  border-color: rgba(91, 124, 255, 0.4);
  box-shadow: 0 20px 50px rgba(91, 124, 255, 0.15);
}

.about-item h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  color: #00d8ff;
}

.about-item p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-contact {
  scroll-margin-top: 80px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(91, 124, 255, 0.12), rgba(0, 216, 255, 0.08));
  border: 1.5px solid rgba(91, 124, 255, 0.25);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-panel h2 {
  margin: 0.5rem 0 0;
  font-size: 1.8rem;
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-panel p {
  margin: 0.5rem 0 0;
  color: #cbd5e1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.site-footer {
  border-top: 1px solid rgba(91, 124, 255, 0.15);
  padding: 2rem 0 2.5rem;
  background: rgba(15, 23, 41, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: #64748b;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image {
    min-height: 400px;
    margin-top: 1.5rem;
  }

  .hero-futuristic {
    position: static;
    width: 100%;
    height: auto;
    max-width: 350px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
}

@media (max-width: 680px) {
  .nav-menu {
    display: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .contact-panel {
    padding: 2rem;
  }

  .section {
    padding: 3rem 0;
  }
}
