/* ============================================================
   PUMA DRAGON EDITION — LANDING PAGE
   Estética: Akatsuki Dark / Oriental Premium
   Mobile-first | 2026
   ============================================================ */

/* --- RESET & VARIABLES --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --crimson: #C41E3A;
  --crimson-deep: #8B0000;
  --gold: #C9A84C;
  --gold-light: #F0D080;
  --magenta: #FF2D78;
  --black: #090909;
  --dark: #111111;
  --dark-2: #1c1c1c;
  --gray: #666;
  --white: #F4F4F4;

  --font-display: 'Bebas Neue', cursive;
  --font-body: 'Outfit', sans-serif;

  --glow-red: 0 0 40px rgba(196, 30, 58, 0.55);
  --glow-gold: 0 0 20px rgba(201, 168, 76, 0.4);
  --glow-magenta: 0 0 30px rgba(255, 45, 120, 0.4);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100dvh;
}

/* ============================================================
   LANDING — HERO
   ============================================================ */

.landing {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  background-image: url('images/background.jpeg');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Gradient overlay for readability */
.landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.05) 30%,
      rgba(0, 0, 0, 0.15) 55%,
      rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

/* --- FLOATING CLOUD PARTICLES --- */
.cloud-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cp {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.05;
  filter: blur(3px);
  animation: drift linear infinite;
}

.cp1 {
  width: 130px;
  height: 55px;
  top: 12%;
  left: -8%;
  animation-duration: 14s;
}

.cp2 {
  width: 80px;
  height: 38px;
  top: 28%;
  right: -4%;
  animation-duration: 18s;
  animation-delay: -5s;
  animation-direction: reverse;
}

.cp3 {
  width: 110px;
  height: 48px;
  bottom: 28%;
  left: 5%;
  animation-duration: 16s;
  animation-delay: -9s;
}

@keyframes drift {

  0%,
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  33% {
    transform: translateX(18px) translateY(-12px) rotate(2deg);
  }

  66% {
    transform: translateX(-10px) translateY(8px) rotate(-1deg);
  }
}

/* --- HERO CONTENT --- */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 56px;
  max-width: 480px;
  width: 100%;
}

/* --- BRAND BADGE --- */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeDown 0.8s var(--ease) both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--crimson);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* --- SHOE STAGE --- */
.shoe-stage {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1;
  margin-bottom: 0px;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
  pointer-events: none;
}

.shoe-img {
  position: relative;
  z-index: 2;
  width: 130%;
  height: 130%;
  left: -15%;
  top: -15%;
  object-fit: contain;
  animation: levitate 3.6s ease-in-out infinite;
  filter:
    drop-shadow(0 12px 35px rgba(196, 30, 58, 0.55)) drop-shadow(0 4px 15px rgba(255, 45, 120, 0.3));
  will-change: transform;
}

.shoe-glow {
  position: absolute;
  inset: 25%;
  background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.35), transparent 70%);
  z-index: 1;
  filter: blur(18px);
  border-radius: 50%;
  animation: glowPulse 3.6s ease-in-out infinite;
}

.shoe-shadow {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  height: 18px;
  background: rgba(196, 30, 58, 0.45);
  border-radius: 50%;
  filter: blur(12px);
  z-index: 0;
  animation: shadowFloat 3.6s ease-in-out infinite;
}

@keyframes levitate {

  0%,
  100% {
    transform: translateY(0) rotate(-1.2deg);
  }

  50% {
    transform: translateY(-20px) rotate(1.2deg);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

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

@keyframes shadowFloat {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-50%) scale(0.72);
    opacity: 0.25;
  }
}

/* --- HEADLINE --- */
.headline-block {
  margin-top: -6vh;
  margin-bottom: 32px;
  position: relative;
  z-index: 3;
  animation: fadeUp 0.9s var(--ease) 0.2s both;
}

.headline-main {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 18vw, 5rem);
  line-height: 0.9;
  letter-spacing: 4px;
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8), var(--glow-red);
}

.headline-accent {
  color: var(--crimson);
  text-shadow: var(--glow-red), 0 0 60px rgba(196, 30, 58, 0.8);
}

.headline-x {
  font-size: 0.65em;
  color: var(--gold);
  vertical-align: middle;
  text-shadow: var(--glow-gold);
}

.headline-sub {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(244, 244, 244, 0.75);
  letter-spacing: 1.5px;
  line-height: 1.6;
}

/* --- CTA CLOUD BUTTON --- */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.9s var(--ease) 0.35s both;
}

