/* Hero */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(46, 196, 182, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(124, 92, 191, 0.07) 0%, transparent 45%),
    var(--bg);
}



.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__prompt {
  display: flex;
  gap: 8px;
  max-width: 440px;
}

.hero__prompt input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.85rem;
}

.hero__prompt input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
}

.hero__prompt .btn { padding: 12px 20px; white-space: nowrap; }

.hero__sequence {
  margin-top: 16px;
  min-height: 28px;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
}

.hero__sequence.is-done { color: var(--violet); }



@keyframes heropreviewFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr);
  align-items: center;
  gap: 64px;
}

.hero-preview {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  align-self: center;
  position: relative;
  overflow: visible;
}

.hero-preview__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 60px rgba(70, 80, 160, 0.16));
}
.hero-preview {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  align-self: center;
  overflow: hidden;
  border-radius: 24px;
}
 
.hero-preview__image {
  display: block;
  width: 135%;
  height: auto;
  max-width: none;
  transform: translateX(5%);
  filter: drop-shadow(0 30px 60px rgba(70, 80, 160, 0.16));
}
.hero .hero__grid .hero-preview {
  width: 900px !important;
  max-width: 95vw !important;
  justify-self: end !important;
  align-self: center !important;
  overflow: visible !important;
}

.hero .hero__grid .hero-preview .hero-preview__image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}



@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-preview {
    width: 100%;
    max-width: 100%;
    justify-self: center;
  }

  .hero-preview__image {
    width: 150%;
    transform: translateX(-2%);
  }
}
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero-preview {
    max-width: 1100px;
  }
}


@media (min-width: 769px) {
  .hero__grid {
    display: grid !important;
    grid-template-columns: minmax(350px, 0.85fr) minmax(560px, 1.15fr) !important;
    align-items: center !important;
    gap: 64px !important;
  }

  .hero__content {
    grid-column: 1 !important;
  }

  .hero-preview {
    grid-column: 2 !important;
    width: 1100px !important;
    max-width: 200% !important;
    justify-self: end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .hero-preview__image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 56px;
  }

  .hero__grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .hero__content {
    min-width: 0;
  }

  .hero__content h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .hero__lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero__prompt input {
    font-size: 16px;
    min-height: 44px;
    min-width: 0;
  }

  .hero .hero__grid .hero-preview {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    justify-self: center !important;
    overflow: visible !important;
  }

  .hero .hero__grid .hero-preview .hero-preview__image,
  .hero-preview__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
}



.builder__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
}

.builder__dots {
  display: flex;
  gap: 6px;
}

.builder__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.builder__dots span:nth-child(1) { background: #ff6b6b; opacity: 0.6; }
.builder__dots span:nth-child(2) { background: #f4a236; opacity: 0.6; }
.builder__dots span:nth-child(3) { background: #2ec4b6; opacity: 0.6; }

.builder__url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  background: var(--surface);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}

.builder__canvas {
  padding: 0;
    min-height: 320px;
    height: 320px;
    display: block;
    overflow: hidden;
}
.hero-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
/* Preview mock inside browser window */
.preview {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 100%);
  font-size: 10px;
  line-height: 1.4;
}

.preview__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.preview__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.preview__logo {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preview__menu {
  display: flex;
  gap: 8px;
}

.preview__menu span {
  font-size: 7px;
  color: var(--muted);
  font-weight: 500;
}

.preview__hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 8px;
  padding: 10px 14px;
  align-items: center;
}

.preview__title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--text);
}

.preview__title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preview__desc {
  font-size: 7px;
  color: var(--muted);
  margin-bottom: 8px;
}

.preview__btns {
  display: flex;
  gap: 4px;
}

.preview__btn {
  padding: 4px 8px;
  border-radius: 100px;
  font-size: 6px;
  font-weight: 600;
}

.preview__btn--primary {
  background: var(--gradient-brand);
  color: #fff;
}

.preview__btn--ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
}

