/* Reset & Base Styles */
:root {
    --primary: #d4a373;
    --primary-hover: #c59260;
    --secondary: #f5f3f0;
    --bg-cream: #fefae0;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --text-muted: #999999;
    --border: #e5e5e5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-accent: 'Dancing Script', cursive;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.accent-text {
    color: var(--primary);
    font-family: var(--font-accent);
    font-style: italic;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: white; }
.mb-large { margin-bottom: 3rem; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-800 { max-width: 800px; }
.max-w-1000 { max-width: 1000px; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-white { background-color: #fff; }
.bg-secondary { background-color: var(--secondary); }
.bg-dark { background-color: #1a1a1a; }
.bg-checkout-bg { background-color: #f9f7f2; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
}

.btn-outline {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: var(--text-white);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: transform 0.3s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.hidden-mobile {
    display: flex;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    margin-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2), rgba(255,255,255,0));
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(212, 163, 115, 0.2);
    border: 1px solid rgba(212, 163, 115, 0.4);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.arrow {
    margin-left: 0.5rem;
}

/* Social Proof */
.social-proof {
    background-color: #333;
    color: rgba(255,255,255,0.7);
    padding: 15px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-proof-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Features / Guida */
.image-wrapper {
    position: relative;
}

.feature-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.glow-effect {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--primary);
    opacity: 0.1;
    filter: blur(40px);
    border-radius: 50%;
    z-index: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-icon {
    color: var(--primary);
    background: rgba(212, 163, 115, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Cards */
.card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    background: rgba(212, 163, 115, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-image {
    margin: 2rem auto 4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Video Section */
.video-logo-center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}

.video-logo-center img {
  width: 140px;
  filter: drop-shadow(0 0 18px rgba(212,163,115,0.35));
  opacity: 0.96;
}

.video-placeholder {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 820px;
  margin: 30px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  aspect-ratio: 16/9;
  background: #000;
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  transition: none;
}

.banner-video {
  width: 100%;
  height: 100%;
  max-height: 420px; /* opzionale: limita l'altezza per non diventare enorme */
  object-fit: cover;
  display: block;
}
.section.p-0 {
  padding: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 30px rgba(212, 163, 115, 0.6);
    transition: transform 0.3s;
    z-index: 10;
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews */
.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: rgba(212, 163, 115, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.name { 
    font-weight: 700; 
    font-size: 0.9rem; 
    margin: 0;
}

.role { 
    font-size: 0.8rem; 
    color: var(--text-light); 
    text-transform: uppercase;
    margin: 0;
}

/* FAQ Accordion */
.accordion {
    width: 100%;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: #fff;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #fcfcfc;
    color: var(--text-light);
}

.accordion-content.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

.accordion-content p {
    margin: 0;
}

/* Checkout */
.checkout-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
}

.checkout-summary {
    background: #333;
    color: white;
    max-width:520px;
    width:100%;
    margin:0 auto;
    padding:20px 25px;        /* ancora meno spazio interno */
    height:auto;              /* si adatta al contenuto */
    min-height:unset;         /* elimina ogni altezza minima */
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;                 /* gap più stretto */
    overflow:hidden;
    position:relative;
}

.checkout-summary::before {
    content:'';
    position:absolute;
    top:-80px;                /* spostato fuori per non influire sull'altezza */
    right:-80px;
    width:220px;              /* più piccolo */
    height:220px;
    background:rgba(212,163,115,0.12);
    border-radius:50%;
    filter:blur(50px);
    z-index:0;
}

.checkout-title {
    font-size:1.6rem;         /* leggermente più piccolo */
    margin:0;                 /* RIMOSSO margin-bottom */
    z-index:1;
    position:relative;
    text-align:center;
    color:var(--primary);
}

.summary-item {
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    max-width:380px;          /* più stretto */
    margin:0;                 /* RIMOSSO margin-bottom */
    padding:6px 0;
    z-index:1;
    position:relative;
}

.summary-desc {
    font-size:0.9rem;
    opacity:0.7;
    display:block;
    margin-top:2px;
}

.drip-divider {
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 2px;
}

.item-price {
    font-size:1rem;
    font-weight:700;
    color:var(--primary);
    margin-top:4px;
}

.total-row {
    width:100%;
    max-width:380px;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,0.15);
    text-align:center;
    z-index:1;
    position:relative;
}

.total-price {
    font-size:2rem;           /* compattato */
    font-weight:700;
    color:var(--primary);
}


.summary-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.summary-item strong {
    display: block;
    font-size: 1.1rem;
}

.summary-desc {
    opacity: 0.7;
    font-size: 0.9rem;
    display: block;
}

.total-row {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.total-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
}

.checkout-form {
    padding: 40px;
}

.checkout-form h3 {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: var(--font-body);
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1);
}

.upsell-box {
    border: 2px solid var(--border);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    transition: all 0.3s;
    cursor: pointer;
}

.upsell-box:has(input:checked) {
    border-color: var(--primary);
    background-color: rgba(212, 163, 115, 0.05);
}

.upsell-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 5px;
}

.upsell-header input {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.upsell-title {
    font-weight: 700;
    color: var(--text-dark);
}

.upsell-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 28px;
}

.secure-badge {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    margin-bottom: 3rem;
}

.footer-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 130px;
  margin: 0 auto;
  display: block;
}

.footer-text {
  max-width: 420px;
  margin-top: 10px;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.logo-footer-center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 70px;  /* ← piccolo come vuoi */
  opacity: 0.9;
}
.footer-col p {
    opacity: 0.7;
    line-height: 1.8;
}

.p-iva {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.piva-number {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        height: 60vh;
        margin-top: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-proof-content {
        gap: 1rem;
    }
}
