/* ==========================================
   ALEKAVPH - IMAGE TRANSFORMATION LANDING PAGE
   Design System: Minimal Luxury Premium
   ========================================== */

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Color Palette */
    --bg-primary: #EFECE6;
    --bg-light: #EFECE6;
    --bg-card: #FFFFFF;
    --bg-dark: #1A1A1A;
    --bg-footer: #1A1A1A;
    
    /* Text Colors */
    --text-primary: #2B2B2B;
    --text-secondary: #2B2B2B;
    --text-body: #2B2B2B;
    --text-caption: #6B7280;
    --text-light: #FFFFFF;
    
    /* Accent Colors */
    --accent-primary: #1E5E9E;
    --accent-hover: #174f87;
    --accent-light: #4a8bc4;
    --accent-gradient: linear-gradient(135deg, #1E5E9E 0%, #16508A 100%);
    --accent-orange: #F28C28;
    --orange-gradient: linear-gradient(135deg, #FF7A00 0%, #E05300 100%);
    --orange-hover-gradient: linear-gradient(135deg, #FF8D24 0%, #F56000 100%);
    
    /* Success & Info */
    --success: #10B981;
    --success-light: #D1FAE5;
    --success-dark: #059669;
    --info: #1E5E9E;
    --warning: #F59E0B;
    
    /* Borders */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --border-dark: #9CA3AF;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-base: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-cta: 0 4px 14px rgba(107, 70, 193, 0.25);
    --shadow-cta-hover: 0 6px 20px rgba(107, 70, 193, 0.35);
    
    /* Typography */
    --font-main: 'DM Sans', 'Poppins', sans-serif;
    --font-display: 'Glacial Indifference', 'Poppins', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --section-spacing: 120px;
    --section-spacing-mobile: 80px;
    --element-spacing: 60px;
    --element-spacing-mobile: 40px;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 80px;
    --container-padding-mobile: 24px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    font-weight: var(--font-weight-regular);
    color: var(--text-body);
    background: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
    color: var(--text-secondary);
}

h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== SECTION SPACING ==================== */
section {
    padding: var(--section-spacing) 0;
}

.section-bg-light {
    background: var(--bg-light);
}

.section-bg-card {
    background: var(--bg-card);
}

/* Decorative Divider */
.section-divider {
    height: 3px;
    width: 60px;
    margin: 0 auto;
    background: var(--accent-gradient);
    opacity: 0.6;
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    margin-bottom: var(--element-spacing);
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== TEXT UTILITIES ==================== */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-primary);
}

.text-blue {
    color: var(--accent-primary) !important;
}

.text-orange {
    color: var(--accent-orange) !important;
}

.text-black {
    color: #000000 !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(242, 140, 40, 0.25);
}

.btn-primary:hover {
    background: var(--orange-hover-gradient);
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.35);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(242, 140, 40, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 16px 36px;
}

.btn-outline:hover {
    background: var(--orange-gradient);
    color: var(--text-light);
    border-color: transparent;
}

.btn-white {
    background: var(--orange-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(242, 140, 40, 0.25);
}

.btn-white:hover {
    background: var(--orange-hover-gradient);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn-small {
    padding: 12px 24px;
    font-size: 1rem;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.header.visible {
    transform: translateY(0);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-logo .logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-body);
}

.nav-link:hover {
    color: var(--accent-primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding-top: calc(var(--section-spacing) + 2rem);
    padding-bottom: var(--section-spacing);
    background: var(--bg-primary);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base);
}

.hero-logo:hover {
    transform: scale(1.03);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-cta {
    margin-bottom: 4rem;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-caption);
}

.cta-note i {
    color: var(--success);
}

.hero-outcome-image {
    max-width: 680px;
    margin: 0 auto 3rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.hero-outcome-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-caption);
    text-align: center;
}

/* Hero Gallery */
.hero-gallery {
    margin-top: 5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== CHI SONO SECTION ==================== */
.chi-sono-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: center;
}

.chi-sono-image {
    position: relative;
}

.headshot-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.lens-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.headshot {
    width: 71%;
    height: 71%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 22%; /* Inquadratura abbassata per non tagliare la testa */
    z-index: 1;
}

.instagram-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-weight: var(--font-weight-semibold);
    color: var(--accent-primary);
}

.instagram-badge i {
    font-size: 1.25rem;
}

.instagram-badge a {
    color: var(--accent-primary);
}

.instagram-badge a:hover {
    color: var(--accent-hover);
}

.chi-sono-text .section-label {
    display: block;
    margin-bottom: 1rem;
}

.chi-sono-text .section-title {
    margin-bottom: 2rem;
}

.chi-sono-description {
    margin-bottom: 2rem;
}

.chi-sono-description p {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
}

.chi-sono-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-body);
}

