:root {
  --primary: #8a00ff;
  --primary-dark: #43007e;
  --primary-mid: #7100d4;
  --primary-soft: #f1e1ff;
  --primary-light: #c681ff;
  --white: #ffffff;
  --text: #210033;
  --muted: #745782;
  --surface: #fbf7ff;
  --glass: rgba(255, 255, 255, 0.15);
  --shadow: 0 28px 78px rgba(67, 0, 126, 0.28);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-main: Calibri, Arial, sans-serif;
  --font-logo: "Freebooter Script", "Brush Script MT", "Segoe Script", cursive;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  min-width: 320px;
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(138, 0, 255, 0.08), transparent 26%),
    radial-gradient(circle at 94% 72%, rgba(138, 0, 255, 0.1), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #fbf7ff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

::selection {
  color: var(--white);
  background: var(--primary);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.16), transparent 30%),
    var(--primary);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader p {
  font-family: var(--font-logo);
  font-size: clamp(2.5rem, 9vw, 5.4rem);
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.38);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.site-header {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.27), transparent 22%),
    radial-gradient(circle at 16% 75%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--primary), #7400de 54%, var(--primary-dark));
  overflow: hidden;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.site-header::before {
  width: 780px;
  height: 780px;
  top: -270px;
  right: -300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 64%);
  animation: pulseGlow 7s ease-in-out infinite;
}

.site-header::after {
  width: 560px;
  height: 560px;
  bottom: -220px;
  left: -210px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: floatSlow 9s ease-in-out infinite;
}

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1140px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  top: 10px;
  background: rgba(67, 0, 126, 0.86);
  box-shadow: 0 16px 44px rgba(33, 0, 51, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  width: 154px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(33, 0, 51, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  list-style: none;
  font-weight: 900;
}

.nav-menu a {
  position: relative;
  opacity: 0.94;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-menu a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(33, 0, 51, 0.16);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 142px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 13px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  opacity: 0.86;
}

.hero h1,
.contact-section h2 {
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero h1 {
  margin-bottom: clamp(30px, 4.5vw, 56px);
  font-size: clamp(2.55rem, 6.5vw, 5.85rem);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 28px);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font: 900 1rem var(--font-main);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(33, 0, 51, 0.17);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn--primary {
  color: var(--primary);
  background: var(--white);
}

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}



.hero__visual {
  position: relative;
  min-height: clamp(430px, 52vw, 610px);
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.product-can {
  position: relative;
  z-index: 3;
  width: min(360px, 80vw);
  min-height: 530px;
  display: grid;
  grid-template-rows: 34px 1fr 34px;
  border-radius: 56px;
  transform-style: preserve-3d;
  animation: canFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 34px 50px rgba(30, 0, 44, 0.35));
  will-change: transform;
}

.product-can__cap,
.product-can__base {
  width: 76%;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(180deg, #ffffff, #d8b5ff 42%, #7b00eb);
}

.product-can__cap {
  border-radius: 50% 50% 18px 18px;
  transform: translateY(18px);
}

.product-can__base {
  border-radius: 18px 18px 50% 50%;
  transform: translateY(-18px);
}

.product-can__body {
  position: relative;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 34px 24px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 44px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.27), transparent 18% 80%, rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.29), transparent 32%),
    linear-gradient(145deg, #a21aff, #6d00d2 55%, #42007d);
  overflow: hidden;
}

.product-can__body::before,
.product-can__body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.product-can__body::before {
  width: 190px;
  height: 190px;
  top: -70px;
  right: -70px;
}

.product-can__body::after {
  width: 130px;
  height: 130px;
  left: -52px;
  bottom: 36px;
}

.product-can__body img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(33, 0, 51, 0.18);
}

.product-can__body p {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-can__shine {
  position: absolute;
  top: 54px;
  left: 48px;
  z-index: 5;
  width: 30px;
  height: 420px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent);
  transform: rotate(10deg);
  opacity: 0.4;
  pointer-events: none;
  animation: shineMove 4.8s ease-in-out infinite;
}

