:root {
  --bg: #0b1020;
  --bg-soft: #11172b;
  --bg-deeper: #15192b;
  --surface: rgba(17, 23, 43, 0.6);
  --surface-strong: rgba(18, 24, 44, 0.82);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.12);

  --text: #f5f7ff;
  --text-soft: #c8d0ea;
  --muted: #93a0c5;

  --blue: #335bff;
  --indigo: #4a4ae6;
  --violet: #8a63ff;
  --lavender: #b06cff;

  --gradient-primary: linear-gradient(135deg, #335bff 0%, #4a4ae6 35%, #8a63ff 68%, #b06cff 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));

  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.18);

  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(51, 91, 255, 0.14), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(176, 108, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #0b1020 0%, #0a0f1d 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

.section {
  position: relative;
  padding: 100px 0;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.bg-orb {
  position: fixed;
  inset: auto;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -3;
  pointer-events: none;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(51, 91, 255, 0.15);
  top: 120px;
  left: -60px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(176, 108, 255, 0.14);
  right: -80px;
  top: 240px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 15, 29, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(51, 91, 255, 0.18);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-links a,
.mobile-menu a:not(.btn) {
  color: var(--text-soft);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.mobile-menu a:not(.btn):hover {
  color: var(--text);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 29, 0.95);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: grid;
  gap: 14px;
}

.mobile-btn {
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition),
    border-color var(--transition), color var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 16px 36px rgba(74, 74, 230, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px rgba(74, 74, 230, 0.34);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(176, 108, 255, 0.28);
}

.btn-lg {
  padding: 16px 26px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.hero {
  padding-top: 72px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-label,
.card-badge,
.workflow-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  color: #dfe6ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--blue), var(--lavender));
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(138, 99, 255, 0.75);
}

.hero-content h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-subtitle {
  margin-top: 18px;
  max-width: 640px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.meta-item {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.meta-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.meta-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  border-radius: 28px;
  padding: 26px;
  overflow: hidden;
  position: relative;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(176, 108, 255, 0.14), transparent 26%);
  pointer-events: none;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.status-pill,
.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.status-pill {
  background: rgba(51, 91, 255, 0.16);
  color: #cfd8ff;
  border: 1px solid rgba(51, 91, 255, 0.22);
}

.mini-badge {
  background: rgba(176, 108, 255, 0.1);
  color: #f1dcff;
  border: 1px solid rgba(176, 108, 255, 0.22);
}

.match-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.match-avatar-group {
  display: flex;
  align-items: center;
}

.match-avatar-group img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -10px;
}

.match-avatar-group img:first-child {
  margin-left: 0;
}

.match-card h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.match-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 1.05rem;
}

.stat-card.highlight {
  background: linear-gradient(180deg, rgba(74, 74, 230, 0.2), rgba(176, 108, 255, 0.12));
  border-color: rgba(176, 108, 255, 0.2);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.split-grid,
.solution-grid,
.workflow-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

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

.feature-card,
.solution-card,
.workflow-card,
.developer-card,
.cta-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.card-badge.accent,
.workflow-tag.alt {
  background: rgba(176, 108, 255, 0.12);
  color: #ead8ff;
  border-color: rgba(176, 108, 255, 0.22);
}

.feature-card h3,
.solution-card h3,
.workflow-card h3 {
  font-size: 1.55rem;
  margin: 18px 0 20px;
  line-height: 1.2;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 18px rgba(138, 99, 255, 0.4);
}

.solution-points {
  display: grid;
  gap: 18px;
}

.point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.point-icon,
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--gradient-primary);
  color: #fff;
  flex-shrink: 0;
}

.point h4,
.step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.point p,
.step p {
  color: var(--muted);
  font-size: 0.96rem;
}

.workflow-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 18px;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.developer-card {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.developer-card:hover,
.feature-card:hover,
.solution-card:hover,
.workflow-card:hover,
.cta-card:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 108, 255, 0.18);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
}

.developer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.developer-avatar {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(51, 91, 255, 0.18);
}

.developer-top h3 {
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.developer-role {
  color: var(--muted);
  font-size: 0.94rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.skill-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  color: #d8def5;
  font-size: 0.84rem;
  font-weight: 600;
}

.price-range {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.developer-desc {
  color: var(--text-soft);
  margin-bottom: 20px;
  min-height: 78px;
}

.cta-card {
  text-align: center;
  padding: 52px 28px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: auto auto -100px -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(51, 91, 255, 0.1);
  filter: blur(36px);
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: -90px -60px auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(176, 108, 255, 0.1);
  filter: blur(40px);
}

.cta-card h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta-card p {
  max-width: 700px;
  margin: 16px auto 0;
  color: var(--text-soft);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 28px;
  background: rgba(7, 10, 18, 0.55);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  align-items: start;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 340px;
  color: var(--text-soft);
}

.footer-brand-link {
  font-size: 1.15rem;
}

.site-footer h3 {
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-links li {
  color: var(--text-soft);
  transition: var(--transition);
}

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

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  transition: var(--transition);
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(176, 108, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: #eef2ff;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

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

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .solution-grid,
  .workflow-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-content h1 {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 0;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 78px 0;
  }

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

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

  .section {
    padding: 68px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats-grid,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card,
  .feature-card,
  .solution-card,
  .workflow-card,
  .developer-card,
  .cta-card {
    padding: 22px;
  }

  .match-card {
    grid-template-columns: 1fr;
  }

  .point,
  .step {
    grid-template-columns: 1fr;
  }

  .point-icon,
  .step-number {
    width: 40px;
    height: 40px;
  }

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

  .btn,
  .btn-lg {
    width: 100%;
  }

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

  .socials {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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