/* ============================================================
   MAQE SaaS – V4 ULTRA UI (GLOBAL STYLE)
   Clean • Modern • SaaS-Level • Animated
   ============================================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4c6ef5;
    --primary-dark: #364fc7;
    --gradient: linear-gradient(135deg, #4c6ef5, #7950f2);
    --bg: #f5f6fa;
    --card: #ffffffaa;
    --shadow: 0 8px 25px rgba(0,0,0,0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: var(--bg);
    color: #222;
    overflow-x: hidden;
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */

.navbar {
    width: 100%;
    height: 70px;
    background: var(--gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    color: white;
    box-shadow: var(--shadow);
}

.navbar h2 {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-links a {
    margin-left: 22px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.navbar-links a:hover {
    opacity: 0.8;
}

/* ============================================================
   DASHBOARD V4
   ============================================================ */

.dashboard-container {
    width: 100%;
    padding: 40px 50px;
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
}

.dashboard-header h1 {
    font-size: 28px;
    font-weight: 700;
}

.dashboard-header p {
    color: #666;
}

.badge-plan {
    padding: 10px 18px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
}

/* KPI CARDS */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.kpi-card {
    background: var(--card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    transform: translateY(12px);
    opacity: 0;
    animation: fadeUp 0.6s forwards;
}

.kpi-title {
    font-size: 16px;
    color: #666;
}

.kpi-value {
    font-size: 32px;
    margin-top: 8px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* CSR TABLE */
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.history-table th {
    background: var(--primary);
    color: white;
    padding: 12px;
}

.history-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

/* ============================================================
   RESULTS PAGE – TABS + CARDS + ANIMATION
   ============================================================ */

.tabs-container {
    display: flex;
    gap: 12px;
    margin: 25px 0;
}

.tab-btn {
    padding: 10px 20px;
    background: #e9ecef;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.tab-btn.active {
    background: var(--gradient);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.35s ease;
}

.tab-content.active {
    display: block;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ============================================================
   CHARTS GALLERY + ANIMATIONS
   ============================================================ */

.chart-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.chart-box {
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.8s forwards;
}

.chart-box img {
    width: 100%;
    border-radius: 10px;
}

/* ============================================================
   PRICING V4 ULTRA
   ============================================================ */

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 40px;
}

.plan-card {
    width: 300px;
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    transition: 0.3s ease;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-price {
    font-size: 38px;
    font-weight: 700;
    margin: 12px 0;
}

/* BUTTONS */
.btn {
    padding: 12px 20px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    opacity: 0.85;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; } 
    to { opacity: 1; }
}
/* ========================================= */
/* RESULTS PAGE – MAQE V4 */
/* ========================================= */

.results-container {
    animation: fadeIn 0.4s ease-out;
    padding: 25px;
}

.results-header h1 {
    margin-bottom: 8px;
    font-size: 28px;
}

.results-header p {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
}

/* ----------- TABS ----------- */

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-button {
    padding: 10px 18px;
    background: #f3f4f6;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.tab-button:hover {
    background: #e5e7eb;
}

.tab-button.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* ----------- TAB CONTENT ----------- */

.tab-content {
    display: none;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    animation: fadeIn 0.35s ease-out;
}

.tab-content h2 {
    margin-bottom: 18px;
}

/* ----------- JSON BOX ----------- */

.json-box {
    background: #111827;
    color: #d1d5db;
    padding: 15px;
    border-radius: 8px;
    white-space: pre-wrap;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid #333;
    max-height: 500px;
    overflow-y: auto;
}

/* ----------- DOWNLOAD BUTTONS ----------- */

.download-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.download-buttons .btn {
    background: #2563eb;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.download-buttons .btn:hover {
    background: #1d4ed8;
}

/* ----------- CHART GALLERY ----------- */

.chart-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.chart-card {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: 0.3s ease;
}

.chart-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.chart-card img {
    width: 100%;
    border-radius: 6px;
}

/* ----------- SINGLE CHART ----------- */

.single-chart {
    width: 95%;
    max-width: 900px;
    display: block;
    margin: auto;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ----------- FADE ANIMATION ----------- */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
/* PRICING V4 */

.pricing-container {
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

.pricing-title {
    font-size: 34px;
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: #6b7280;
    margin-bottom: 35px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.price-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.12);
}

.price-card h2 {
    margin-bottom: 10px;
}

.price {
    font-size: 32px;
    margin: 10px 0 20px;
    font-weight: bold;
}

.plan-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 18px;
}

.plan-list {
    text-align: left;
    margin-bottom: 20px;
    color: #374151;
}

.btn-plan {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.pro-btn { background: #059669 !important; }
.elite-btn { background: #8b5cf6 !important; }
/* LANDING PAGE V4 */

.hero {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 0.6s ease-out;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #6b7280;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-secondary {
    background: white;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 10px 22px;
    border-radius: 8px;
}

.features-section {
    padding: 40px;
    text-align: center;
}

.features-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: #f3f4f6;
    margin-top: 30px;
}

.cta-section .big {
    padding: 12px 28px;
    margin-top: 20px;
}
/* ---------------------------------- */
/*            MAQE FOOTER             */
/* ---------------------------------- */

.maqe-footer {
    background: #0f172a;
    color: #d1d5db;
    padding: 50px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 6px;
}

.footer-social {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-icon img {
    width: 36px;
    transition: 0.3s ease;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

.footer-icon:hover img {
    transform: scale(1.18);
    filter: drop-shadow(0 0 12px #60a5fa);
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    margin: 0 12px;
    color: #cbd5e1;
    font-size: 14px;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(96,165,250,0.5);
}

.footer-copy {
    margin-top: 30px;
    font-size: 13px;
    color: #64748b;
}

/* Glow animation under icons */
.footer-icon:hover {
    animation: glow 0.5s ease forwards;
}

@keyframes glow {
    from { transform: translateY(0); }
    to   { transform: translateY(-4px); }
}
/* =====================================
   MAQE Footer – Pro Layout + Hover FX
   ===================================== */

.maqe-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 32px 24px 20px;
    margin-top: 48px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.maqe-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.footer-tagline {
    font-size: 13px;
    color: #9ca3af;
}

.footer-middle {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-icon img {
    width: 30px;
    height: 30px;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

/* Hover glow + lift */
.footer-icon:hover img {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.9));
}

.footer-right a {
    font-size: 13px;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 2px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-right a:hover {
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.7);
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 10px;
}

/* Mobile layout */
@media (max-width: 768px) {
    .maqe-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        align-items: center;
    }
}
.footer-icon {
    width: 32px;
    height: 32px;
    margin: 0 10px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    cursor: pointer;
}

.footer-icon:hover {
    transform: scale(1.15);
    opacity: 0.85;
}
.footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    margin: 0 12px;
    opacity: 0.85;
    transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

/* Hover Effect */
.footer-icon:hover {
    transform: scale(1.18);
    opacity: 1;
    filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.7));
}
.footer-contact {
    text-align: center;
    margin-bottom: 12px;
}

.contact-btn {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: white;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 500;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
}
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff10;
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    text-align: center;
}

.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
}

.contact-container button {
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-container button:hover {
    transform: scale(1.05);
}
/* Whitepaper Page */
.wp-container {
    width: 85%;
    margin: 50px auto;
    color: #e5e7eb;
    font-family: 'Inter', sans-serif;
}

.wp-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.wp-subtitle {
    font-size: 16px;
    text-align: center;
    opacity: 0.7;
    margin-bottom: 40px;
}

.wp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.wp-card {
    background: #11151c;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222831;
    transition: 0.25s ease;
}

.wp-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59,130,246,0.2);
}

.wp-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.wp-card p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.wp-btn {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.wp-btn:hover {
    background: #60a5fa;
    transform: scale(1.05);
}
.trust-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.trust-link:hover {
    color: #93c5fd;
}
/* Force dropdown to anchor to the right so it never leaves the screen */
.mega-menu {
    right: 0;
    left: auto;
}

/* ========================================= */
/* MEGA DROPDOWN MENU - MAQE Cloud           */
/* ========================================= */

.mega-dropdown {
    position: relative;
    display: inline-block;
}

.mega-btn {
    cursor: pointer;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
}

.mega-btn:hover {
    color: #a5d8ff; /* Light blue hover */
}

/* Mega Menu Panel */
.mega-menu {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 760px;
    padding: 25px 30px;

    background: rgba(31, 41, 55, 0.96); /* Dark glossy */
    backdrop-filter: blur(8px);
    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);

    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 50;
}

/* Show menu on hover */
.mega-dropdown:hover .mega-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Each section inside menu */
.mega-section {
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin-right: 20px;
}

.mega-section h4 {
    color: #f9fafb;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Links */
.mega-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: 0.20s ease;
}

.mega-section a:hover {
    color: #60a5fa;
    padding-left: 3px;
}

/* Reduce spacing on small screens */
@media (max-width: 900px) {
    .mega-menu {
        width: 95vw;
        left: -30px;
    }
    .mega-section {
        width: 45%;
        margin-bottom: 20px;
    }
}

/* Extremely small screens */
@media (max-width: 600px) {
    .mega-section {
        width: 100%;
    }
}
.mega-dropdown .mega-menu {
    left: auto !important;
    right: 0 !important;
}
/* ============================== */
/* MAQE FOOTER — PRO VERSION      */
/* ============================== */

.maqe-footer {
    background: #0f172a; /* Dark navy */
    color: #fff;
    padding: 50px 20px;
    margin-top: 120px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(5, 1fr);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 8px;
}

.footer-title {
    font-size: 20px;
}

.footer-sub {
    color: #e5e7eb;
    font-size: 14px;
}

.footer-logos img {
    width: 40px;
    margin: 6px;
    opacity: 0.85;
}

.footer-logos img:hover {
    opacity: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 6px 0;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-social img {
    width: 30px;
    margin-right: 6px;
    opacity: 0.85;
}

.footer-social img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 35px;
    font-size: 14px;
    color: #9ca3af;
}

.legal-note {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}
/* Fix hover gap between button and menu */
.mega-dropdown:hover .mega-menu,
.mega-dropdown .mega-menu:hover {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto;
}

/* Create invisible hover extension */
.mega-dropdown {
    padding-bottom: 20px;  /* gives room so menu doesn’t collapse */
}

.mega-menu {
    margin-top: 10px; /* reduce vertical gap */
    pointer-events: auto;
}
/* FAQ Page */
.faq-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.faq-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: #f3f3f3;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #e9e9e9;
}

.faq-question.active {
    background: #d9d9ff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    padding: 0 18px;
    border-left: 3px solid #6a5acd;
    border-radius: 0 0 10px 10px;
    transition: max-height 0.3s ease;
}
/* Security Page */
.security-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
}

.security-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
}

.security-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.security-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.security-card h3 {
    margin-bottom: 10px;
}

.security-btn {
    background: #6a5acd;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.security-btn:hover {
    opacity: 0.8;
}

.security-btn.disabled {
    background: #bbb;
    cursor: not-allowed;
}
/* Sessions Page */
.sessions-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
}

