/* ===================================================
   BizRadar Pro - Business Diagnostic & Audit Tool
   Design System & Styling
   Dual Language: Arabic (RTL) & English (LTR)
   Freemium SaaS Model ($9.99/mo Pro Upgrade)
   Channel-Specific & Multi-Channel Scanner
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.25);
    
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.25);

    --pro-gold: #fbbf24;
    --pro-purple: #8b5cf6;
    
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --info: #06b6d4;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-subtle: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.08);
    
    --font-ar: 'Cairo', system-ui, sans-serif;
    --font-en: 'Plus Jakarta Sans', system-ui, sans-serif;
}

[data-theme="dark"] {
    --bg-main: #060913;
    --bg-card: #0f172a;
    --bg-card-subtle: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --primary-glow: rgba(99, 102, 241, 0.35);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: var(--font-en);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* TOP DOMAIN / SAAS BANNER */
.top-subdomain-bar {
    background: linear-gradient(90deg, #1e1b4b, #312e81, #1e1b4b);
    color: #e0e7ff;
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.top-subdomain-bar a {
    color: var(--pro-gold);
    text-decoration: underline;
    font-weight: 700;
}

/* NAVBAR */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #9333ea);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--primary-light);
}

.brand-tag {
    font-size: 0.72rem;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-weight: 800;
    display: inline-block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch-btn {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.lang-switch-btn:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

.btn-pro-nav {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    transition: all 0.2s;
}

.btn-pro-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.4);
}

.btn-icon {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

/* HERO SECTION */
.hero-scanner {
    padding: 3rem 0 2rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.09) 0%, transparent 65%);
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-light), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* CHANNEL SELECTOR PILLS TABS */
.channel-selector-area {
    margin: 0 auto 2.5rem;
    max-width: 980px;
}

.channel-selector-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.channel-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.channel-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.55rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}

.channel-pill:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.channel-pill.active {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.channel-pill.active i {
    color: white !important;
}

/* SCANNER CARD */
.scanner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.scanner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #f59e0b);
}

.active-channel-banner {
    background: rgba(99, 102, 241, 0.08);
    border: 1px dashed rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-light);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: right;
    transition: all 0.3s;
}

