/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #202124; /* Темный серый, как у Google */
    background-color: #fff;
    font-size: 14px; /* Уменьшенный шрифт, как у Google */
}

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

h1, h2, h3, h4 {
    font-family: 'Google Sans', sans-serif;
    font-weight: 500; /* Google Sans font weight */
}

h1 {
    font-size: 32px; /* Уменьшен заголовок */
    line-height: 1.3;
    margin-bottom: 16px;
}

h2 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

p {
    margin-bottom: 16px;
}

a {
    color: #1a73e8; /* Синий цвет ссылок, как у Google */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0d47a1;
}

/* Header */
header {
    background-color: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0; /* Легкая граница */
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Google Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #202124;
}

.logo img {
    margin-right: 8px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 24px;
}

nav ul li a {
    color: #5f6368; /* Серый цвет для навигации */
    font-size: 14px;
    font-weight: 500;
}

nav ul li a:hover {
    color: #202124;
}

.login-button a {
    background-color: #1a73e8;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.login-button a:hover {
    background-color: #0d47a1;
}

/* Hero Section */
.hero {
    background-color: #f8f9fa; /* Светлый фон */
    padding: 60px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 40px;
}

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

.hero h1 {
    font-size: 32px; /* Уменьшен основной заголовок */
    font-weight: 500;
    color: #202124;
    margin-bottom: 24px;
}

.hero p {
    font-size: 16px;
    color: #5f6368;
    margin-bottom: 32px;
}

.cta-button {
    /* display: inline-block; */
    background-color: #1a73e8;
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #0d47a1;
    color: #fff;
}

/* General Section Styles */
.section {
    padding: 60px 0;
}

.section.bg-light {
    background-color: #f8f9fa;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.text-content {
    flex: 1;
    max-width: 500px;
    margin-right: 40px;
}

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

.text-content p {
    font-size: 14px;
    color: #5f6368;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1), 0 6px 12px rgba(0,0,0,0.15);
}

.product-icon {
    font-size: 30px;
    margin-bottom: 16px;
    color: #1a73e8;
}

.product-card h3 {
    color: #202124;
    font-size: 20px;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 16px;
}

.product-card h4 {
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-card ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 14px;
    color: #5f6368;
}

.product-card ul li {
    margin-bottom: 8px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    color: #1a73e8;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #202124;
}

.feature-item p {
    font-size: 14px;
    color: #5f6368;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1), 0 6px 12px rgba(0,0,0,0.15);
}

.case-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.case-card h3 {
    font-size: 20px;
    margin: 16px 16px 8px;
    color: #202124;
}

.case-card p {
    font-size: 14px;
    color: #5f6368;
    margin: 0 16px 16px;
}

.learn-more {
    display: block;
    text-align: center;
    padding: 10px 16px;
    margin: 0 16px 16px;
    border-radius: 4px;
    border: 1px solid #1a73e8;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.learn-more:hover {
    background-color: #1a73e8;
    color: #fff;
}

/* Contact Section */
.contact-info-simple {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.contact-info-simple p {
    font-size: 15px;
    color: #5f6368;
}

.contact-info-simple p a {
    color: #202124;
    font-weight: 500;
}

.contact-info-simple p a:hover {
    color: #1a73e8;
}

.call-to-action-block {
    text-align: center;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #5f6368;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #5f6368;
    font-size: 14px;
}

.footer-social a {
    margin-left: 20px;
    color: #5f6368;
    font-size: 14px;
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: #9aa0a6;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
    .login-button {
        margin-top: 15px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 15px;
    }

    .content-wrapper, .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .text-content, .image-content {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .image-content img {
        max-width: 80%;
    }

    .products-grid, .cases-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo, .footer-links, .footer-social {
        margin-bottom: 15px;
        justify-content: center;
    }
    .footer-links a, .footer-social a {
        margin: 5px 10px;
    }
}