/* Base Styles */
:root {
    --primary: #56ab2f;
    --primary-light: #a8e063;
    --primary-dark: #458c25;
    --background: #f9fcf6;
    --background-alt: #f2f9ea;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray: #e8e8e8;
    --gray-dark: #9e9e9e;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(86, 171, 47, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4.2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 4rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 2rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

section {
    padding: 10rem 0;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.primary-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transition: var(--transition);
    z-index: -1;
}

.primary-button:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(86, 171, 47, 0.4);
}

.primary-button:hover:before {
    width: 100%;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.4rem 2.8rem;
    border-radius: 5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: rgba(86, 171, 47, 0.1);
    transform: translateY(-3px);
}

.primary-button.large {
    padding: 1.8rem 3.6rem;
    font-size: 1.8rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 2rem 0;
}

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

.logo {
    width: 180px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transition: var(--transition);
}

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

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

.nav-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    padding: 1rem 2rem !important;
    border-radius: 5rem;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(86, 171, 47, 0.3);
}

.nav-button:before {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: var(--primary);
}

/* Hero Section */
.hero-section {
    padding-top: 20rem;
    padding-bottom: 10rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 10%, var(--primary-light) 0%, transparent 30%),
                radial-gradient(circle at 10% 90%, var(--primary-light) 0%, transparent 30%),
                var(--background);
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-text p {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-svg {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

/* Features Section */
.features-section {
    background-color: var(--white);
    position: relative;
}

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

.feature-card {
    background-color: var(--background);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: left;
}

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

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

/* Process Section */
.process-section {
    background-color: var(--background-alt);
    position: relative;
}

.process-steps {
    counter-reset: step;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    margin-right: 3rem;
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 5rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(86, 171, 47, 0.2);
}

.cta-box h3 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

.cta-box .primary-button {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.cta-box .primary-button:before {
    background: rgba(255, 255, 255, 0.9);
}

.cta-box .primary-button:hover {
    color: var(--primary-dark);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 2rem 3rem;
    background-color: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--background-alt);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    color: var(--text);
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-toggle span:nth-child(2) {
    transform: translateY(-50%) rotate(90deg);
}

.faq-item.active .faq-toggle span:nth-child(2) {
    transform: translateY(-50%) rotate(0);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--white);
}

.faq-item.active .faq-answer {
    padding: 2rem 3rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 0;
}

/* Try Now Section */
.try-now-section {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: var(--white);
    text-align: center;
}

.try-now-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.try-now-content p {
    font-size: 2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--text);
    color: var(--white);
    padding: 8rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.footer-info p {
    opacity: 0.8;
    max-width: 400px;
}

.footer-logo {
    margin-top: 3rem;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--primary-light);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links a,
.footer-legal a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 56.25%; /* 9px = 1rem */
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h2 {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-info p {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px = 1rem */
    }
    
    section {
        padding: 8rem 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1010;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        padding: 10rem 5rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 1.5rem 0;
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-section {
        padding-top: 15rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin: 0 0 2rem;
    }
    
    .cta-box {
        padding: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1.5rem 2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.5rem 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.feature-card.fade-in {
    transition-delay: calc(var(--delay, 0) * 0.1s);
}
