/*
  Aura Press On — Styles
  Palette: 
    - Background principale: #FFF7FB
    - Rosa cute base: #F7D9E5
    - Rosa malva: #E8B7D4
    - Accenti bubblegum: #FFB7CE
    - Testo: #000000
*/

:root {
  --bg-main: #fff7fb;
  --pink-base: #f7d9e5;
  --pink-mauve: #e8b7d4;
  --pink-bubblegum: #ffb7ce;
  --text-main: #000000;
  --card-glass: rgba(247, 217, 229, 0.55);
  --shadow-soft: 0 18px 45px rgba(232, 183, 212, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container-width: 1120px;
  --section-spacing: 5.5rem;
}

.ap-builder-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3.2rem;
}

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-main);
}

/* Social icons in mobile fullscreen menu */
.mobile-socials {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  gap: 26px;
  opacity: 1;
  transform-origin: center;
  z-index: 30;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(224, 98, 146, 0.28);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover svg path,
.social-icon:hover svg circle {
  fill: #e06292 !important;
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.15);
  box-shadow: 0 18px 40px rgba(224, 98, 146, 0.4);
}

/* Side socials fixed bar */
.side-socials {
  position: fixed;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
  opacity: 0;
  animation: sideSocialsIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.side-socials .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(224, 98, 146, 0.18);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  animation: sideSocialFloat 3.5s ease-in-out infinite;
}

.side-socials .social-icon svg {
  width: 18px;
  height: 18px;
}

.side-socials .social-icon:hover {
  transform: scale(1.14);
  box-shadow: 0 8px 22px rgba(230, 98, 146, 0.35);
  background: rgba(255, 255, 255, 0.5);
}

.side-socials .social-icon:hover svg path,
.side-socials .social-icon:hover svg circle {
  fill: #e06292;
  opacity: 1;
}

@keyframes sideSocialFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes sideSocialsIn {
  from {
    opacity: 0;
    transform: translateY(-40%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (max-width: 640px) {
  .side-socials {
    top: auto;
    left: auto;
    bottom: 22px;
    right: 18px;
    transform: none;
    flex-direction: row;
    gap: 18px;
  }

  .side-socials .social-icon {
    width: 32px;
    height: 32px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 0 0, #ffeaf5 0%, var(--bg-main) 45%, #ffeaf5 95%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.ap-nav-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════
   CUSTOM NAIL CURSOR — Premium Edition
   ═══════════════════════════════════════════════════════════════════════ */

@media (pointer: fine) {
  * {
    cursor: none !important;
  }
}

.ap-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 24px;
  pointer-events: none;
  z-index: 999999;
  opacity: 1;
  will-change: left, top;

  /* Nail shape */
  border-radius: 52% 52% 42% 42% / 60% 60% 40% 40%;
  background:
    radial-gradient(ellipse 50% 35% at 28% 18%, rgba(255, 255, 255, 0.98), transparent 45%),
    radial-gradient(ellipse 55% 40% at 70% 20%, rgba(255, 230, 244, 0.8), transparent 55%),
    linear-gradient(155deg, #fff7fb 0%, #f7d9e5 30%, #ffb7ce 60%, #e8b7d4 85%, #d4a0c0 100%);
  border: 1px solid rgba(200, 150, 175, 0.9);
  box-shadow:
    0 4px 10px rgba(160, 110, 140, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.14),
    inset 0 -4px 8px rgba(255, 183, 206, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.65);
  transform: translate(-50%, -50%);
}

.ap-cursor.is-hover {
  animation: cursorHover 0.2s ease-out forwards;
}

.ap-cursor.is-link {
  animation: cursorLink 0.18s ease-out forwards;
}

.ap-cursor.is-idle {
  animation: cursorIdle 2.3s ease-in-out infinite;
}

@keyframes cursorHover {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
  100% {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow:
      0 6px 18px rgba(255, 183, 206, 0.6),
      0 0 12px 3px rgba(255, 183, 206, 0.35),
      inset 0 -5px 10px rgba(255, 183, 206, 0.35);
  }
}

@keyframes cursorLink {
  0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  50% { transform: translate(-50%, -50%) scale(1.1) rotate(2deg); }
  100% { transform: translate(-50%, -50%) scale(1.07) rotate(1.5deg); }
}

@keyframes cursorIdle {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) translateY(0);
    box-shadow:
      0 4px 12px rgba(160, 110, 140, 0.5),
      0 1px 3px rgba(0, 0, 0, 0.12),
      inset 0 -5px 10px rgba(255, 183, 206, 0.35);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.03) translateY(-1px);
    box-shadow:
      0 6px 16px rgba(255, 183, 206, 0.55),
      0 0 8px 2px rgba(255, 183, 206, 0.25),
      inset 0 -5px 10px rgba(255, 183, 206, 0.35);
  }
}

/* Trailing particles */
.ap-trail-particle {
  position: fixed;
  pointer-events: none;
  z-index: 999998;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 251, 0.9), rgba(255, 183, 206, 0.5));
  box-shadow: 0 0 4px 1px rgba(255, 183, 206, 0.3);
  animation: trailFade 0.3s ease-out forwards;
}

