/* ...existing root and base styles... */
:root {
    --green-dark: #09723a;
    --green-mid: #3eb072;
    --green-light: #a3e69f;
    --blue-dark: #0b141a;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
    color: var(--blue-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}
#bg-blobs {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}
#blob1, #blob2, #blob3, #blob4, #blob5, #blob6, #blob7 {
    position: absolute;
    filter: blur(0.5px);
    opacity: 0.13;
    transition: transform 0.5s cubic-bezier(.4,2,.6,1);
    will-change: transform;
}
#blob1 { left: 5vw; top: 0vh; z-index: 1; opacity: 0.18; }
#blob2 { right: 0vw; top: 30vh; z-index: 1; opacity: 0.16; }
#blob3 { left: 60vw; bottom: 0vh; z-index: 1; opacity: 0.15; }
#blob4 { left: 20vw; top: 50vh; z-index: 2; opacity: 0.12; }
#blob5 { right: 10vw; bottom: 10vh; z-index: 2; opacity: 0.13; }
#blob6 { left: -10vw; bottom: -10vh; z-index: 0; opacity: 0.09; }
#blob7 { right: 25vw; top: 10vh; z-index: 3; opacity: 0.14; }
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem 0.5rem 1rem; /* reduced padding for less space above */
    background: transparent;
    position: relative;
    z-index: 2;
    margin-bottom: 0.2rem; /* bring header closer to card */
}
header.animated { opacity: 0; }
header.visible { opacity: 1; animation: slideDownFade 0.8s cubic-bezier(.4,2,.6,1) forwards; }
.logo {
    width: 64px;
    height: 64px;
    margin-right: 1rem;
    animation: logo-pop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
.site-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue-dark);
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-right: 0; /* ensure no extra space */
}
@keyframes logo-pop {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    80% { transform: scale(1.1) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); }
}
nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.nav-link {
    color: #09723a;
    font-weight: 600;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1.1rem;
    outline: none;
    transition: color 0.2s;
}
.nav-link.animated { opacity: 0; }
.nav-link.visible { opacity: 1; animation: fadeInRight 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.nav-link:hover, .nav-link:focus {
    color: #3eb072;
    text-decoration: underline;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.hero-with-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem auto;
    width: 100%;
}
.hero {
    max-width: 600px;
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fade-in 1.2s 0.3s both;
    flex: 1 1 350px;
    min-width: 300px;
}
.hero.animated { opacity: 0; }
.hero.visible { opacity: 1; animation: fadeInLeft 0.9s cubic-bezier(.4,2,.6,1) forwards; }
@keyframes fade-in {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-dark);
}
.hero p {
    font-size: 1.2rem;
    color: var(--green-light);
    margin-bottom: 2rem;
}
.phone-mockup {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}
.phone-mockup.animated { opacity: 0; }
.phone-mockup.visible { opacity: 1; animation: fadeInRight 0.9s cubic-bezier(.4,2,.6,1) forwards; }
.phone-frame {
    width: 260px;
    height: 520px;
    background: #222;
    border-radius: 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 1.5px 0 #fff inset;
    border: 6px solid #fff;
    position: relative;
    overflow: hidden;
    animation: phone-float 3.5s ease-in-out infinite alternate;
    transform-style: preserve-3d;
    will-change: transform;
}
@keyframes phone-float {
    0% { transform: translateY(0) rotateY(-6deg) rotateX(2deg);}
    100% { transform: translateY(-18px) rotateY(6deg) rotateX(-2deg);}
}
.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    background: #eee;
    display: block;
}
.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #09723a;
    color: #fff;
    border-radius: 6px;
    border: none;
    padding: 0.7em 1.5em;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    outline: none;
}
.cta-btn.animated { opacity: 0; }
.cta-btn.visible { opacity: 1; animation: fadeInUp 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.cta-btn:hover, .cta-btn:focus {
    background: #3eb072;
    color: #222;
}
.cta-btn svg {
    width: 28px;
    height: 28px;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(11,20,26,0.07);
    padding: 1.5rem 1.2rem;
    min-width: 220px;
    max-width: 300px;
    flex: 1 1 220px;
    text-align: center;
    color: var(--blue-dark);
    backdrop-filter: blur(2px);
    animation: card-pop 1s both;
    border: 1px solid #e0e0e0;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
}
.feature-card.animated { opacity: 0; }
.feature-card.visible { opacity: 1; animation: popIn 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:hover, .feature-card:focus-within {
    transform: scale(1.045) translateY(-6px) rotateZ(-1deg);
    box-shadow: 0 8px 32px rgba(62,176,114,0.13), 0 2px 12px rgba(11,20,26,0.09);
    border-color: var(--green-mid);
}
@keyframes card-pop {
    from { opacity: 0; transform: scale(0.9) translateY(30px);}
    to { opacity: 1; transform: scale(1) translateY(0);}
}
.feature-card h3 {
    margin-top: 0;
    color: var(--green-dark);
    font-size: 1.2rem;
    transition: color 0.2s;
}
.feature-card:hover h3 {
    color: var(--green-mid);
}
.feature-card p {
    color: var(--blue-dark);
    font-size: 1rem;
}
.testimonials {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    text-align: center;
}
.testimonials h2 {
    color: var(--green-dark);
    margin-bottom: 1rem;
}
.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.testimonial-list blockquote {
    background: #f8f8f8;
    border-left: 4px solid var(--green-mid);
    margin: 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: var(--blue-dark);
    border-radius: 8px;
}
.testimonial-list blockquote.animated { opacity: 0; }
.testimonial-list blockquote.visible { opacity: 1; animation: fadeInScale 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.testimonial-list footer {
    font-size: 0.95em;
    color: var(--green-dark);
    margin-top: 0.5em;
}
.newsletter {
    max-width: 400px;
    margin: 2.5rem auto 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(11,20,26,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.newsletter.animated { opacity: 0; }
.newsletter.visible { opacity: 1; animation: fadeInScale 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.newsletter h2 {
    color: var(--green-dark);
    margin-bottom: 1rem;
}
#newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
#newsletter-form input[type="email"] {
    padding: 0.5em;
    border: 1px solid #3eb072;
    border-radius: 4px;
    font-size: 1em;
    flex: 1;
    outline: none;
}
#newsletter-form input[type="email"]:focus {
    border-color: #09723a;
}
#newsletter-form button {
    background: #3eb072;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5em 1.2em;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    margin-left: 0.5em;
    transition: background 0.2s, color 0.2s;
}
#newsletter-form button:hover, #newsletter-form button:focus {
    background: #09723a;
    color: #fff;
}
footer {
    background: #222;
    color: #e0ffe0;
    padding: 1.5em 0 1em 0;
    text-align: center;
    font-size: 1em;
}
footer.animated { opacity: 0; }
footer.visible { opacity: 1; animation: fadeInUp 0.8s cubic-bezier(.4,2,.6,1) forwards; }
.social-link {
    display: inline-block;
    margin: 0 0.3em;
    color: #09723a;
    transition: color 0.2s;
    vertical-align: middle;
    text-decoration: none;
    outline: none;
}
.social-link:hover, .social-link:focus {
    color: #3eb072;
    text-decoration: underline;
}
@media (max-width: 1000px) {
    .hero-with-phone {
        flex-direction: column;
        gap: 1.5rem;
    }
    .phone-mockup {
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 700px) {
    .features {
        flex-direction: column;
        gap: 1.2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-with-phone {
        flex-direction: column;
        gap: 1.2rem;
    }
    .phone-mockup {
        flex: 0 0 180px;
    }
    .phone-frame {
        width: 160px;
        height: 320px;
    }
    .testimonial-list {
        gap: 0.7rem;
    }
}
@media (max-width: 600px) {
    header {
        padding: 0.7rem 0.5rem 0.2rem 0.5rem;
        margin-bottom: 0.1rem;
    }
    .logo {
        width: 48px;
        height: 48px;
        margin-right: 0.7rem;
    }
    .site-title {
        font-size: 1.5rem;
    }
}

/* Contact Form Styles */
.contact-glass {
    max-width: 820px;
    margin: 3rem auto 0 auto;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(11,20,26,0.13);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    animation: fade-in 1.2s 0.2s both;
    transition: box-shadow 0.35s cubic-bezier(.4,2,.6,1), transform 0.35s cubic-bezier(.4,2,.6,1);
    will-change: transform, box-shadow;
}
.contact-glass:hover, .contact-glass:focus-within {
    box-shadow: 0 16px 64px 0 rgba(9,114,58,0.18), 0 2px 16px rgba(11,20,26,0.10);
    transform: translateY(-6px) scale(1.018) rotateZ(-0.5deg);
}
.contact-glass-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, #3eb072 0%, #a3e69f 100%);
    border-radius: 8px 0 0 8px;
    z-index: 1;
}
.contact-glass-content {
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 2;
}
.contact-glass-form {
    flex: 1 1 340px;
    padding: 2.5rem 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #0b141a !important; /* force best contrast for all main text */
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
}
.contact-glass-form h2 {
    font-size: 2.1rem;
    color: #0b141a !important; /* force best contrast for all main text */
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}
.contact-glass-form .contact-subtitle {
    color: #0b141a !important; /* force best contrast for all main text */
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
    font-size: 1.08rem;
    margin-bottom: 1.7rem;
}
.floating-label-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.floating-label-group input,
.floating-label-group textarea {
    width: 100%;
    padding: 1.1rem 1rem 0.7rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: rgba(255,255,255,0.92); /* more solid for better readability */
    font-size: 1.08rem;
    color: #0b141a; /* much darker for best contrast */
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
}
.floating-label-group input:focus,
.floating-label-group textarea:focus {
    border-color: var(--green-mid);
    background: #fff;
}
.floating-label-group label {
    position: absolute;
    left: 1.1rem;
    top: 1.1rem;
    color: #7a8a99; /* softer, less harsh, more readable */
    font-size: 1.08rem;
    pointer-events: none;
    background: transparent;
    transition: 0.18s cubic-bezier(.4,2,.6,1);
    padding: 0 0.2em;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(255,255,255,0.18); /* subtle light shadow for glass effect */
    opacity: 0.92;
    border-radius: 4px;
}
.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.93rem;
    color: var(--green-dark); /* accent but not too harsh */
    background: #f8f8f8;
    padding: 0 0.4em;
    font-weight: 600;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(255,255,255,0.13);
    border-radius: 4px;
}
.contact-btn {
    background: linear-gradient(90deg, var(--green-mid), var(--green-light));
    color: var(--blue-dark);
    border: none;
    border-radius: 8px;
    padding: 1rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
    box-shadow: 0 2px 12px rgba(62,176,114,0.08);
}
.contact-btn:hover, .contact-btn:focus {
    background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
    color: #fff;
    box-shadow: 0 4px 24px rgba(62,176,114,0.13);
}
.contact-success {
    margin-top: 1.2rem;
    color: var(--green-mid);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.contact-glass-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 1.08rem;
    transition: color 0.18s;
    width: fit-content;
    gap: 0.5em;
    opacity: 0.92;
}
.contact-glass-arrow svg {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.2em;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1);
}
.contact-glass-arrow:hover,
.contact-glass-arrow:focus {
    color: var(--green-mid);
}
.contact-glass-arrow:hover svg,
.contact-glass-arrow:focus svg {
    transform: translateX(-6px) scale(1.08);
}
.contact-glass-side {
    flex: 1 1 260px;
    background: linear-gradient(120deg, rgba(62,176,114,0.09) 0%, rgba(163,230,159,0.13) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    border-left: 1.5px solid #e0e0e0;
    color: #0b141a !important; /* force best contrast for all main text */
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
}
.contact-illustration {
    margin-bottom: 1.2rem;
    animation: float-illus 3.5s ease-in-out infinite alternate;
}
@keyframes float-illus {
    0% { transform: translateY(0);}
    100% { transform: translateY(-12px);}
}
.contact-side-info h3 {
    color: var(--green-dark);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}
.contact-side-info p {
    color: #0b141a !important; /* force best contrast for all main text */
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
    font-size: 1rem;
    margin-bottom: 1.1rem;
}
.contact-socials {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
}
.contact-socials .social-link svg {
    width: 26px;
    height: 26px;
}
@media (max-width: 900px) {
    .contact-glass-content {
        flex-direction: column;
    }
    .contact-glass-side {
        border-left: none;
        border-top: 1.5px solid #e0e0e0;
        padding: 2rem 1.5rem;
    }
}
@media (max-width: 600px) {
    .contact-glass {
        margin: 1.2rem 0.2rem 0 0.2rem;
    }
    .contact-glass-form, .contact-glass-side {
        padding: 1.2rem 0.7rem;
    }
}

/* Modern Animations */
@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92);}
    to { opacity: 1; transform: scale(1);}
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px);}
    to { opacity: 1; transform: translateX(0);}
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px);}
    to { opacity: 1; transform: translateX(0);}
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8);}
    80% { opacity: 1; transform: scale(1.05);}
    100% { opacity: 1; transform: scale(1);}
}

/* Animation utility classes */
.animated { opacity: 0; }
.animated.visible { opacity: 1; transition: opacity 0.2s; }
.slide-down { animation: slideDownFade 0.8s cubic-bezier(.4,2,.6,1) forwards; }
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(.4,2,.6,1) forwards; }
.fade-in-scale { animation: fadeInScale 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.fade-in-left { animation: fadeInLeft 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.fade-in-right { animation: fadeInRight 0.7s cubic-bezier(.4,2,.6,1) forwards; }
.pop-in { animation: popIn 0.7s cubic-bezier(.4,2,.6,1) forwards; }
