/* styles.css */

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --secondary: #34a853;
    --dark: #202124;
    --gray: #5f6368;
    --light-gray: #f1f3f4;
    --white: #ffffff;
    --telegram: #0088cc;
    --whatsapp: #25d366;
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FLOATING CONTACTS */
.floating-contacts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.float-btn.phone {
    background: var(--primary);
}

.float-btn.telegram {
    background: var(--telegram);
}

.float-btn.whatsapp {
    background: var(--whatsapp);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* HERO */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-item strong {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}

.trust-item span {
    font-size: 14px;
    color: var(--gray);
}

/* SECTIONS */
section {
    padding: 80px 0;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 50px;
}

/* SERVICES */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-gray);
    padding: 32px 24px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* CASES */
.cases {
    background: var(--light-gray);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.case-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.case-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

.stat-value {
    font-weight: 600;
    font-size: 16px;
}

/* PRICING */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.price-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.price-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.price-header p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 24px;
}

.price-amount {
    margin-bottom: 32px;
}

.price-amount .currency {
    font-size: 28px;
    color: var(--gray);
    vertical-align: top;
}

.price-amount .amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
}

.price-features li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid var(--light-gray);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.pricing-note {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-note strong {
    color: var(--primary);
}

/* PROCESS */
.process {
    background: var(--light-gray);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 64px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--light-gray);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    flex: 1;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--gray);
    margin-bottom: 12px;
}

.timeline-duration {
    display: inline-block;
    background: var(--light-gray);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

/* CONTACT */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-privacy {
    font-size: 13px;
    color: var(--gray);
    text-align: center;
    margin-top: 8px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-method:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.telegram-bg {
    background: var(--telegram);
}

.whatsapp-bg {
    background: var(--whatsapp);
}

.email-bg {
    background: #ea4335;
}

.phone-bg {
    background: var(--primary);
}

.contact-method div {
    display: flex;
    flex-direction: column;
}

.contact-method strong {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-method span {
    font-size: 14px;
    color: var(--gray);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 8px 0;
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-trust {
        gap: 24px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-item::after {
        left: 31px;
        top: 80px;
    }
    
    .floating-contacts {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    
    .float-btn {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .price-amount .amount {
        font-size: 48px;
    }
}