@keyframes trailFade {
  0% {
    opacity: 0.3;
    transform: scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.1) rotate(15deg) translateY(-8px);
  }
}

/* Hide on touch / small screens */
@media (pointer: coarse), (max-width: 1024px) {
  .ap-cursor,
  .ap-trail-particle {
    display: none !important;
  }
}

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

.ap-container {
  width: min(var(--container-width), 100% - 2.8rem);
  margin: 0 auto;
}

.ap-section {
  padding: var(--section-spacing) 0;
}

.page-fade-in {
  animation: pageFadeIn 0.9s ease-out both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Header */

.ap-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, #fff9fb 0%, #f8ddeb 100%);
  border-bottom: 1px solid rgba(232, 183, 212, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ap-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0.2rem;
}

.ap-logo-wrap {
  display: flex;
  align-items: center;
}

.ap-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  padding: 4px;
  background: radial-gradient(circle at 0 0, #fff7fb, #f7d9e5);
  box-shadow:
    0 10px 26px rgba(232, 183, 212, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(232, 183, 212, 0.6);
}

/* Brand text blocco centrale */
.ap-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ap-brand-text .ap-logo-title {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  color: #1a1a1a;
}

.ap-brand-text .ap-logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a526c;
}

.ap-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
}

.ap-nav a {
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}

.ap-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-base), var(--pink-bubblegum));
  transition: width 0.2s ease;
}

.ap-nav a:hover::after {
  width: 100%;
}

.ap-nav-cta {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 183, 206, 0.2);
  border: 1px solid rgba(255, 183, 206, 0.8);
}

@media (max-width: 768px) {
  .ap-nav-cta {
    display: none;
  }
}

/* Mobile nav: hamburger + panel */

.ap-nav-desktop {
  display: flex;
}

.ap-nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: radial-gradient(circle at 0 0, #fff7fb, #f7d9e5);
  box-shadow: 0 10px 24px rgba(232, 183, 212, 0.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ap-nav-toggle-line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #7a526c;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.ap-nav-toggle-line:first-child {
  top: 13px;
}

.ap-nav-toggle-line:last-child {
  top: 19px;
}

.ap-header.is-menu-open .ap-nav-toggle-line:first-child {
  top: 16px;
  transform: rotate(45deg);
}

.ap-header.is-menu-open .ap-nav-toggle-line:last-child {
  top: 16px;
  transform: rotate(-45deg);
}
/* ═══════════════════════════════════════════════════════════════════════
   MOBILE MENU OVERLAY — FULLSCREEN (NO BORDI, NO CARD)
   ═══════════════════════════════════════════════════════════════════════ */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(
      rgba(255, 255, 255, 0.28),
      rgba(255, 192, 220, 0.25)
    ),
    url('https://images.unsplash.com/photo-1522337660859-02fbefca4702?auto=format&fit=crop&w=600&q=60');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 999999999;
}

