:root {
  --brand-blue: #00A8FF;
  --brand-dark: #0A0F14;
  --brand-yellow: #ffcc00;
  --ink: #1a222c;
  --muted: #5b6775;
  --surface: #f4f7fa;
  --surface-2: #ffffff;
  --line: rgba(0, 168, 255, 0.18);
  --shadow: 0 18px 50px rgba(10, 15, 20, 0.08);
  --radius: 18px;
  --nav-h: 78px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 168, 255, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 204, 0, 0.06), transparent 50%),
    var(--surface);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.barlow-condensed-bold-italic {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 168, 255, 0.35);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 72px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 1.05rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
  padding: calc(var(--nav-h) + 56px) 22px 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(0, 168, 255, 0.28), transparent 70%),
    linear-gradient(165deg, #071018 0%, var(--brand-dark) 48%, #101820 100%);
  border-bottom: 3px solid var(--brand-blue);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(244, 247, 250, 0.08), transparent);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
  animation: rise-in 0.8s ease both;
}

.hero-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 75%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.85) 0%, rgba(0, 168, 255, 0) 70%);
  transform: translate(-50%, -50%);
  filter: blur(22px);
  z-index: -1;
}

.logo-img {
  width: min(280px, 48vw);
  height: auto;
  margin: 0 auto;
}

.hero h1 {
  margin: 10px auto 12px;
  max-width: 14ch;
  color: var(--brand-blue);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: rise-in 0.85s ease 0.08s both;
}

.hero p {
  margin: 0 auto;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  animation: rise-in 0.85s ease 0.16s both;
}

.hero .cta-btn {
  animation: rise-in 0.85s ease 0.24s both;
}

/* BUTTONS */
.cta-btn,
.link-btn,
button.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 26px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-btn {
  background: var(--brand-yellow);
  color: #111;
  box-shadow: 0 10px 28px rgba(255, 204, 0, 0.28);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 204, 0, 0.38);
}

.cta-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.link-btn {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 168, 255, 0.22);
}

.link-btn:hover {
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  padding: 64px 22px;
}

.section h2,
.page-intro h2 {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section p,
.page-intro p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--muted);
}

.page-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px 0;
  text-align: center;
}

.cards-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 255, 0.4);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

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

.card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.card li {
  margin: 8px 0;
}

.price-tag {
  color: var(--brand-blue);
  margin: 14px 0 0;
  font-size: 2rem;
  font-weight: 700;
}

.icon-wrap {
  margin-bottom: 14px;
}

.icon {
  width: 48px;
  height: 48px;
  opacity: 0.95;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  background: rgba(0, 168, 255, 0.08);
  border-left: 4px solid var(--brand-blue);
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
}

/* FORMS */
.form-shell {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-top: 18px;
  gap: 4px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 168, 255, 0.28);
  margin-bottom: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 168, 255, 0.12);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: rgba(24, 160, 88, 0.12);
  color: #146c3c;
  border: 1px solid rgba(24, 160, 88, 0.25);
}

.form-status.error {
  display: block;
  background: rgba(200, 50, 50, 0.1);
  color: #9b1c1c;
  border: 1px solid rgba(200, 50, 50, 0.2);
}

/* BEFORE / AFTER */
.ba-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.ba-box {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(0, 168, 255, 0.35);
  background:
    linear-gradient(145deg, rgba(0, 168, 255, 0.08), rgba(10, 15, 20, 0.04)),
    #e8eef3;
  color: var(--muted);
  font-weight: 600;
}

/* CTA BAND */
.cta-section {
  text-align: center;
  padding: 56px 22px;
  background:
    linear-gradient(120deg, #0096e6, var(--brand-blue) 45%, #33b8ff);
  color: #fff;
}

.cta-section h2 {
  margin: 0 0 8px;
  color: #fff;
}

.cta-section p {
  margin: 0 auto;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
}

.cta-section .cta-btn {
  background: #111;
  color: #fff;
  box-shadow: none;
}

.cta-section .cta-btn:hover {
  background: var(--brand-dark);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 56px 22px 40px;
  background: var(--brand-dark);
  color: #fff;
  border-top: 3px solid var(--brand-blue);
}

.footer-container {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-logo {
  width: 96px;
  opacity: 0.95;
  margin: 0 auto 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-copy {
  margin-top: 22px;
  font-size: 0.92rem;
  opacity: 0.8;
}

.footer-note {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: #8b949e;
}

.footer-note a {
  color: inherit;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: rgba(10, 15, 20, 0.97);
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ba-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: calc(var(--nav-h) + 40px);
  }

  .logo-img {
    width: min(220px, 62vw);
  }

  .ba-container {
    grid-template-columns: 1fr;
  }
}
