/* SEO Services Styles */
body {
    font-family: Arial, sans-serif;
}

h1 {
    font-size: 3rem;
    margin-top: 2rem;
    color: rgb(0, 0, 0);
}

h2 {
    font-size: 2.3rem;
    margin-bottom: 1.8rem;
}

p {
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.accent-section {
    position: relative;
    background: 
        linear-gradient(to right, #ffffff, #ffcfcc),
        linear-gradient(to bottom, #ffeadd, #d0e3ff);
    background-blend-mode: multiply;

    color: #1f1a10;
    padding: 2rem;
    border-radius: 8px;
}

.accent-section h2 {
    margin-bottom: 3rem;
}

.accent-section li {
    margin-left: 3rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.time-icon {
    height: 200px;
    width: 200px;
    position: absolute;
    right: -50px;
    top: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px;
    border-radius: 100%;
    background: #051522;
}

.time-icon img {
    height: 100%;
    width: 100%;
}

li {
    margin-left: 2rem;
}

nav ul li {
    margin-bottom: 0;
}

.footer-text {
    color: white;
}

/* Section Styles */
section {
    padding: 2rem;
    border-radius: 8px;
    margin-top: 4rem;
    margin-bottom: 6rem;
}

/* Timeline: центральная линия + карточки */

/* Секция */
.seo-timeline {
    padding: 64px 16px;
    background: #fafafa;
    color: #111;
}

.timeline-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Контейнер */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 5rem;
}

/* Толстая центральная линия */
.timeline::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: #111827;
    border-radius: 4px;
    z-index: 1;
}

/* Элемент таймлайна */
.timeline-item {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    padding: 12px 24px;
}

/* Круг на линии, подключённый к карточке */
.timeline-item::before {
    content: "";
    position: absolute;
    top: calc(50% - 31px);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #111827;
    z-index: 3;
    box-sizing: border-box;
    transition: transform 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Левый блок — справа от центра (карточка выровнена вправо) */
.timeline-item.left {
    left: 0;
    padding-right: 52px;
}

/* Размещение круга для левых карточек */
.timeline-item.left::before {
    right: calc(-31px);
}

/* Правый блок */
.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 52px;
}

/* Круг для правых карточек */
.timeline-item.right::before {
    left: calc(-31px);
}

/* Карточка внутри элемента */
.item-content {
    background: 
        linear-gradient(to right, #ffffff, #ffcfcc),
        linear-gradient(to bottom, #ffeadd, #d0e3ff);
    background-blend-mode: multiply;

    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    position: relative;
    z-index: 2;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* Hover эффект */
.item-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(17, 24, 39, 0.12);
}

/* Заголовки и списки */
.item-content h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.item-content ul {
    margin: 8px 0 0 0;
    padding-left: 10px;
}

.item-content ul li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Мелкий текст */
.item-content p,
.item-content .muted {
    color: #161e2b;
    margin-top: 30px;
    font-size: 0.95rem;
}

/* Для мобильных: линия слева и карточки в одну колонку */
@media (max-width: 820px) {
    .timeline::after {
        left: 28px;
        /* линия слева */
        transform: none;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 8px 20px 24px 64px;
        /* отступ для линии и круга */
    }

    .timeline-item::before {
        left: -24px;
        /* круг ближе к линии */
        right: auto;
        top: 24px;
    }


    /* Круг для правых карточек */
    .timeline-item.right::before {
        left: -24px;
    }

    .item-content {
        padding: 18px;
    }
}

/* Дополнительная доступность: фокус внутри карточки */
.timeline-item:focus-within .item-content {
    outline: 3px solid rgba(255, 180, 0, 0.14);
    outline-offset: 4px;
}


/* ========== ІНСТРУМЕНТИ ТА ТЕХНОЛОГІЇ ========== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: #071929;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 40%);
    transition: transform 0.5s ease;
}

.tool-card:hover::before {
    transform: scale(1.2);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.tool-card img {
    margin-bottom: 1rem;
}

.tool-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tool-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
}

.tool-category {
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.tool-category h3 {
    color: #4F46E5;
    border-left: 4px solid #4F46E5;
    font-size: 1.4rem;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

/* ========== ПОРІВНЯЛЬНА ТАБЛИЦЯ ========== */
.comparison-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2rem;
}

.comparison-table thead {
    background: #0b243a;
    color: white;
}

.comparison-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 12px 0 0;
    text-align: center;
}

.comparison-table tbody tr {
    background: white;
    transition: background 0.2s ease;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.comparison-table tbody tr:hover {
    background: #e8eaf6;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table td:last-child {
    text-align: center;
    font-size: 1.5rem;
}

.included {
    color: #10b981;
}

.not-included {
    color: #ef4444;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.comparison-table tbody tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

/* ========== ЦІНИ / ПАКЕТИ ПОСЛУГ ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 7rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    border-color: #4F46E5;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.premium {
    position: relative;
    border: 3px solid #ffae00;
}

.vip-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 80px;
    height: 80px;
    z-index: 200;
}


.pricing-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.pricing-card h4 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #4F46E5;
    margin: 1.5rem 0;
    line-height: 1;
}


.pricing-price span {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
}

#price-premium {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1;
    color: #ffcc00;
    -webkit-text-stroke: 1px #000000;
}

.pricing-description {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.3rem 0;
    color: #4a5568;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-btn {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    width: 100%;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.premium-btn {
    background: linear-gradient(135deg, #e7c436, #f59e0b);
}

/* US Market Info Box */
.market-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.market-info h4 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.market-info ul {
    list-style: none;
    padding-left: 0;
}

.market-info li {
    padding: 0.5rem 0;
    color: #0c4a6e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-info li::before {
    content: '💡';
}



/* Стили для формы заказа */
.order-popup form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.order-popup input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.order-popup input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.order-popup button[type="submit"] {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.order-popup button[type="submit"]:hover {
    background: #219653;
}

.order-popup .cancel-btn {
    background: #eee;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 8px;
}

.order-popup .cancel-btn:hover {
    background: #ddd;
}

@media (max-width: 1200px) {
    .time-icon {
        padding: 20px;
        height: 120px;
        width: 120px;
        top: -150px;
        left: calc(50% - 60px);
    }
}


/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .tools-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem;
    }
}

@media (max-width: 520px) {
    .timeline {
        padding: 0;
    }

    .timeline::after {
        display: none;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        padding: 0;
        margin-bottom: 30px;
    }

    .timeline-item::before {
        display: none;
    }


    .timeline-item.right::before {
        display: none;
    }
}

@media (max-width: 400px) {
    .vip-badge {
        width: 40px;
        height: 40px;
    }

    .pricing-card {
        padding: 0;
    }

    .pricing-btn {
        border-radius: 10px;
    }

    #table-section {
        padding: 0;
    }

    #prises-section {
        padding: 0;
    }

    .pricing-badge {
        top: 45px;
        left: calc(50% - 150px);
        padding: 0.2rem 0.4rem;
    }
}