.feature-item i {
    color: var(--success);
    font-size: 1.25rem;
}

/* ==================== PER CHI SECTION ==================== */
.checklist {
    max-width: 900px;
    margin: 0 auto;
}

.checklist-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.checklist-item:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.check-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-gradient);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.check-icon i {
    font-size: 1.75rem;
    color: var(--text-light);
}

.check-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.check-content p {
    color: var(--text-body);
    margin: 0;
}

.per-chi-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-md);
}

.note-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
    font-size: 1rem;
    color: var(--text-body);
}

.note-text i {
    color: var(--accent-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* ==================== BENEFICI SECTION ==================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    padding: 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    transition: var(--transition-base);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    margin: 0;
    color: var(--text-body);
}

/* ==================== METODO SECTION ==================== */
.metodo-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    display: grid;
    grid-template-columns: 80px 80px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.step-card:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-gradient);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.step-number span {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-light);
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.step-icon i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.step-content p {
    margin: 0;
    color: var(--text-body);
}

.metodo-cta {
    margin-top: 4rem;
}

.cta-box {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 2px solid var(--accent-primary);
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.cta-box h3 i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 2rem;
}

/* ==================== BEFORE/AFTER SECTION ==================== */

/* Before/After Premium Slider */
.before-after-slider-wrapper {
    position: relative;
    max-width: 1200px; /* Increased from 1000px */
    margin: 0 auto;
    padding: 3rem 0; /* Increased padding for more space */
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 700px; /* Increased from 600px */
    overflow: visible; /* Allow badges to be visible above */
    border-radius: var(--radius-xl);
    padding: 2rem 0;
}

.ba-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.ba-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Desktop: 1 transformation per row (2 images side by side) */
.ba-comparison {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    align-items: center;
    padding: 0.75rem;
}

.ba-transformation {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.ba-image-container {
    position: relative;
    flex: 0 0 calc(50% - 0.5rem);
    height: auto;
    max-height: 700px; /* Increased from 600px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    overflow: visible; /* Allow badges to show above */
    transition: var(--transition-base);
    padding: 0.5rem; /* Increased padding */
    margin-top: 45px; /* Space for badge above */
}

.ba-image-container:hover {
    transform: scale(1.01);
}

.ba-image-container img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.ba-before {
    /* Removed white border */
}

.ba-after {
    /* Removed green border */
}

.ba-image-container:hover img {
    box-shadow: var(--shadow-lg);
}

/* Badges */
.ba-badge {
    position: absolute;
    top: -40px; /* Position above the image */
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px; /* Consistent padding for both badges */
    border-radius: var(--radius-md);
    font-size: 0.875rem; /* Same size for both */
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 10;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.ba-badge-before {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
}

.ba-badge-after {
    background: var(--success);
    color: var(--text-light);
}

.ba-badge-after i {
    margin-right: 0.5rem;
}

/* Navigation Arrows */
.ba-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    font-size: 1.25rem;
}

.ba-nav-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
}

.ba-nav-prev {
    left: 1rem;
}

.ba-nav-next {
    right: 1rem;
}

/* Pagination Dots */
.ba-pagination {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.ba-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--accent-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.ba-dot.active {
    background: var(--accent-primary);
    width: 32px;
    border-radius: 6px;
}

.ba-dot:hover {
    background: rgba(107, 70, 193, 0.7);
}

/* ==================== AFTER GALLERY SECTION ==================== */
.after-gallery-section {
    position: relative;
    padding: 4rem 0;
    margin-top: 2rem;
    background: var(--bg-secondary);
}

.after-gallery-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Horizontal scrollable slider */
.after-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.after-slider {
    position: relative;
    overflow: visible;
}

.after-slider-track {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

.after-slider-track::-webkit-scrollbar {
    height: 8px;
}

.after-slider-track::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.after-slider-track::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.after-slider-track::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

.after-slide {
    flex: 0 0 auto;
    width: 260px; /* Increased from 200px */
    height: 350px; /* Increased from 270px - maintains ~4:5 ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.after-slide:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.after-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Buttons - Optional, can be hidden for pure scroll */
.after-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.after-nav-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-50%) scale(1.1);
}

.after-nav-prev {
    left: -1rem;
}

.after-nav-next {
    right: -1rem;
}

/* ==================== SOCIAL PROOF SECTION ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-caption);
}

/* Screenshots Section */
.screenshots-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-light);
}

.screenshots-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Feedback Carousel */
.feedback-carousel-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 60px;
}

.feedback-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
    /* Fixed height to accommodate tallest vertical images */
    height: 600px;
    align-items: center;
}