.mobile-menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.6), rgba(255,192,220,0.1));
  pointer-events: none;
}


.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.close-menu {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 32px;
  font-weight: 300;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 10;
}

.close-menu:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
  color: #d94b84;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu-items a {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 24px;
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.85;
  letter-spacing: 1.2px;
  margin: 16px 0;
  transition: 0.35s ease;
  position: relative;
  z-index: 10;
}


.mobile-menu-items a:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
  color: #d94b84;
  text-shadow: 0 3px 12px rgba(217, 75, 132, 0.35);
}

.mobile-menu-overlay.open .mobile-menu-items a {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.mobile-menu-items a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-items a:nth-child(2) { animation-delay: 0.18s; }
.mobile-menu-items a:nth-child(3) { animation-delay: 0.26s; }
.mobile-menu-items a:nth-child(4) { animation-delay: 0.34s; }
.mobile-menu-items a:nth-child(5) { animation-delay: 0.42s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE: DESKTOP vs MOBILE VISIBILITY
   ═══════════════════════════════════════════════════════════════════════ */

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE HEADER — 3 COLONNE PERFETTE
   ═══════════════════════════════════════════════════════════════════════ */

.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: linear-gradient(180deg, #fff7fb, #f8dceb);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 9999;
}

.mobile-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
}

/* Colonna sinistra: logo */
.mobile-header-left {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  visibility: hidden; /* mantiene lo spazio ma nasconde il contenuto */
}

.mobile-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Colonna centrale: testo REALMENTE centrato */
.mobile-header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.brand-sub {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  display: block;
}

/* Colonna destra: hamburger */
.mobile-header-right {
  width: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hamburger-btn {
  width: 24px;
  height: 14px;
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 4px;
  background: #7a526c;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Hamburger → X animation */
.mobile-header.is-menu-open .hamburger-btn span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.mobile-header.is-menu-open .hamburger-btn span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Desktop header refinement */
@media (min-width: 1024px) {
  .ap-header-inner {
    padding-block: 0.6rem;
  }

  .ap-logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    box-shadow:
      0 8px 20px rgba(232, 183, 212, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.85);
  }

  .ap-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .ap-logo-title {
    font-size: 1.02rem;
  }

  .ap-logo-sub {
    font-size: 0.64rem;
  }

  .ap-nav {
    gap: 1.5rem;
    font-size: 0.8rem;
  }

  .ap-header {
    box-shadow: 0 10px 24px rgba(232, 183, 212, 0.35);
  }
}

/* Buttons */

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease;
}

.ap-btn-primary {
  background: linear-gradient(120deg, var(--pink-bubblegum), var(--pink-base));
  box-shadow: 0 18px 40px rgba(255, 183, 206, 0.7);
}

.ap-btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 54px rgba(255, 183, 206, 0.8);
}

.ap-btn-whatsapp {
  min-width: 230px;
}

.ap-btn-cta-pulse {
  animation: softPulse 4s ease-in-out infinite;
}

@keyframes softPulse {
  0%,
  70%,
  100% {
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(255, 183, 206, 0.7);
  }
  80% {
    transform: scale(1.04);
    box-shadow: 0 24px 60px rgba(255, 183, 206, 0.9);
  }
  90% {
    transform: scale(1.02);
    box-shadow: 0 16px 32px rgba(255, 183, 206, 0.55);
  }
}

/* Hero */

.ap-hero {
  position: relative;
  padding-top: 5.4rem;
  padding-bottom: 4.6rem;
  overflow: visible;
  background:
    radial-gradient(circle at 0 0, #ffe0f0 0%, rgba(247, 217, 229, 0) 55%),
    radial-gradient(circle at 100% 0, #ffd0ea 0%, rgba(247, 217, 229, 0) 55%),
    radial-gradient(circle at 50% 120%, #f7d9e5 0%, #e8b7d4 45%, #fff7fb 85%);
}

.ap-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 3rem;
}

.ap-hero-logo-mark {
  position: relative;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 247, 251, 0.85);
  box-shadow: 0 10px 26px rgba(232, 183, 212, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.ap-hero-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.ap-hero-logo-butterfly {
  position: relative;
  width: 42px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(247, 217, 229, 0.9));
}

.ap-butterfly-wing {
  width: 20px;
  height: 20px;
  border-radius: 60% 40% 60% 40%;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--pink-mauve));
  opacity: 0.92;
}

