:root {
  --bg: #040613;
  --bg-deep: #01020a;
  --surface: rgba(8, 14, 40, 0.7);
  --surface-alt: rgba(5, 10, 30, 0.86);
  --text: #ecf2ff;
  --muted: #9ba8ce;
  --primary: #00e7ff;
  --primary-soft: #50f5ff;
  --accent: #8b5cf6;
  --border: rgba(80, 245, 255, 0.26);
  --glow: 0 0 12px rgba(80, 245, 255, 0.6), 0 0 42px rgba(80, 245, 255, 0.24);
  --shadow: 0 14px 45px rgba(0, 0, 0, 0.46);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #101f4f 0%, transparent 32%),
    radial-gradient(circle at 84% 10%, #1e0d45 0%, transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.65;
  animation: page-in 0.7s ease both;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 22, 0.72);
  border-bottom: 1px solid rgba(80, 245, 255, 0.22);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px;
  box-shadow: var(--glow);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  z-index: 2;
  font-weight: 500;
  color: var(--muted);
  transition: 0.25s ease;
}

.site-nav a.active {
  color: var(--primary-soft);
  text-shadow: 0 0 10px rgba(80, 245, 255, 0.6);
}

.site-nav a:hover {
  color: var(--primary-soft);
  text-shadow: 0 0 8px rgba(80, 245, 255, 0.56);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  padding: 4.8rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  text-shadow: 0 0 10px rgba(80, 245, 255, 0.45);
}

.hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 3.2rem);
  text-shadow: 0 0 18px rgba(80, 245, 255, 0.14);
}

.hero-card {
  background: var(--surface);
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-logo {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 1rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 10px;
}

.glow-frame {
  box-shadow: var(--shadow), var(--glow);
  animation: pulse-glow 3.2s ease-in-out infinite alternate;
}

.hero-card ul,
.check-list,
.contact-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.12rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.btn-primary {
  background: linear-gradient(130deg, #00e7ff 0%, #2ca7ff 48%, #9061ff 100%);
  color: #041025;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(6, 12, 30, 0.75);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary-soft);
  color: var(--primary-soft);
  box-shadow: 0 0 14px rgba(80, 245, 255, 0.25);
}

.stats {
  padding: 1rem 0 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stats article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 0 16px rgba(80, 245, 255, 0.09);
}

.stats h3 {
  font-size: 1.75rem;
  margin-bottom: 0.2rem;
  color: var(--primary-soft);
  text-shadow: 0 0 12px rgba(80, 245, 255, 0.35);
}

.section {
  padding: 3.9rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid rgba(80, 245, 255, 0.1);
  border-bottom: 1px solid rgba(80, 245, 255, 0.1);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 0 18px rgba(80, 245, 255, 0.1);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.projects,
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card,
.project,
.testimonials blockquote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 0 20px rgba(80, 245, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.project:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 245, 255, 0.5);
  box-shadow: 0 0 26px rgba(80, 245, 255, 0.16);
}

.card-link {
  display: block;
  color: inherit;
}

.card-link .card {
  height: 100%;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 0 20px rgba(80, 245, 255, 0.1);
}

.contact-form label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(80, 245, 255, 0.28);
  border-radius: 10px;
  padding: 0.75rem;
  font: inherit;
  color: var(--text);
  background: rgba(4, 10, 30, 0.9);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7384b1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(80, 245, 255, 0.28);
  border-color: var(--primary-soft);
}

.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(80, 245, 255, 0.2);
  background: rgba(1, 4, 18, 0.9);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero .hero-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 1.3rem;
}

.cta-banner {
  margin-top: 1rem;
  background: linear-gradient(
    130deg,
    rgba(0, 231, 255, 0.11) 0%,
    rgba(44, 167, 255, 0.14) 45%,
    rgba(144, 97, 255, 0.14) 100%
  );
  border: 1px solid rgba(80, 245, 255, 0.3);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 0 22px rgba(80, 245, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.6s ease var(--delay, 0ms), transform 0.6s ease var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cursor-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 12px;
  border: 1px solid rgba(80, 245, 255, 0.62);
  background: rgba(80, 245, 255, 0.08);
  box-shadow: 0 0 18px rgba(80, 245, 255, 0.3);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: width 0.22s ease, height 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
  z-index: 1000;
}

.cursor-block.active {
  opacity: 1;
}

@keyframes pulse-glow {
  from {
    box-shadow: var(--shadow), 0 0 6px rgba(80, 245, 255, 0.35), 0 0 20px rgba(80, 245, 255, 0.14);
  }
  to {
    box-shadow: var(--shadow), 0 0 16px rgba(80, 245, 255, 0.62), 0 0 42px rgba(80, 245, 255, 0.24);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards,
  .projects,
  .testimonials,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .logo span {
    font-size: 0.86rem;
  }

  .site-nav {
    position: absolute;
    right: 4%;
    top: 72px;
    width: min(310px, 92%);
    background: rgba(4, 10, 28, 0.95);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.9rem;
    box-shadow: var(--shadow), var(--glow);
    flex-direction: column;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .page-hero {
    padding-top: 3.2rem;
  }
}
