nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

nav .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

.nav-content .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-content .logo span {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links .cta-button {
    background: var(--gradient-hero);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
}

.blog-header {
    padding: 140px 0 80px;
    background: var(--bg-warm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: var(--gradient-hero);
    opacity: 0.06;
    border-radius: 50%;
    filter: blur(100px);
}

.blog-header h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-posts {
    padding: 80px 0;
    background: var(--bg-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-color);
    border-color: var(--primary);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.post-image-privacy {
    background: linear-gradient(135deg, #FF5555 0%, #FF3333 100%);
}

.post-image-security {
    background: linear-gradient(135deg, #FF8C00 0%, #FF5500 100%);
}

.post-image-family {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
}

.post-image-tips {
    background: linear-gradient(135deg, #FFD000 0%, #FF8C00 100%);
}

.post-image-data {
    background: linear-gradient(135deg, #5856D6 0%, #007AFF 100%);
}

.post-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}

.post-content {
    padding: 28px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.post-category {
    background: var(--bg-warm);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.post-card:hover .read-more {
    gap: 12px;
}

.blog-cta {
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--noise);
    opacity: 0.04;
    mix-blend-mode: overlay;
}

.blog-cta .cta-content {
    position: relative;
    z-index: 1;
}

.blog-cta h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.blog-cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta .app-store-badge {
    height: 54px;
    border-radius: 12px;
}

footer {
    background: var(--surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-header {
    padding: 140px 0 60px;
    background: var(--bg-warm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: var(--gradient-hero);
    opacity: 0.06;
    border-radius: 50%;
    filter: blur(100px);
}

.post-header h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.post-header-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.post-header-meta .post-category {
    background: var(--surface);
}

.post-header-meta .post-date,
.post-header-meta span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-body {
    padding: 80px 0;
    background: var(--bg-light);
}

.post-body .container {
    max-width: 800px;
}

.article-content {
    background: var(--surface);
    padding: 60px;
    border-radius: 28px;
    box-shadow: 0 8px 40px var(--shadow-color);
    border: 1px solid var(--border);
}

.article-content h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.article-content blockquote {
    background: var(--bg-warm);
    border-left: 4px solid var(--primary);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 16px 16px 0;
}

.article-content blockquote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-cta {
    background: var(--gradient-hero);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 48px;
}

.article-cta h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 0;
}

.article-cta p {
    color: var(--text-primary);
    opacity: 0.85;
    margin-bottom: 24px;
    font-size: 1rem;
}

.article-cta .app-store-badge {
    height: 48px;
    border-radius: 10px;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 40px;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .blog-header {
        padding: 120px 0 60px;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .article-content {
        padding: 36px 24px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
    }
}
