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

:root {
    --white: #ffffff;
    --grey-light: #F5F6F8;
    --grey-border: #E8EAF0;
    --grey-text: #6B7280;
    --grey-dim: #9CA3AF;
    --black: #0D1117;
    --black-soft: #1F2937;

    --blue: #1D6FEB;
    --blue-dim: #1558C9;
    --blue-glow: rgba(29, 111, 235, 0.18);
    --orange: #F97316;
    --orange-dim: #EA6A0A;
    --orange-glow: rgba(249, 115, 22, 0.18);

    --border: #E8EAF0;
    --border-strong: #D1D9E6;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 28px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-brand .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}
.nav-links a {
    color: var(--grey-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-links a:hover {
    color: var(--black);
    background: var(--grey-light);
}
.nav-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem;
}
.nav-collapse {
    display: flex;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 1rem;
    text-align: center;
    background: var(--white);
   
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(29,111,235,0.1) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 460px;
    background: radial-gradient(ellipse, rgba(249,115,22,0.07) 0%, rgba(29,111,235,0.06) 50%, transparent 75%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.25);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.7s ease both;
}
.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.7); }
}
h1 {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--black);
    animation: fadeUp 0.7s 0.1s ease both;
}
h1 .gradient-text {
    background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    margin: 1.5rem auto 0;
    max-width: 600px;
    font-size: 1.05rem;
    color: var(--grey-text);
    line-height: 1.7;
    font-weight: 400;
    animation: fadeUp 0.7s 0.2s ease both;
}

/* ─── PORTAL INPUT ─── */
.portal-wrap {
    margin: 2.75rem auto 0;
    max-width: 680px;
    animation: fadeUp 0.7s 0.3s ease both;
}
.portal {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.portal:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-glow), var(--shadow-md);
}
.portal-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}
.portal-input {
    flex: 1;
    background: var(--grey-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
}
.portal-input::placeholder { color: var(--grey-dim); }
.portal-input:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--blue-glow);
}
.btn-download {
    background: linear-gradient(135deg, var(--orange) 0%, var(--blue) 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.6rem;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.btn-download:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(249,115,22,0.38);
}
.btn-download:active { transform: translateY(0); }
.portal-hints {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.portal-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--grey-dim);
    font-weight: 500;
}
.portal-hint i { color: var(--blue); font-size: 0.7rem; }
.loader-bar {
    display: none;
    height: 3px;
    background: var(--grey-border);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}
.loader-bar.active { display: block; }
.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    border-radius: 3px;
    animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar {
    0% { width: 0%; }
    60% { width: 75%; }
    100% { width: 100%; }
}

/* ─── TRUST STRIP ─── */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem;
    background: var(--grey-light);
}
.trust-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--grey-text);
    font-weight: 500;
}
.trust-item i { color: var(--orange); font-size: 0.95rem; }

/* ─── SECTION COMMONS ─── */
section { padding: 1rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-body {
    color: var(--grey-text);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
}

/* ─── HOW IT WORKS ─── */
.steps-section { background: var(--grey-light); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 1px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    opacity: 0.25;
    pointer-events: none;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.step-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-num {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--blue);
    background: var(--blue-glow);
    border: 1px solid rgba(29,111,235,0.25);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.step-card h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.step-card p { color: var(--grey-text); font-size: 0.9rem; line-height: 1.6; }

/* ─── FEATURES ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(29,111,235,0.08));
    border: 1px solid rgba(249,115,22,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--orange);
    margin-bottom: 1.25rem;
    transition: transform 0.2s, color 0.2s;
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); color: var(--blue); }
.feature-card h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.feature-card p { color: var(--grey-text); font-size: 0.875rem; line-height: 1.6; }

/* ─── WHAT IS ─── */
.what-section { background: var(--grey-light); }
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
}
.what-checks {
    list-style: none;
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.what-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--grey-text);
    line-height: 1.5;
}
.what-checks li i { color: var(--blue); margin-top: 2px; font-size: 0.85rem; flex-shrink: 0; }
.ai-card {
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}
.ai-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}
.ai-badge {
    background: linear-gradient(135deg, var(--orange), var(--blue));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
}
.ai-card p { color: var(--grey-text); font-size: 0.92rem; line-height: 1.7; }

/* ─── TABLES ─── */
.tables-section { background: var(--white); }
.tables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.table-card-header {
    background: var(--grey-light);
    padding: 1rem 1.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--black);
    border-bottom: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; }
thead tr { background: rgba(29,111,235,0.04); }
th {
    padding: 0.75rem 1.25rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-dim);
    border-bottom: 1px solid var(--border);
}
td {
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: var(--grey-text);
    border-bottom: 1px solid var(--grey-border);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(29,111,235,0.03); color: var(--black); }
td strong { color: var(--black-soft); font-weight: 600; }
.badge-format {
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.25);
    color: var(--orange-dim);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-family: 'Sora', sans-serif;
}

/* ─── PRACTICES ─── */
.practices-section { background: var(--grey-light); }
.practices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.practice-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.practice-card h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.practice-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.practice-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--grey-text);
    line-height: 1.5;
}
.practice-list li i { margin-top: 2px; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq-section { background: var(--white); }
.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--blue); }
.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s;
}
.faq-btn:hover { color: var(--blue); }
.faq-btn .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--orange);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(249,115,22,0.08);
    border-color: rgba(249,115,22,0.35);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-body { max-height: 200px; }
.faq-body p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--grey-text);
    line-height: 1.7;
}

/* ─── RELATED TOOLS ─── */
.related-section {
    background: var(--grey-light);
    padding: 3.5rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.related-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.related-inner p { color: var(--grey-text); margin: 0.5rem 0 2rem; font-size: 0.95rem; }
.related-pills {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.pill-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    color: var(--grey-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.pill-btn i { color: var(--orange); }
.pill-btn:hover {
    border-color: var(--orange);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ─── FOOTER ─── */
footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 2rem 2rem;
    color: #fff;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.75rem;
}
.footer-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    text-decoration: none;
}
.footer-desc { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-top: 0.4rem; }
.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; text-align: center; }



/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; gap: 0; }
    .nav-collapse.open { display: flex; }
    .nav-toggler { display: block; }
    .nav-inner { flex-wrap: wrap; height: auto; padding: 0.75rem 1.5rem; gap: 0.5rem; }
    .nav-links li a { display: block; padding: 0.65rem 0.75rem; }

    .hero { padding: 4.5rem 1.25rem 4rem; }
    .portal-row { flex-direction: column; }
    .btn-download { justify-content: center; }

    .steps-grid, .features-grid, .what-grid, .tables-grid, .practices-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid::before { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; gap: 1rem; }

    section { padding: 3.5rem 1.25rem; }
}

/**waseem */
#resultArea .card{
    max-width:1100px;
    margin:60px auto;
    border:none!important;
    border-radius:24px!important;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.08)!important;
}

#resultArea .card-body{
    padding:30px!important;
}

#resultArea img{
    width:100%;
    border-radius:18px;
    display:block;
}

#resultArea h3{
    font-size:1.8rem;
    font-weight:700;
    line-height:1.4;
    margin-bottom:20px;
}

#resultArea .btn{
    border:none;
    border-radius:14px;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

#resultArea .btn-success{
    background:linear-gradient(135deg,#ff7a18,#ff9a44);
}

#resultArea .btn-warning{
    background:linear-gradient(135deg,#4f46e5,#6366f1);
    color:#fff;
}

#resultArea .row.mt-4{
    margin-top:30px!important;
}

@media(max-width:768px){

    #resultArea .card{
        margin:30px 15px;
    }

}