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

:root {
    --primary: #2d5016;
    --primary-light: #4a7c2c;
    --primary-lighter: #6ba547;
    --accent: #d4a574;
    --accent-dark: #8b6f47;
    --earth: #5a4a3a;
    --sky: #87ceeb;
    --text-dark: #1a2e0a;
    --text-light: #6b7280;
    --bg-light: #f9faf7;
    --white: #ffffff;
    --border-color: #e0ddd9;
    --success: #10b981;
    --error: #ef4444;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #4a7c2c 0%, #2d5016 50%, #1a2e0a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

.leaf, .grain {
    position: absolute;
    opacity: 0.3;
}

.leaf {
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><path fill="%2388c540" d="M30 5c-8 0-15 8-15 20s5 20 15 20 15-8 15-20-7-20-15-20z"/></svg>') no-repeat center;
    background-size: contain;
    animation: float 6s ease-in-out infinite;
}

.leaf-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.leaf-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.grain {
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><rect fill="%23daa520" x="15" y="5" width="10" height="30" rx="2"/></svg>') no-repeat center;
    background-size: contain;
    animation: sway 8s ease-in-out infinite;
}

.grain-1 {
    bottom: 30%;
    right: 5%;
    animation-delay: 0s;
}

.grain-2 {
    top: 50%;
    left: 8%;
    animation-delay: 3s;
}

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

@keyframes sway {
    0%, 100% { transform: rotateZ(-2deg); }
    50% { transform: rotateZ(2deg); }
}

/* Header */
.header {
    padding: 40px 0 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    margin: 0 -20px 0 -20px;
    padding: 40px 20px 20px;
}

.logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    animation: fadeInDown 0.8s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    padding: 15px;
    background: white;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 
                0 0 60px rgba(74, 124, 44, 0.2);
    animation: fadeInUp 0.8s ease-out;
    max-width: 700px;
    width: 100%;
    border: 2px solid rgba(212, 165, 116, 0.3);
    position: relative;
}

/* Title and Subtitle */
.title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.35rem;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.tagline {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    font-style: italic;
}

/* Countdown Timer */
.countdown-section {
    margin: 40px 0;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    margin-bottom: 0;
}

.countdown-item {
    background: linear-gradient(135deg, rgba(74, 124, 44, 0.1), rgba(212, 165, 116, 0.1));
    padding: 25px 15px;
    border-radius: 16px;
    border: 2px solid var(--primary-lighter);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.countdown-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.15);
    background: linear-gradient(135deg, rgba(74, 124, 44, 0.2), rgba(212, 165, 116, 0.2));
}

.countdown-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Email Signup */
.signup-section {
    margin: 45px 0;
    padding: 35px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.signup-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.email-input {
    padding: 16px 20px;
    border: 2.5px solid var(--primary-lighter);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: white;
    color: var(--text-dark);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.email-input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.4);
    background: linear-gradient(135deg, #3d6b1f, #5a9238);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-message {
    font-size: 0.95rem;
    min-height: 20px;
    margin-top: 12px;
    font-weight: 600;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--error);
}

/* Features Section */
.features-section {
    margin-top: 40px;
}

.features-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(74, 124, 44, 0.08), rgba(212, 165, 116, 0.08));
    padding: 25px 20px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary-lighter);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.15);
    background: linear-gradient(135deg, rgba(74, 124, 44, 0.15), rgba(212, 165, 116, 0.15));
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.feature-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Social Links */
.social-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.social-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 124, 44, 0.1), rgba(212, 165, 116, 0.1));
    color: var(--primary-light);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--primary-lighter);
}

.social-link:hover {
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    color: var(--white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.3);
    border-color: var(--accent);
}

.social-icon {
    width: 26px;
    height: 26px;
}

/* Footer */
.footer {
    padding: 25px 0 35px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 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 glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .content-wrapper {
        padding: 40px 25px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .countdown-item {
        padding: 20px 12px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h4 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .email-input,
    .submit-btn {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 20px 15px;
    }

    .logo-img {
        max-width: 140px;
    }

    .title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .tagline {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .content-wrapper {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 25px;
    }

    .countdown-item {
        padding: 15px 10px;
        border-radius: 12px;
    }

    .countdown-value {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .signup-section {
        margin: 30px 0;
        padding: 25px 0;
    }

    .signup-text {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .email-input,
    .submit-btn {
        font-size: 0.95rem;
        padding: 14px 16px;
    }

    .features-section {
        margin-top: 30px;
    }

    .features-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 18px 15px;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }
}
