:root {
    --bg: #050504;
    --bg-soft: #0d0b07;
    --panel: rgba(255, 255, 255, 0.055);
    --panel-border: rgba(234, 194, 100, 0.18);
    --gold: #d8a847;
    --gold-light: #ffe39a;
    --gold-dark: #8b5e1f;
    --text: #f7efe0;
    --muted: #b7aa92;
    --dark-line: rgba(255, 255, 255, 0.08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --shadow-gold: 0 25px 90px rgba(199, 142, 45, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 70% 12%, rgba(216, 168, 71, 0.18), transparent 30%),
        radial-gradient(circle at 10% 35%, rgba(255, 227, 154, 0.08), transparent 25%),
        var(--bg);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.75; }

.noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 168, 71, 0.14), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.7;
}

.section-padding { padding: 115px 0; }
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    letter-spacing: 0.02em;
    color: var(--gold-light) !important;
}

.luxury-navbar {
    padding: 18px 0;
    background: rgba(5, 5, 4, 0.55);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: 0.35s ease;
}
.demo-banner {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    padding: .72rem 1rem;
    color: #120e06;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.luxury-navbar.demo-offset { top: 42px; }
.luxury-navbar.scrolled {
    padding: 11px 0;
    background: rgba(5, 5, 4, 0.82);
}
.nav-link {
    color: rgba(247, 239, 224, 0.74);
    font-size: 0.88rem;
    font-weight: 500;
}
.nav-link:hover { color: var(--gold-light); }
.navbar-toggler { border-color: rgba(255,255,255,0.18); }
.navbar-toggler-icon { filter: invert(1); }

.btn {
    border-radius: 999px;
    padding: 0.86rem 1.35rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.btn-gold {
    color: #120e06;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    box-shadow: 0 18px 45px rgba(216, 168, 71, 0.22);
}
.btn-gold:hover {
    color: #050504;
    transform: translateY(-2px);
    box-shadow: 0 24px 70px rgba(216, 168, 71, 0.32);
}
.btn-ghost {
    color: var(--text);
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.12);
}
.btn-ghost:hover {
    color: var(--gold-light);
    border-color: rgba(216,168,71,.45);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 0;
    overflow: hidden;
}
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.55;
}
.hero-bg-orb-1 {
    width: 540px;
    height: 540px;
    right: 8%;
    top: 20%;
    background: radial-gradient(circle, rgba(216,168,71,.24), transparent 62%);
}
.hero-bg-orb-2 {
    width: 360px;
    height: 360px;
    left: 2%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(255,227,154,.08), transparent 60%);
}
.eyebrow,
.section-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.hero-title,
h1,
h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    letter-spacing: -0.045em;
}
.hero-title {
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: .86;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff4c5, #d5a341 42%, #fff0ad 58%, #9d6d25);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    max-width: 620px;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    color: #e8ddc6;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 36px;
    color: var(--muted);
    font-size: .9rem;
}
.trust-row span::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--gold);
}
.product-stage {
    position: relative;
    min-height: 720px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}
.hero-product {
    position: relative;
    width: min(72vw, 520px);
    max-height: 82vh;
    z-index: 2;
}
.stage-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(216, 168, 71, 0.18);
    box-shadow: inset 0 0 55px rgba(216, 168, 71, 0.06);
}
.ring-one { width: 520px; height: 520px; }
.ring-two { width: 690px; height: 690px; opacity: .55; }
.gold-spark {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 24px var(--gold-light);
}
.spark-1 { top: 28%; left: 20%; }
.spark-2 { top: 44%; right: 15%; }
.spark-3 { bottom: 25%; left: 29%; }

.glass-card,
.ingredient-card,
.review-card,
.offer-card,
.showcase-card {
    background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-gold);
    backdrop-filter: blur(20px);
}
.large-card { height: 100%; padding: clamp(28px, 5vw, 56px); }
.large-card h2,
.section-head h2,
.results-section h2,
.offer-card h2 {
    font-size: clamp(2.3rem, 5vw, 4.9rem);
    line-height: 1.02;
}
.section-head { max-width: 760px; }
.section-head p { font-size: 1.05rem; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--dark-line);
    border-bottom: 1px solid var(--dark-line);
}
.stat-card {
    padding: 42px 24px;
    text-align: center;
    border-right: 1px solid var(--dark-line);
}
.stat-card:last-child { border-right: 0; }
.stat-value {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
}
.stat-label { color: var(--muted); font-weight: 600; }

