/* Global Styles */
:root {
    --primary-color: #2a6e2a;
    --secondary-color: #f0eee3;
    --text-color: #333;
    --accent-color: #5c8d44;
    --white: #fff;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
}

header {
    background-color: #948e7b;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.4rem;
}

.header-logo i {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.header-logo:hover i {
    transform: rotate(15deg);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hero {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.beta-notice {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}

.beta-notice p {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(42, 110, 42, 0.2);
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.beta-notice p:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 110, 42, 0.3);
}

.hero-logo {
    margin-bottom: 0;
    max-width: 100%; 
}

.main-logo {
    max-width: 100%;
    height: auto;
    width: 480px; 
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.03);
}

.hero h1 {
    font-size: 2.5rem; 
    font-weight: 700;
    color: var(--primary-color);
    margin-top: -5px;
    margin-bottom: 15px;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Keep slogan on one line for larger screens */
@media (min-width: 992px) {
    .hero h1 {
        white-space: nowrap;
    }
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.dots {
    display: flex;
    margin-bottom: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.primary-btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.feature:hover .feature-icon {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

/* Newsletter Section */
.contact-info {
    margin-bottom: 50px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.waitlist {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.waitlist.visible {
    opacity: 1;
    transform: translateY(0);
}

.waitlist h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

#waitlist-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 600px;
    margin: 0 auto;
}

#email-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
}

.submit-btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

#form-message {
    margin-top: 20px;
    font-weight: 500;
}

footer {
    background-color: #948e7b;
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Footer Logo Styles */
.footer-logo-link {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-logo-link i {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--white);
    transition: color 0.3s ease;
    font-size: 1.5rem;
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* About Section Styles */
.about {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-subheader {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 500;
}

.about-top-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.about-image {
    flex: 0 0 30%; 
}

.plant-icon {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from contain to cover to fill the space */
    object-position: center;
    padding: 0;
}

.about-text {
    flex: 1;
    padding-top: 10px;
}

.about-bottom-content {
    text-align: center;
}

.about-bottom-content .section-subtitle {
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.section-subtitle:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-top-content {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto 40px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .about-image-container {
        margin: 0 auto;
    }
    
    .stats-container {
        flex-direction: column;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .about-header h2 {
        font-size: 2.2rem;
    }
    
    .about-subheader {
        font-size: 1.1rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .about-image {
        max-width: 350px;
        padding: 0 20px;
    }
    
    .about-image-container {
        margin: 0 auto;
        width: 100%;
    }
}

/* Small phones (less than 480px) */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .about-image {
        max-width: 300px;
        padding: 0 15px;
    }
    
    .about-image-container {
        margin: 0 auto;
        width: 100%;
    }
    
    .beta-notice p {
        font-size: 0.8rem;
        padding: 5px 14px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
    }
    
    .hero-logo {
        max-width: 95%;
    }
    
    .main-logo {
        width: 100%;
        max-width: 280px;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .primary-btn, .submit-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    #waitlist-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-header h2 {
        font-size: 1.8rem;
    }
    
    .about-subheader {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .features h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .beta-notice {
        margin-top: 25px;
    }
    
    .beta-notice p {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
    
    .hero h1 {
        font-size: 2.0rem;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-logo {
        margin: 0 auto 20px;
        max-width: 80%;
    }
    
    .main-logo {
        width: 100%;
        max-width: 350px;
    }
    
    .dots {
        justify-content: center;
        margin: 20px auto;
    }
    
    .hero-description {
        margin: 0 auto 30px;
        text-align: center;
        max-width: 100%;
    }
    
    .cta {
        text-align: center;
    }
    
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .container {
        width: 95%;
    }
    
    .beta-notice p {
        font-size: 0.9rem;
        padding: 7px 18px;
    }
    
    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.25;
        white-space: normal;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-logo {
        margin: 0 auto 20px;
    }
    
    .dots {
        justify-content: center;
    }
    
    .hero-description {
        margin: 0 auto 30px;
    }
    
    .feature {
        padding: 20px 15px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .stats-container {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 20px);
    }
}

/* Small laptops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        width: 95%;
    }
    
    .hero-content {
        gap: 30px;
    }
}

/* Large laptops and desktop screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero {
        min-height: 85vh;
    }
}

/* Extra large screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .hero-description {
        font-size: 1.2rem;
        max-width: 550px;
    }
}

/* FAQ Section Styles */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-subheader {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 8px;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-question:hover {
    background-color: rgba(42, 110, 42, 0.05);
    border-left-color: var(--accent-color);
}

.faq-question.active {
    background-color: rgba(42, 110, 42, 0.08);
    border-left-color: var(--primary-color);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    transform-origin: center;
}

.faq-icon:before,
.faq-icon:after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon:before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon:after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
    transform-origin: center;
}

.faq-question.active .faq-icon:after {
    transform: rotate(90deg) scale(0);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer p {
    margin: 15px 0 20px;
    line-height: 1.7;
    transform: translateY(-10px);
    transition: transform 0.3s ease 0.2s;
}

.faq-question.active + .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
    opacity: 1;
}

.faq-question.active + .faq-answer p {
    transform: translateY(0);
}

/* Responsive FAQ Section */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 2rem;
    }
    
    .faq-subheader {
        font-size: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.thanks-header {
    background-color: #948e7b;
}

.thanks-main {
    flex: 1;
    background-color: var(--secondary-color);
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
}

.thanks-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
}

.checkmark-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.checkmark-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.thanks-message {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
}

.back-home-link {
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.back-home-link:hover {
    color: var(--primary-color);
}

.thanks-footer {
    background-color: #948e7b;
}

@media (max-width: 768px) {
    .thanks-title {
        font-size: 2rem;
    }
    
    .thanks-message {
        font-size: 1rem;
    }
    
    .thanks-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .thanks-title {
        font-size: 1.8rem;
    }
    
    .thanks-main {
        padding: 30px 0;
    }
}

/* Extra small devices (less than 360px) */
@media (max-width: 359px) {
    .beta-notice p {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.5;
        white-space: normal;
        text-align: center;
    }
    
    .hero-logo {
        max-width: 90%;
    }
    
    .main-logo {
        width: 100%;
        max-width: 320px;
    }
    
    .container {
        width: 98%;
        padding: 0 10px;
    }
}

/* Scroll-triggered animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Staggered animation delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Enhanced feature cards with scroll animations */
.feature {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced about section animations */
.about-image-container {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    background-color: #f8f5e4; /* Matching the cream background from the original image */
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
    opacity: 0;
    transform: scale(0.9);
}

.about-image-container.visible {
    opacity: 1;
    transform: scale(1);
}

.about-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Stats animation */
.stat-item {
    flex: 1;
    background-color: var(--white);
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.8s ease;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Newsletter section animations */
.newsletter {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.contact-info,
.waitlist {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible,
.waitlist.visible {
    opacity: 1;
    transform: translateY(0);
}