:root {
  --bg: #081120;
  --text: #f4fbff;
  --muted: rgba(244, 251, 255, 0.72);
  --primary: #54f0d0;
  --border: rgba(84, 240, 208, 0.2);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --panel: rgba(8, 17, 32, 0.82);
  --panel-strong: rgba(12, 24, 40, 0.92);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(84, 240, 208, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 240, 208, 0.025) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(84, 240, 208, 0.18), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(84, 240, 208, 0.1), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #0b1728 50%, var(--bg) 100%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.45;
  animation: floatGlow 14s ease-in-out infinite;
}

body::before {
  top: -120px;
  left: -80px;
  background: rgba(84, 240, 208, 0.24);
}

body::after {
  right: -100px;
  bottom: 40px;
  background: rgba(84, 240, 208, 0.16);
  animation-delay: -6s;
}

section,
header,
footer {
  position: relative;
  z-index: 1;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: 10px;
}

.top-contact-bar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 6px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 8px;
  font-size: 0.9rem;
}

.top-contact-bar a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.top-contact-bar a:hover {
  color: var(--primary);
}

.navbar,
.hero,
.about,
.services,
.why,
.cta,
footer {
  animation: riseIn 0.9s ease both;
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(8, 17, 32, 0.86);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 5px 12px;
  border: 1px solid rgba(84, 240, 208, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 18%, rgba(84, 240, 208, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(84, 240, 208, 0.08);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 240, 208, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(84, 240, 208, 0.14);
}

.logo img {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero,
.about,
.services,
.why,
.cta,
footer {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 96px 28px 88px;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 40px 0 auto 48%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(84, 240, 208, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 240, 208, 0.09), transparent 64%);
  filter: blur(0.2px);
  opacity: 0.7;
  z-index: -1;
  animation: slowSpin 24s linear infinite;
}

.hero-copy {
  max-width: 640px;
}

.hero-badge,
.section-label {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(84, 240, 208, 0.28);
  border-radius: 999px;
  background: rgba(84, 240, 208, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h2 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.video-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.92), rgba(8, 17, 32, 0.86));
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-frame:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44), 0 0 42px rgba(84, 240, 208, 0.1);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(84, 240, 208, 0.14), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(8, 17, 32, 0.95);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(84, 240, 208, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 38px rgba(84, 240, 208, 0.28);
}

.btn-secondary {
  background: rgba(84, 240, 208, 0.06);
  border-color: rgba(84, 240, 208, 0.18);
  color: var(--text);
  box-shadow: none;
}

.services,
.about,
.why,
.cta {
  padding: 36px 28px 84px;
  text-align: center;
}

.about,
.services,
.why,
.cta {
  border-top: 1px solid rgba(84, 240, 208, 0.08);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
  text-align: left;
}

.about-copy {
  max-width: 700px;
}

.about-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-copy p + p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  gap: 20px;
}

.about-panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.92), rgba(8, 17, 32, 0.86));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(84, 240, 208, 0.08);
  filter: blur(18px);
}

.about-panel h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.about-panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.about-panel li {
  position: relative;
  padding-left: 18px;
}

.about-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(84, 240, 208, 0.35);
}

.services h2,
.why h2,
.cta h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-intro {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
  align-items: stretch;
}

.card,
.why-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.92), rgba(8, 17, 32, 0.86));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.card {
  padding: 30px 26px;
  border-radius: 20px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transform: translateY(24px);
  opacity: 0;
  animation: staggerRise 0.75s ease forwards;
  isolation: isolate;
}

.card::before,
.why-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(84, 240, 208, 0.12), transparent 45%, rgba(84, 240, 208, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover,
.why-item:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(84, 240, 208, 0.36);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.42), 0 0 34px rgba(84, 240, 208, 0.09);
}

.card:hover::before,
.why-item:hover::before {
  opacity: 1;
}

.card:nth-child(1) { animation-delay: 0.08s; }
.card:nth-child(2) { animation-delay: 0.16s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.32s; }
.card:nth-child(5) { animation-delay: 0.4s; }
.card:nth-child(6) { animation-delay: 0.48s; }

.card h3 {
  position: relative;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p,
.cta p {
  position: relative;
  color: var(--muted);
  line-height: 1.75;
}

.why-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.why-item {
  padding: 24px 20px;
  border-radius: 18px;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-height: 210px;
}

.why-item h3 {
  position: relative;
  margin-bottom: 12px;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.why-item p {
  position: relative;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.cta {
  margin-bottom: 28px;
  padding-bottom: 96px;
  border: 1px solid rgba(84, 240, 208, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 240, 208, 0.13), transparent 45%),
    linear-gradient(180deg, rgba(12, 24, 40, 0.72), rgba(8, 17, 32, 0.42));
  box-shadow: var(--shadow);
}

.cta p {
  max-width: 620px;
  margin: 16px auto 28px;
}

footer {
  margin-bottom: 24px;
  padding: 32px 28px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(8, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  color: var(--muted);
}

.footer-top {
  display: grid;
  gap: 26px;
}

.footer-copy {
  text-align: center;
}

.footer-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--text);
}

.footer-copy p:last-child {
  max-width: 720px;
  margin: 16px auto 0;
  line-height: 1.8;
}

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

.contact-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.92), rgba(8, 17, 32, 0.86));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-align: left;
}