.ap-butterfly-wing.left {
  transform: rotate(-25deg) translateX(2px);
}

.ap-butterfly-wing.right {
  transform: rotate(25deg) translateX(-2px);
}

.ap-butterfly-body {
  position: absolute;
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 2px rgba(247, 217, 229, 0.55);
}

.ap-hero-copy {
  position: relative;
}

.ap-hero-copy-blob {
  position: absolute;
  inset: -40px -80px auto -40px;
  border-radius: 140px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 247, 251, 0.95), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 183, 206, 0.55), transparent 65%),
    radial-gradient(circle at 10% 80%, rgba(232, 183, 212, 0.65), transparent 70%);
  filter: blur(26px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.ap-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 247, 251, 0.88);
  border: 1px solid rgba(232, 183, 212, 0.8);
  box-shadow: 0 10px 26px rgba(232, 183, 212, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.ap-hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb7ce, #e8b7d4);
}

.ap-hero-pill-text {
  opacity: 0.82;
}

.ap-hero-logo-small {
  margin-bottom: 1.1rem;
}

.ap-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.85rem;
  text-shadow: 0 14px 40px rgba(232, 183, 212, 0.75);
}

.ap-hero-sub {
  font-size: 1rem;
  max-width: 480px;
  margin: 0 0 1.4rem 0;
}

.ap-hero-sub-strong {
  color: #1a1a1a;
}

.hero-socials {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-hero.is-visible .hero-socials {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.ap-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.ap-hero-badges span {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 247, 251, 0.9);
  border: 1px solid rgba(232, 183, 212, 0.7);
}

.ap-hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ap-btn-hero-main {
  gap: 0.6rem;
  padding-inline: 2.1rem;
  box-shadow: 0 22px 55px rgba(255, 183, 206, 0.9);
  position: relative;
  overflow: hidden;
}

.ap-btn-hero-main::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 247, 251, 0.24), rgba(255, 183, 206, 0.18));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ap-btn-hero-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 247, 251, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-btn-hero-icon i {
  font-size: 1rem;
}

.ap-btn-hero-main:hover::before {
  opacity: 1;
}

.ap-hero-cta-shadow {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -14px;
  width: 60%;
  max-width: 260px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(232, 183, 212, 0.65), transparent 65%);
  filter: blur(6px);
  z-index: -1;
}

.ap-hero-preview {
  display: flex;
  justify-content: flex-end;
}

.ap-hero-preview-card {
  width: 100%;
  max-width: 280px;
  border-radius: 28px;
  padding: 0.9rem 0.9rem 1.1rem;
  background: radial-gradient(circle at 0 0, #fff7fb, #f7d9e5 40%, #e8b7d4 90%);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 247, 251, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  animation: builderFloat 7s ease-in-out infinite alternate;
}

.ap-hero-preview-hand {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #ffeaf5, #f7d9e5 40%, #e8b7d4 88%);
  overflow: hidden;
  position: relative;
}

.ap-hero-preview-hand .ap-hero-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (hover: hover) {
  .ap-hero-preview-card {
    transition:
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ap-hero-preview-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.22),
      0 0 0 1px rgba(255, 247, 251, 0.9);
  }
}

.ap-hero-preview-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ap-hero-bg-blur {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.9;
  pointer-events: none;
}

.ap-hero-bg-blur-left {
  top: -40px;
  left: -60px;
  background: #ffb7ce;
}

.ap-hero-bg-blur-right {
  bottom: -60px;
  right: -40px;
  background: #e8b7d4;
}

/* ─── FLOATING NAIL DECORATION ─── */

