/* ===================== */
/* General Styles */
/* ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #22c55e;
    --dark-green: #16a34a;
    --light-green: #dcfce7;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===================== */
/* Background Animation */
/* ===================== */
.animated-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    background: radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float 15s infinite ease-in-out;
}

.blob1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.blob2 {
    width: 250px;
    height: 250px;
    bottom: 50px;
    left: 10%;
    animation-delay: -5s;
}

.blob3 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* ===================== */
/* Container & Content */
/* ===================== */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== */
/* Logo */
/* ===================== */
.logo-container {
    margin-bottom: 40px;
    animation: popIn 0.6s ease-out;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(34, 197, 94, 0.15));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================== */
/* Typography */
/* ===================== */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -1px;
    animation: slideIn 0.8s ease-out 0.1s both;
}

.tagline {
    font-size: 1.5rem;
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 20px;
    animation: slideIn 0.8s ease-out 0.2s both;
}

.description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: slideIn 0.8s ease-out 0.3s both;
}

.description p {
    margin: 8px 0;
}

/* ===================== */
/* Features Section */
/* ===================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin: 40px 0;
    animation: slideIn 0.8s ease-out 0.4s both;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===================== */
/* Email Subscription */
/* ===================== */
.email-section {
    margin: 50px 0;
    animation: slideIn 0.8s ease-out 0.5s both;
}

.subscribe-text {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.email-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid var(--light-green);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.submit-btn {
    padding: 12px 30px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 24px;
}

.form-message.success {
    color: var(--primary-green);
}

.form-message.error {
    color: #ef4444;
}

/* ===================== */
/* Social Links */
/* ===================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    animation: slideIn 0.8s ease-out 0.6s both;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* ===================== */
/* Footer */
/* ===================== */
.footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    color: var(--text-light);
    font-size: 0.85rem;
    animation: slideIn 0.8s ease-out 0.7s both;
}

/* ===================== */
/* Responsive Design */
/* ===================== */

/* Tablet */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .logo {
        max-width: 120px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-input {
        min-width: unset;
        width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .logo-container {
        margin-bottom: 30px;
    }

    .logo {
        max-width: 100px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 30px 0;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .email-section {
        margin: 30px 0;
    }

    .subscribe-text {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 15px;
        margin: 30px 0;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer {
        font-size: 0.8rem;
    }

    .blob1 {
        width: 200px;
        height: 200px;
    }

    .blob2 {
        width: 170px;
        height: 170px;
    }

    .blob3 {
        width: 140px;
        height: 140px;
    }
}

/* Large Screens */
@media (min-width: 1024px) {
    .main-title {
        font-size: 3.5rem;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}
