@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
    direction: rtl;
    text-align: right;
    background: #0a0a1a;
    color: #e0e0e0;
    line-height: 2.2;
    font-size: 17px;
}

a { text-decoration: none; }

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #1a0a2e, #16213e);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 165, 0, 0.4);
    border-bottom: 2px solid #ffa500;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo img {
    height: 55px;
    width: auto;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #ffd700;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

nav ul li a:hover {
    color: #000;
    background: #ffd700;
    border-color: #ffd700;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(160deg, #0d0d2b 0%, #1a0a2e 50%, #0d1a2e 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,165,0,0.15) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4em;
    color: #ffd700;
    margin-bottom: 18px;
    text-shadow: 0 0 30px rgba(255,215,0,0.6);
    line-height: 1.6;
}

.hero p {
    font-size: 1.15em;
    color: #ccc;
    margin-bottom: 35px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    padding: 18px 55px;
    border-radius: 50px;
    font-size: 1.25em;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 35px rgba(255,140,0,0.6);
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
    font-family: 'Noto Nastaliq Urdu', serif;
}

@keyframes pulse {
    0%   { transform: scale(1);    box-shadow: 0 5px 35px rgba(255,140,0,0.6); }
    50%  { transform: scale(1.06); box-shadow: 0 5px 50px rgba(255,140,0,0.9); }
    100% { transform: scale(1);    box-shadow: 0 5px 35px rgba(255,140,0,0.6); }
}

.download-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, #ff8c00, #ff6600);
}

.download-btn-sm {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1.05em;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 3px 20px rgba(255,140,0,0.5);
    margin: 15px 0;
    font-family: 'Noto Nastaliq Urdu', serif;
}

.download-btn-sm:hover {
    transform: scale(1.05);
}

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

/* ===== SECTIONS ===== */
section {
    padding: 55px 0;
}

section h2 {
    font-size: 1.9em;
    color: #ffd700;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    margin: 12px auto 0;
    border-radius: 2px;
}

section p {
    font-size: 1.05em;
    line-height: 2.4;
    color: #ccc;
    margin-bottom: 15px;
}

section h3 {
    font-size: 1.35em;
    color: #ffa500;
    margin: 22px 0 10px;
}