.preview__illust {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview__cube {
  position: absolute;
  border-radius: 6px;
  transform-style: preserve-3d;
}

.preview__cube--1 {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #7c5cbf, #4dabf7);
  transform: rotate(-12deg) translateX(-8px);
  box-shadow: 4px 8px 16px rgba(124, 92, 191, 0.25);
}

.preview__cube--2 {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #2ec4b6, #4dabf7);
  transform: rotate(18deg) translate(12px, -6px);
  box-shadow: 3px 6px 12px rgba(46, 196, 182, 0.2);
  opacity: 0.9;
}

.preview__cube--3 {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #e84393, #7c5cbf);
  transform: rotate(-8deg) translate(4px, 14px);
  box-shadow: 2px 4px 10px rgba(232, 67, 147, 0.2);
}

.preview__ring {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(77, 171, 247, 0.2);
  border-radius: 50%;
  transform: rotateX(60deg);
}

.preview__portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 14px 8px;
  flex: 1;
}

.preview__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 6px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
}

.preview__card-icon {
  font-size: 10px;
  line-height: 1;
}

.preview__statusbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 10px;
  background: rgba(26, 29, 43, 0.04);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 6px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  gap: 4px;
}

.preview__statusbar span {
  flex: 1;
  text-align: center;
}

/* Services Carousel */
.services {
  background: var(--surface);
  overflow: hidden;
}

.services .section-desc {
  margin-bottom: 48px;
}

.services-carousel {
  position: relative;
  margin-top: 8px;
  padding: 0 52px;
  overflow: hidden;
}

.services-carousel__viewport {
  overflow: hidden;
  padding: 24px 0 16px;
  cursor: grab;
  touch-action: pan-x;
}

.services-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.services-carousel__track {
  display: flex;
  gap: var(--svc-gap, 24px);
  will-change: transform;
}