.ap-hero-floating-nail {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 180px;
  height: 260px;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;

  /* Almond/oval nail shape */
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background:
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(255, 183, 206, 0.5), transparent 60%),
    linear-gradient(160deg, #fff7fb 0%, #f7d9e5 35%, #ffb7ce 70%, #e8b7d4 100%);
  box-shadow:
    0 30px 60px rgba(232, 183, 212, 0.35),
    inset 0 -20px 40px rgba(255, 183, 206, 0.25);
  filter: blur(0.5px);

  animation: floatNail 16s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
  transform-origin: center center;
}

@keyframes floatNail {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(2deg);
  }
  50% {
    transform: translateY(-8px) rotate(0deg);
  }
  75% {
    transform: translateY(-4px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@media (max-width: 960px) {
  .ap-hero-floating-nail {
    width: 140px;
    height: 200px;
    top: 8%;
    right: 4%;
    opacity: 0.75;
  }
}

@media (max-width: 640px) {
  .ap-hero-floating-nail {
    width: 100px;
    height: 145px;
    top: 6%;
    right: 2%;
    opacity: 0.65;
    animation-duration: 20s;
  }
}

/* Section head */

.ap-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.4rem auto;
}

.ap-section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.ap-section-head p {
  font-size: 0.98rem;
}

/* Why cards */

.ap-why {
  position: relative;
}

.ap-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(247, 217, 229, 0.55), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.ap-why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.ap-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-glass);
  border: 1px solid rgba(232, 183, 212, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 26px 70px rgba(232, 183, 212, 0.55);
}

