/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #3A3A3A;
    background-color: #FFF9ED; /* jemná krémová */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* SUCCESS stránka – bez min-height triku */
.success-page .hero {
    flex: 1;
    background: linear-gradient(135deg, #F9C851 0%, #F6A842 100%);
    color: #4A3100;
    text-align: center;
    padding: 80px 20px; /* stačí hore+dol, nemusí byť 100px dole */
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-page .hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.inbox-icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

/* Header / Hero Section */
.hero {
    background: linear-gradient(135deg, #F9C851 0%, #F6A842 100%);
    color: #4A3100;
    text-align: center;
    padding: 80px 20px 100px;
    position: relative;
}

.hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.hero-mascot {
    width: 96px;
    height: auto;
    margin: 0 auto 10px;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #3B2DFD; /* výrazná modrá */
    color: #FFFFFF;
    padding: 16px 48px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #2C21D6;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.hero-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Email Form Section */
.email-form-section {
    background-color: #FFFDF8;
    padding: 60px 20px;
    margin-top: -50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
    border: 1px solid #F3D38A;
}

.email-form-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #3A3A3A;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #5A4A2A;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid #F3D38A;
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    background-color: #FFFDF8;
}

.form-group input:focus {
    outline: none;
    border-color: #F6A842;
    box-shadow: 0 0 0 3px rgba(246, 168, 66, 0.25);
}

.submit-button {
    width: 100%;
    background-color: #FFCC33;
    color: #4A3100;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    background-color: #F9B233;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.gdpr-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #7A6A4A;
    text-align: center;
    line-height: 1.5;
}

/* Video Section */
.video-section {
    padding: 80px 20px;
    background-color: #FFF9ED;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-container video {
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    background-color: #000;
}

.video-caption {
    color: #6A6A6A;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

.video-cta {
    display: inline-block;
    background-color: #FFCC33;
    color: #4A3100;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.video-cta:hover {
    background-color: #F9B233;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    background-color: #FFF3D9;
    border-top: 1px solid #F3D38A;
    border-bottom: 1px solid #F3D38A;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: #3A3A3A;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #FFCC33;
    color: #4A3100;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #3A3A3A;
}

.step p {
    color: #6A6A6A;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 20px;
    background-color: #FFF9ED;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background-color: #FFFDF8;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border: 1px solid #F3D38A;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

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

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #3A3A3A;
}

.benefit-card p {
    color: #6A6A6A;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: 60px 20px;
    text-align: center;
    background: #F6A842;
    color: #4A3100;
}

.final-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.final-cta .cta-button {
    background-color: #3B2DFD;
    color: #FFFFFF;
}

.final-cta .cta-button:hover {
    background-color: #2C21D6;
}

/* Footer */
.footer {
    background-color: #4A3100;
    color: white;
    padding: 40px 20px 30px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.8;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 80px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .email-form-section {
        margin-top: -30px;
        padding: 40px 20px;
    }

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

    .steps {
        gap: 50px;
    }

    .video-container video {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 20px 70px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .email-form-section {
        margin-top: -10px;
    }

    .email-form-section h2 {
        font-size: 1.5rem;
    }
}