.feedback-carousel::-webkit-scrollbar {
    display: none;
}

.feedback-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
    min-width: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    overflow: visible;
    transition: var(--transition-base);
    padding: 0.5rem;
}

.feedback-slide:hover {
    transform: scale(1.02);
}

.feedback-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.feedback-slide:hover img {
    box-shadow: var(--shadow-lg);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.screenshot-item {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== CTA CENTRALE ==================== */
.cta-central {
    background: var(--accent-gradient);
    padding: 5rem 0;
}

.cta-central-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 1.5rem;
}

.cta-subtext {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-subtext i {
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== FAQ SECTION ==================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    text-align: left;
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question[aria-expanded="true"] {
    background: var(--bg-primary);
}

.faq-question i {
    color: var(--accent-primary);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.25rem 1.5rem;
    margin: 0;
    color: var(--text-body);
    line-height: 1.7;
}

.faq-answer strong {
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.faq-cta p {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.faq-cta p i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-footer);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.75rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-col a i {
    margin-right: 0.5rem;
}

.footer-col-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-logo-card {
    background: transparent; 
    border: none; 
    box-shadow: none; 
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 160px; 
    transition: transform var(--transition-base);
}


.footer-logo-card:hover {
    transform: translateY(-2px);
}

.footer-logo {
    width: 100%;
    height: auto;
    display: block;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ==================== FLOATING CTA MOBILE ==================== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.floating-cta.visible {
    transform: translateY(0);
}

.floating-cta .btn {
    width: 100%;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.fade-in.visible {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet - 2 images visible */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Feedback Carousel */
    .feedback-carousel {
        height: 550px;
    }
    
    .feedback-slide {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 250px;
    }
    
    /* After Gallery - Tablet */
    .after-slide {
        width: 260px; /* Same as desktop */
        height: 350px;
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Container */
    .container {
        padding: 0 var(--container-padding-mobile);
    }
    
    /* Sections */
    section {
        padding: var(--section-spacing-mobile) 0;
    }
    
    .section-header {
        margin-bottom: var(--element-spacing-mobile);
    }
    
    /* Header */
    .header-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Hero */
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Chi Sono */
    .chi-sono-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .headshot-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .chi-sono-features {
        grid-template-columns: 1fr;
    }
    
    /* Checklist */
    .checklist-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .check-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Metodo */
    .step-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Before/After Slider - Mobile */
    .before-after-slider {
        min-height: 800px; /* Increased for 2 images */
        padding: 1rem 0;
    }
    
    .ba-comparison {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .ba-transformation {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .ba-image-container {
        flex: 0 0 auto;
        width: 100%;
        max-height: 500px; /* Larger on mobile */
        margin-top: 45px; /* Space for badge */
    }
    
    .ba-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
    
    .ba-nav-prev {
        left: 0.5rem;
    }
    
    .ba-nav-next {
        right: 0.5rem;
    }
    
    .ba-badge {
        padding: 8px 18px;
        font-size: 0.8125rem;
        top: 15px;
    }
    
    .ba-pagination {
        bottom: 1rem;
    }
    
    .ba-dot {
        width: 10px;
        height: 10px;
    }
    
    .ba-dot.active {
        width: 28px;
    }
    
    /* After Gallery */
    .after-slider-wrapper {
        padding: 0 1rem;
    }
    
    .after-slide {
        width: 200px; /* Increased from 150px */
        height: 270px; /* Increased from 202px */
    }
    
    .after-nav-btn {
        display: none;
    }
    
    .after-gallery-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-carousel-wrapper {
        padding: 0 50px;
    }
    
    .feedback-carousel {
        height: 500px;
    }
    
    .feedback-slide {
        flex: 0 0 calc(100% - 0.5rem);
        min-width: 200px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA Central */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-logo {
        width: 115px;
    }
    
    .hero-logo-wrapper {
        margin-bottom: 1.25rem;
    }

    .footer-col-logo {
        align-items: flex-start;
    }
}

.urgency-hero {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.urgency-text {
    text-align: center;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 12px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1;
}
.lang-btn:hover { opacity: 0.85; transform: scale(1.15); }
.lang-btn.active { opacity: 1; transform: scale(1.1); }
.lang-divider {
  color: #ccc;
  font-size: 13px;
  user-select: none;
}
@media (max-width: 768px) {
  .lang-toggle {
      display: flex !important;
      margin-left: auto;
      margin-right: 0;
  }
  .lang-btn { font-size: 18px; padding: 3px 5px; }
}
    
    /* Buttons */
    .btn {
        font-size: 1rem;
        padding: 16px 32px;
    }
    
    .btn-large {
        font-size: 1.125rem;
        padding: 18px 36px;
    }
}