.ap-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: rgba(255, 247, 251, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.ap-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.ap-card p {
  font-size: 0.95rem;
}

/* Portfolio */

.ap-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ap-portfolio-item {
  border-radius: 24px;
  overflow: hidden;
}

.ap-portfolio-photo {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transform: scale(1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ap-portfolio-item:hover .ap-portfolio-photo {
  transform: scale(1.05);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}

/* Portfolio images - sostituisci i nomi file con le tue immagini */
.placeholder-1 {
  background: url('Image/1.jpg') center center / cover no-repeat;
}

.placeholder-2 {
  background: url('Image/2.jpg') center center / cover no-repeat;
}

.placeholder-3 {
  background: url('Image/3.jpg') center center / cover no-repeat;
}

.placeholder-4 {
  background: url('Image/4.jpg') center center / cover no-repeat;
}

/* About */

.ap-about {
  background: rgba(255, 247, 251, 0.9);
}

.ap-about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.ap-about-photo-wrap {
  display: flex;
  justify-content: center;
}

.ap-about-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: url('Image/Profile.jpeg') center center / cover no-repeat;
  box-shadow: 0 22px 60px rgba(232, 183, 212, 0.6);
}

.ap-about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.ap-about-intro {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ap-about-text p + p {
  margin-top: 0.5rem;
}

/* CTA */

.ap-cta {
  background: radial-gradient(circle at 0 0, #ffeaf5, #f7d9e5 45%, #e8b7d4 90%);
}

.ap-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.ap-cta-inner h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.ap-cta-inner p {
  margin-bottom: 1.5rem;
}

/* Footer mini-premium */

.ap-footer {
  padding: 1.9rem 0 2.1rem;
  background: radial-gradient(circle at 0 0, #ffeaf5, #f7d9e5 55%, #e8b7d4 95%);
  color: #1a1a1a;
}

.ap-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  font-size: 0.86rem;
}

.ap-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ap-footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.ap-footer-sub {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.ap-footer-socials {
  display: flex;
  gap: 0.75rem;
}

.ap-footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 247, 251, 0.9);
  box-shadow: 0 10px 26px rgba(232, 183, 212, 0.55);
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-footer-social-link:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 16px 40px rgba(232, 183, 212, 0.7);
}

.ap-footer-note {
  opacity: 0.9;
}

.ap-footer-cta {
  margin-top: 0.1rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 247, 251, 0.9);
  border: 1px solid rgba(232, 183, 212, 0.9);
  box-shadow: 0 10px 26px rgba(232, 183, 212, 0.55);
  font-size: 0.8rem;
  text-decoration: none;
  color: #1a1a1a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ap-footer-cta:hover {
  transform: translateY(-1px) scale(1.02);
  background: #fff7fb;
  box-shadow: 0 16px 40px rgba(232, 183, 212, 0.7);
}

/* Scroll + fade-up animations */

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  :root {
    --section-spacing: 4.5rem;
  }

  .ap-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ap-nav {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }

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

@media (max-width: 640px) {
  .ap-container {
    width: min(100% - 2rem, 640px);
  }

  .ap-header-inner {
    padding-inline: 0;
  }

  .ap-why-grid,
  .ap-portfolio-grid,
  .ap-about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ap-section-head {
    text-align: left;
  }

  .ap-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .ap-hero-copy {
    text-align: center;
  }

  .ap-hero-title {
    font-size: 2.3rem;
  }

  .ap-hero-sub {
    margin-inline: auto;
  }

  .ap-hero-badges {
    justify-content: center;
  }

  .ap-hero-preview {
    justify-content: center;
  }

  .ap-about-inner {
    text-align: left;
  }

  .ap-about-photo-wrap {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ap-hero {
    padding-top: 5.9rem;
    padding-bottom: 4.5rem;
  }

  .ap-hero-inner {
    min-height: calc(100vh - 4.5rem);
    justify-content: center;
    gap: 2.8rem;
  }

  .ap-hero-sub {
    margin-top: 1.2rem;
  }
}

@media (max-width: 480px) {
  .ap-logo-img {
    width: 25px;
    height: 25px;
  }

  .ap-hero-logo-mark {
    padding: 0.9rem 1.4rem;
    gap: 0.8rem;
  }

  .ap-hero-logo-text {
    font-size: 1.2rem;
  }
}

/* Builder section */

.ap-builder {
  background: rgba(255, 247, 251, 0.9);
}

.ap-section-head-center {
  text-align: center;
}

.ap-builder-card {
  border-radius: var(--radius-xl);
  background: var(--card-glass);
  border: 1px solid rgba(232, 183, 212, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  padding: 1.8rem 1.6rem 1.6rem;
  will-change: transform, box-shadow;
  animation: builderFloat 6s ease-in-out infinite alternate;
}

.ap-builder-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.ap-builder-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.ap-builder-control {
  position: relative;
}

.ap-builder-select,
.ap-builder-input {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 183, 212, 0.9);
  background: rgba(255, 247, 251, 0.95);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-builder-select:focus,
.ap-builder-input:focus {
  border-color: var(--pink-bubblegum);
  box-shadow: 0 0 10px rgba(255, 183, 206, 0.6);
}

.ap-builder-select:focus {
  animation: jellySelect 0.18s ease-out;
}

.ap-select-arrow {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 247, 251, 0.96);
  box-shadow:
    0 6px 14px rgba(232, 183, 212, 0.55),
    0 0 0 1px rgba(232, 183, 212, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ap-select-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: #1a1a1a transparent transparent transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ap-builder-control:hover .ap-select-arrow::before {
  border-color: #e06292 transparent transparent transparent;
  transform: translateY(1px);
}

/* Floating preview card — ultra premium */
.ap-builder-float-card {
  position: fixed;
  z-index: 9999;
  width: 170px;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 240, 248, 0.65);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(255, 150, 200, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-builder-float-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.ap-builder-float-card.is-leaving {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(3px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}

/* Arrow connector cute */
.ap-builder-float-card-arrow {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffcbe9, #f8a4cc);
  box-shadow: 0 0 12px rgba(255, 140, 200, 0.4);
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
}

.ap-builder-float-card-arrow.is-left {
  left: auto;
  right: -6px;
}

.ap-builder-float-card-img {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  object-fit: cover;
  background: #f7d9e5;
  filter: saturate(115%) brightness(1.05);
}

.ap-builder-float-card-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7a4b65;
  text-align: center;
  line-height: 1.45;
  max-width: 140px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-builder-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.ap-btn-builder {
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}

.ap-builder-note {
  font-size: 0.8rem;
  opacity: 0.8;
}

.ap-builder-inspo {
  margin-top: 0.4rem;
}

.ap-inspo-sub {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.ap-inspo-upload {
  margin-bottom: 0.8rem;
}

/* Custom file input - nasconde il default e mostra pulsante stilizzato */
.ap-inspo-upload {
  position: relative;
  display: inline-block;
}

.ap-inspo-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ap-inspo-upload::before {
  content: 'Carica';
  display: inline-block;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb7ce, #f7a8c4);
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 183, 206, 0.5);
  transition: all 0.25s ease;
}

.ap-inspo-upload:hover::before {
  box-shadow: 0 12px 28px rgba(255, 183, 206, 0.7);
  transform: translateY(-2px);
}

/* Polaroid inspo preview — ultra premium */
.ap-inspo-polaroid-wrap {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.ap-inspo-polaroid-wrap.has-image {
  display: flex;
}

.ap-inspo-polaroid {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 5;
  border: 10px solid #fff;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 12px 25px rgba(255, 140, 200, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.05);
  transform: rotate(-2.5deg);
  overflow: hidden;
  opacity: 0;
  filter: blur(4px);
  animation: polaroidAppear 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ap-inspo-polaroid-wrap.is-leaving .ap-inspo-polaroid {
  animation: polaroidLeave 0.3s ease forwards;
}

@keyframes polaroidAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95) rotate(-5deg);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(-2.5deg);
    filter: blur(0);
  }
}

@keyframes polaroidLeave {
  0% {
    opacity: 1;
    transform: scale(1) rotate(-2.5deg);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.9) rotate(-2.5deg);
    filter: blur(4px);
  }
}

.ap-inspo-polaroid::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  margin: auto;
  width: 80%;
  height: 14px;
  background: radial-gradient(circle, rgba(255, 120, 180, 0.25), transparent);
  filter: blur(12px);
  pointer-events: none;
}

.ap-inspo-polaroid-badge {
  position: absolute;
  top: 6px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.75);
  padding: 4px 8px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-transform: uppercase;
  color: #b26c8e;
}

.ap-inspo-polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.ap-inspo-polaroid-hint {
  font-size: 14px;
  color: #7a4b65;
  opacity: 0.9;
  text-align: center;
}

.ap-inspo-remove-btn {
  background: rgba(255, 200, 220, 0.6);
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #1a1a1a;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ap-inspo-remove-btn:hover {
  background: rgba(255, 170, 200, 0.8);
  transform: scale(1.05);
}

/* Legacy classes cleanup */
.ap-inspo-tag {
  display: none;
  text-transform: uppercase;
  opacity: 0.7;
}

.ap-inspo-preview {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.ap-inspo-hint {
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.8;
}

@media (hover: hover) {
  .ap-inspo-preview-frame:hover {
    transform: rotate(-2deg) translateY(-2px);
    box-shadow: 0 18px 40px rgba(232, 183, 212, 0.6);
  }

  .ap-inspo-preview-frame:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0)
    );
    mix-blend-mode: soft-light;
    animation: shimmerSweep 0.6s ease-out;
    pointer-events: none;
  }
}

