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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Hero mysection */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #22A45D 0%, #1B7A5C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-ingredients {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ingredient {
    position: absolute;
    font-size: 2em;
    animation: float 20s infinite linear;
    opacity: 0.1;
}

.ingredient:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.ingredient:nth-child(2) {
    left: 20%;
    animation-delay: 4s;
}

.ingredient:nth-child(3) {
    left: 30%;
    animation-delay: 8s;
}

.ingredient:nth-child(4) {
    left: 40%;
    animation-delay: 12s;
}

.ingredient:nth-child(5) {
    left: 50%;
    animation-delay: 16s;
}

.ingredient:nth-child(6) {
    left: 60%;
    animation-delay: 2s;
}

.ingredient:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
}

.ingredient:nth-child(8) {
    left: 80%;
    animation-delay: 10s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    margin-bottom: 0.5em;
    text-align: center;
}

.logo img {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.slogan {
    font-size: 1.3em;
    margin-bottom: 2em;
    font-style: italic;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2em;
}

.email-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 400px;
    text-align: left;
    margin: 0 auto;
}

.privacy-checkbox {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: #FF8A50;
    cursor: pointer;
}

.privacy-consent label {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
    cursor: pointer;
    line-height: 1.4;
}

.privacy-consent a {
    color: #FFB366;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-consent a:hover {
    color: #ffffff;
}

.email-input {
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 50px;
    min-width: 300px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(45deg, #FF8A50, #FF6B35);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.email-error {
    color: #ffffff;
    background-color: rgba(255, 68, 68, 0.9);
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    width: 100%;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.email-error.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 50px;
}

.email-input.invalid {
    border: 2px solid #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
}

/* mysection Styling */
.mysection {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2em;
    padding-right: 2em;
}

.mysection h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #202020;
    font-weight: 600;
}

.mysection p {
    text-align: center;
    font-size: 1.2em;
    color: #6E8C6F;
    max-width: 600px;
    margin: 0 auto 2em;
}

/* Why Kolesterolo mysection */
.why-mysection {
    background: #F5F5F5;
    text-align: center;
}

.demo-mockup {
    width: 300px;
    height: 200px;
    background: linear-gradient(45deg, #22A45D, #1B7A5C);
    margin: 2em auto;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    box-shadow: 0 10px 30px rgba(34, 164, 93, 0.3);
    transition: transform 0.3s ease;
}

.demo-mockup:hover {
    transform: scale(1.05);
}

/* Features mysection */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 3em;
}

.feature-card {
    background: white;
    padding: 2em;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(34, 164, 93, 0.15);
    border-color: #22A45D;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
    color: #202020;
    font-weight: 600;
}

.feature-card p {
    color: #6E8C6F;
    margin: 0;
}

/* App Preview mysection */
.app-preview {
    background: #F5F5F5;
    text-align: center;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(34, 164, 93, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #22A45D, #1B7A5C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    text-align: center;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-dot.active {
    background: #22A45D;
}

/* Newsletter mysection */
.newsletter {
    background: linear-gradient(135deg, #22A45D 0%, #1B7A5C 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter .privacy-consent label {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter .privacy-consent a {
    color: #FFB366;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2em 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-bottom: 1em;
    flex-wrap: wrap;
}

.footer-privacy-terms {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-privacy-terms a {
    margin-bottom: 0.5em;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #22A45D;
}

.disclaimer {
    font-size: 0.9em;
    opacity: 0.7;
    margin-top: 1em;
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        max-height: 80px;
    }

    .slogan {
        font-size: 1.1em;
    }

    .email-input {
        min-width: 250px;
    }

    .mysection {
        padding: 60px 1em;
    }

    .mysection h2 {
        font-size: 2em;
    }

    .cta-form {
        flex-direction: column;
        align-items: center;
    }

    .email-container {
        width: 100%;
        max-width: 300px;
    }

    .email-input,
    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .privacy-consent {
        max-width: 300px;
        text-align: left;
    }

    .privacy-consent label {
        font-size: 13px;
    }

    .footer-links {
        display: grid;
    }
}

/* Custom Popup Styles */
.custom-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    position: relative;
}

.custom-popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.popup-icon.success {
    color: #22A45D;
}

.popup-icon.error {
    color: #e74c3c;
}

.popup-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.popup-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-button {
    background: linear-gradient(135deg, #22A45D 0%, #1B7A5C 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.popup-button:hover {
    transform: translateY(-2px);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #333;
}