.contact-card h3 {
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: var(--text);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(84, 240, 208, 0.12);
  text-align: center;
}

.form-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.form-intro,
.consultation-form {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.92), rgba(8, 17, 32, 0.86));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.form-intro {
  padding: 32px 28px;
  animation: riseIn 0.9s ease both;
}

.form-intro h2 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.form-intro p:last-of-type {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 26px;
}

.form-note {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.form-note code {
  color: var(--primary);
}

.consultation-form {
  padding: 32px 28px;
  animation: riseIn 1s ease both;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.consultation-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.consultation-form span {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(84, 240, 208, 0.2);
  border-radius: 14px;
  background: rgba(84, 240, 208, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
  color: rgba(244, 251, 255, 0.42);
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: rgba(84, 240, 208, 0.55);
  box-shadow: 0 0 0 4px rgba(84, 240, 208, 0.12);
  transform: translateY(-1px);
}

.consultation-form textarea {
  resize: vertical;
  min-height: 160px;
}

.full-width {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  text-align: left;
}

.form-status.is-pending {
  color: var(--primary);
}

.form-status.is-success {
  color: var(--primary);
}

.form-status.is-error {
  color: #ff8f8f;
}

.submission-target {
  width: 0;
  height: 0;
  border: 0;
  position: absolute;
  visibility: hidden;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, 28px, 0) scale(1.08);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes staggerRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .top-contact-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 12px 20px;
  }

  .logo img {
    height: 42px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
    text-align: center;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .about-copy {
    max-width: none;
  }

  .hero h2,
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-copy h2,
  .about-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .video-frame {
    transform: none;
  }

  .service-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .form-shell,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .services,
  .why,
  .cta,
  footer {
    width: min(100% - 20px, 1180px);
  }

  .hero,
  .services,
  .why,
  .cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-container,
  .why-container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
    text-align: center;
  }

  .why-item,
  .contact-card {
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    background-size: 34px 34px, 34px 34px, auto, auto, auto;
  }

  header {
    padding-top: 8px;
  }

  .top-contact-bar {
    width: calc(100% - 20px);
    gap: 6px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .top-contact-bar a {
    overflow-wrap: anywhere;
  }

  .navbar {
    width: calc(100% - 20px);
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
  }

  .logo {
    min-width: auto;
    padding: 4px 10px;
  }

  .logo img {
    height: 36px;
  }

  .nav-links {
    width: 100%;
    gap: 8px;
  }

  .nav-links li {
    flex: 1;
  }

  .nav-links a {
    display: block;
    padding: 9px 8px;
    border: 1px solid rgba(84, 240, 208, 0.12);
    border-radius: 999px;
    background: rgba(84, 240, 208, 0.05);
    font-size: 0.86rem;
    text-align: center;
  }

  .nav-links a::after {
    display: none;
  }

  .hero,
  .about,
  .services,
  .why,
  .cta,
  footer,
  .form-page {
    width: calc(100% - 20px);
  }

  .hero {
    gap: 28px;
    padding: 46px 16px 56px;
  }

  .hero::before {
    width: 220px;
    height: 220px;
    inset: 70px auto auto 50%;
    transform: translateX(-50%);
  }

  .hero h2 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
    letter-spacing: -0.045em;
  }

  .hero p,
  .section-intro,
  .about-copy p + p,
  .footer-copy p:last-child {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
  }

  .video-frame {
    border-radius: 20px;
  }

  .video-frame video {
    aspect-ratio: 16 / 11;
  }

  .about,
  .services,
  .why,
  .cta {
    padding: 44px 16px 56px;
  }

  .services h2,
  .why h2,
  .cta h2,
  .about-copy h2,
  .footer-copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .service-container,
  .why-container,
  .contact-grid,
  .about-highlights {
    gap: 16px;
  }

  .card,
  .why-item,
  .about-panel,
  .contact-card,
  .consultation-form,
  .form-intro {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .card:hover,
  .why-item:hover,
  .btn:hover,
  .logo:hover,
  .video-frame:hover {
    transform: none;
  }

  .cta {
    border-radius: 22px;
    margin-bottom: 18px;
  }

  footer {
    padding: 28px 16px 20px;
    border-radius: 18px;
  }

  .form-page {
    padding: 28px 0 48px;
  }

  .form-shell {
    gap: 18px;
  }

  .consultation-form input,
  .consultation-form textarea {
    font-size: 1rem;
  }
}
