* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2a;
    --accent-green: #6b9f3d;
    --light-green: #a8d08d;
    --cream: #f5f1e8;
    --earth-brown: #8b6f47;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.85) 0%, rgba(232, 224, 208, 0.9) 100%);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(107, 159, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 124, 42, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(45, 80, 22, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out, float 6s ease-in-out infinite 2s;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo svg {
    animation: pulse 2s ease-in-out infinite;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Main Content */
.content {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-text {
    margin-bottom: 4rem;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    animation: titleReveal 1.2s ease-out 0.5s both;
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--secondary-green));
    animation: underlineExpand 1s ease-out 1.5s forwards;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.7s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.9s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Countdown */
.countdown-section {
    margin: 4rem 0;
    padding: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.countdown-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 1s both;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.1);
    min-width: 100px;
    transition: all 0.3s ease;
    animation: countdownItemPop 0.6s ease-out both;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 159, 61, 0.1), transparent);
    transition: left 0.5s ease;
}

.countdown-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.2);
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-item:nth-child(1) {
    animation-delay: 1.2s;
}

.countdown-item:nth-child(2) {
    animation-delay: 1.4s;
}

.countdown-item:nth-child(3) {
    animation-delay: 1.6s;
}

.countdown-item:nth-child(4) {
    animation-delay: 1.8s;
}

.countdown-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.countdown-number.number-update {
    animation: numberFlip 0.5s ease-out;
}

.countdown-label-small {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Email Section */
.email-section {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(45, 80, 22, 0.1);
    max-width: 600px;
    margin: 4rem auto;
}

.email-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.email-section > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-green);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease;
}

.email-form input:focus {
    border-color: var(--accent-green);
}

.email-form input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--accent-green) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 124, 42, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
    color: var(--accent-green);
    font-weight: 500;
}

.form-message.error {
    color: #d32f2f;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 2s both;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-green);
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-green));
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, color 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 124, 42, 0.3);
}

.social-link:hover svg {
    transform: rotate(360deg);
    color: var(--white);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 2.2s both;
}

/* 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 pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes countdownItemPop {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }
    60% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes numberFlip {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input,
    .submit-btn {
        width: 100%;
    }

    .email-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .countdown-item {
        padding: 1rem;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 1.75rem;
    }
}