@media (min-width: 768px) {
  .ap-builder-card {
    padding: 2.1rem 2rem 1.9rem;
  }

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

  .ap-builder-field:last-child {
    grid-column: 1 / -1;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   PREMIUM ANIMATIONS — Aura Press On
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── KEYFRAMES ─── */

@keyframes blobDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.97);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes fadeUpScale {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  60% {
    transform: translateY(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInBlur {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes jellyPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
  70% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 206, 0);
  }
  50% {
    box-shadow: 0 0 18px 4px rgba(255, 183, 206, 0.55);
  }
}

@keyframes btnIdlePulse {
  0%, 85%, 100% {
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(255, 183, 206, 0.7);
  }
  92% {
    transform: scale(1.04);
    box-shadow: 0 22px 55px rgba(255, 183, 206, 0.95);
  }
}

@keyframes polaroidIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.95) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* ─── HERO BLOBS ─── */

.ap-hero-bg-blur {
  animation: blobDrift 28s ease-in-out infinite;
}

.ap-hero-bg-blur-right {
  animation-delay: -14s;
  animation-duration: 34s;
}

/* ─── HERO LOGO FLOAT ─── */

.ap-hero-logo-small {
  animation: floatSoft 6s ease-in-out infinite;
}

/* ─── HERO TITLE ─── */

.ap-hero.is-visible .ap-hero-title {
  animation: fadeUpScale 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ─── HERO WHATSAPP BUTTON ─── */

.ap-btn-hero-main {
  animation: btnIdlePulse 5s ease-in-out infinite;
}

.ap-btn-hero-main:hover {
  animation: jellyPop 0.22s ease-out;
}

/* ─── SCROLL REVEAL SYSTEM ─── */

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* fade-in-blur for cards and images */
.ap-card,
.ap-portfolio-item,
.ap-hero-preview-card {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible .ap-card,
[data-animate].is-visible .ap-portfolio-item,
.ap-hero.is-visible .ap-hero-preview-card {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* stagger children */
[data-animate].is-visible .ap-card:nth-child(1),
[data-animate].is-visible .ap-portfolio-item:nth-child(1) { transition-delay: 0ms; }
[data-animate].is-visible .ap-card:nth-child(2),
[data-animate].is-visible .ap-portfolio-item:nth-child(2) { transition-delay: 100ms; }
[data-animate].is-visible .ap-card:nth-child(3),
[data-animate].is-visible .ap-portfolio-item:nth-child(3) { transition-delay: 200ms; }
[data-animate].is-visible .ap-portfolio-item:nth-child(4) { transition-delay: 300ms; }
[data-animate].is-visible .ap-portfolio-item:nth-child(5) { transition-delay: 400ms; }
[data-animate].is-visible .ap-portfolio-item:nth-child(6) { transition-delay: 500ms; }

/* ─── CARDS FLOATING + HOVER ─── */

.ap-card {
  animation: cardFloat 5s ease-in-out infinite;
  animation-play-state: paused;
}

[data-animate].is-visible .ap-card {
  animation-play-state: running;
}

.ap-card:nth-child(2) { animation-delay: -1.6s; }
.ap-card:nth-child(3) { animation-delay: -3.2s; }

@media (hover: hover) {
  .ap-card:hover {
    transform: translateY(-5px) scale(1.03) rotateX(1deg) rotateY(-1deg);
    box-shadow: 0 28px 70px rgba(232, 183, 212, 0.6);
  }
}

/* ─── BUILDER SELECT JELLY ─── */

.ap-builder-select:focus {
  animation: jellyPop 0.18s ease-out;
}

/* ─── BUILDER INPUT GLOW ─── */

.ap-builder-input:focus {
  animation: glowPulse 1.5s ease-in-out infinite;
}

/* ─── BUILDER CTA BUTTON ─── */

.ap-btn-builder {
  animation: btnIdlePulse 6s ease-in-out infinite;
}

.ap-btn-builder:hover {
  animation: jellyPop 0.22s ease-out forwards;
}

/* ─── INSPO PREVIEW POLAROID ─── */

.ap-inspo-preview-wrap.has-image {
  animation: polaroidIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (hover: hover) {
  .ap-inspo-preview-frame:hover {
    transform: rotate(-2deg) translateY(-3px);
    box-shadow: 0 20px 45px rgba(232, 183, 212, 0.65);
  }

  .ap-inspo-preview-frame:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0)
    );
    animation: shimmerSweep 0.6s ease-out;
    pointer-events: none;
  }
}

/* ─── MOBILE: LIGHTER ANIMATIONS ─── */

@media (max-width: 640px) {
  @keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
  }

  @keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1px); }
  }

  [data-animate] {
    transition-duration: 0.45s;
  }

  .ap-card,
  .ap-portfolio-item {
    transition-duration: 0.5s;
    filter: none;
  }

  .ap-card:hover {
    transform: translateY(-3px) scale(1.02);
  }

  .ap-btn-hero-main,
  .ap-btn-builder {
    animation-duration: 7s;
  }
}