* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #030712;
  color: #f8fafc;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: #7dd3fc;
  color: #020617;
}

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

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

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 8%, rgba(125, 211, 252, 0.12), transparent 26%),
    radial-gradient(circle at 15% 4%, rgba(30, 64, 175, 0.12), transparent 24%),
    linear-gradient(180deg, #030712 0%, #050816 48%, #02040b 100%);
}

.top-line {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.3), transparent);
}

.navbar,
.section-grid,
.section-container,
.footer {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 32px rgba(125, 211, 252, 0.08);
}

.small-logo {
  width: 54px;
  height: 54px;
}

.brand h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.brand p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.nav-link-button {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-link-button:hover {
  color: #ffffff;
}

.nav-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

.btn-light {
  background: #ffffff;
  color: #020617;
}

.btn-light:hover {
  background: #e0f2fe;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button-row.center {
  justify-content: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0 128px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 32px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.hero h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h2 span {
  background: linear-gradient(90deg, #e0f2fe, #bae6fd, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  max-width: 650px;
  margin: 32px 0 40px;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.8;
}

.agency-card {
  position: relative;
}

.card-glow {
  position: absolute;
  inset: -16px;
  border-radius: 34px;
  background: rgba(125, 211, 252, 0.06);
  filter: blur(42px);
}

.panel-card {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(18px);
}

.card-head,
.mini-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.mini-brand {
  align-items: center;
  justify-content: flex-start;
}

.mini-brand p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.mini-brand h3 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 24px;
  letter-spacing: 0.06em;
  font-weight: 900;
}

.status {
  padding: 9px 16px;
  border: 1px solid rgba(186, 230, 253, 0.15);
  border-radius: 999px;
  background: rgba(186, 230, 253, 0.06);
  color: rgba(224, 242, 254, 0.80);
  font-size: 12px;
  font-weight: 800;
}

.feature-list {
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.15);
}

.feature-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

.feature-list div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.feature-list div:hover {
  background: rgba(255, 255, 255, 0.035);
}

.feature-list span {
  color: rgba(186, 230, 253, 0.60);
}

.focus-card {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.focus-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.focus-card h4 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

.section-container {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.section-label {
  margin: 0;
  color: rgba(186, 230, 253, 0.70);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.about h2,
.section-top h2,
.community h2,
.contact-box h2 {
  margin: 20px 0 0;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.about-text {
  display: grid;
  gap: 24px;
}

.about-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.8;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-top > p {
  max-width: 560px;
  margin: 0;
  color: #64748b;
}

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

.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(186, 230, 253, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.service-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.service-card span {
  color: rgba(224, 242, 254, 0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.service-card i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(186, 230, 253, 0.50);
}

.service-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.community-box {
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.community p:not(.section-label),
.contact-box > p:not(.section-label) {
  max-width: 700px;
  margin: 24px 0 0;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.8;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.space-grid span {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.15);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.space-grid span:hover {
  transform: translateY(-2px);
}

.inside-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.15);
}

.inside-card h3 {
  margin: 0 8px 20px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.inside-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.inside-card li {
  position: relative;
  padding: 12px 12px 12px 30px;
  border-radius: 16px;
  color: #94a3b8;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.inside-card li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(186, 230, 253, 0.55);
}

.inside-card li:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.contact-box {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 36px;
  background: #070b16;
  text-align: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 242, 254, 0.35), transparent);
}

.contact-box h2,
.contact-box > p {
  margin-left: auto !important;
  margin-right: auto !important;
}

.contact-box .button-row {
  margin-top: 40px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #475569;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(186, 230, 253, 0.20);
  border-radius: 32px;
  background: #060a14;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.60);
  animation: modalIn 0.22s ease-out both;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 36px;
}

.mail-icon {
  display: grid;
  place-items: center;
  min-width: 56px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(125, 211, 252, 0.10);
  color: #e0f2fe;
  font-size: 25px;
  box-shadow: 0 0 34px rgba(125, 211, 252, 0.12);
}

.modal-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.modal-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.20);
  border-radius: 14px;
  background: #0b101a;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 56px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: none;
  padding: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(186, 230, 253, 0.62);
}

.form-note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: #94a3b8;
  font-size: 14px;
}

.full-btn {
  width: 100%;
  border-radius: 14px;
}

.reveal,
.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-group.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group.visible > *:nth-child(2) { transition-delay: 0.05s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.1s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.15s; }

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

  .reveal,
  .reveal-group > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero,
  .about-inner,
  .community-grid {
    grid-template-columns: 1fr;
  }

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

  .section-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  .navbar,
  .section-grid,
  .section-container,
  .footer {
    width: min(100% - 32px, 1280px);
  }

  .nav-links,
  .desktop-only {
    display: none;
  }

  .hero {
    padding: 48px 0 88px;
  }

  .button-row,
  .space-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .panel-card,
  .community-box,
  .contact-box,
  .modal-card {
    padding: 24px;
    border-radius: 26px;
  }

  .card-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .space-grid {
    display: grid;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-head {
    align-items: flex-start;
  }
}