.service-card {
  flex: 0 0 var(--svc-card-w, 340px);
  height: var(--svc-card-h, 420px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(77, 171, 247, 0.14);
  border-radius: 26px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  transform-origin: center center;
  user-select: none;
  overflow: hidden;
}

.service-card.is-center {
  border-color: rgba(77, 171, 247, 0.45);
  box-shadow:
    0 8px 32px rgba(77, 171, 247, 0.12),
    0 0 0 1px rgba(77, 171, 247, 0.08);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.25;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 20px;
}

.service-card__price {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-card__price strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet);
  background: rgba(124, 92, 191, 0.06);
  border: 1px solid rgba(124, 92, 191, 0.12);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.service-card__link:hover {
  background: rgba(124, 92, 191, 0.12);
  border-color: rgba(124, 92, 191, 0.25);
}

.service-card__link svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.service-card__link:hover svg {
  transform: translateX(3px);
}

.services-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.services-carousel__arrow:hover {
  border-color: var(--sky);
  color: var(--sky);
  box-shadow: var(--shadow-md);
}

.services-carousel__arrow--prev { left: -8px; }
.services-carousel__arrow--next { right: -8px; }

.services-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.services-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.services-carousel__dot.is-active {
  background: var(--sky);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .services-carousel {
    --svc-card-w: 300px;
    --svc-card-h: 400px;
  }

  .services-carousel__arrow--prev { left: 4px; }
  .services-carousel__arrow--next { right: 4px; }
}

@media (max-width: 640px) {
  .services-carousel {
    --svc-card-w: calc(100vw - 40px);
    --svc-card-h: auto;
    --svc-gap: 16px;
    padding: 0;
  }

  .services .section-desc {
    margin-bottom: 32px;
  }

  .services-carousel__arrow {
    display: none;
  }

  .service-card {
    height: auto;
    min-height: 360px;
    padding: 20px;
    border-radius: 24px;
  }

  .service-card__title,
  .service-card__price,
  .service-card__price strong {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .service-card__icon {
    width: 64px;
    height: 64px;
  }
}

/* Compare */
.compare-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.compare__panel {
  position: absolute;
  inset: 0;
  padding: 0;
  overflow: hidden;
}

.compare__panel--before {
  background:#1E1E2A;
    color:#fff;
}

.compare__panel--after {
  background: linear-gradient(135deg,#7C5CFF,#2ED8FF);
  color:#fff;
}

.compare__label {
  position: absolute;
  top: 18px;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 20;
  pointer-events: none;

  opacity: 1;
  transition: opacity 0.2s ease;
}

.compare__label--before { right: 18px;
  background: rgba(30,30,35,.78);
  color: #ffffff; }
.compare__label--after {     left: 18px;
  background: linear-gradient(135deg, #7c5cff, #31d6ff);
  color: #ffffff;}

.compare__picture{
  display:block;
  width:100%;
  height:100%;
}

.compare__image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}
.compare__image {
  width: 100%;
    height: 100%;
    object-fit: contain;
background: #ffffff;
    object-position: top center;
    display: block;
}
@media (max-width: 768px) {
  .compare {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .compare__image {
    object-fit: cover;
    object-position: top center;
  }

  .compare__handle::after {
    width: 44px;
    height: 44px;
  }
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--violet);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.compare__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 2px solid var(--violet);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.compare__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

/* Process */
.process {
  padding-block: clamp(64px, 8vw, 100px) clamp(72px, 9vw, 120px);
}

.process__layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.process__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process__line-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.process__line-bg,
.process__line-fill {
  position: absolute;
  left: 19px;
  width: 2px;
  border-radius: 2px;
  pointer-events: none;
}

.process__line-bg {
  background: var(--border);
}

.process__line-fill {
  background: var(--gradient-brand);
  height: 0;
  transition: height 0.4s var(--ease), top 0.4s var(--ease);
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 14px 16px 14px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(248, 250, 251, 0.9);
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
  outline: none;
}

.process__step:hover {
  background: rgba(255, 255, 255, 0.6);
}

.process__step:focus-visible {
  box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.35);
}

.process__step.is-current {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(77, 171, 247, 0.35);
  box-shadow: 0 4px 20px rgba(77, 171, 247, 0.1);
  transform: translateX(4px);
}

.process__step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid rgba(77, 171, 247, 0.25);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  transition: border-color 0.3s, color 0.3s;
  pointer-events: none;
}

.process__step-num::before {
  content: '';
  position: absolute;
  inset: -15%;
  z-index: -2;
  background: linear-gradient(135deg, #7657e8 0%, #4698eb 50%, #27c6c9 100%);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 72% 54%, 54% 82%, 20% 72%, 0 100%);
  opacity: 0;
  transform: rotate(-8deg) scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}

.process__step-num::after {
  content: '';
  position: absolute;
  width: 42%;
  height: 24%;
  right: -4%;
  bottom: 10%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transform: rotate(-25deg);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.process__step-num-text {
  position: relative;
  z-index: 3;
  transition: color 0.3s var(--ease);
}

.process__step.is-current .process__step-num {
  border-color: rgba(77, 171, 247, 0.35);
  background: #fff;
}

.process__step.is-current .process__step-num::before {
  opacity: 1;
  transform: rotate(-8deg) scale(1);
}

.process__step.is-current .process__step-num::after {
  opacity: 1;
}

.process__step.is-current .process__step-num-text {
  color: #1a3a5c;
}

.process__step.is-passed .process__step-num {
  border-color: var(--teal);
  background: var(--surface);
}

.process__step.is-passed .process__step-num-text {
  color: var(--teal);
}

.process__step-content {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-left: 10px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}

.process__step.is-current .process__step-content {
  border-left-color: var(--sky);
}

.process__step-head {
  display: flex;
  align-items: center;
  gap: 0;
}

.process__step-icon,
.process__step-chevron {
  display: none;
}

.process__step-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.3s;
}

.process__step.is-current .process__step-title {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process__step-desc {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.process__step.is-current .process__step-desc {
  color: var(--text);
}

.process__step .tech-tag {
  display: block;
  margin-top: 8px;
}

.process__step-body {
  display: block;
}

/* Visual panel (desktop only) */
.process__visual {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 420px;
  height: 420px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  pointer-events: none;
  align-self: start;
}

.process__visual-stage {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.process__visual-stage.is-active {
  opacity: 1;
  transform: translateY(0);
}

.process__visual-stage.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.pv-research,
.pv-structure,
.pv-design,
.pv-launch,
.pv-card,
.pv-wf,
.pv-ui,
.pv-code,
.pv-launch__preview,
.pv-launch__checks,
.pv-launch__btn {
  pointer-events: none;
}

/* Research visual */
.pv-research {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 380px;
}

.pv-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.pv-card span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

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

.pv-card--goal { border-color: rgba(124, 92, 191, 0.25); }
.pv-card--goal span { color: var(--violet); }
.pv-card--audience { border-color: rgba(77, 171, 247, 0.25); }
.pv-card--audience span { color: var(--sky); }
.pv-card--competitors { border-color: rgba(46, 196, 182, 0.25); }
.pv-card--competitors span { color: var(--teal); }
.pv-card--notes { border-color: rgba(232, 168, 56, 0.25); }
.pv-card--notes span { color: var(--gold); }

/* Structure visual */
.pv-structure {
  width: 100%;
  max-width: 340px;
}

.pv-wf {
  background: var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  height: 36px;
}

.pv-wf--nav { height: 10px; }
.pv-wf--hero { height: 64px; background: var(--bg-tint); }
.pv-wf-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pv-wf-row .pv-wf { flex: 1; margin-bottom: 0; }
.pv-wf--form {
  height: 44px;
  border: 1.5px dashed var(--teal);
  background: rgba(46, 196, 182, 0.06);
}

.pv-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.pv-arrow { color: var(--sky); }

/* Design visual */
.pv-design {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  align-items: stretch;
}

.pv-ui {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
}

.pv-ui__bar {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.pv-ui__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.pv-ui__bar span:nth-child(1) { background: #ff6b6b; opacity: 0.5; }
.pv-ui__bar span:nth-child(2) { background: #f4a236; opacity: 0.5; }
.pv-ui__bar span:nth-child(3) { background: var(--teal); opacity: 0.5; }

.pv-ui__hero {
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124, 92, 191, 0.35), rgba(77, 171, 247, 0.3));
  margin-bottom: 10px;
}

.pv-ui__cards {
  display: flex;
  gap: 6px;
}

.pv-ui__cards span {
  flex: 1;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.2), rgba(77, 171, 247, 0.15));
}

.pv-code {
  background: #1a1d2b;
  border-radius: 12px;
  padding: 14px;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.65rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.pv-kw { color: var(--violet); }
.pv-str { color: var(--teal); }

/* Launch visual */
.pv-launch {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.pv-launch__preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pv-launch__bar {
  height: 8px;
  background: var(--gradient-brand);
}

.pv-launch__content {
  height: 100px;
  background: linear-gradient(180deg, var(--bg-tint), var(--surface));
}

.pv-launch__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.pv-check {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pv-check.is-ok span {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 182, 0.15);
  color: #1a9e92;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.pv-launch__btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.25);
}

@media (max-width: 768px) {
  .process {
    padding-block: 64px 72px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .process__layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }

  .process__visual,
  .process__line-wrap {
    display: none !important;
  }

  .process__steps {
    gap: 12px;
  }

  .process__step {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
    padding: 18px;
    background: var(--surface);
    border: 1px solid rgba(77, 171, 247, 0.12);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transform: none !important;
  }

  .process__step:hover {
    background: var(--surface);
  }

  .process__step.is-current {
    border-color: rgba(77, 171, 247, 0.4);
    box-shadow:
      0 8px 28px rgba(77, 171, 247, 0.12),
      0 0 0 1px rgba(77, 171, 247, 0.12);
    transform: none;
  }

  .process__step-num {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
    background: var(--bg);
    grid-row: 1;
    grid-column: 1;
  }

  .process__step-content {
    display: contents;
  }

  .process__step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-row: 1;
    grid-column: 2 / 4;
    min-width: 0;
  }

  .process__step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--sky);
    flex-shrink: 0;
  }

  .process__step-icon svg {
    width: 22px;
    height: 22px;
  }

  .process__step-title {
    flex: 1;
    font-size: 0.95rem;
    margin-bottom: 0;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .process__step.is-current .process__step-title {
    -webkit-text-fill-color: var(--text);
    background: none;
    color: var(--text);
    font-weight: 700;
  }

  .process__step-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), color 0.3s;
  }

  .process__step.is-current .process__step-chevron {
    transform: rotate(180deg);
    color: var(--sky);
  }

  .process__step-body {
    display: block;
    grid-row: 2;
    grid-column: 1 / 4;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), margin 0.3s var(--ease);
    margin-top: 0;
  }

  .process__step.is-current .process__step-body {
    max-height: 240px;
    opacity: 1;
    margin-top: 14px;
  }

  .process__step-desc {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .process__step::before,
  .process__step::after,
  .process__step-content::before,
  .process__step-content::after {
    display: none !important;
    content: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process__step,
  .process__visual-stage,
  .process__line-fill,
  .process__step-num,
  .process__step-num::before,
  .process__step-body,
  .process__step-chevron {
    transition: none !important;
  }
}

/* Portfolio */
.portfolio { background: var(--bg-tint); }

.portfolio__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-top: 40px;
}

.portfolio__list { display: flex; flex-direction: column; gap: 8px; }

.portfolio__tab {
  text-align: left;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font);
}

.portfolio__tab.is-active {
  border-color: var(--violet);
  box-shadow: var(--shadow-sm);
  background: rgba(124, 92, 191, 0.04);
}

.portfolio__tab h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.portfolio__tab p { font-size: 0.75rem; color: var(--muted); }

.portfolio__preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  transition: background 0.5s;
}

.portfolio__preview-inner { padding: 32px; }

.portfolio__badge {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.portfolio__preview h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.portfolio__preview p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

.portfolio__mock {
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
  transition: background 0.5s;
}

/* Solutions */
.solutions {
  background: var(--bg);
  overflow: hidden;
}

.solutions__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 40px;
}

.solutions-block {
  --active-tab: 0;
  --tab-count: 6;
  position: relative;
  display: flex;
  flex-direction: column;
}

.solutions-block__tabs {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.solutions-block__tab {
  flex: 1;
  min-width: 0;
  padding: 14px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.35s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s;
  text-align: center;
  line-height: 1.3;
}

.solutions-block__tab:hover:not(.is-active) {
  color: var(--text);
  background: var(--bg-tint);
  transform: translateY(-2px);
}

.solutions-block__tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5080 40%, #3d7ab8 100%);
  border-color: transparent;
  box-shadow: 0 -4px 20px rgba(77, 171, 247, 0.15);
  z-index: 3;
}

.solutions-block__panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1a3354 0%, #234a75 35%, #2d6a9f 70%, #3a8cc4 100%);
  border-radius: 0 20px 20px 20px;
  min-height: 480px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 51, 84, 0.18);
}

.solutions-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 44px;
  min-height: 480px;
  align-items: center;
  color: #fff;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.solutions-block__inner.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}

.solutions-block__inner.is-entering {
  opacity: 0;
  transform: translateY(16px);
}

.solutions-block__subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.solutions-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.solutions-block__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.solutions-block__includes h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.solutions-block__includes ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-bottom: 24px;
}

