:root {
  --bg: #080b12;
  --bg-soft: #101624;
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7fb;
  --muted: #aab3c5;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #7c5cff;
  --brand-2: #19d3da;
  --brand-3: #ffb86b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.25), transparent 34rem),
    radial-gradient(circle at top right, rgba(25, 211, 218, 0.16), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(124, 92, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding-top: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

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

h1 {
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  max-width: 850px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.pricing-grid > div > p,
.contact-card > div > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 18px 40px rgba(124, 92, 255, 0.25);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 690px;
}

.trust-row div,
.card,
.step,
.price-card,
.contact-card,
.hero-card,
.work-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.work-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1082 / 706;
  background: rgba(255, 255, 255, 0.04);
}

.work-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 0;
  transition: transform 0.3s ease;
}

.work-card:hover .work-screenshot {
  transform: scale(1.01);
}

.trust-row div {
  border-radius: 18px;
  padding: 16px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card-strong);
}

.mockup {
  padding: 24px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.tag,
.work-content span,
.popular {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  color: #dce7ff;
  background: rgba(124, 92, 255, 0.22);
  border: 1px solid rgba(124, 92, 255, 0.35);
}

.score {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(25, 211, 218, 0.3), rgba(124, 92, 255, 0.3));
}

.mockup-image {
  height: 260px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-project-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.project-preview-link:hover .hero-project-preview {
  transform: scale(1.04);
}

.mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.mockup-stats div,
.mockup-list {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 16px;
}

.mockup-stats strong,
.mockup-stats span {
  display: block;
}

.mockup-stats span,
.mockup-list {
  color: var(--muted);
}

.mockup-list p {
  margin: 0 0 10px;
}

.mockup-list p:last-child {
  margin-bottom: 0;
}

.mockup-list span {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 999px;
  background: var(--brand-2);
}

.logos-section {
  padding-top: 24px;
}

.section-mini-title {
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-strip span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.cards,
.work-grid,
.steps,
.pricing-cards {
  display: grid;
  gap: 20px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.step,
.price-card {
  border-radius: var(--radius);
  padding: 28px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(25, 211, 218, 0.2));
}

.card p,
.step p,
.work-content p {
  color: var(--muted);
}

.form-note {
  text-align: center;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 480px;
}

.work-section {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035), transparent);
}

.work-grid {
  /*grid-template-columns: 1.2fr 0.9fr 0.9fr;*/
  display: grid;
  grid-template-columns: minmax(320px, 760px);
  justify-content: center;
  gap: 20px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.work-image {
  min-height: 230px;
}

.gradient-one {
  background:
    linear-gradient(135deg, rgba(255, 184, 107, 0.9), rgba(124, 92, 255, 0.8)),
    radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 12rem);
}

.gradient-two {
  background: linear-gradient(135deg, rgba(25, 211, 218, 0.85), rgba(124, 92, 255, 0.8));
}

.gradient-three {
  background: linear-gradient(135deg, rgba(255, 184, 107, 0.85), rgba(25, 211, 218, 0.7));
}

.work-content {
  padding: 24px;
}

.work-content a {
  color: var(--brand-2);
  font-weight: 750;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.step span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--brand-2);
  font-weight: 800;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

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

.price-card {
  text-align: left;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.24), rgba(255, 255, 255, 0.07));
  border-color: rgba(124, 92, 255, 0.45);
}

.price-card h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.price {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 850;
  color: var(--text) !important;
  text-align: left;
}

.price-card p:not(.price) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  max-width: none;
}

.price-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 12px;
  line-height: 1.5;
  text-align: left;
  max-width: none;
}

.price-card li:last-child {
  margin-bottom: 0;
}

.popular {
  margin-bottom: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
  border-radius: 32px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(25, 211, 218, 0.08)),
    var(--card);
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 11, 18, 0.56);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(25, 211, 218, 0.8);
  box-shadow: 0 0 0 4px rgba(25, 211, 218, 0.1);
}

.form-note {
  text-align: center;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 480px;
}

.form-result {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.form-result.success {
  color: #29be08;
}

.form-result.error {
  color: #e30a0a;
}

#submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.form-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 11, 18, 0.72);
  backdrop-filter: blur(10px);
}

.form-popup.show {
  display: grid;
}

.form-popup-box {
  width: min(100%, 460px);
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 28px 28px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(25, 211, 218, 0.08)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.form-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.form-popup-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.16);
  color: #6ee7b7;
  font-size: 2rem;
  font-weight: 800;
}

.form-popup-icon.error {
  background: rgba(252, 165, 165, 0.16);
  color: #fca5a5;
}

.form-popup-box h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.form-popup-box p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .form-popup-box {
    padding: 34px 22px 24px;
    border-radius: 24px;
  }

  .form-popup-box h3 {
    font-size: 1.45rem;
  }
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  gap: 18px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 11, 18, 0.96);
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .pricing-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .three-col,
  .work-grid,
  .steps,
  .pricing-cards {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid .work-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .footer-grid,
  .footer-grid div {
    flex-direction: column;
  }

  .trust-row,
  .three-col,
  .work-grid,
  .steps,
  .pricing-cards,
  .mockup-stats {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4.4rem);
  }
}
