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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
}

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

/* Color variables */
:root {
    --primary-color: hsl(229.53deg 84.18% 34.71%);
    --primary-foreground: #ffffff;
    --secondary-color: hsl(200, 30%, 95%);
    --accent-color: hsl(200, 80%, 50%);
    --text-primary: hsl(215, 25%, 27%);
    --text-muted: hsl(215, 16%, 47%);
    --background: #ffffff;
    --border-color: hsl(200, 20%, 90%);
    --shadow-soft: 0 4px 20px -4px rgba(59, 130, 246, 0.1);
    --shadow-medium: 0 8px 30px -8px rgba(59, 130, 246, 0.15);
    --gradient-light: linear-gradient(180deg, hsl(200, 30%, 98%), hsl(200, 15%, 96%));
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-primary { color: var(--primary-color); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-hero {
    background: var(--primary-color);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background: hsl(200, 95%, 40%);
    transform: translateY(-1px);
}

.btn-professional {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-professional:hover {
    background: var(--primary-color);
    color: var(--primary-foreground);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: hsl(200, 95%, 40%);
}

/* Header */
.header {
    background: var(--background);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    border-radius: 0.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary-color);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.phone-icon {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Hero Section */
.hero {
    background: var(--gradient-light);
    padding: 5rem 0;
}

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

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--background);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.hero-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.info-icon {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.info-dot {
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
}

.hero-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--background);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.device-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.device-icons svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.hero-badge p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Section common styles */
section {
    padding: 4rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    background: var(--background);
}

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

.service-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-card ul {
    text-align: left;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-types {
    display: grid;
    gap: 3rem;
}

.service-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-type:nth-child(even) .service-type-content {
    order: 2;
}

.service-type:nth-child(even) img {
    order: 1;
}

.service-type-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-type-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.service-type img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
}

.service-type h3 {
    margin-bottom: 1rem;
}

.service-type p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-type ul {
    list-style: none;
}

.service-type li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.service-type li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Advantages Section */
.advantages {
    background: var(--gradient-light);
}

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

.advantage-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.advantage-card h3 {
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-muted);
}

/* About Section */
.about {
    background: var(--background);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.about-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.about-feature {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.about-feature h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.about-feature p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Contacts Section */
.contacts {
    background: var(--gradient-light);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

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

.contact-item span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.contact-form {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--background);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo h3 {
    color: var(--background);
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-contacts {
    display: grid;
    gap: 0.5rem;
}

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

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.footer-section h4 {
    color: var(--background);
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-address {
    display: grid;
    gap: 1rem;
}

.address-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.address-item svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-type {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-type:nth-child(even) .service-type-content,
    .service-type:nth-child(even) img {
        order: initial;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-hero,
    .btn-professional {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
    
    .service-card,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}