.ingredient-visual {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--panel-border);
}
.ingredient-visual img { width: 100%; display: block; }
.ingredient-card,
.review-card {
    height: 100%;
    padding: 28px;
    transition: transform .35s ease, border-color .35s ease;
}
.ingredient-card:hover,
.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 227, 154, .42);
}
.ingredient-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #fff5bf, #d3a040 48%, #4b300d 100%);
    box-shadow: 0 0 28px rgba(216,168,71,.24);
}
.ingredient-card h3,
.review-card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
}

.muted-text { max-width: 560px; }
.showcase-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 32px;
    overflow: hidden;
}
.showcase-card img { width: 100%; filter: drop-shadow(0 35px 60px rgba(0,0,0,.65)); }
.showcase-copy span { color: var(--gold-light); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .16em; }
.showcase-copy strong {
    display: block;
    margin: 14px 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.stars { color: var(--gold-light); letter-spacing: 0.2em; margin-bottom: 22px; }
.review-card p { min-height: 120px; color: #e8ddc6; }
.review-user { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; }
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0d0b07;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.offer-card {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 6vw, 70px);
    background:
        radial-gradient(circle at 78% 35%, rgba(216,168,71,.24), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
}
.price-row { display: flex; align-items: baseline; gap: 18px; margin: 26px 0; }
.price-current {
    color: var(--gold-light);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1.45rem; }
.offer-list { list-style: none; padding: 0; margin: 0 0 34px; color: #e8ddc6; }
.offer-list li { margin: 12px 0; }
.offer-list li::before { content: '✦'; color: var(--gold-light); margin-right: 10px; }
.demo-checkout {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid rgba(255, 227, 154, 0.18);
    border-radius: 22px;
    background: rgba(5, 5, 4, .58);
}

.checkout-head {
    display: grid;
    gap: 5px;
    margin-bottom: 20px;
}

.checkout-head span {
    color: var(--gold-light);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.checkout-head strong {
    color: var(--text);
    font-size: 1.1rem;
}

.checkout-note {
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 227, 154, .18);
    border-left: 3px solid var(--gold-light);
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.checkout-field-wide { grid-column: 1 / -1; }

.checkout-grid label {
    color: var(--gold-light);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.checkout-grid input {
    width: 100%;
    margin-top: 8px;
    padding: 13px 15px;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
    outline: 0;
}

.checkout-grid input:focus {
    border-color: rgba(255, 227, 154, .55);
    box-shadow: 0 0 0 4px rgba(216, 168, 71, .1);
}

.payment-element {
    margin: 18px 0 20px;
}

.payment-message {
    min-height: 24px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .92rem;
}

.payment-message[data-type="error"] { color: #ffb3a8; }
.payment-message[data-type="success"] { color: #bff0c8; }

.demo-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 1080;
    width: min(420px, calc(100% - 32px));
    padding: 16px 18px;
    border: 1px solid rgba(229, 184, 97, .42);
    border-radius: 18px;
    background: rgba(24, 18, 14, .96);
    color: #f6ead0;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
}

.demo-toast.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.bundle-products { position: relative; min-height: 420px; }
.bundle-bottle {
    position: absolute;
    width: 55%;
    left: 3%;
    bottom: 0;
    filter: drop-shadow(0 45px 55px rgba(0,0,0,.65));
}
.bundle-jar {
    position: absolute;
    width: 58%;
    right: 1%;
    bottom: -5%;
    filter: drop-shadow(0 45px 55px rgba(0,0,0,.65));
}

.footer-section {
    padding: 36px 0;
    border-top: 1px solid var(--dark-line);
    background: #030302;
}
.footer-links { display: flex; gap: 22px; color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-light); }

.legal-page {
    min-height: calc(100vh - 98px);
    padding-top: 180px;
}

.legal-hero {
    max-width: 860px;
    margin-bottom: 44px;
    text-align: center;
}

.portfolio-back-link {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1090;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 227, 154, .34);
    border-radius: 999px;
    background: rgba(24, 18, 14, .92);
    color: #f6ead0;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.portfolio-back-link:hover {
    color: #120e06;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.legal-hero h1 {
    font-size: clamp(3.4rem, 9vw, 7rem);
    line-height: .92;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff4c5, #d5a341 48%, #fff0ad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: #e8ddc6;
}

.legal-card {
    max-width: 920px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    box-shadow: var(--shadow-gold);
    backdrop-filter: blur(20px);
}

.legal-card h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    letter-spacing: 0;
}

.legal-card h2:first-child,
.legal-updated + h2 {
    margin-top: 0;
}

.legal-card a {
    color: var(--gold-light);
    font-weight: 700;
}

.legal-updated {
    margin-bottom: 34px;
    color: var(--gold-light);
    font-size: .88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.contact-page .legal-card {
    max-width: none;
}

.contact-list {
    display: grid;
    gap: 18px;
}

.contact-list a,
.contact-list p {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--dark-line);
    color: #e8ddc6;
}

.contact-list span,
.contact-form label {
    color: var(--gold-light);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 227, 154, .55);
    box-shadow: 0 0 0 4px rgba(216, 168, 71, .1);
}

.contact-form textarea {
    resize: vertical;
}

[data-animate],
.reveal-line,
.panel-reveal,
.card-reveal,
.stat-reveal {
    will-change: transform, opacity;
}

@media (max-width: 991px) {
    .hero-section { padding-top: 10rem !important; }
    .section-padding { padding: 82px 0; }
    .product-stage { min-height: 560px; }
    .ring-one { width: 390px; height: 390px; }
    .ring-two { width: 510px; height: 510px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-right: 0; border-bottom: 1px solid var(--dark-line); }
    .stat-card:last-child { border-bottom: 0; }
    .showcase-card { grid-template-columns: 1fr; }
    .bundle-products { min-height: 360px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section {
        min-height: auto;
        overflow: visible;
        padding-top: 8.5rem;
        padding-bottom: 4rem;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
    }

    .hero-section .row {
        justify-content: center;
    }

    .hero-section .col-lg-6 {
        flex: 0 0 100%;
        max-width: 760px;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(5rem, 14vw, 8rem);
    }

    .product-stage {
        min-height: 520px;
        margin-top: 1.5rem;
    }

    .hero-product-photo {
        width: min(68vw, 430px) !important;
    }

    .ring-one {
        width: min(62vw, 430px);
        height: min(62vw, 430px);
    }

    .ring-two {
        width: min(78vw, 560px);
        height: min(78vw, 560px);
    }
}

@media (max-width: 575px) {
    .hero-title { font-size: 4.3rem; }
    .hero-actions .btn { width: 100%; }
    .trust-row { display: grid; }
    .large-card, .offer-card { border-radius: 24px; }
    .bundle-products { min-height: 300px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .demo-checkout { padding: 18px; }
    .legal-page { padding-top: 140px; }
    .luxury-navbar.demo-offset { top: 58px; }
    .footer-links { flex-wrap: wrap; }
}

/* Immagini generate integrate nel layout Luxury Beauty */
.hero-product-photo {
    width: min(72vw, 500px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 42px;
    border: 1px solid rgba(255, 227, 154, 0.18);
}

.ingredient-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin: -8px -8px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 227, 154, 0.12);
    background: rgba(255,255,255,.035);
}

.ingredient-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5,5,4,.44));
    pointer-events: none;
}

.ingredient-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.ingredient-card:hover .ingredient-image {
    transform: scale(1.07);
}

.ingredient-visual img,
.showcase-image,
.bundle-product-photo {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 26px;
    border: 1px solid rgba(255, 227, 154, 0.14);
}

.bundle-product-photo {
    max-width: 390px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 36px;
    border: 1px solid rgba(255, 227, 154, 0.18);
    box-shadow: 0 42px 95px rgba(0,0,0,.65), 0 0 70px rgba(216,168,71,.16);
}

@media (max-width: 575px) {
    .hero-product-photo {
        width: min(86vw, 390px);
        border-radius: 30px;
    }
    .ingredient-image-wrap { border-radius: 20px; }
    .showcase-image { aspect-ratio: 4 / 3; }
}