.sessions-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
}

.sessions-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}

.session-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.session-logout {
    background: #ff5757;
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}
/* Report Issue Page */
.report-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 20px;
}

.report-box {
    width: 100%;
    height: 160px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.report-btn {
    margin-top: 15px;
    background: #6a5acd;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
/* TRUST CENTER */

.trust-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.trust-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

.trust-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

/* GRID */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.trust-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.trust-card h2 {
    margin-bottom: 10px;
}

.trust-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.trust-card ul li a {
    text-decoration: none;
    color: #6a5acd;
}

.trust-card ul li {
    margin: 6px 0;
}

/* DETAILS */
.trust-details h2 {
    margin-top: 50px;
    font-size: 30px;
    font-weight: 700;
}

.trust-details h3 {
    margin-top: 20px;
    font-size: 22px;
    color: #444;
}

.trust-details p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #444;
}
/* SYSTEM ARCHITECTURE */

.arch-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

.arch-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.arch-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.arch-diagram {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.arch-sections h2 {
    margin-top: 35px;
    font-size: 28px;
    color: #333;
}

.arch-sections p {
    margin-top: 10px;
    line-height: 1.7;
    color: #555;
}
.arch-db-box {
    background: #8b5cf6; /* نفس لون الصناديق البنفسجية */
    color: white;
    padding: 18px 26px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    margin: 25px auto;
    width: auto;
    min-width: 320px;         /* لضبط الحجم */
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.logo img {
    height: 42px;
    transition: 0.2s ease;
}

.logo img:hover {
    transform: scale(1.06);
    opacity: 0.95;
}
.logo img, .logo-img {
    display: block !important;
}
