/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Green-ai Design System Colors */
:root {
    /* Backgrounds - Clean & Minimal */
    --bg-page: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-section: rgba(0, 0, 0, 0.02);
    
    /* Text - Professional Hierarchy */
    --text-primary: rgb(0, 55, 32);
    --text-body: rgb(14, 15, 12);
    --text-secondary: rgb(131, 146, 140);
    --text-muted: rgb(175, 183, 180);
    
    /* Borders - Subtle Separation */
    --border-light: rgba(0, 0, 0, 0.1);
    --border-medium: rgba(0, 0, 0, 0.2);
    --border-strong: rgba(0, 0, 0, 0.3);
    
    /* BRAND COLORS - Green Accent System */
    --accent-primary: #8FEC78;
    --accent-strong: #81DD67;
    --accent-text: rgb(13, 121, 22);
    --accent-wash: rgba(148, 242, 127, 0.1);
}

/* Gradient System */
:root {
    --gradient-hero: radial-gradient(at 53% 78%, hsla(60,100%,50%,0.3) 0px, transparent 50%), 
                     radial-gradient(at 71% 91%, hsla(108,100%,50%,0.3) 0px, transparent 50%), 
                     radial-gradient(at 31% 91%, hsla(30,100%,50%,0.17) 0px, transparent 50%);
    --gradient-button: linear-gradient(to bottom right, var(--accent-primary), var(--accent-strong));
}

/* Typography System */
body {
    font-family: system-ui, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-body);
    line-height: 1.6;
    background: var(--bg-page);
}

/* Typography Scale */
.heading-1 { 
    font-family: system-ui, sans-serif; 
    font-weight: 700; 
    font-size: clamp(2.25rem, 5vw, 4.5rem); 
    line-height: 0.9; 
    letter-spacing: -0.02em; 
    color: var(--text-primary);
}

.heading-2 { 
    font-family: system-ui, sans-serif; 
    font-weight: 600; 
    font-size: clamp(1.875rem, 4vw, 3rem); 
    line-height: 0.95; 
    letter-spacing: -0.015em; 
    color: var(--text-primary);
}

.heading-3 { 
    font-family: system-ui, sans-serif; 
    font-weight: 600; 
    font-size: clamp(1.25rem, 3vw, 1.5rem); 
    line-height: 1.2; 
    letter-spacing: -0.01em; 
    color: var(--text-primary);
}

.body-large { 
    font-family: system-ui, sans-serif; 
    font-weight: 400; 
    font-size: clamp(1.125rem, 2.5vw, 1.25rem); 
    line-height: 1.6; 
    color: var(--text-body); 
}

.body-medium { 
    font-family: system-ui, sans-serif; 
    font-weight: 400; 
    font-size: clamp(1rem, 2vw, 1.125rem); 
    line-height: 1.5; 
    color: var(--text-body); 
}

.body-small { 
    font-family: system-ui, sans-serif; 
    font-weight: 400; 
    font-size: 0.875rem; 
    line-height: 1.4; 
    color: var(--text-secondary); 
}

/* Navigation */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.5rem;
    margin: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 0.5px solid var(--border-light);
    border-radius: 9999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    padding: 0 1rem;
}

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

.nav-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-text);
}

.nav-brand {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-nav {
    display: none;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem 0.5rem 0;
    padding: 1rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    text-align: left;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 3rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-text);
}

.hero-badge i {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stat-value i {
    width: 2rem;
    height: 2rem;
    color: var(--accent-text);
}

.stat-number {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--accent-text);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-button);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 14px 24px;
    font-family: system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0px 4px 8px rgba(148, 242, 127, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 14px 24px;
    font-family: system-ui, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--border-medium);
}

.btn-icon {
    margin-left: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-bg {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem 1.5rem;
}

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

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--border-medium);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--accent-wash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    width: 2rem;
    height: 2rem;
    color: var(--accent-text);
}

.card-title {
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-secondary);
}

/* Process Steps */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.step-title {
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-secondary);
}

/* Testimonials */
.testimonial-card {
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    color: var(--accent-text);
    opacity: 0.2;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1rem;
    height: 1rem;
}

.star-filled {
    color: #fbbf24;
    fill: currentColor;
}

.star-empty {
    color: #d1d5db;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-company {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-toggle {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-text);
    transition: transform 0.2s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: var(--accent-wash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-text);
}

.contact-details h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-text);
}

.contact-hours {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(143, 236, 120, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: #166534;
}

.form-error-box {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 1rem;
}

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

.footer-company {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 2rem;
    height: 2rem;
    color: var(--accent-text);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.certification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.cert-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-text);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-text);
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent-text);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: var(--accent-text);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-header {
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.show {
        display: block;
    }
    
    .hero-section {
        padding: 4rem 1rem;
        min-height: 80vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-height: 52px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-certifications {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.hidden { display: none; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Loading and disabled states */
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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