* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a202c;
    background: #0f172a;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
}

main {
    padding: 0;
}

/* Hero section - Tech style */
.hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #0891b2 100%);
    color: white;
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

h1 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* About section */
h2 {
    color: #0891b2;
    margin: 0;
    padding: 50px 50px 20px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    margin-bottom: 20px;
}

h3 {
    color: #0f172a;
    margin: 30px 50px 15px;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

h3::before {
    content: '▸';
    color: #0ea5e9;
    margin-right: 10px;
    font-size: 1.2em;
}

p {
    margin: 0 50px 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Service cards */
main > h2:nth-of-type(2) + p {
    background: #f1f5f9;
    padding: 30px 50px;
    margin: 0;
    font-size: 1.1rem;
    border-left: 4px solid #0ea5e9;
}

main > h2:nth-of-type(2) + p + h3,
main > h2:nth-of-type(2) ~ h3 {
    background: white;
    padding: 25px 50px 15px;
    margin: 2px 0 0 0;
    border-left: 4px solid #e0f2fe;
    transition: all 0.3s ease;
}

main > h2:nth-of-type(2) + p + h3:hover,
main > h2:nth-of-type(2) ~ h3:hover {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
    transform: translateX(5px);
}

main > h2:nth-of-type(2) + p + h3 + p,
main > h2:nth-of-type(2) ~ h3 + p {
    background: white;
    margin: 0 0 2px 0;
    padding: 0 50px 25px 50px;
    border-left: 4px solid #e0f2fe;
}

main > h2:nth-of-type(2) + p + h3:hover + p {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
}

/* Horizontal dividers */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* Contact section */
main > h2:nth-of-type(3) {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 50px 50px 30px;
    margin: 0;
}

main > h2:nth-of-type(3)::before {
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

main > h2:nth-of-type(3) + p {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 10px 50px;
    margin: 0;
    font-size: 1.2rem;
}

main > h2:nth-of-type(3) + p strong {
    color: #7dd3fc;
    display: inline-block;
    min-width: 180px;
}

/* Requisites */
main > hr:nth-last-of-type(2) + h3 {
    background: #f8fafc;
    margin: 0;
    padding: 40px 50px 20px;
    border: none;
}

main > hr:nth-last-of-type(2) ~ p {
    background: #f8fafc;
    margin: 0;
    padding: 5px 50px;
}

main > hr:nth-last-of-type(2) ~ p strong {
    color: #0891b2;
    display: block;
    margin-top: 20px;
    font-size: 1.05rem;
}

/* Consultation section */
main > h2:nth-last-of-type(1) {
    background: #f0f9ff;
    border-top: 3px solid #0ea5e9;
    color: #0891b2;
}

main > h2:nth-last-of-type(1) + p {
    background: #f0f9ff;
    padding: 10px 50px;
    margin: 0;
    font-size: 1.1rem;
}

main > h2:nth-last-of-type(1) + p + p {
    background: #f0f9ff;
    padding: 10px 50px 40px;
    margin: 0;
    font-style: italic;
    color: #64748b;
}

/* Footer */
main > hr:last-of-type + p,
main > p:last-of-type {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 30px 50px;
    margin: 0;
    font-size: 0.95rem;
}

main > hr:last-of-type + p small,
main > p:last-of-type small {
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 25px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.75rem;
        padding: 30px 25px 15px;
    }

    h3 {
        font-size: 1.25rem;
        margin: 20px 25px 10px;
        padding: 20px 25px 10px;
    }

    p {
        font-size: 1rem;
        margin: 0 25px 15px;
        padding: 0 25px 20px;
    }

    main > h2:nth-of-type(2) + p,
    main > h2:nth-of-type(3) + p,
    main > h2:nth-last-of-type(1) + p {
        padding: 20px 25px;
    }

    main > hr:nth-last-of-type(2) ~ p,
    main > p:last-of-type {
        padding: 20px 25px;
    }
}
