/**
 * Fast Delivery Platform
 * Main Page Styles
 * Colors: #252525 (Black) and #ffffff (White)
 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #252525;
    line-height: 1.6;
}

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

/* ========== НАВИГАЦИЯ ========== */

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #252525;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

.nav-link:hover {
    opacity: 0.7;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #252525;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    color: #252525;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ========== КНОПКИ ========== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid #252525;
    cursor: pointer;
}

.btn-primary {
    background: #252525;
    color: #ffffff;
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #252525;
}

.btn-outline:hover {
    background: #252525;
    color: #ffffff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ========== ГЕРОЙ СЕКЦИЯ ========== */

.hero {
    padding: 80px 0;
    background: #ffffff;
}

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

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: #666;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: #ffffff;
    border: 2px solid #252525;
    border-radius: 45px;
    padding: 40px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.card-progress {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    width: 60%;
    height: 100%;
    background: #252525;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0%, 100% { width: 60%; }
    50% { width: 80%; }
}

.card-status {
    font-size: 14px;
    color: #666;
}

/* ========== СЕКЦИИ ========== */

.features, .how-it-works, .pricing, .contact {
    padding: 80px 0;
}

.features {
    background: #fafafa;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: #666;
}

/* ========== ПРЕИМУЩЕСТВА ========== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    border: 2px solid #252525;
    border-radius: 40px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text {
    color: #666;
    font-size: 15px;
}

/* ========== КАК ЭТО РАБОТАЕТ ========== */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s;
}

.step.animate {
    opacity: 1;
    transform: scale(1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #252525;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-text {
    color: #666;
    font-size: 15px;
}

/* ========== ТАРИФЫ ========== */

.pricing {
    background: #fafafa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #252525;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #252525;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 30px;
}

.price {
    font-size: 42px;
    font-weight: 700;
}

.currency {
    font-size: 18px;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

/* ========== КОНТАКТЫ ========== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 36px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
}

.contact-form {
    background: #fafafa;
    border: 2px solid #252525;
    border-radius: 40px;
    padding: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 18px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #252525;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* ========== ФУТЕР ========== */

.footer {
    background: #252525;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;

}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 968px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
}