/* ========================================
   GLOBAL STYLES
======================================== */
:root {
    --primary-green: #4d833f;
    --secondary-green: #4b962a;
    --dark-green: #244f23;
    --light-green: #eef8ed;
    --orange: #ff8800;
    --red: #ff0000;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --gray-light: #f8f9fa;
    --border-color: #ddd;
    
    /* Mobile-specific variables */
    --mobile-menu-bg: #ffffff;
    --mobile-menu-shadow: 0 8px 25px rgba(0,0,0,0.15);
    --mobile-menu-border: #4d833f;
    --mobile-menu-hover: #eef8ed;
    --hamburger-color: #4d833f;
    --hamburger-hover: #eef8ed;
}

.sample_img img{
    height: 500px;
    object-fit: cover;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TYPOGRAPHY
======================================== */
.give-you-glory-regular {
    font-family: "Give You Glory", cursive;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ========================================
   NAVIGATION
======================================== */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 72.4px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
    background-color: var(--light-green);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--orange);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.language-toggle:hover {
    background: #e67700;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    outline: none;
}

.mobile-menu-toggle:hover {
    background-color: var(--hamburger-hover);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--hamburger-color);
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
}

/* .mobile-menu-toggle.active span:nth-child(1) {
    /* transform: rotate(-45deg) translate(-6px, 6px); 
    transform: rotate(-45deg) translate(-7px, 16px);
    background-color: var(--primary-green);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
} */



/* Mobile Menu Animation */
.mobile-menu-toggle span:nth-child(1) {
    transform-origin: 0% 0%;
}

.mobile-menu-toggle span:nth-child(3) {
    transform-origin: 0% 100%;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    background: #d4e7d3 url(https://guide.ichimall.com/image/1753509647/images/matcha_v1_result.jpg);
    padding: 80px 20px;
    display: flex;
    align-items: center;
    min-height: 500px;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}

.container_pricing li {
    list-style: none;
}

.hero-content {
    /* flex: 1; */
    max-width: 600px;
    /* margin: 0 auto; */
}

.hero-title {
    font-size: 2.2rem;
    line-height: 60px;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    /* flex: 1; */
    text-align: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-device {
    max-width: 100%;
    height: auto;
}

/* ========================================
   BUTTONS
======================================== */
.cta-button {
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 136, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 136, 0, 0.4);
}

.cta-button-secondary {
    background: #ffffff;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 16px 38px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cta-button-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   LANGUAGE TOGGLE
======================================== */
.language-toggle {
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.language-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 136, 0, 0.4);
}

/* ========================================
   FEATURES GRID
======================================== */
#quick-features {
    padding: 80px 20px;
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary-green);
    font-weight: 600;
    transition: all 0.3s;
}

.feature-card:hover .learn-more {
    transform: translateX(5px);
    display: inline-block;
}

/* ========================================
   HIGHLIGHTS SECTION
======================================== */
#highlights {
    padding: 80px 20px;
    background: white;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 30px;
    padding: 60px;
    color: white;
    text-align: center;
}

.highlight-box h2 {
    color: white;
    margin-bottom: 40px;
}

.highlight-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.highlight-item i {
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.highlight-item h3 {
    color: white;
    margin-bottom: 5px;
}

.highlight-item p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.highlight-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   TRUST SECTION
======================================== */
#trust {
    padding: 60px 20px;
    background: var(--gray-light);
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badges img {
    height: 50px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.trust-badges img:hover {
    opacity: 1;
}

.trust-text {
    text-align: center;
}

.trust-text p {
    margin: 5px 0;
}

/* ========================================
   PRICING CARDS
======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.pricing-header {
    padding: 30px;
    color: white;
    text-align: center;
}

.pricing-header.green {
    background: linear-gradient(135deg, #10b981, #047857);
}

.pricing-header.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pricing-header.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.pricing-price {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.1));
}

.pricing-price h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 30px;
}

.pricing-features li:before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.pricing-action {
    padding: 30px;
    text-align: center;
}

/* ========================================
   FOOTER
======================================== */
.main-footer {
    background: var(--dark-green);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
}

/* ========================================
   FLOATING BUTTONS
======================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    min-width: 60px;
    height: 60px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px;
    gap: 10px;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.floating-btn.top-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    display: none;
}

.floating-btn.join-btn {
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
}

.floating-btn i {
    font-size: 18px;
}

.btn-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Form responsive improvements */
@media screen and (max-width: 1200px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-form {
        padding: 20px;
    }
    
    /* Hide floating buttons on mobile to avoid interference with mobile menu */
    .floating-buttons {
        display: none;
    }
    
    .contact-form input,
    .contact-form textarea {
        margin-bottom: 15px;
    }
    
    /* Touch-friendly improvements */
    button, 
    .cta-button, 
    .cta-button-secondary,
    .mobile-menu-toggle {
        min-height: 44px; /* Apple's recommended minimum touch target */
        min-width: 44px;
    }
    
    /* Improve mobile menu touch targets */
    .nav-links a {
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Grid responsive improvements */
@media screen and (max-width: 1000px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* Tablet and smaller desktop */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 20px;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        gap: 20px;
    }
}

@media screen and (max-width: 1200px) {

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Navigation mobile menu */
    /* .nav-container {
        padding: 10px 15px;
    } */

    .nav-container {
        padding: 5px 25px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 25px 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-top: 2px solid var(--primary-green);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        height: 100vh;
    }
    
    .nav-links a {
        padding: 12px 25px;
        width: 100%;
        text-align: center;
        border-radius: 12px;
        margin: 0px 0;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background-color: var(--light-green);
        color: var(--primary-green);
        border-color: var(--primary-green);
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(77, 131, 63, 0.2);
    }
    
    .mobile-menu-toggle {
        /* display: flex;
        order: 3;
        margin-left: auto; */
        display: block;
        order: 3;
        position: absolute;
        right: 20px;
    }
    
    .language-toggle {
        display: none;
    }
    
    /* Ensure logo doesn't interfere with mobile menu */
    .nav-logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .nav-links {
        order: 2;
    }
    
    /* Hero section adjustments */
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    /* Grid adjustments */
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .highlight-box {
        padding: 30px 20px;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    /* Floating buttons */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Form adjustments */
    .contact-form {
        padding: 20px;
    }
    
    /* FAQ adjustments */
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small devices */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        padding: 30px 15px;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .cta-button,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        /* padding: 8px 10px; */
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
}