* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1e293b; background: #f8fafc; }
a { text-decoration: none; color: inherit; }

/* Navbar */
.page-nav {
    background: #1a1d2e;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.page-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}
.page-nav .logo-accent { color: #60a5fa; }
.page-nav .back-btn {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.page-nav .back-btn:hover {
    color: white;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

/* Hero */
.page-hero {
    background: linear-gradient(135deg, #1a1d2e 0%, #2d1b69 100%);
    padding: 80px 0 60px;
    text-align: center;
}
.page-hero h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.page-hero .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #60a5fa;
}

/* Content */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: #0f172a;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}
.page-content ul {
    list-style: none;
    margin-bottom: 20px;
}
.page-content ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #475569;
    line-height: 1.6;
}
.page-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #2563eb;
    font-size: 0.85rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
}
.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question i { color: #2563eb; transition: transform 0.3s; }
.faq-answer {
    padding: 0 24px 20px;
    color: #64748b;
    line-height: 1.7;
    display: none;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* Info box */
.info-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #2563eb;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}
.info-box p { color: #1e40af; margin: 0; }

/* Blog */
.blog-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card .blog-img {
    height: 180px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}
.blog-card .blog-body { padding: 24px; }
.blog-card .blog-date { font-size: 0.8rem; color: #94a3b8; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card p { font-size: 0.9rem; color: #64748b; line-height: 1.5; }
.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 12px;
}

/* Footer */
.page-footer {
    background: #1a1d2e;
    padding: 30px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-top: 60px;
}

/* Contact box */
.contact-box {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}
.contact-box h3 { color: white; font-size: 1.3rem; margin-bottom: 8px; }
.contact-box p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.contact-box .btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #2563eb;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}
.contact-box .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }

/* Code block */
.code-block {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    overflow-x: auto;
}
.code-block code {
    color: #e2e8f0;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
}
.code-block .comment { color: #64748b; }
.code-block .keyword { color: #60a5fa; }
.code-block .string { color: #34d399; }

@media (max-width: 768px) {
    .page-hero h1 { font-size: 1.8rem; }
    .card-grid { grid-template-columns: 1fr; }
}
