﻿* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdff;
  color: #080d22;
  font-family: "Manrope", Arial, sans-serif;
}

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

button {
  font: inherit;
}

.studio-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 5vw, 78px);
  border-bottom: 1px solid rgba(79, 70, 229, .1);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.studio-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 900;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #25dbe7, #7d3df2);
  color: #fff;
  box-shadow: 0 16px 34px rgba(125, 61, 242, .24);
}

.studio-nav {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
  color: #18203a;
  font-size: 14px;
  font-weight: 800;
}

.studio-nav a {
  opacity: .72;
  transition: color .2s ease, opacity .2s ease;
}

.studio-nav a:hover,
.studio-nav a.active {
  color: #6f35e8;
  opacity: 1;
}

.header-action,
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease;
}

.header-action,
.btn.primary {
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #8b39ef 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(104, 73, 236, .25);
}

.header-action::after,
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .44), transparent);
  transform: skewX(-18deg);
  animation: shine 4s ease-in-out infinite;
}

.btn.ghost {
  background: transparent;
  color: #5b34db;
}

.play {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #6f35e8;
  box-shadow: 0 14px 30px rgba(104, 73, 236, .12);
  font-size: 13px;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(620px, 1.28fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 78px) clamp(44px, 6vw, 74px);
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(33, 220, 226, .26), transparent 31%),
    radial-gradient(circle at 86% 8%, rgba(221, 103, 255, .36), transparent 34%),
    radial-gradient(circle at 84% 92%, rgba(126, 84, 255, .25), transparent 35%),
    linear-gradient(105deg, #eaffff 0%, #f8fdff 46%, #f4e6ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(circle, #20d6dd 0 2px, transparent 3px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -16vw;
  bottom: -30vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32, 211, 226, .55), rgba(132, 55, 235, .75));
  filter: blur(2px);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .78);
  color: #6236df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(79, 70, 229, .08);
}

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

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  color: #070c22;
  font-size: clamp(45px, 5.5vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 strong {
  display: block;
  color: #7138ed;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(29px, 3.3vw, 44px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

p {
  color: #334155;
  font-size: 17px;
  line-height: 1.72;
}

.hero-copy p {
  max-width: 610px;
  font-size: clamp(17px, 1.22vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-visual {
  min-height: 610px;
  perspective: 1500px;
}

.editor-card {
  position: relative;
  z-index: 3;
  width: min(850px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 38px 90px rgba(96, 75, 154, .18);
  transform: rotateX(2deg) rotateY(-8deg) rotateZ(5deg);
  animation: editorFloat 7s ease-in-out infinite;
}

.editor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(100, 116, 139, .12);
}

.editor-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

.editor-brand span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #23d5de, #7c3aed);
  color: #fff;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-actions button {
  height: 36px;
  border: 0;
  border-radius: 9px;
  padding: 0 15px;
  background: #f5f3ff;
  color: #312e81;
  font-size: 12px;
  font-weight: 900;
}

.editor-actions .download {
  background: linear-gradient(135deg, #6d38e9, #9447f4);
  color: #fff;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 35%, #f7c6a3 0 22%, transparent 23%),
    linear-gradient(135deg, #1e293b, #e9d5ff);
}

.editor-body {
  display: grid;
  grid-template-columns: 92px minmax(280px, 1fr) 220px;
  gap: 16px;
  padding: 18px;
}

.tool-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.tool-rail button {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.tool-rail button.active,
.tool-rail button:hover {
  border-color: rgba(124, 58, 237, .13);
  background: #f5f3ff;
  color: #6d38e9;
}

.design-board {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 18%, rgba(35, 213, 222, .18), transparent 26%),
    linear-gradient(135deg, #eefcff, #fff6ff);
}

.live-design {
  position: relative;
  width: min(92%, 390px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  padding: 42px 38px;
  color: #25136c;
  background:
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, .34), transparent 24%),
    linear-gradient(135deg, #a7e9ff 0%, #d9a8ff 55%, #9d61fb 100%);
  box-shadow: 0 26px 56px rgba(116, 65, 235, .25);
  transition: background .32s ease, color .32s ease;
}

.live-design::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% 18%;
  height: 44%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.live-design span,
.live-design h2,
.live-design p,
.live-design a {
  position: relative;
  z-index: 2;
}

.live-design span {
  display: block;
  max-width: 170px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
}

.live-design h2 {
  margin: 18px 0 0;
  color: inherit;
  font-size: 58px;
  line-height: .88;
}

.live-design p {
  margin: 12px 0 0;
  color: inherit;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.live-design a {
  display: inline-flex;
  margin-top: 30px;
  border-radius: 999px;
  padding: 11px 17px;
  background: #4b24ce;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-object {
  position: absolute;
  right: 32px;
  bottom: 40px;
  width: 170px;
  height: 104px;
  border-radius: 62px 20px 28px 28px;
  background: linear-gradient(145deg, #eee7ff, #6e42ef 58%, #261475);
  box-shadow: 0 26px 42px rgba(47, 24, 117, .25);
  transform: rotate(-17deg);
  transition: all .34s ease;
}

.product-object::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -24px;
  width: 82px;
  height: 52px;
  border-radius: 48px 48px 20px 20px;
  border: 13px solid #d9c7ff;
  border-bottom: 0;
  transform: rotate(8deg);
}

.product-object::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -14px;
  width: 90px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
}

.theme-story {
  color: #fff;
  background: linear-gradient(135deg, #241057, #7138ed 52%, #22d3ee);
}

.theme-story .product-object {
  width: 132px;
  height: 132px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fff, #93c5fd);
  transform: rotate(14deg);
}

.theme-facebook {
  color: #173177;
  background: linear-gradient(135deg, #eff6ff, #c4eff8 48%, #ffffff 49%, #fef7ff);
}

.theme-facebook .product-object {
  width: 96px;
  height: 170px;
  border-radius: 999px 999px 26px 26px;
  background: linear-gradient(145deg, #7dd3fc, #6d38e9);
  transform: rotate(5deg);
}

.theme-twitter {
  color: #fff;
  background: linear-gradient(135deg, #111827, #2563eb 56%, #a855f7);
}

.theme-twitter .product-object {
  width: 150px;
  height: 150px;
  border-radius: 36px 82px 36px 82px;
  background: linear-gradient(145deg, #f0f9ff, #38bdf8);
  transform: rotate(24deg);
}

.live-design.is-switching {
  animation: switchDesign .42s ease;
}

.format-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(89, 63, 142, .09);
}

.format-panel h3 {
  margin-bottom: 6px;
}

.format-btn {
  min-height: 64px;
  border: 1px solid #ede9fe;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: #111827;
  text-align: left;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.format-btn small {
  display: block;
  margin-top: 4px;
  color: #7c8496;
  font-size: 11px;
}

.format-btn:hover,
.format-btn.active {
  border-color: rgba(124, 58, 237, .34);
  box-shadow: 0 16px 30px rgba(124, 58, 237, .13);
  transform: translateY(-2px);
}

.social-float {
  position: absolute;
  z-index: 4;
  display: block;
  width: 72px;
  height: 72px;
  background: transparent;
  box-shadow: none;
  animation: floatIcon 5.6s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(67, 56, 202, .24));
}

.social-float img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.icon-instagram {
  top: 28px;
  left: 8px;
}

.icon-whatsapp {
  top: 248px;
  left: 12px;
  animation-delay: .8s;
}

.icon-gmail {
  left: 8px;
  bottom: 72px;
  width: 80px;
  height: 56px;
  animation-delay: 1.2s;
}

.mini-card {
  position: absolute;
  z-index: 5;
  border-radius: 18px;
  box-shadow: 0 26px 50px rgba(89, 63, 142, .18);
  animation: floatIcon 6.4s ease-in-out infinite;
}

.skincare-card {
  right: -4px;
  bottom: 8px;
  width: 236px;
  min-height: 142px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 54%, rgba(81, 38, 159, .36), transparent 22%),
    linear-gradient(135deg, #ffd2f0, #b890ff);
  color: #312e81;
  transform: rotate(-6deg);
}

.skincare-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.skincare-card span {
  display: inline-flex;
  margin-top: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #6d38e9;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.stat-card {
  right: 330px;
  bottom: 34px;
  display: flex;
  align-items: end;
  gap: 8px;
  width: 96px;
  height: 96px;
  padding: 24px;
  background: #fff;
}

.stat-card span {
  width: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9b5cff, #22d3ee);
}

.stat-card span:nth-child(1) { height: 30px; }
.stat-card span:nth-child(2) { height: 46px; }
.stat-card span:nth-child(3) { height: 62px; }

.why,
.examples,
.pricing {
  padding: clamp(58px, 8vw, 92px) clamp(18px, 5vw, 78px);
}

.why {
  background: linear-gradient(105deg, #effdff, #fff7ff);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head p {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 1260px;
  margin: 0 auto;
}

.why-grid article {
  min-height: 178px;
  border: 1px solid rgba(124, 58, 237, .08);
  border-radius: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 22px 50px rgba(79, 70, 229, .08);
}

.why-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: #7c3aed;
  font-size: 28px;
  box-shadow: 0 16px 34px rgba(124, 58, 237, .12);
}

.why-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.examples {
  background: #fff;
}

.example-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.example-btn {
  min-height: 50px;
  border: 1px solid #ede9fe;
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  color: #6037df;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.example-btn:hover,
.example-btn.active {
  background: linear-gradient(135deg, #2563eb, #8b39ef);
  color: #fff;
  transform: translateY(-2px);
}

.pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 86% 16%, rgba(139, 57, 239, .22), transparent 24%),
    linear-gradient(135deg, #f8fdff, #fff);
}

.pricing-copy {
  max-width: 760px;
}

.studio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 78px);
  border-top: 1px solid rgba(124, 58, 237, .1);
  background: #fff;
}

.studio-footer strong {
  font-size: 18px;
}

.studio-footer p {
  margin: 6px 0 0;
  font-size: 14px;
}

.studio-footer a {
  color: #6037df;
  font-weight: 900;
}

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

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

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@keyframes shine {
  0%, 58% { transform: translateX(0) skewX(-18deg); }
  76%, 100% { transform: translateX(430%) skewX(-18deg); }
}

@keyframes editorFloat {
  0%, 100% {
    transform: rotateX(2deg) rotateY(-8deg) rotateZ(5deg) translateY(0);
  }
  50% {
    transform: rotateX(2deg) rotateY(-8deg) rotateZ(5deg) translateY(-16px);
  }
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translateY(-16px) rotate(5deg) scale(1.04);
  }
}

@keyframes switchDesign {
  0% {
    opacity: .62;
    transform: scale(.94) rotate(-1deg);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 580px;
  }

  .editor-card {
    transform: none;
  }

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

@media (max-width: 940px) {
  .studio-nav {
    display: none;
  }

  .editor-body {
    grid-template-columns: 1fr;
  }

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

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

  .format-panel h3 {
    grid-column: 1 / -1;
  }

  .skincare-card {
    right: 10px;
  }

  .stat-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .studio-header {
    min-height: 70px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .studio-logo span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .container {
    width: min(1220px, calc(100% - 24px));
  }

  h1 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.1;
  }

  .hero-actions,
  .pricing,
  .studio-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions a {
    justify-content: center;
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .editor-card {
    border-radius: 18px;
  }

  .editor-actions button:first-child,
  .avatar {
    display: none;
  }

  .tool-rail,
  .format-panel,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .live-design {
    width: 100%;
  }

  .social-float,
  .mini-card {
    display: none;
  }
}

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