.solutions-block__includes li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.solutions-block__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.solutions-block__meta {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.solutions-block__meta-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.solutions-block__meta-item strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.solutions-block__cta {
  box-shadow: 0 4px 24px rgba(124, 92, 191, 0.35);
}

.solutions-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.solutions-block__inner.is-leaving .solutions-block__visual {
  opacity: 0;
  transform: translateX(20px) scale(0.96);
}

.solutions-block__inner.is-entering .solutions-block__visual {
  opacity: 0;
  transform: translateX(24px) scale(0.94);
}

.solutions-block__svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}

@media (max-width: 900px) {
  .solutions-block__tab {
    font-size: 0.7rem;
    padding: 12px 6px;
  }

  .solutions-block__inner {
    padding: 32px 28px;
    gap: 24px;
  }

  .solutions-block__includes ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .solutions__heading {
    margin-bottom: 24px;
    font-size: 1.5rem;
  }

  .solutions-block {
    display: grid;
    grid-template-columns: minmax(96px, 36%) 1fr;
    align-items: stretch;
  }

  .solutions-block__tabs {
    flex-direction: column;
    gap: 3px;
    grid-column: 1;
    grid-row: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px 0 0 16px;
    padding: 6px 0;
    border-right: none;
  }

  .solutions-block__tab {
    flex: none;
    border: none;
    border-radius: 0;
    border-left: 3px solid transparent;
    padding: 10px 8px;
    font-size: 0.68rem;
    text-align: left;
    background: transparent;
    white-space: normal;
    word-break: break-word;
  }

  .solutions-block__tab:hover:not(.is-active) {
    transform: none;
    background: var(--bg-tint);
  }

  .solutions-block__tab.is-active {
    background: linear-gradient(90deg, rgba(77, 171, 247, 0.12) 0%, transparent 100%);
    color: var(--violet);
    border-left-color: var(--sky);
    box-shadow: none;
  }

  .solutions-block__panel {
    grid-column: 2;
    border-radius: 0 16px 16px 0;
    min-height: 520px;
  }

  .solutions-block__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 20px 16px;
    min-height: 520px;
    gap: 16px;
    align-content: start;
  }

  .solutions-block__title {
    font-size: 1rem;
  }

  .solutions-block__desc {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .solutions-block__includes ul {
    margin-bottom: 16px;
  }

  .solutions-block__includes li {
    font-size: 0.75rem;
  }

  .solutions-block__meta {
    gap: 20px;
    margin-bottom: 18px;
  }

  .solutions-block__meta-item strong {
    font-size: 0.92rem;
  }

  .solutions-block__cta {
    width: 100%;
  }

  .solutions-block__visual {
    min-height: 160px;
    order: 2;
  }

  .solutions-block__svg {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solutions-block__inner,
  .solutions-block__visual,
  .solutions-block__tab {
    transition: none !important;
  }
}

/* Studio */
.studio__chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}

