:root {
  --bg: #07111f;
  --bg-soft: #0e1b2d;
  --bg-card: rgba(255, 255, 255, 0.075);
  --text: #f7fbff;
  --muted: #b9c6d6;
  --primary: #3df2c2;
  --primary-dark: #16b894;
  --accent: #7b61ff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(61, 242, 194, 0.18), transparent 38rem),
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.22), transparent 34rem),
    var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  background: var(--primary);
  color: #04101c;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 7rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu .nav-cta {
  margin-left: 0.35rem;
  color: #06131f;
  background: var(--primary);
  box-shadow: 0 10px 30px rgba(61, 242, 194, 0.24);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: #06131f;
  background: #7cffdf;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 7.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% 0 auto auto;
  width: min(32rem, 70vw);
  height: min(32rem, 70vw);
  background: linear-gradient(135deg, rgba(61, 242, 194, 0.18), rgba(123, 97, 255, 0.16));
  filter: blur(28px);
  border-radius: 999px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.hero-text {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #06131f;
  background: var(--primary);
  box-shadow: 0 16px 42px rgba(61, 242, 194, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #86ffe3;
  box-shadow: 0 18px 52px rgba(61, 242, 194, 0.34);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.trust-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual > img {
  width: min(100%, 560px);
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.28));
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  width: 182px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 20, 36, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.floating-card strong {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.card-top {
  top: 3.5rem;
  right: 0.25rem;
}

.card-bottom {
  left: 0.15rem;
  bottom: 3rem;
}

.stats {
  padding: 1rem 0 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.stats-grid div {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.stats-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card,
.price-card,
.work-card,
.testimonial,
.contact-form,
.timeline-item {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 260px;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(61, 242, 194, 0.35);
}

.service-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
}

.service-card p,
.price-card p,
.work-card p,
.timeline-item p,
.testimonial blockquote,
.contact-copy p,
.form-note {
  color: var(--muted);
}

.accent-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #06131f;
  background: var(--primary);
  border-radius: 18px;
  font-weight: 950;
}

.timeline-item p {
  margin-bottom: 0;
}

.work-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.work-card,
.testimonial,
.contact-form {
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.price-card li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.check-list li::before,
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(61, 242, 194, 0.12), rgba(123, 97, 255, 0.12));
}

.testimonial img {
  width: 58px;
  margin-bottom: 1.25rem;
}

.testimonial blockquote {
  margin: 0 0 2rem;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.testimonial-author span {
  display: block;
  font-weight: 900;
}

.testimonial-author small {
  color: var(--muted);
}

.pricing-section {
  background: rgba(255, 255, 255, 0.02);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.price-card.featured {
  border-color: rgba(61, 242, 194, 0.5);
  background: linear-gradient(180deg, rgba(61, 242, 194, 0.13), rgba(255, 255, 255, 0.075));
  transform: translateY(-0.6rem);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #06131f;
  background: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
}

.price {
  margin: 0.5rem 0 0.75rem;
  color: var(--primary) !important;
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.price-card .btn {
  margin-top: auto;
}

.contact-section {
  background:
    radial-gradient(circle at bottom left, rgba(61, 242, 194, 0.14), transparent 28rem),
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.15), transparent 30rem),
    rgba(255, 255, 255, 0.025);
}

.contact-copy {
  align-self: center;
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-info {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.75rem;
}

.contact-info a {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}

.contact-info span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  background: rgba(7, 17, 31, 0.66);
}

.contact-form label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  padding: 0.85rem 0.95rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(61, 242, 194, 0.75);
  box-shadow: 0 0 0 4px rgba(61, 242, 194, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form .btn {
  margin-top: 0.75rem;
}

.form-note {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  background: #050d17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-grid p,
.footer-bottom {
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.footer-links a:hover,
.back-to-top:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.back-to-top {
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .section-pad {
    padding: 5.5rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 78px 1rem auto 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    width: 100%;
    justify-content: center;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  .hero-grid,
  .process-grid,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-visual {
    min-height: auto;
    padding: 2rem 0 4rem;
  }

  .card-top {
    top: 0.5rem;
    right: 1rem;
  }

  .card-bottom {
    left: 1rem;
    bottom: 0.5rem;
  }

  .stats-grid,
  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.15rem, var(--container));
  }

  .hero {
    padding-top: 4.8rem;
  }

  .section-pad {
    padding: 4.3rem 0;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .stats-grid,
  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    padding: 0.7rem;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero-visual {
    display: block;
    padding-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