.btn-cloud {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  background: transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--crimson-deep) 0%, var(--crimson) 100%);
  border: 2px solid var(--gold);
  border-radius: 60px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  box-shadow:
    var(--glow-red),
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--ease), border-color 0.18s;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.cloud-svg {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.btn-cloud:hover .btn-inner,
.btn-cloud:focus .btn-inner {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--glow-red), var(--glow-gold), 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: var(--gold-light);
}

.btn-cloud:active .btn-inner {
  transform: translateY(0) scale(0.98);
}

.stock-note {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.5);
  font-weight: 500;
}

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.entering {
  animation: overlayIn 0.3s var(--ease) both;
}

.modal-overlay.leaving {
  animation: overlayOut 0.25s var(--ease) both;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes overlayOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.modal {
  position: relative;
  background: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px 24px 40px;
  box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.8), 0 -2px 0 var(--gold) inset;
  scrollbar-width: none;
  animation: slideUp 0.4s var(--spring) both;
}

.modal::-webkit-scrollbar {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2;
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-close:hover {
  background: rgba(196, 30, 58, 0.3);
  border-color: var(--crimson);
}

/* Modal header */
.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-cloud-deco {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.5));
  animation: floatDeco 3s ease-in-out infinite;
}

@keyframes floatDeco {

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

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

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 3px;
  color: var(--white);
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* --- FORM --- */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input.has-error {
  border-color: var(--crimson);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Sizes */
.sizes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.size-btn {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--spring);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.size-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.size-btn.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
  box-shadow: 0 0 14px rgba(196, 30, 58, 0.5);
  transform: scale(1.08);
}

/* Delivery */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.delivery-card {
  cursor: pointer;
}

.delivery-card input[type="radio"] {
  display: none;
}

.delivery-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 8px;
  transition: all 0.2s var(--ease);
  text-align: center;
}

.delivery-card input:checked~.delivery-inner {
  background: rgba(196, 30, 58, 0.18);
  border-color: var(--crimson);
  box-shadow: 0 0 16px rgba(196, 30, 58, 0.25);
}

.delivery-card:hover .delivery-inner {
  border-color: rgba(201, 168, 76, 0.5);
}

.delivery-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.delivery-name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

/* Field errors */
.field-error {
  font-size: 0.72rem;
  color: var(--crimson);
  min-height: 16px;
  display: block;
}

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 3px;
  cursor: pointer;
  box-shadow: var(--glow-red), 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--ease), opacity 0.15s;
  margin-top: 4px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red), var(--glow-gold), 0 6px 24px rgba(0, 0, 0, 0.5);
}

.btn-submit:active {
  transform: translateY(0) scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================================
   SUCCESS STATE
   ============================================================ */

.success-state {
  text-align: center;
  padding: 20px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.success-state[hidden] {
  display: none;
}

.success-dragon {
  font-size: 4rem;
  animation: scaleIn 0.5s var(--spring) both, floatDeco 3s ease-in-out 0.5s infinite;
}

.success-state h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.success-state p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.success-loader {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 8px;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  border-radius: 100px;
  animation: loadBar 2.5s var(--ease) forwards;
}

@keyframes loadBar {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* ============================================================
   SHARED ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================================
   RESPONSIVE — Larger mobile / small tablet
   ============================================================ */

@media (min-width: 420px) {
  .shoe-stage {
    max-width: 460px;
  }

  .sizes-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (min-width: 600px) {
  .modal {
    border-radius: 24px;
    margin: auto;
  }

  .modal-overlay {
    align-items: center;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .shoe-img,
  .shoe-glow,
  .shoe-shadow,
  .cp,
  .badge-dot,
  .modal-cloud-deco,
  .loader-bar {
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE — Desktop / Large Screens
   ============================================================ */

@media (min-width: 992px) {
  .landing {
    background-image: url('images/backgroun-desktop.jpeg');
    background-position: center center;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "shoe badge"
      "shoe headline"
      "shoe cta";
    align-content: center;
    gap: 20px 60px;
    max-width: 1100px;
    padding: 0 40px;
    text-align: left;
    height: 100vh;
  }

  .brand-badge {
    grid-area: badge;
    justify-self: start;
    align-self: end;
    margin-bottom: 0;
  }

  .shoe-stage {
    grid-area: shoe;
    max-width: 100%;
    margin: 0;
    aspect-ratio: 1;
    min-height: 400px;
  }

  /* Reset image position for grid */
  .shoe-img {
    position: relative;
    left: 0;
    top: 0;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 1;
  }

  .headline-block {
    grid-area: headline;
    margin: 0;
    align-self: center;
  }

  .headline-main {
    font-size: clamp(4rem, 6vw, 6.5rem);
  }

  .cta-wrapper {
    z-index: 2;
    grid-area: cta;
    align-items: flex-start;
    align-self: start;
  }

  .btn-inner {
    z-index: 2;
  }
}