/* Базові стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --danger-color: #dc2626;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

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

/* Хедер */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.back-link {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-color);
}

/* Hero секція */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Попередження */
.warning-section {
    padding: 3rem 0;
}

.warning-card {
    background: #fef2f2;
    border-left: 4px solid var(--danger-color);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.warning-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.warning-card p {
    margin: 0.5rem 0;
}

/* Приклади */
.examples-section {
    padding: 4rem 0;
    background: white;
}

.examples-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.example-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.example-header .icon {
    font-size: 2rem;
}

.example-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.message-box {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--gray);
}

.message-box em {
    color: var(--dark);
}

.danger-badge {
    display: inline-block;
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    margin: 1rem 0;
}

.explanation {
    color: var(--gray);
    margin: 1rem 0;
}

.risk-level {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    border-left: 3px solid var(--danger-color);
}

.risk-level.high {
    background: #fef2f2;
    border-left-color: var(--danger-color);
}

.risk-level.medium {
    background: #fef3c7;
    border-left-color: var(--warning-color);
}

/* Ознаки */
.signs-section {
    padding: 4rem 0;
    background: var(--light);
}

.signs-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sign-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-top: 3.5rem;
}

.sign-number {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.sign-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.sign-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Захист */
.protection-section {
    padding: 4rem 0;
    background: white;
}

.protection-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.protection-list {
    max-width: 800px;
    margin: 0 auto;
}

.protection-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 8px;
}

.check-icon {
    background: var(--success-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.protection-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.protection-item p {
    color: var(--gray);
}

/* Сервіс перевірки */
.check-service {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.pricing-info {
    margin: 2rem 0;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.price-desc {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.service-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.feature {
    text-align: center;
}

.feature span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature small {
    color: var(--gray);
    font-size: 0.85rem;
}

.what-we-check {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.what-we-check h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.what-we-check ul {
    list-style: none;
    padding: 0;
}

.what-we-check li {
    padding: 0.5rem 0;
    color: var(--dark);
}

.note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.btn-telegram {
    background: #0088cc;
    color: white;
}

.btn-viber {
    background: #7360f2;
    color: white;
}

/* FAQ */
.faq-section {
    padding: 4rem 0;
    background: var(--light);
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question .arrow {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    color: var(--gray);
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Ресурси */
.resources-section {
    padding: 4rem 0;
    background: white;
}

.resources-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.resources-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.resource-card.featured {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--primary-color);
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 0 auto;
}

.resource-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.resource-desc {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: color 0.3s;
}

.resource-link:hover {
    color: var(--secondary-color);
}

.resource-tip {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 3px solid var(--warning-color);
    text-align: left;
}

.resource-tip strong {
    color: var(--dark);
}

.resource-card ul {
    list-style: none;
    text-align: left;
}

.resource-card li {
    margin-bottom: 0.75rem;
}

.resource-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.resource-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.professional-help {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed var(--border);
}

.professional-help h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.professional-help p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.logo-header {
    color: red;
    font-weight: 600;
}

/* Футер */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Адаптивність */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .example-grid,
    .signs-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
