:root {
  --bg-dark: #0a1420;
  --bg-darker: #050c14;
  --bg-panel: rgba(12, 22, 35, 0.72);
  --primary: #00e3d0;
  --secondary: #4f8cff;
  --text: #ecf2f8;
  --muted: #97a5b5;
  --border: rgba(0, 227, 208, 0.14);
  --panel-border: rgba(79, 140, 255, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 20% 15%, rgba(0,227,208,0.10), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(79,140,255,0.10), transparent 20%),
    radial-gradient(circle at 50% 80%, rgba(0,227,208,0.05), transparent 28%),
    linear-gradient(135deg, #0a1420 0%, #08111a 50%, #050c14 100%);
  position: relative;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.06) 49.5%, transparent 50.5%),
    linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.04) 49.5%, transparent 50.5%);
  background-size: 220px 220px, 260px 260px;
}

a {
  color: inherit;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 12, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,227,208,0.55));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

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

nav {
  display: flex;
  align-items: center;
}

.navbar a {
  color: var(--text);
  margin-left: 24px;
  text-decoration: none;
  font-size: 0.96rem;
  position: relative;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.25s ease;
}

.navbar a:hover {
  color: var(--primary);
  text-shadow: 0 0 16px rgba(0,227,208,0.18);
}

.navbar a:hover::after {
  width: 100%;
}

.hero {
  padding: 135px 10% 115px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,227,208,0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(79,140,255,0.08) 45%, transparent 75%);
  filter: blur(8px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 920px;
  height: 920px;
  top: -430px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,227,208,0.16) 0%, rgba(79,140,255,0.08) 28%, transparent 60%);
  filter: blur(22px);
  pointer-events: none;
}

.hero h1,
.hero p,
.hero .cta {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.7px;
  text-shadow: 0 0 24px rgba(0,227,208,0.07);
}

.hero p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 38px;
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary), #7cf2ff);
  color: #041018;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0,227,208,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,227,208,0.24);
  filter: brightness(1.04);
}

.services {
  padding: 90px 10%;
  position: relative;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(8, 16, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 30px;
  border: 1px solid rgba(0,227,208,0.12);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 35%);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(79,140,255,0.26);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
}

.about {
  padding: 90px 10%;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)),
    rgba(6, 12, 20, 0.55);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background:
    linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.08) 49.5%, transparent 50.5%);
  background-size: 260px 260px;
}

.about h2 {
  margin-bottom: 24px;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.about p {
  max-width: 820px;
  margin: auto;
  color: var(--muted);
  font-size: 1.03rem;
  position: relative;
  z-index: 1;
}

.contact {
  padding: 90px 10%;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact > p {
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-box {
  margin-top: 30px;
  background: rgba(8, 16, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 30px 36px;
  display: inline-block;
  border: 1px solid rgba(0,227,208,0.12);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 35%);
}

.contact-box p + p {
  margin-top: 10px;
}

footer {
  padding: 22px;
  text-align: center;
  background: rgba(5, 12, 20, 0.8);
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  .navbar {
    padding: 16px 6%;
  }

  .hero,
  .services,
  .about,
  .contact {
    padding-left: 6%;
    padding-right: 6%;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 14px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar a {
    margin: 0 10px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 90px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .contact-box {
    width: 100%;
    text-align: left;
  }
}