/* style.css - точная реализация ТЗ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #1a2634;
    --text-secondary: #4b5e71;
    --text-light: #7f8fa6;
    --accent: #2ecc71;
    --accent-dark: #27ae60;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3.1 Sticky Header */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header.sticky {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-text {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-light {
    font-weight: 400;
    color: var(--accent);
}

.logo-tagline {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trust-badges {
    display: flex;
    gap: 12px;
}

.trust-badge {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-mobile-menu {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

.mobile-link:active {
    background: var(--bg-secondary);
}

.mobile-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.mobile-btn {
    width: 100%;
    justify-content: center;
}

/* 3.2 Hero */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 60px 24px;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-subtitle .highlight {
    color: var(--accent);
    background: #e8f8f0;
    padding: 4px 12px;
    border-radius: 40px;
}

.hero-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-secondary {
    background: white;
    border: 2px solid var(--border);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.benefit-item i {
    color: var(--accent);
}

/* Hero Widget */
.hero-widget {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.widget-title {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.widget-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    align-items: center;
}

.widget-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.widget-info {
    flex: 1;
}

.widget-item {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.widget-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.current-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}

.retail-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 13px;
}

.widget-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.widget-bid {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

/* 3.3 How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

.title-highlight {
    color: var(--accent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.example-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.example-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.example-item {
    text-align: center;
    flex: 1;
}

.example-label {
    display: block;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 4px;
}

.example-value {
    font-size: 24px;
    font-weight: 700;
}

.example-value.highlight {
    color: var(--accent);
}

.example-arrow {
    color: var(--text-light);
    font-size: 20px;
}

.example-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

/* 3.4 Live Auctions */
.live-auctions {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.auctions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.auction-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    position: relative;
}

.auction-card:hover {
    box-shadow: var(--shadow-hover);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.card-badge.hot {
    background: #e74c3c;
}

.card-badge.ships-eu {
    background: #3498db;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.current {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.retail {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 14px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.timer.urgent {
    color: #e74c3c;
    font-weight: 600;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.last-bid {
    font-size: 13px;
    color: var(--text-light);
}

.btn-bid {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* 3.5 Trust & Proof */
.trust-proof {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.proof-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.proof-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.winners-list {
    margin-bottom: 16px;
}

.winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.winner-user {
    font-weight: 500;
    color: var(--text-primary);
}

.winner-price {
    color: var(--accent);
    font-weight: 600;
}

.winner-date {
    color: var(--text-light);
}

.deliveries-list {
    margin-bottom: 16px;
}

.delivery-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.delivery-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

.delivery-status.shipped {
    background: #fef9e7;
    color: #f39c12;
}

.delivery-status.delivered {
    background: #e8f8f0;
    color: var(--accent);
}

.delivery-tracking {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

.security-list {
    margin-bottom: 16px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
}

.payment-logos {
    display: flex;
    gap: 12px;
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ssl-badge {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.proof-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* 3.6 Deals */
.deals {
    padding: 80px 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.deal-card {
    display: flex;
    gap: 16px;
    background: white;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: box-shadow 0.2s;
}

.deal-card:hover {
    box-shadow: var(--shadow-hover);
}

.deal-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.deal-info {
    flex: 1;
}

.deal-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.deal-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.deal-prices .retail {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 14px;
}

.deal-prices .won {
    font-weight: 700;
    color: var(--accent);
    font-size: 18px;
}

.savings {
    background: #e8f8f0;
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.deal-bids {
    font-size: 12px;
    color: var(--text-light);
}

/* 3.7 Pricing Teaser */
.pricing-teaser {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.pack-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s;
    position: relative;
}

.pack-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pack-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pack-bids {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pack-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.pack-perbid {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

.pack-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.pack-btn.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.pack-btn:hover {
    border-color: var(--accent);
}

.free-bids-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.free-bids-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* 3.8 FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.faq-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.faq-link {
    display: block;
    text-align: center;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

/* 3.9 Footer */
.footer {
    background: #1a2634;
    color: #e2e8f0;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-about {
    color: #a0b3cc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-company {
    font-size: 13px;
    color: #7f8fa6;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-col a {
    color: #a0b3cc;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #2a3745;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #7f8fa6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #7f8fa6;
    font-size: 18px;
}

.footer-social a:hover {
    color: var(--accent);
}

/* Mobile Sticky CTA */
.mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    padding: 12px;
    gap: 8px;
    z-index: 90;
}

.sticky-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
}

.sticky-cta {
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 600;
}

/* Desktop-first design */
@media (max-width: 1024px) {
    .auctions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu, .trust-badges, .btn-link {
        display: none;
    }
    
    .btn-mobile-menu {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .example-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .example-arrow {
        transform: rotate(90deg);
    }
    
    .auctions-grid {
        grid-template-columns: 1fr;
    }
    
    .proof-grid {
        grid-template-columns: 1fr;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .packs-grid {
        grid-template-columns: 1fr;
    }
    
    .pack-card.popular {
        transform: scale(1);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mobile-sticky {
        display: flex;
    }
    
    .footer {
        padding-bottom: 100px;
    }
}
/* Улучшенные стили для карточек пакетов на главной */
.packs-grid .pack-card {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.packs-grid .pack-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.packs-grid .pack-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.packs-grid .pack-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.packs-grid .pack-card .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.packs-grid .pack-card .pack-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.packs-grid .pack-card .pack-bids {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.packs-grid .pack-card .pack-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.packs-grid .pack-card .pack-perbid {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.packs-grid .pack-card .pack-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    color: var(--text-primary);
    margin-top: auto;
}

.packs-grid .pack-card .pack-btn.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.packs-grid .pack-card .pack-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}