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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 35px; max-width: 85px;
    width: auto;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-contacts a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.header-contacts .phone {
    font-size: 18px;
    color: #007bff;
}

.header-contacts .email {
    font-size: 14px;
    color: #666;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
}

/* Main Content */
.main {
    margin-top: 80px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.banner-content {
    z-index: 2;
    position: relative;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary {
    background: #007bff;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* Table Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 50px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 80px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.comparison-table th {
    background: #007bff;
    color: white;
    font-weight: 600;
}

.comparison-table .price-cell {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745;
}

/* Form Styles */
.form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
.footer {
    background: #343a40;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-contacts h3 {
    margin-bottom: 20px;
    color: #007bff;
}

.footer-contacts a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.hidden {
    display: none;
}

/* Banner Additional Styles */
.banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.banner-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Description Section */
.description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.description-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.company-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.company-info h3 {
    color: #007bff;
    margin-bottom: 15px;
}

/* Classes Description */
.classes-description {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.class-desc {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.class-desc h4 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Table Hover Effects */
.comparison-table .eco-column:hover,
.comparison-table .standart-column:hover,
.comparison-table .pro-column:hover {
    background: #e3f2fd;
}

.comparison-table .eco-column {
    transition: background-color 0.3s ease;
}

.comparison-table .standart-column {
    transition: background-color 0.3s ease;
}

.comparison-table .pro-column {
    transition: background-color 0.3s ease;
}

/* Application Grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.application-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.application-item h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.document-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.document-item:hover {
    transform: translateY(-5px);
}

.document-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #007bff;
}

.document-item h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.document-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-download {
    background: #28a745;
    font-size: 14px;
    padding: 10px 20px;
}

.btn-download:hover {
    background: #218838;
}

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

/* Section Spacing */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .banner {
        min-height: 60vh;
        text-align: center;
    }
    
    .banner-title {
        font-size: 2.2rem;
    }
    
    .classes-description {
        grid-template-columns: 1fr;
    }
    
    .application-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
    }
}

/* Footer logo styles */
.footer-logo img {
    height: 40px;
    object-fit: cover;
    object-position: left top;
    max-width: 85px;
}

/* Footer link styles */
.footer a {
    color: #007bff \!important;
    text-decoration: none;
}

.footer a:hover {
    color: #0056b3 \!important;
}

/* Privacy policy link */
.privacy-link {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}


.privacy-link:hover {
    color: #007bff \!important;
}

/* Sensor Cards Styles */
.sensor-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sensor-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.sensor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Card variants */
.eco-card {
    border-top: 4px solid #28a745;
}

.standart-card {
    border-top: 4px solid #007bff;
}

.pro-card {
    border-top: 4px solid #ff6b6b;
}

.sensor-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.sensor-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.sensor-price {
    font-size: 2rem;
    font-weight: 800;
    color: #28a745;
    margin-bottom: 0;
}

.sensor-card-body {
    flex: 1;
    padding: 25px;
}

.sensor-spec {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sensor-spec:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sensor-spec strong {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sensor-spec span {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.sensor-card-footer {
    padding: 25px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.sensor-card-footer .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Sensor Cards */
@media (max-width: 768px) {
    .sensor-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .sensor-card {
    display: flex;
    flex-direction: column;
        margin: 0 10px;
    }
    
    .sensor-card-header,
    .sensor-card-body,
    .sensor-card-footer {
        padding: 20px;
    }
    
    .sensor-title {
        font-size: 1.5rem;
    }
    
    .sensor-price {
        font-size: 1.7rem;
    }
    
    .sensor-spec {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .sensor-spec strong {
        font-size: 0.85rem;
    }
    
    .sensor-spec span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sensor-cards-grid {
        margin: 20px 0;
    }
    
    .sensor-card {
    display: flex;
    flex-direction: column;
        margin: 0 5px;
        border-radius: 10px;
    }
    
    .sensor-card-header,
    .sensor-card-body,
    .sensor-card-footer {
        padding: 15px;
    }
    
    .sensor-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .sensor-price {
        font-size: 1.5rem;
    }
    
    .sensor-card-footer .btn {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Product Showcase Styles */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.product-image {
    text-align: center;
}

.sensor-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #555;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}
