/* Reset e Variabili */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7C3AED;
    --primary-dark: #6D28D9;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
    --gradient-hero: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 100px; /* Spazio per la countdown bar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.hero-motto {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin: 0;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.check-icon {
    background: var(--secondary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.credit-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

.credit-amount {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.8);
}

.credit-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--bg-white);
}

.about-content {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    display: block;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
    padding: 4rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Content Types Section */
.content-types {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--bg-white);
    border-radius: 20px;
}

.content-types-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.content-types-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.content-types-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.content-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.content-type-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.content-type-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.content-type-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.content-type-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.content-type-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* User Types Section */
.user-types {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.user-type-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.user-type-section:hover {
    box-shadow: var(--shadow-md);
}

.business-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 2px solid rgba(124, 58, 237, 0.1);
}

.user-type-header {
    text-align: center;
    margin-bottom: 2rem;
}

.user-type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.user-type-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.user-type-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

.user-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.user-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.user-feature:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.user-feature-icon {
    background: var(--secondary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.user-feature-content {
    flex: 1;
}

.user-feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.user-feature-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Simple Steps Section */
.simple-steps {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.simple-steps-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

/* Benefits */
.benefits {
    padding: 4rem 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
}

/* CTA Final */
.cta-final {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.footer-separator {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Countdown Bar */
.countdown-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.countdown-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 200px;
}

.countdown-label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.countdown-message {
    font-size: 1rem;
    font-weight: 700;
}

.countdown-highlight {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
    display: inline-block;
    padding: 0.2rem 0.4rem;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 6px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    min-width: 60px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.countdown-label-small {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.8;
}

.countdown-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.countdown-btn:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
        background: rgba(245, 158, 11, 0.15);
    }
    50% {
        text-shadow: 0 0 25px rgba(245, 158, 11, 0.9);
        background: rgba(245, 158, 11, 0.25);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-logo {
        margin-bottom: 1.5rem;
    }

    .logo-img {
        height: 60px;
    }

    .hero-motto {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .credit-amount {
        font-size: 4rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }

    .countdown-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .countdown-text {
        min-width: auto;
    }

    .countdown-timer {
        justify-content: center;
    }

    .countdown-item {
        min-width: 50px;
        padding: 0.4rem 0.6rem;
    }

    .countdown-number {
        font-size: 1.25rem;
    }

    .countdown-label-small {
        font-size: 0.7rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
    }

    .countdown-btn {
        width: 100%;
        max-width: 300px;
    }

    .countdown-highlight {
        font-size: 1.1rem;
    }

    /* Content Types Responsive */
    .content-types {
        margin: 2rem 0;
        padding: 2rem 1rem;
    }

    .content-types-title {
        font-size: 1.5rem;
    }

    .content-types-description {
        font-size: 1rem;
    }

    .content-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .content-type-item {
        padding: 1rem;
    }

    .content-type-icon {
        font-size: 2rem;
    }

    /* User Types Responsive */
    .user-types {
        margin: 2rem 0;
        gap: 2rem;
    }

    .user-type-section {
        padding: 1.5rem;
    }

    .user-type-title {
        font-size: 1.5rem;
    }

    .user-feature {
        padding: 1rem;
    }

    .simple-steps-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 140px; /* Più spazio su mobile per la countdown bar */
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-logo {
        margin-bottom: 1rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero-motto {
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .content-types-grid {
        grid-template-columns: 1fr;
    }

    .content-types-title {
        font-size: 1.25rem;
    }

    .user-type-title {
        font-size: 1.25rem;
    }

    .simple-steps-title {
        font-size: 1.25rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

