/* Base */
:root {
  --bg-dark: #020617;
  --gradient-main: linear-gradient(135deg, #4cc9f0, #6c63ff);
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --accent: #4cc9f0;
  --accent-alt: #6c63ff;
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(148, 163, 184, 0.5);
  --radius-soft: 18px;
  --radius-strong: 26px;
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.8);
  --shadow-glow: 0 0 40px rgba(76, 201, 240, 0.6);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #020617 0, #000 55%, #020617 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background effects */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, #1d3557 0, transparent 55%),
    radial-gradient(circle at top right, #4cc9f0 0, transparent 55%),
    radial-gradient(circle at bottom, #6c63ff 0, transparent 60%);
  opacity: 0.45;
  z-index: -3;
}

.particle {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.22), transparent 70%);
  filter: blur(2px);
  animation: float 26s infinite alternate ease-in-out;
  z-index: -2;
}

.particle-1 {
  top: -40px;
  left: 10%;
}

.particle-2 {
  top: 45%;
  right: -90px;
  animation-duration: 30s;
}

.particle-3 {
  bottom: -80px;
  left: -60px;
  animation-duration: 34s;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, 30px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-10px, -20px, 0) scale(1.02);
  }
}

/* Glass */
.glass {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.16), transparent 70%),
    rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.glass-soft {
  background: rgba(15, 23, 42, 0.84);
  border-radius: var(--radius-soft);
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 46px rgba(15, 23, 42, 0.8);
}

.glass-strong {
  background: radial-gradient(circle at top, rgba(76, 201, 240, 0.16), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-strong);
  border: 1px solid rgba(148, 163, 184, 0.7);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow-glow);
}

/* Header */
.header {
  position: sticky;
  top: 12px;
  margin: 0 auto;
  max-width: 1120px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(148, 163, 184, 0.9), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(76, 201, 240, 0.9), transparent 55%);
  box-shadow: 0 0 30px rgba(76, 201, 240, 0.7);
  overflow: hidden;
}

.logo-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f9fafb;
}

.logo-node.node-1 {
  top: 8px;
  left: 8px;
}

.logo-node.node-2 {
  top: 18px;
  right: 8px;
}

.logo-node.node-3 {
  bottom: 8px;
  left: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gradient-main);
  border-radius: 999px;
  transition: width 0.22s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 0 24px rgba(15, 23, 42, 0.8);
}

/* Hero */
.hero {
  max-width: 1120px;
  margin: 72px auto 40px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
}

.hero-content {
  padding: 16px 8px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.1rem, 2.8vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  background-image: var(--gradient-main);
  color: #020617;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 38px rgba(76, 201, 240, 0.85);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
}

.btn-full {
  width: 100%;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-strong);
}

.mesh-orbit {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(76, 201, 240, 0.16), transparent 60%),
    radial-gradient(circle at bottom, rgba(108, 99, 255, 0.2), transparent 65%);
  overflow: hidden;
}

.mesh-core {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #f9fafb, #4cc9f0);
  box-shadow:
    0 0 40px rgba(76, 201, 240, 0.9),
    0 0 80px rgba(108, 99, 255, 0.9);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mesh-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  animation: spin 30s linear infinite;
}

.mesh-ring.ring-1 { width: 100%; height: 100%; }
.mesh-ring.ring-2 { width: 150%; height: 40%; top: 30%; left: -25%; }
.mesh-ring.ring-3 { width: 120%; height: 56%; top: 14%; left: -10%; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-badges {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  width: 100%;
}

.badge-card {
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.8rem;
}

.badge-label {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 4px;
}

.badge-text {
  color: var(--text-muted);
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 16px;
}

.section-header {
  text-align: left;
  margin-bottom: 18px;
}

.section-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: conic-gradient(from 160deg,
    rgba(76, 201, 240, 0.25),
    transparent,
    rgba(108, 99, 255, 0.3),
    transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.card-list li + li { margin-top: 4px; }

.card-mixed {
  border-radius: 22px 12px 22px 12px;
}

/* Agents */
.section-agents .cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.agent-card {
  border-radius: 16px;
}

/* About */
.section-about {
  padding-bottom: 26px;
}

.section-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.section-split-text .body-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.section-split-panel {
  padding: 18px 18px 16px;
}

/* Panel */
.panel-title {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.panel-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.panel-list li + li { margin-top: 4px; }

/* Contact */
.section-contact {
  padding-bottom: 36px;
}

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 22px 22px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 20px;
}

.contact-form {
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  padding: 10px 12px;
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-field textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(76, 201, 240, 0.5);
  background: rgba(15, 23, 42, 0.96);
}

.form-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.94), #020617);
  margin-top: 12px;
  padding: 18px 0 12px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto 8px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.footer-link:hover {
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.78rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .hero-visual { order: -1; }

  .section {
    padding-inline: 18px;
  }

  .section-split {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-inline: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

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

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

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