.section-dark  { background: #0d0d20; }
.section-light { background: #111125; }

/* ===== TABLE ===== */
.features-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.features-table th {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    padding: 14px 18px;
    font-size: 1.05em;
    font-weight: 700;
}

.features-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #1e1e35;
    color: #ccc;
    background: #131328;
}

.features-table tr:nth-child(even) td { background: #1a1a30; }
.features-table tr:hover td { background: #20203a; }

/* ===== SCREENSHOTS ===== */
.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.screenshots img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #ffa500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshots img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255,165,0,0.4);
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin: 30px 0;
}

.article-card {
    background: #131328;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #1e1e3a;
    transition: all 0.3s;
    display: block;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: #ffa500;
    box-shadow: 0 10px 30px rgba(255,165,0,0.2);
}

.article-card h3 {
    color: #ffd700;
    font-size: 1.15em;
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-card p {
    color: #999;
    font-size: 0.93em;
    margin: 0;
    line-height: 2;
}

.article-card .read-more {
    display: inline-block;
    margin-top: 14px;
    color: #ffa500;
    font-size: 0.9em;
    border-bottom: 1px solid #ffa500;
}

/* ===== STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-box {
    background: #131328;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #1e1e3a;
    transition: border-color 0.3s;
}

.step-box:hover { border-color: #ffa500; }

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-family: 'Noto Nastaliq Urdu', serif;
}

.step-box h3 {
    color: #ffd700;
    font-size: 1em;
    margin-bottom: 8px;
}

.step-box p {
    color: #999;
    font-size: 0.9em;
    margin: 0;
}

/* ===== FAQ ===== */
.faq-item {
    background: #131328;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 14px;
    border-right: 4px solid #ffa500;
}

.faq-item h3 {
    color: #ffd700;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.faq-item p { color: #bbb; margin: 0; }

/* ===== DOWNLOAD CTA ===== */
.download-cta {
    background: linear-gradient(135deg, #150a25, #0d0d2b);
    text-align: center;
    padding: 80px 20px;
    border-top: 2px solid #ffa500;
    border-bottom: 2px solid #ffa500;
}

.download-cta h2 { color: #ffd700; font-size: 2em; margin-bottom: 15px; }
.download-cta p  { color: #ccc; max-width: 600px; margin: 0 auto 30px; }

/* ===== FOOTER ===== */
footer {
    background: #07070f;
    padding: 50px 0 20px;
    border-top: 2px solid #1a1a3e;
}

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

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid #2a2a4e;
    padding-bottom: 8px;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a { color: #888; transition: color 0.3s; }
.footer-section ul li a:hover { color: #ffa500; }
.footer-section p { color: #777; font-size: 0.92em; line-height: 2; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a1a3e;
    padding-top: 20px;
    color: #555;
    font-size: 0.88em;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #0d0d20;
    padding: 10px 20px;
    font-size: 0.88em;
    border-bottom: 1px solid #1a1a35;
}

.breadcrumb a { color: #ffa500; }
.breadcrumb span { color: #444; margin: 0 8px; }
.breadcrumb .current { color: #888; }

/* ===== ARTICLE PAGE ===== */
.article-header {
    background: linear-gradient(135deg, #1a0a2e, #0d0d2b);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 2px solid #ffa500;
}

.article-header h1 {
    font-size: 1.9em;
    color: #ffd700;
    max-width: 850px;
    margin: 0 auto 15px;
    line-height: 1.7;
}

.article-header .meta {
    color: #888;
    font-size: 0.9em;
}

.article-body {
    max-width: 920px;
    margin: 0 auto;
    padding: 45px 20px;
}

.article-body h2 {
    font-size: 1.55em;
    color: #ffa500;
    margin: 35px 0 15px;
    text-align: right;
    border-right: 4px solid #ffa500;
    padding-right: 12px;
}

.article-body h2::after { display: none; }

.article-body h3 {
    font-size: 1.25em;
    color: #ffd700;
    margin: 22px 0 10px;
}

.article-body p {
    font-size: 1.05em;
    line-height: 2.5;
    color: #ccc;
    margin-bottom: 16px;
}

.article-body ul, .article-body ol {
    padding-right: 25px;
    margin-bottom: 16px;
}

.article-body li {
    color: #ccc;
    margin-bottom: 8px;
    line-height: 2.2;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
}

.article-body table th {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
    padding: 12px 15px;
}

.article-body table td {
    padding: 11px 15px;
    border-bottom: 1px solid #1e1e35;
    color: #ccc;
    background: #131328;
}

.article-body table tr:nth-child(even) td { background: #1a1a30; }

/* ===== STATIC PAGES ===== */
.page-header {
    background: linear-gradient(135deg, #1a0a2e, #0d0d2b);
    padding: 55px 20px;
    text-align: center;
    border-bottom: 2px solid #ffa500;
}

.page-header h1 {
    font-size: 2em;
    color: #ffd700;
}

.page-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 20px;
}

.page-body h2 {
    font-size: 1.45em;
    color: #ffa500;
    margin: 28px 0 12px;
    border-right: 4px solid #ffa500;
    padding-right: 12px;
}

.page-body p  { color: #ccc; line-height: 2.4; margin-bottom: 14px; }
.page-body ul { padding-right: 22px; margin-bottom: 14px; }
.page-body li { color: #ccc; line-height: 2.2; margin-bottom: 6px; }

/* ===== INFO BOX ===== */
.info-box {
    background: #131328;
    border: 1px solid #ffa500;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.info-box p { margin: 0; color: #ccc; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { font-size: 15px; }
    .hero h1  { font-size: 1.7em; }
    .hero { padding: 55px 15px; }
    .download-btn { padding: 14px 35px; font-size: 1.1em; }
    section h2 { font-size: 1.55em; }
    .header-inner { justify-content: center; }
    nav ul { justify-content: center; }
    .article-header h1 { font-size: 1.5em; }
    .article-body h2 { font-size: 1.3em; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.4em; }
    .download-btn { padding: 12px 28px; font-size: 1em; }
}
