/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a86b;
    --primary-dark: #008855;
    --primary-light: #00c97f;
    --primary-focus: rgba(0, 168, 107, 0.25);
    --secondary-color: #1e293b;
    --accent-color: #3498db;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-color: #ffffff;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --success-color: #16a34a;
    --warning-color: #eab308;
    --error-color: #dc2626;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    min-height: 64px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover h1 {
    color: var(--primary-dark);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-list a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-menu span {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--text-color);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 5rem;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-title strong {
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: white;
    border-color: white;
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    min-height: 36px;
    font-size: 0.9375rem;
}

.btn-block {
    width: 100%;
}

/* Sections */
section {
    padding: 3.5rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-card h3 {
    color: var(--secondary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Solutions Section */
.solutions {
    background: var(--bg-light);
    padding: 3.5rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.solution-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.solution-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.product-image {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.product-card h3 {
    color: var(--secondary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
}

.placeholder-image {
    width: 100%;
    height: 280px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Contacts Section */
.contacts {
    background: var(--bg-light);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    text-align: center;
    padding: 1.75rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: box-shadow var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.contact-item h3 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.375rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.85;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: white;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
    }

    .nav-list a {
        padding: 0.75rem 1rem;
        display: block;
        border-radius: var(--radius-sm);
    }

    .nav-list a.active::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
