/* ========== NAV DROPDOWN ========== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 6px 0;
}

.nav-dropdown-toggle:hover {
    color: var(--ig-pink);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
    margin-top: 8px;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-radius: 8px;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--ig-pink);
}

/* ========== PAGE HERO ========== */
.page-hero {
    padding: 120px 16px 60px;
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #FD1D1D 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
}

.page-hero-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
}

.page-hero-sm {
    padding: 120px 16px 50px;
}

/* ========== TOOL PAGE DOWNLOAD FORM (embedded in hero) ========== */
.page-hero .download-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--gray-50);
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.content-section p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section ul,
.content-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.content-section .container {
    max-width: 800px;
}

/* ========== STEPS (HOW TO) ========== */
.steps-list {
    counter-reset: steps;
    list-style: none;
    padding: 0;
}

.steps-list li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(steps);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ig-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== FEATURES GRID (small) ========== */
.features-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-mini {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-mini-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(225,48,108,0.1), rgba(131,58,180,0.1));
    border-radius: 10px;
    color: var(--ig-pink);
    flex-shrink: 0;
}

.feature-mini h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.feature-mini p {
    font-size: 0.8125rem;
    margin-bottom: 0;
}

/* ========== FAQ (reuse from main) ========== */
.page-faq .faq-list {
    max-width: 100%;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
    padding: 60px 0;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--gray-800);
}

.legal-updated {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

/* ========== BLOG ========== */
.blog-content {
    padding: 60px 0;
}

.blog-content .container {
    max-width: 780px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2rem 0 0.75rem;
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.5rem;
}

.blog-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content li {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--ig-pink);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-content blockquote p {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 0;
}

.blog-cta {
    background: linear-gradient(135deg, rgba(225,48,108,0.08), rgba(131,58,180,0.08));
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.blog-cta h3 {
    color: var(--gray-900);
    margin-top: 0;
}

.blog-cta p {
    max-width: 500px;
    margin: 0.5rem auto 1rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--white);
    color: var(--ig-pink);
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.btn-gradient {
    background: var(--ig-gradient);
    color: var(--white);
}

.btn-gradient:hover {
    opacity: 0.9;
}

/* ========== FOOTER GRID ========== */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-col a {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-400);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gray-700);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--ig-pink);
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-menu {
    max-height: 300px;
    overflow-y: auto;
    min-width: 160px;
}

.lang-menu .dropdown-item.active {
    color: var(--ig-pink);
    font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 1000;
        flex-direction: column;
        padding: 80px 24px 24px;
        overflow-y: auto;
    }

    .nav.open {
        display: flex;
    }

    .nav.open .nav-link {
        color: var(--gray-600);
    }

    .nav.open .nav-link:hover {
        color: var(--ig-pink);
    }

    .nav .nav-link {
        font-size: 1.125rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav .nav-dropdown {
        border-bottom: 1px solid var(--gray-100);
    }

    .nav .nav-dropdown-toggle {
        font-size: 1.125rem;
        padding: 12px 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 16px;
        background: var(--gray-50);
        border-radius: 8px;
    }

    .nav .lang-menu {
        max-height: 200px;
    }

    .page-hero {
        padding: 100px 16px 40px;
    }

    .page-hero h1 {
        font-size: 1.625rem;
    }

    .page-hero-text {
        font-size: 0.9375rem;
    }

    .features-mini {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .content-section h2 {
        font-size: 1.375rem;
    }
}

/* ========== BLOG INDEX ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E1306C, #F77737, #FCAF45);
    border-radius: 14px 14px 0 0;
    opacity: 0;
    transition: opacity 0.25s;
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.12);
    transform: translateY(-3px);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card a {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-card:hover h2 {
    color: #E1306C;
}

.blog-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-400);
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
    align-items: center;
}

.blog-card-meta span:first-child::after {
    content: '\00B7';
    margin-left: 0.5rem;
    color: var(--gray-300);
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