.studio__node {
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
}

.studio__arrow { color: var(--border); font-size: 1.2rem; }

.studio__text {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.studio__perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.studio__perk {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.studio__perk::before {
  content: '→';
  color: var(--teal);
  font-weight: 700;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124, 92, 191, 0.06) 0%, transparent 60%),
    var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.contact__alt h3 {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.contact__links { display: flex; flex-direction: column; gap: 12px; }

.contact__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact__links a:hover { color: var(--violet); }

.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.contact__socials a {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s;
}

.contact__socials a:hover { border-color: var(--violet); color: var(--violet); }

/* Footer */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
  max-width: 260px;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer nav { display: flex; flex-direction: column; gap: 8px; }

.footer nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer nav a:hover { color: var(--violet); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .process__layout,
  .portfolio__layout,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .portfolio__tab { min-width: 160px; flex-shrink: 0; }

  .compare { height: 360px; }

  .hero__prompt { flex-direction: column; }
  .hero__prompt .btn { width: 100%; }
}

@media (max-width: 480px) {
  .studio__chain { flex-direction: column; }
  .studio__arrow { transform: rotate(90deg); }

  .compare__label {
    font-size: 0.75rem;
    padding: 6px 10px;
    top: 12px;
  }

  .compare__label--before { right: 10px; }
  .compare__label--after { left: 10px; }
}

@media (max-width: 768px) {
  .portfolio__list {
    gap: 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    padding-inline: 2px;
  }

  .portfolio__tab {
    scroll-snap-align: start;
    min-width: 168px;
    flex-shrink: 0;
  }

  .portfolio__tab h4,
  .portfolio__tab p {
    overflow-wrap: break-word;
  }

  .contact {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

.hero__actions .btn--primary {
  display: none !important;
}

.mobile-contact-button {
  display: none;
}

@media (max-width: 768px) {
  .mobile-contact-button {
    position: fixed;
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 28px);
    min-height: 44px;
    padding: 13px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7658e8, #27cad7);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(80, 88, 190, 0.32);
  }
}