body[dir="ltr"] .form-group {
    text-align: left;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group.highlighted {
    border-radius: 14px;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.form-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-label span.req {
    color: var(--danger);
}

.form-label span.opt {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 1.1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

body[dir="ltr"] .input-icon {
    right: auto;
    left: 1.1rem;
}

.form-input, .form-select {
    width: 100%;
    height: 52px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0 1rem;
    padding-right: 3rem;
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--text-main);
    transition: all 0.2s;
    outline: none;
}

body[dir="ltr"] .form-input, body[dir="ltr"] .form-select {
    padding-right: 1rem;
    padding-left: 3rem;
}

.form-input:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: var(--bg-card);
}

/* Submit Button */
.btn-scan {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 1.05rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.75rem;
    box-shadow: 0 8px 20px var(--primary-glow);
    transition: all 0.3s;
}

.btn-scan:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
    background: linear-gradient(135deg, #4338ca, #6d28d9);
}

/* SCANNING PROGRESS ANIMATION */
.scan-progress-box {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.radar-spinner {
    width: 70px;
    height: 70px;
    border: 4px solid var(--bg-card-subtle);
    border-top: 4px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scan-status-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.scan-status-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: var(--bg-card-subtle);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #f59e0b);
    transition: width 0.4s ease;
}

.scan-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 580px;
    margin: 1.5rem auto 0;
    text-align: right;
}

body[dir="ltr"] .scan-steps-list {
    text-align: left;
}

.scan-step-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.scan-step-item.active {
    color: var(--primary-light);
    font-weight: 700;
}

.scan-step-item.done {
    color: var(--success);
}

/* AUDIT REPORT SECTION */
.audit-report {
    display: none;
    margin-bottom: 4rem;
}

/* Action Bar */
.report-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 1.25rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.report-title-area h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

.report-title-area p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.report-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-report {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-pdf {
    background: #dc2626;
    color: white;
}

.btn-pdf:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.btn-unlock-pro,
.btn-pro-action {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-unlock-pro:hover,
.btn-pro-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.btn-whatsapp-pitch {
    background: #25D366;
    color: white;
}

.btn-whatsapp-pitch:hover {
    background: #1eb956;
    transform: translateY(-1px);
}

.btn-copy-pitch {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-copy-pitch:hover {
    background: var(--border-color);
}

/* OVERALL SCORE BANNER */
.overall-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.score-gauge-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
}

.score-circle svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.score-circle circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
}

.circle-bg {
    stroke: var(--bg-card-subtle);
}

.circle-bar {
    stroke: var(--primary-light);
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.5s ease-out, stroke 0.5s ease;
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
}

.score-number span {
    font-size: 1rem;
    color: var(--text-muted);
}

.score-badge {
    margin-top: 0.75rem;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
}

.score-summary-content h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.score-summary-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.key-stats-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.stat-pill {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-pill strong {
    color: var(--text-main);
}

/* DYNAMIC AUDIT CHANNELS GRID */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pillar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.pillar-score-badge {
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
}

.pillar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.pillar-bar-wrap {
    height: 6px;
    background: var(--bg-card-subtle);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.pillar-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.pillar-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pillar-check-item {
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.pillar-check-item i {
    margin-top: 0.2rem;
}

/* SECTION CARDS */
.section-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.section-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.live-verify-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.verify-link-btn,
.btn-verify-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.verify-link-btn:hover,
.btn-verify-link:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.verify-link-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-card-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verify-link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.verify-link-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
}

.verify-link-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.verify-link-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Strengths & Gaps Split Grid */
.audit-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.audit-column {
    background: var(--bg-card-subtle);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.audit-column-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.column-strengths .audit-column-title {
    color: var(--success);
}

.column-gaps .audit-column-title {
    color: var(--danger);
}

.audit-item-box {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-right: 4px solid var(--success);
    box-shadow: var(--shadow-sm);
}

body[dir="ltr"] .audit-item-box {
    border-right: none;
    border-left: 4px solid var(--success);
}

.column-gaps .audit-item-box {
    border-right-color: var(--danger);
}

body[dir="ltr"] .column-gaps .audit-item-box {
    border-left-color: var(--danger);
}

.audit-item-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.audit-item-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===================================================
   LOCKED PRO SECTIONS (FREEMIUM 9.99$/MO GATEWAY)
   =================================================== */
.pro-locked-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 2rem;
    max-height: 500px;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-locked-container.unlocked {
    max-height: none;
    overflow: visible;
}

.pro-locked-blur {
    filter: blur(5px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.pro-unlock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.96) 100%);
    backdrop-filter: blur(6px);
    z-index: 10;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pro-lock-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.pro-unlock-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.pro-unlock-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    max-width: 580px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.btn-cta-upgrade {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.85rem 2.2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: inherit;
}

.btn-cta-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.55);
}

.pro-price-tag {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: #fbbf24;
    font-weight: 700;
}

/* 30-Day Execution Roadmap Steps */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.roadmap-card {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
    position: relative;
}

.roadmap-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.badge-phase1 { background: #fee2e2; color: #b91c1c; }
.badge-phase2 { background: #fef3c7; color: #b45309; }
.badge-phase3 { background: #dcfce7; color: #15803d; }

.roadmap-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.roadmap-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roadmap-card li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.roadmap-card li i {
    color: var(--primary-light);
    margin-top: 0.2rem;
    font-size: 0.8rem;
}

/* VIRAL POTENTIAL & CONTENT HOOKS (COMPETITIVE EDGE) */
.viral-meter-wrap {
    background: var(--bg-card-subtle);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.viral-meter-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.viral-meter-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.viral-gauge-badge {
    font-size: 1.4rem;
    font-weight: 900;
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

/* WHATSAPP SALES PITCH BOX */
.pitch-box {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(79, 70, 229, 0.05));
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.pitch-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pitch-box-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pitch-textarea {
    width: 100%;
    height: 150px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.6;
    resize: vertical;
}

/* ===================================================
   UPGRADE MODAL ($9.99/MO PRO PLAN)
   =================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-pro-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--bg-card-subtle);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

body[dir="ltr"] .modal-close-btn {
    left: auto;
    right: 1.25rem;
}

.modal-close-btn:hover {
    background: var(--border-color);
    color: var(--danger);
}

.modal-pro-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-pro-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.modal-pro-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.modal-pro-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pro-features-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.pro-features-checklist li {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pro-features-checklist li i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.pro-pricing-banner {
    background: var(--bg-card-subtle);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.pro-pricing-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
}

.pro-pricing-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-pro-checkout {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 1rem 2rem;
    width: 100%;
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
}

.btn-pro-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .roadmap-timeline {
        grid-template-columns: 1fr;
    }
    .overall-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .key-stats-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .audit-split-grid {
        grid-template-columns: 1fr;
    }
    .scanner-card {
        padding: 1.5rem;
    }
    .report-action-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal-pro-box {
        padding: 1.75rem 1.25rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   GOOGLE ADSENSE SLOTS & AD-FREE PRO MODE
   =================================================== */
.adsense-slot-wrap {
    margin: 2rem auto;
    text-align: center;
    width: 100%;
}

.adsense-slot-box {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    position: relative;
    max-width: 970px;
    margin: 0 auto;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s;
}

.adsense-slot-box:hover {
    border-color: var(--primary-light);
}

.adsense-badge {
    position: absolute;
    top: 6px;
    left: 12px;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-card-subtle);
    padding: 2px 8px;
    border-radius: 4px;
}

body[dir="rtl"] .adsense-badge {
    left: auto;
    right: 12px;
}

.adsense-placeholder-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.adsense-placeholder-inner i {
    font-size: 1.4rem;
    color: var(--accent);
}

/* Hide Ads for Pro Subscribers */
body.pro-unlocked .adsense-slot-wrap {
    display: none !important;
}

/* ===================================================
   EDUCATIONAL / FAQ SECTION (ADSENSE COMPLIANCE)
   =================================================== */
.faq-section {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

.faq-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.faq-header h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.faq-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}

.faq-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-card h4 i {
    color: var(--primary);
}

.faq-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================
   FOOTER LEGAL NAVIGATION
   =================================================== */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}

.footer-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ===================================================
   LEGAL MODAL (PRIVACY POLICY, TERMS, CONTACT)
   =================================================== */
.legal-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.legal-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.legal-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.legal-tab-btn.active {
    background: var(--bg-card-subtle);
    color: var(--primary);
}

.legal-content-body {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-main);
}

.legal-content-body h4 {
    margin: 1.2rem 0 0.4rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.legal-content-body p {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.legal-content-body ul {
    margin: 0.5rem 1.5rem 1rem;
    color: var(--text-muted);
}

.legal-content-body li {
    margin-bottom: 0.3rem;
}
