/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3d1f;
    background-color: #fefffe;
}

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

/* Language Toggle */
.hidden {
    display: none !important;
}

/* Header */
.header {
    background: #f8faf7;
    border-bottom: 1px solid #d4d7c9;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-icon {
    width: 2.2rem;
    height: 2.2rem;
}

.logo h1 {
    color: #5d6b47;
    font-size: 1.8rem;
    font-weight: 700;
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 2px solid #d4d7c9;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: #7a8a5c;
}

.lang-btn.active {
    background: #7a8a5c;
    color: white;
    border-color: #7a8a5c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #7a8a5c 0%, #9fb380 100%);
    color: white;
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #9fb380;
    color: white;
}

.btn-primary:hover {
    background: #8ca470;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #7a8a5c;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    width: 300px;
    height: 500px;
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.app-mockup::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #9ca3af;
    border-radius: 2px;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #5d6b47;
}

/* System Description Section */
.system-description {
    padding: 4rem 0;
    background: #f8faf7;
    border-top: 1px solid #d4d7c9;
    border-bottom: 1px solid #d4d7c9;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.description-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2d3d1f;
    margin-top: 1.5rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #f8faf7;
    border-bottom: 1px solid #d4d7c9;
}

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

.feature-card {
    background: #fefffe;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(93, 107, 71, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #d4d7c9;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5d6b47 0%, #7a8a5c 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(93, 107, 71, 0.15);
    border-color: #7a8a5c;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #5d6b47;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #7a8a5c;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #5d6b47;
}

.feature-card p {
    color: #2d3d1f;
    line-height: 1.7;
    font-size: 1rem;
}

/* Business Solutions Section */
.business-solutions {
    padding: 5rem 0;
    background: #f8faf7;
    border-top: 1px solid #d4d7c9;
}

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

.solution-card {
    background: #fefffe;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid #d4d7c9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5d6b47 0%, #7a8a5c 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    border-color: #7a8a5c;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(93, 107, 71, 0.15);
    background: #fefffe;
}

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

.solution-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: #5d6b47;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
    color: #7a8a5c;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #5d6b47;
}

.solution-card p {
    color: #2d3d1f;
    line-height: 1.7;
    font-size: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #fefffe;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: #f8faf7;
    border: 2px solid #d4d7c9;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(93, 107, 71, 0.15);
    border-color: #7a8a5c;
}

.pricing-card-featured {
    border-color: #7a8a5c;
    background: #fefffe;
    box-shadow: 0 8px 24px rgba(93, 107, 71, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #5d6b47, #7a8a5c);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5d6b47;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3d1f;
}

.price-currency {
    font-size: 1rem;
    color: #5d6b47;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8ece4;
    color: #2d3d1f;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #7a8a5c;
    font-weight: 700;
}

.btn-pricing {
    width: 100%;
    text-align: center;
}

/* Terms Page */
.terms-page {
    padding: 3rem 0 5rem;
}

.terms-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #5d6b47;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #d4d7c9;
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5d6b47;
    margin-bottom: 1rem;
}

.terms-section p {
    line-height: 1.8;
    color: #2d3d1f;
    margin-bottom: 0.8rem;
}

.terms-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section ul li {
    line-height: 1.8;
    color: #2d3d1f;
    margin-bottom: 0.5rem;
}

.terms-section a {
    color: #5d6b47;
    text-decoration: underline;
}

.terms-section a:hover {
    color: #7a8a5c;
}

/* Footer links */
.footer-section a {
    color: #b8c4a8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e8ece4;
}

.footer-owner,
.footer-address {
    color: #b8c4a8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Environment Badge */
.env-badge {
    color: #e53935;
    font-weight: 700;
    font-size: 0.7em;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #5d6b47 0%, #7a8a5c 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #3d4930;
    color: #e8ece4;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #b8c4a8;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #e8ece4;
}

.footer-bottom {
    border-top: 1px solid #5d6b47;
    padding-top: 1rem;
    text-align: center;
    color: #b8c4a8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-mockup {
        width: 250px;
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .business-solutions {
        padding: 3rem 0;
    }
    
    .system-description {
        padding: 3rem 0;
    }
    
    .description-text {
        font-size: 1rem;
    }
    
    .cta {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .solution-card {
        padding: 1.5rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .language-toggle {
        order: -1;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.lang-btn:focus {
    outline: 2px solid #7a8a5c;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .hero,
    .cta,
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        border: 1px solid black;
    }
}