.bubble {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(4px);
  animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble--one {
  top: 8%;
  left: 3%;
  width: 92px;
  height: 92px;
}

.bubble--two {
  right: 4%;
  bottom: 17%;
  width: 68px;
  height: 68px;
  animation-delay: 1s;
}

.bubble--three {
  top: 23%;
  right: 10%;
  width: 32px;
  height: 32px;
  animation-delay: 1.8s;
}

.bubble--four {
  left: 20%;
  bottom: 11%;
  width: 42px;
  height: 42px;
  animation-delay: 2.4s;
}

.floating-word {
  position: absolute;
  z-index: 1;
  font-family: var(--font-logo);
  color: rgba(255, 255, 255, 0.16);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.floating-word--one {
  top: 10%;
  right: 1%;
  font-size: clamp(5rem, 11vw, 9rem);
  transform: rotate(-12deg);
  animation: softRotate 6s ease-in-out infinite;
}

.floating-word--two {
  left: 2%;
  bottom: 10%;
  font-size: clamp(3.8rem, 8vw, 6.8rem);
  transform: rotate(9deg);
  animation: softRotateReverse 7s ease-in-out infinite;
}

.contact-section {
  position: relative;
  width: min(1140px, calc(100% - 36px));
  margin: clamp(70px, 10vw, 120px) auto clamp(64px, 8vw, 96px);
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 12%, rgba(138, 0, 255, 0.14), transparent 28%),
    radial-gradient(circle at 5% 92%, rgba(138, 0, 255, 0.09), transparent 24%),
    var(--white);
  box-shadow: 0 26px 76px rgba(33, 0, 51, 0.11);
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(138, 0, 255, 0.18), transparent, rgba(138, 0, 255, 0.12));
}

.contact-section__content {
  position: relative;
  z-index: 1;
}

.contact-section .eyebrow {
  color: var(--primary);
}

.contact-section h2 {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(2.15rem, 4.6vw, 4.15rem);
}

.contact-section p {
  max-width: 640px;
  margin-top: 17px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.mail-card {
  display: inline-grid;
  gap: 4px;
  max-width: 100%;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(138, 0, 255, 0.15);
  border-radius: 24px;
  background: var(--primary-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(138, 0, 255, 0.16);
}

.mail-card span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.mail-card strong {
  color: var(--primary);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  word-break: break-word;
}

.contact-form {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(138, 0, 255, 0.12);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(33, 0, 51, 0.07);
}

.contact-form label {
  display: block;
  margin: 16px 0 8px;
  color: var(--primary-dark);
  font-weight: 900;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(138, 0, 255, 0.18);
  border-radius: 20px;
  outline: 0;
  color: var(--text);
  background: var(--white);
  font: 1rem var(--font-main);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-form input {
  min-height: 50px;
  padding: 0 17px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 15px 17px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(138, 0, 255, 0.12);
  transform: translateY(-1px);
}

.contact-form__button {
  width: 100%;
  margin-top: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.form-message {
  min-height: 24px;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 900;
}

.footer {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 38px 18px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.18), transparent 28%),
    var(--primary-dark);
}

.footer img {
  width: 190px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
}

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

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

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

@keyframes canFloat {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateZ(-1deg);
  }

  50% {
    transform: translateY(-18px) rotateX(5deg) rotateZ(1deg);
  }
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(8px, -26px, 0) scale(1.06);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

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

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

@keyframes softRotate {
  0%, 100% {
    transform: rotate(-12deg) scale(1);
  }

  50% {
    transform: rotate(-8deg) scale(1.04);
  }
}

@keyframes softRotateReverse {
  0%, 100% {
    transform: rotate(9deg) scale(1);
  }

  50% {
    transform: rotate(5deg) scale(1.05);
  }
}

@keyframes shineMove {
  0%, 100% {
    opacity: 0.28;
    transform: translateX(0) rotate(10deg);
  }

  50% {
    opacity: 0.55;
    transform: translateX(12px) rotate(10deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 132px;
  }

  .hero__content,
  .contact-section {
    text-align: center;
  }

  .contact-section p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .mail-card {
    margin-right: auto;
    margin-left: auto;
  }

  .contact-form {
    text-align: left;
  }
}

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

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, 100%);
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(67, 0, 126, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 96px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .brand__logo {
    width: 128px;
    height: 48px;
  }

  .hero,
  .contact-section {
    width: min(100% - 24px, 1140px);
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 60px;
  }

  .hero__visual {
    min-height: 430px;
  }

  .product-can {
    width: min(300px, 84vw);
    min-height: 440px;
  }

  .product-can__shine {
    height: 330px;
  }

  .hero h1 {
    margin-bottom: 34px;
  }

  .hero__buttons {
    flex-direction: column;
    width: min(100%, 360px);
    margin-right: auto;
    margin-left: auto;
    gap: 14px;
  }

  .btn {
    width: 100%;
  }

  .floating-word--one {
    right: auto;
    top: 2%;
    font-size: 4.8rem;
  }

  .floating-word--two {
    font-size: 4rem;
  }

  .bubble--one {
    width: 58px;
    height: 58px;
  }

  .bubble--two {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .nav-menu {
    width: calc(100vw - 20px);
  }

  .hero h1,
  .contact-section h2 {
    letter-spacing: -0.045em;
  }

  .hero h1 {
    margin-bottom: 30px;
  }

  .product-can {
    width: min(270px, 86vw);
    min-height: 405px;
  }

  .product-can__body {
    padding: 28px 18px;
  }

  .contact-section,
  .contact-form {
    padding: 24px;
  }
}

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

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