:root {
  --bg: #06172c;
  --bg-2: #092542;
  --primary: #00b8e6;
  --primary-2: #2de2c9;
  --accent: #ffb347;
  --text: #eef8ff;
  --muted: #a9bfd1;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --dark: #071425;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 23, 44, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0,184,230,0.24);
}

.brand-text { font-size: 1.1rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover { color: var(--white); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--white);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 20% 20%, rgba(45,226,201,0.24), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(0,184,230,0.24), transparent 32%),
    linear-gradient(135deg, #06172c 0%, #092542 52%, #0c365e 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -26% -10%;
  height: 280px;
  background: rgba(255,255,255,0.05);
  filter: blur(70px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-2);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-content p,
.section-heading p,
.about-grid p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--dark);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0,184,230,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,184,230,0.34);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--card-border);
  box-shadow: none;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.btn-light {
  background: var(--white);
  color: var(--dark);
  box-shadow: none;
}

.hero-card,
.service-card,
.project-card,
.about-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  min-height: 410px;
}

.card-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,179,71,0.5), transparent 68%);
  right: -70px;
  top: -60px;
}

.hero-card h2,
.hero-card p,
.hero-card ul { position: relative; z-index: 2; }

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  color: #d9f6ff;
}

.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section { padding: 92px 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45,226,201,0.45);
}

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

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(45,226,201,0.1);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.projects-grid,
.about-grid,
.cta-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.project-card { padding: 34px; }

.project-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,179,71,0.13);
  color: #ffd49b;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.project-card a {
  color: var(--primary-2);
  font-weight: 800;
}

.about-box {
  padding: 34px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,184,230,0.25), transparent 30%),
    var(--card);
}

.about-box strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.about-box span { color: var(--muted); }

.cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #00b8e6, #2de2c9);
  color: var(--dark);
}

.cta .eyebrow,
.cta p { color: rgba(7,20,37,0.72); }

.cta-inner { grid-template-columns: 1fr auto; }

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p { margin: 0; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6,23,44,0.98);
    border: 1px solid var(--card-border);
    border-radius: 20px;
  }

  .site-nav.is-open { display: flex; }

  .hero-grid,
  .projects-grid,
  .about-grid,
  .cta-inner { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 72px 0 64px; }
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-card, .service-card, .project-card, .about-box { border-radius: 22px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-text { font-size: 1rem; }
}
