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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: #0f172a;
}

/* Sfondo animato */
.iridescence-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none !important;
}

.iridescence-bg-container canvas {
    pointer-events: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 40px 80px;
    overflow: visible;
    background: transparent;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Copy Centrale */
.hero-content {
    color: white;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #D4C5B0 0%,
        #E8DCC8 25%,
        #FFFFFF 50%,
        #E8DCC8 75%,
        #D4C5B0 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-size: 0.75em;
    font-weight: 500;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* CTA Description */
.cta-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 16px;
    font-weight: 400;
}

/* Logo IUL */
.iul-logo {
    margin-top: 32px;
    margin-bottom: 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.iul-logo:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.iul-logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Proof Stack */
.proof-stack {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.proof-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.proof-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(30, 64, 175, 0.2) 100%);
    border-radius: 10px;
    color: #60a5fa;
}

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

.proof-content {
    flex: 1;
}

.proof-number {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.proof-label {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.proof-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Video 3D Centrale */
.hero-video {
    position: relative;
    perspective: 1500px;
    width: 100%;
    max-width: 700px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: all 0.3s ease;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: opacity 0.3s ease;
}

.video-thumbnail.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

.video-wrapper:hover .video-container {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .proof-stack {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .proof-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 24px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .iul-logo {
        padding: 16px 24px;
    }

    .iul-logo::before {
        font-size: 11px;
    }

    .iul-logo img {
        height: 28px;
    }

    .proof-stack {
        margin-top: 24px;
        padding-top: 24px;
    }

    .proof-number {
        font-size: 28px;
    }

    .proof-label {
        font-size: 13px;
    }

    .video-container {
        transform: rotateY(0deg) rotateX(0deg);
    }
}

/* Typeform Custom Styling */
/* Reduce padding from Typeform popup */
.tf-v1-popup {
    padding: 20px !important;
}

.tf-v1-popup-wrapper {
    padding: 20px !important;
    margin: 0 !important;
}

.tf-v1-popup-close {
    top: 20px !important;
    right: 20px !important;
}

/* Typeform iframe container */
.tf-v1-iframe-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* Target Typeform iframe directly */
iframe[src*="typeform.com"] {
    border-radius: 12px !important;
}

