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

/* ---- PREMIUM CONFIGURATION ---- */
:root {
    --primary: #00C853;       
    --primary-dark: #009624;
    --dark: #0a0a0a;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --glass: rgba(255, 255, 255, 0.95);
    --blur: blur(20px);
    --shadow: 0 20px 60px rgba(0, 200, 83, 0.08);
}

/* RESET & BASE */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

a, button, input[type="submit"], input[type="button"], select, .card-link, .btn-ai, .btn-outline, .btn-launch, .cat-card, .chip-btn {
    cursor: pointer;
}

html, body { 
    overflow-x: hidden; 
    width: 100%; 
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
}

/* ---- CUSTOM CURSOR ---- */
.cursor-dot, .cursor-outline {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    transform: translate(-50%, -50%);
    border-radius: 50%; 
    z-index: 9999999 !important; 
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0;
    transition: opacity 0.25s ease, width 0.2s, height 0.2s, background-color 0.2s;
    will-change: transform, left, top;
}
.cursor-dot { 
    width: 8px; 
    height: 8px; 
    background-color: var(--primary); 
}
.cursor-outline {
    width: 40px; 
    height: 40px; 
    border: 1px solid var(--primary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
body.hovering .cursor-outline {
    width: 60px; 
    height: 60px; 
    background-color: rgba(0, 200, 83, 0.1); 
    border-color: transparent;
}
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
}

/* ---- ACTION PLAN MODAL STYLES ---- */
.action-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999990;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.action-modal-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: default;
}
.action-modal-content button, 
.action-modal-content a {
    cursor: pointer !important;
}

/* ---- FLOATING NAVBAR ---- */
header {
    position: fixed; 
    top: 20px; 
    left: 0; 
    right: 0; 
    z-index: 1000;
    display: flex; 
    justify-content: center; 
    padding: 0 20px;
    transition: 0.3s;
}
.nav-capsule {
    background: var(--glass); 
    backdrop-filter: var(--blur);
    padding: 10px 28px; 
    border-radius: 50px;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    width: 100%; 
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border: 1px solid rgba(255,255,255,0.6);
}

/* LOGO */
.logo { 
    font-size: 22px; 
    font-weight: 900; 
    color: var(--dark); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none; 
    white-space: nowrap; 
}
.logo i { 
    color: var(--primary); 
    font-size: 26px; 
} 

.nav-links { 
    display: flex; 
    gap: 16px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}
.nav-links a { 
    text-decoration: none; 
    color: #444; 
    font-weight: 700; 
    font-size: 14px; 
    transition: 0.3s; 
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { 
    color: var(--primary); 
}

/* NAVBAR DROPDOWN MENU */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.dropdown-toggle {
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.dropdown-toggle:hover, 
.dropdown-toggle.active,
.nav-dropdown.open .dropdown-toggle {
    color: var(--primary);
}
.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 8px;
    min-width: 215px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 200, 83, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}

/* Open on hover OR open class from click */
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin: 0;
}
.dropdown-panel a i {
    font-size: 14px;
    color: var(--primary);
    width: 18px;
    text-align: center;
    transition: transform 0.2s ease;
}
.dropdown-panel a:hover {
    background: rgba(0, 200, 83, 0.08);
    color: var(--primary-dark);
    transform: translateX(3px);
}
.dropdown-panel a:hover i {
    transform: scale(1.15);
}
.dropdown-panel a.active {
    background: var(--primary);
    color: white !important;
}
.dropdown-panel a.active i {
    color: white !important;
}

/* MOBILE MENU GROUPS */
.mobile-group {
    width: 100%;
    max-width: 320px;
    margin: 8px 0;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    text-align: center;
}
.mobile-group-label {
    font-size: 12px;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mobile-group-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-group-links a {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 6px 12px;
    border-radius: 10px;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* PREMIUM LAUNCH BUTTON */
.btn-launch {
    background: linear-gradient(135deg, #00C853 0%, #009624 100%);
    color: white !important; 
    padding: 11px 24px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 800; 
    transition: 0.3s; 
    font-size: 13.5px;
    box-shadow: 0 8px 20px rgba(0,200,83,0.3); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    white-space: nowrap;
}
.btn-launch:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 12px 30px rgba(0,200,83,0.4); 
    background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
}

.menu-toggle { 
    display: none; 
    font-size: 26px; 
    cursor: pointer; 
    color: var(--dark); 
    margin-left: 12px; 
    padding: 5px; 
}

/* FIXED MOBILE MENU */
.mobile-menu {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2000; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    transform: translateY(-100%); 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    opacity: 0; 
    visibility: hidden;
    padding: 30px;
    overflow-y: auto;
}
.mobile-menu.active { 
    transform: translateY(0); 
    opacity: 1; 
    visibility: visible; 
}
.mobile-menu a { 
    font-size: 18px; 
    font-weight: 800; 
    color: #111; 
    margin: 8px 0; 
    text-decoration: none; 
    transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active {
    color: var(--primary);
}
.menu-group {
    width: 100%;
    max-width: 360px;
    margin-bottom: 12px;
    text-align: center;
}
.menu-group-title {
    font-size: 10.5px;
    font-weight: 900;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    display: block;
}
.mobile-launch-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.close-menu { 
    position: absolute; 
    top: 25px; 
    right: 25px; 
    font-size: 26px; 
    cursor: pointer; 
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    color: #111;
    transition: 0.2s;
}
.close-menu:hover {
    background: #e0e0e0;
}

/* ---- PAGE HERO & HEADERS ---- */
.hero, .page-header {
    padding: 165px 0 70px !important; 
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #e8f5e9 0%, #ffffff 70%);
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.hero h1, .page-header h1 { 
    font-size: 3.8rem; 
    font-weight: 900; 
    color: #111; 
    letter-spacing: -2px; 
    margin-bottom: 15px; 
}
.hero h1 span, .page-header h1 span { 
    background: linear-gradient(135deg, var(--primary), #009624); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero p, .page-header p { 
    font-size: 1.2rem; 
    color: #555; 
    max-width: 700px; 
    margin: 0 auto 30px; 
}

.hero-btns {
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    flex-wrap: wrap; 
    margin-bottom: 50px;
}

.btn-ai {
    background: #0a0a0a; 
    color: white !important; 
    padding: 16px 36px; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 800; 
    transition: 0.3s; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    font-size: 16px;
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
}
.btn-ai:hover { 
    transform: translateY(-3px); 
    background: var(--primary); 
    box-shadow: 0 15px 40px rgba(0,200,83,0.3); 
}

.btn-outline {
    padding: 16px 36px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 16px;
    border: 2px solid #eee; 
    color: #333 !important; 
    transition: 0.3s; 
    background: white; 
    white-space: nowrap;
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
}
.btn-outline:hover { 
    border-color: var(--primary); 
    color: var(--primary) !important; 
    transform: translateY(-3px); 
}

/* ---- CHAT UI DEMO CARD ---- */
.chat-ui-link { 
    text-decoration: none; 
    display: block; 
    max-width: 750px; 
    margin: 0 auto; 
    color: inherit; 
}
.chat-ui {
    background: white; 
    border-radius: 25px; 
    padding: 30px;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.1); 
    border: 1px solid #f0f0f0; 
    transition: 0.3s;
}
.chat-ui:hover { 
    transform: translateY(-5px); 
    border-color: var(--primary); 
}
.chat-header { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    border-bottom: 1px solid #f5f5f5; 
    padding-bottom: 15px; 
    margin-bottom: 20px; 
}
.bot-img { 
    width: 35px; 
    height: 35px; 
    background: var(--primary); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    flex-shrink: 0; 
}
.msg { 
    padding: 12px 20px; 
    border-radius: 15px; 
    margin-bottom: 12px; 
    font-size: 15px; 
    width: fit-content; 
    max-width: 90%; 
    text-align: left; 
}
.msg-user { 
    background: #111; 
    color: white; 
    margin-left: auto; 
    border-radius: 15px 15px 4px 15px; 
}
.msg-ai { 
    background: #f0fdf4; 
    color: #004d20; 
    border: 1px solid #dcfce7; 
    border-radius: 15px 15px 15px 4px; 
}

/* ---- STATS STRIP ---- */
.stats-strip { 
    background: radial-gradient(circle at center, #111 0%, #000 100%); 
    padding: 100px 0; 
    color: white; 
    margin-top: 100px; 
    border-top: 1px solid #222; 
    border-bottom: 1px solid #222;
}
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    text-align: center; 
    gap: 40px; 
}
.stat-num { 
    font-size: 55px; 
    font-weight: 900; 
    margin-bottom: 10px; 
    color: var(--primary); 
    letter-spacing: -2px; 
}
.stat-label { 
    font-size: 15px; 
    font-weight: 700; 
    color: #aaa; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.stat-badge {
    background: rgba(255,255,255,0.1); 
    padding: 5px 15px; 
    border-radius: 20px;
    font-size: 12px; 
    margin-bottom: 15px; 
    display: inline-block; 
    color: white; 
    border: 1px solid #333;
}

/* ---- BENTO GRID ---- */
.bento-section { 
    padding: 120px 0; 
    background: #fcfcfc; 
}
.section-header { 
    text-align: center; 
    margin-bottom: 70px; 
}
.section-header h2 { 
    font-size: 3.5rem; 
    font-weight: 900; 
    margin-bottom: 15px; 
    color: #111; 
}
.section-header h2 span { 
    color: var(--primary); 
}
.section-header p { 
    font-size: 1.2rem; 
    color: #666; 
    max-width: 600px; 
    margin: 0 auto; 
}

.bento-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr; 
    grid-template-rows: auto auto; 
    gap: 30px; 
}
.b-card {
    border-radius: 35px; 
    padding: 50px; 
    position: relative; 
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #eee; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    background: white; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); 
    min-height: 350px;
}
.b-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 60px rgba(0,200,83,0.15); 
    border-color: var(--primary); 
}

.b-dark { 
    grid-column: 1 / 2; 
    grid-row: 1 / 3; 
    background: #000; 
    color: white; 
    border: 1px solid #222; 
    justify-content: center; 
}
.b-dark h3 { 
    color: white; 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
}
.b-dark p { 
    color: #888; 
    font-size: 1.2rem; 
    line-height: 1.8; 
    max-width: 90%; 
}
.b-dark .b-icon { 
    background: rgba(255,255,255,0.1); 
    color: var(--primary); 
    width: 80px; 
    height: 80px; 
    font-size: 32px; 
}

.b-icon {
    width: 70px; 
    height: 70px; 
    background: #e8f5e9; 
    border-radius: 20px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 28px;
    color: var(--primary); 
    margin-bottom: 25px;
}
.b-card h3 { 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 10px; 
}
.b-card p { 
    font-size: 1.05rem; 
    color: #666; 
    line-height: 1.6; 
}

/* ---- FEATURES GRID & CARDS ---- */
.features-section { padding: 40px 0 120px; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.feature-card {
    background: #fff; border: 1px solid #f0f0f0; border-radius: 30px; padding: 45px 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,200,83,0.12); }

.fc-icon {
    width: 70px; height: 70px; background: #e8f5e9; border-radius: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    color: var(--primary); margin-bottom: 25px; transition: 0.3s;
}
.feature-card:hover .fc-icon { background: var(--primary); color: white; transform: scale(1.05); }

.feature-card h3 { font-size: 24px; font-weight: 800; color: #111; margin-bottom: 15px; }
.feature-card p { font-size: 1.05rem; color: #666; line-height: 1.7; margin-bottom: 30px; }

.fc-tag {
    display: inline-block; background: #f0fdf4; color: var(--primary-dark);
    padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 800;
    text-transform: uppercase; border: 1px solid #dcfce7; width: fit-content;
}

/* ---- ACTION BANNER (CTA BOX) ---- */
.cta-section { padding: 40px 0 120px; }
.cta-box {
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    border-radius: 40px; padding: 70px; text-align: center; color: white;
    position: relative; overflow: hidden; border: 1px solid #222;
}
.cta-box h2 { font-size: 3.2rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; }
.cta-box p { font-size: 1.25rem; color: #aaa; max-width: 650px; margin: 0 auto 40px; }

/* ---- SEARCH BOX ---- */
.search-box {
    max-width: 650px; 
    margin: 0 auto; 
    position: relative; 
    display: flex; 
    align-items: center;
}
.search-box input {
    width: 100%; 
    padding: 20px 25px 20px 60px; 
    border-radius: 50px; 
    border: 2px solid #eee;
    font-size: 16px; 
    font-family: inherit; 
    font-weight: 600; 
    outline: none; 
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    background: white;
}
.search-box input:focus { 
    border-color: var(--primary); 
    box-shadow: 0 15px 40px rgba(0,200,83,0.15); 
}
.search-box i { 
    position: absolute; 
    left: 25px; 
    font-size: 20px; 
    color: #888; 
}

/* FILTER TAGS */
.filter-tags { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    flex-wrap: wrap; 
    margin-top: 25px; 
}
.filter-btn {
    background: #f0f0f0; 
    border: none; 
    padding: 8px 22px; 
    border-radius: 30px;
    font-size: 13px; 
    font-weight: 700; 
    color: #555; 
    transition: 0.3s; 
    cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { 
    background: var(--primary); 
    color: white; 
}

/* HOMEPAGE PILLARS & CARDS STYLES */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.pillar-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 28px;
    padding: 35px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0,200,83,0.15);
}
.pillar-icon {
    width: 65px;
    height: 65px;
    background: #e8f5e9;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 22px;
    transition: 0.3s;
}
.pillar-card:hover .pillar-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}
.pillar-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}
.pillar-card p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* TERM PILLS */
.terms-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 30px 0 40px;
}
.term-pill {
    background: #f8faf9;
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.term-pill:hover {
    background: #f0fdf4;
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,200,83,0.1);
}

/* HOW IT WORKS STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.step-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 25px;
    padding: 35px 25px;
    position: relative;
    transition: 0.3s;
}
.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,200,83,0.1);
}
.step-num {
    font-size: 13px;
    font-weight: 900;
    color: var(--primary);
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 15px;
}
.step-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}
.step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* PHILOSOPHY CARDS */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.philosophy-card {
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 25px;
    padding: 35px 30px;
    transition: 0.3s;
}
.philosophy-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,200,83,0.1);
}
.ph-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 18px;
}
.philosophy-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}
.philosophy-card p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ---- CARDS & GRIDS (DICTIONARY, LAWS, GUIDES, RIGHTS, ARTICLES) ---- */
.card-grid, .laws-grid, .guides-grid, .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

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

.info-card, .dict-card, .law-card, .guide-card, .rights-card, .article-card {
    background: white; 
    border: 1px solid #f0f0f0; 
    border-radius: 25px; 
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}
.info-card:hover, .dict-card:hover, .law-card:hover, .guide-card:hover, .rights-card:hover, .article-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary); 
    box-shadow: 0 20px 50px rgba(0,200,83,0.15); 
}

/* DICTIONARY SPECIAL STYLES */
.dict-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 12px; 
    margin-bottom: 12px; 
}
.dict-header h3 { 
    font-size: 20px; 
    font-weight: 800; 
    color: #111; 
    margin: 0;
}
.badge-cat {
    background: #f0fdf4; 
    color: var(--primary-dark); 
    padding: 4px 14px; 
    border-radius: 20px;
    font-size: 11px; 
    font-weight: 800; 
    text-transform: uppercase; 
    border: 1px solid #dcfce7; 
    white-space: nowrap;
}
.dict-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 15px; 
    font-size: 12.5px; 
    color: #718096; 
    font-weight: 700; 
    border-top: 1px solid #f5f5f5; 
    padding-top: 14px; 
    margin-top: 10px;
}
.dict-meta span { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

/* ---- RIGHTS SPECIAL STYLING & ANIMATIONS ---- */
.fund-section { 
    padding: 80px 0; 
    background: #050505; 
    color: white; 
}
.fund-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
}
.fund-item { 
    text-align: center; 
    padding: 35px 22px; 
    border: 1px solid #222; 
    border-radius: 25px; 
    background: #111; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
.fund-item:hover { 
    border-color: var(--primary); 
    transform: translateY(-6px); 
    box-shadow: 0 15px 35px rgba(0,200,83,0.15); 
}
.fund-num { 
    font-size: 13px; 
    font-weight: 900; 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 12px; 
    display: block; 
}
.fund-item h4 { 
    font-size: 18px; 
    font-weight: 800; 
    color: white; 
    margin-bottom: 8px;
}
.fund-item p {
    font-size: 13.5px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* RIGHTS BENTO GRID */
.rights-bento {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}
.r-card { 
    border-radius: 35px; 
    padding: 45px; 
    position: relative; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    border: 1px solid #eee; 
    display: flex; 
    flex-direction: column; 
    background: white; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); 
    min-height: 380px; 
    justify-content: space-between;
}
.r-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 60px rgba(0,200,83,0.15); 
    border-color: var(--primary); 
}
.r-icon { 
    width: 70px; 
    height: 70px; 
    background: #e8f5e9; 
    border-radius: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 28px; 
    color: var(--primary); 
    margin-bottom: 25px; 
    transition: 0.3s; 
}
.r-card:hover .r-icon { 
    background: var(--primary); 
    color: white; 
    transform: scale(1.05);
}
.r-card h3 { 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 20px; 
    text-align: left; 
    letter-spacing: -0.5px; 
}
.r-list { 
    list-style: none; 
    padding: 0; 
    text-align: left; 
    margin-bottom: 20px;
}
.r-list li { 
    margin-bottom: 14px; 
    font-size: 15px; 
    color: #4b4b4a; 
    position: relative; 
    padding-left: 26px; 
    line-height: 1.6; 
    font-weight: 600; 
}
.r-list li::before { 
    content: '\f00c'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    color: var(--primary); 
    position: absolute; 
    left: 0; 
    top: 2px; 
    font-size: 14px; 
}

.r-dark { 
    grid-column: span 2; 
    background: #000000; 
    color: white; 
    border: 1px solid #222; 
}
.r-dark h3 { color: white; }
.r-dark .r-list li { color: #ccc; }
.r-dark .r-icon { background: rgba(255,255,255,0.1); color: var(--primary); }
.r-tall { 
    grid-row: span 2; 
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf0 100%); 
}

/* BANNER PANEL */
.banner-panel {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    border-radius: 35px; 
    padding: 55px; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    gap: 40px; 
    border: 1px solid #222; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.bp-left { text-align: left; }
.bp-left h3 { 
    font-size: 2.3rem; 
    font-weight: 900; 
    color: white; 
    margin-bottom: 12px; 
    letter-spacing: -1px; 
}
.bp-left h3 span { color: var(--primary); }
.bp-left p { color: #aaa; font-size: 1.15rem; max-width: 650px; }
.bp-right-btn {
    background: var(--white); 
    color: var(--dark) !important; 
    padding: 16px 36px; 
    border-radius: 50px;
    text-decoration: none; 
    font-weight: 800; 
    font-size: 16px; 
    transition: 0.3s;
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(255,255,255,0.08);
}
.banner-panel:hover .bp-right-btn { 
    background: var(--primary); 
    color: white !important; 
    transform: scale(1.05); 
}

/* PRECEDENTS SECTION */
.prec-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}
.prec-card { 
    background: #fafafa; 
    border-radius: 25px; 
    padding: 40px; 
    border: 1px solid #eee; 
    text-align: left; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.prec-card:hover { 
    border-color: var(--primary); 
    background: white; 
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,200,83,0.12); 
}
.prec-case { 
    font-size: 12px; 
    font-weight: 900; 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
    display: block; 
}
.prec-card h4 { 
    font-size: 22px; 
    font-weight: 800; 
    margin-bottom: 12px; 
    color: var(--dark); 
}
.prec-card p { 
    color: #555; 
    font-size: 15px; 
    line-height: 1.7; 
}

/* INTERACTIVE SCENARIOS ACCORDION */
.scenario-grid { 
    max-width: 850px; 
    margin: 0 auto; 
    display: grid; 
    gap: 20px; 
}
.scenario-item { 
    background: #fcfcfc; 
    border-radius: 24px; 
    overflow: hidden; 
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    border: 1px solid #eaeaea; 
}
.scenario-item:hover { 
    border-color: #ccc; 
    background: white; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.03); 
}
.scenario-item.active { 
    border-color: var(--primary); 
    background: #f0fdf4; 
    box-shadow: 0 15px 35px rgba(0,200,83,0.08); 
}
.scenario-header { 
    padding: 25px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.scenario-header h3 { 
    font-size: 18px; 
    font-weight: 800; 
    margin: 0; 
    color: #111; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    letter-spacing: -0.3px; 
}
.s-icon-bubble { 
    width: 44px; 
    height: 44px; 
    background: white; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
    box-shadow: 0 5px 12px rgba(0,0,0,0.04); 
    transition: 0.3s; 
    flex-shrink: 0;
}
.scenario-item.active .s-icon-bubble { 
    background: var(--primary); 
    color: white; 
}
.scenario-icon { 
    font-size: 16px; 
    color: #b4b4b4; 
    transition: 0.3s; 
}
.scenario-item.active .scenario-icon { 
    transform: rotate(180deg); 
    color: var(--primary); 
}
.scenario-body { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out; 
    color: #444; 
    line-height: 1.7; 
    text-align: left; 
}
.scenario-body-content { 
    padding: 0 25px 30px; 
    padding-left: 84px; 
}
.scenario-steps { 
    list-style: decimal; 
    padding-left: 20px; 
}
.scenario-steps li { 
    margin-bottom: 12px; 
    font-size: 15px; 
    font-weight: 600; 
    color: #3a3a3a; 
}

.card-icon {
    width: 60px; 
    height: 60px; 
    background: #e8f5e9; 
    border-radius: 18px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 26px;
    color: var(--primary); 
    margin-bottom: 20px;
}

.card-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    width: fit-content;
}

.info-card h3, .dict-card h3, .law-card h3, .guide-card h3, .rights-card h3, .article-card h3 { 
    font-size: 22px; 
    font-weight: 800; 
    margin-bottom: 10px; 
    color: #111; 
}
.info-card p, .dict-card p, .law-card p, .guide-card p, .rights-card p, .article-card p { 
    font-size: 15px; 
    color: #555; 
    line-height: 1.6; 
    margin-bottom: 20px; 
}

.card-link { 
    font-weight: 800; 
    font-size: 14px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    color: var(--primary-dark); 
    text-decoration: none; 
}
.card-link:hover { 
    color: var(--primary); 
}

/* ---- CREATORS SECTION ---- */
.creators-section { 
    padding: 100px 0; 
    background: white; 
    text-align: center; 
    overflow: hidden; 
}
.creators-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    max-width: 1000px; 
    gap: 40px; 
    margin: 0 auto; 
}

.creator-profile {
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px);
    padding: 50px 40px; 
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05); 
    border: 1px solid #f0f0f0;
    transition: all 0.5s; 
    position: relative; 
    overflow: hidden; 
    z-index: 1;
}
.creator-profile:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 30px 80px rgba(0, 200, 83, 0.2); 
    border-color: var(--primary); 
}

.cp-icon {
    width: 110px; 
    height: 110px; 
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 40px; 
    color: var(--primary); 
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transition: all 0.5s;
}
.creator-profile:hover .cp-icon { 
    transform: scale(1.1) rotate(5deg); 
    background: var(--primary); 
    color: white; 
    border-color: transparent; 
}
.creator-profile h3 { 
    font-size: 30px; 
    font-weight: 900; 
    margin-bottom: 10px; 
    color: #111;
}
.cp-role { 
    display: inline-block; 
    background: #0a0a0a; 
    color: white; 
    padding: 8px 20px; 
    border-radius: 30px; 
    font-size: 11px; 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 35px; 
}

.cp-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.cp-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    width: 100%; 
    padding: 16px; 
    border-radius: 15px; 
    background: var(--primary); 
    color: white !important; 
    text-decoration: none; 
    font-weight: 800; 
    transition: 0.3s; 
}
.cp-btn:hover { 
    background: #009624; 
    transform: translateY(-3px); 
}
.cp-btn.secondary { 
    background: #f8f9fa; 
    color: #333 !important; 
    border: 1px solid #eee; 
}
.cp-btn.secondary:hover { 
    background: #fff; 
    border-color: var(--primary); 
    color: var(--primary) !important; 
    transform: translateY(-3px); 
}

/* ---- FAQ SECTION ---- */
.faq-section { 
    padding: 100px 0; 
    background: var(--bg-light); 
}
.faq-grid { 
    max-width: 900px; 
    margin: 0 auto; 
    display: grid; 
    gap: 15px; 
}

.faq-item { 
    background: white; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    transition: 0.3s; 
    border: 1px solid transparent; 
}
.faq-item:hover { 
    border-color: #ddd; 
}
.faq-item.active { 
    border-color: var(--primary); 
    box-shadow: 0 10px 30px rgba(0,200,83,0.1); 
}
.faq-header { 
    padding: 25px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: white; 
    transition: 0.3s; 
}
.faq-header h3 { 
    font-size: 18px; 
    font-weight: 700; 
    margin: 0; 
    color: #333; 
}
.faq-item.active .faq-header { 
    background: #f0fdf4; 
}
.faq-item.active .faq-header h3 { 
    color: var(--primary-dark); 
}
.faq-body { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out; 
    background: white; 
    color: #555; 
    line-height: 1.6; 
}
.faq-body p { 
    padding: 0 25px 25px; 
    margin: 0; 
    font-size: 16px; 
}

/* ---- FOOTER ---- */
footer { 
    background: #050505; 
    color: white; 
    padding: 100px 0 30px; 
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr; 
    gap: 40px; 
}
.footer-brand h2 { 
    font-size: 28px; 
    font-weight: 900; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: white;
}
.footer-brand p { 
    color: #888; 
    font-size: 15px; 
    max-width: 320px; 
    line-height: 1.8; 
}
.footer-col h4 { 
    font-size: 16px; 
    font-weight: 800; 
    color: white; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.footer-col ul { 
    list-style: none; 
    padding: 0; 
}
.footer-col li { 
    margin-bottom: 12px; 
}
.footer-col a { 
    color: #999; 
    text-decoration: none; 
    font-size: 14.5px; 
    transition: 0.3s; 
    font-weight: 500; 
}
.footer-col a:hover { 
    color: var(--primary); 
    padding-left: 5px; 
}

.copyright { 
    text-align: center; 
    border-top: 1px solid #222; 
    margin-top: 80px; 
    padding-top: 30px; 
    color: #666; 
    font-size: 14px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
}
.powered-tag { 
    font-size: 12px; 
    color: var(--primary); 
    font-weight: 700; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}

/* SCROLL TO TOP */
.scroll-top { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    width: 50px; 
    height: 50px; 
    background: white; 
    border-radius: 50%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    color: var(--dark); 
    cursor: pointer; 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.4s; 
    z-index: 1000; 
}
.scroll-top.active { 
    opacity: 1; 
    visibility: visible; 
}
.scroll-top:hover { 
    background: var(--primary); 
    color: white; 
}

/* ---- MOBILE RESPONSIVENESS ---- */
@media (max-width: 900px) {
    header { top: 10px; padding: 0 15px; }
    .nav-capsule { border-radius: 15px; padding: 15px 20px; width: 100%; justify-content: space-between; }
    .nav-links, .btn-launch { display: none; } 
    .menu-toggle { display: block; }
    .hero, .page-header { padding-top: 140px; }
    .hero h1, .page-header h1 { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .bento-grid { grid-template-columns: 1fr; }
    .features-grid, .dict-grid, .laws-grid, .guides-grid, .articles-grid, .fund-grid, .rights-bento, .prec-grid, .pillars-grid, .steps-grid, .philosophy-grid { grid-template-columns: 1fr; }
    .r-dark, .r-tall { grid-column: span 1; grid-row: span 1; }
    .banner-panel { flex-direction: column; text-align: center; padding: 40px 25px; }
    .bp-left { text-align: center; }
    .cta-box { padding: 40px 25px; }
    .cta-box h2 { font-size: 2.2rem; }
    .creators-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
}

/* ---- EXPANDED FEATURES SHOWCASE STYLES ---- */
.category-nav-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #444;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.cat-pill:hover, .cat-pill.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.25);
}
.cat-pill i {
    font-size: 14px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mock-ui-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}
.mock-ui-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.mock-dots {
    display: flex;
    gap: 6px;
}
.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mock-query-box {
    background: #f8faf9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 14.5px;
    color: #2d3748;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mock-response-box {
    background: rgba(0, 200, 83, 0.04);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 16px;
    padding: 20px;
    font-size: 14.5px;
    color: #1a202c;
    line-height: 1.7;
}

.ipc-bns-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}
.compare-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}
.compare-box.old-ipc {
    border-left: 4px solid #718096;
}
.compare-box.new-bns {
    border-left: 4px solid var(--primary);
    background: #f0fdf4;
}
.compare-arrow {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
    margin: 0 auto;
}

.dark-drafting-section {
    background: #0a0a0a;
    color: #ffffff;
    padding: 100px 0;
}
.draft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.draft-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.draft-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.15);
}

.lang-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}
.lang-chip {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    color: #2d3748;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lang-chip:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.15);
}

.flow-timeline-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 50px;
    position: relative;
}
.flow-step-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}
.flow-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.flow-num {
    width: 36px;
    height: 36px;
    background: rgba(0, 200, 83, 0.12);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    margin: 0 auto 14px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.aud-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.aud-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.12);
}

.trust-banner-box {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 50px;
    color: #ffffff;
    margin-top: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .spotlight-grid { grid-template-columns: 1fr; gap: 40px; }
    .draft-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-timeline-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
    .ipc-bns-comparison { grid-template-columns: 1fr; gap: 15px; }
    .compare-arrow { transform: rotate(90deg); margin: 10px auto; }
    .draft-grid, .audience-grid { grid-template-columns: 1fr; }
    .flow-timeline-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-banner-box { padding: 30px 20px; }
}

/* ---- EXPANDED LEGAL DICTIONARY STYLES ---- */
.az-nav-container {
    margin: 25px 0 15px;
    position: relative;
}
.az-nav-bar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 4px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
}
.az-nav-bar::-webkit-scrollbar {
    height: 5px;
}
.az-nav-bar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.az-pill {
    flex: 0 0 auto;
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #444;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    user-select: none;
}
.az-pill:hover, .az-pill.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 200, 83, 0.28);
}

.dict-search-wrapper {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}
.dict-search-input {
    width: 100%;
    padding: 18px 50px 18px 54px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid rgba(0,0,0,0.08);
    background: #ffffff;
    color: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.dict-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(0, 200, 83, 0.2);
}
.dict-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-dark);
    font-size: 18px;
    pointer-events: none;
}
.dict-clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #edf2f7;
    color: #4a5568;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s ease;
}
.dict-clear-btn:hover {
    background: #e2e8f0;
    color: #1a202c;
}

.dict-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    margin: 30px 0 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.dict-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: #2d3748;
}
.dict-count-num {
    background: rgba(0, 200, 83, 0.12);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 800;
}

.dict-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.dict-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    position: relative;
}
.dict-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 200, 83, 0.12);
}
.dict-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.dict-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin: 0;
}
.badge-cat {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-dark);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.dict-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px dashed #cbd5e0;
    border-radius: 24px;
    margin: 30px 0;
}
.dict-empty-icon {
    width: 64px;
    height: 64px;
    background: rgba(0,200,83,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.load-more-container {
    text-align: center;
    margin: 40px 0 20px;
}
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    background: #ffffff;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,200,83,0.15);
}
.btn-load-more:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,200,83,0.3);
}

@media (max-width: 1024px) {
    .dict-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .az-pill { min-width: 36px; height: 36px; font-size: 12.5px; padding: 0 10px; }
    .dict-search-input { font-size: 14.5px; padding: 16px 44px 16px 48px; }
    .dict-search-icon { left: 18px; font-size: 16px; }
    .dict-clear-btn { right: 14px; width: 26px; height: 26px; }
    .dict-card { padding: 20px; border-radius: 16px; }
    .dict-card-header h3 { font-size: 1.05rem; }
}

@media (max-width: 640px) {
    .dict-grid { grid-template-columns: 1fr; gap: 16px; }
    .dict-search-input { font-size: 13.5px; padding: 14px 40px 14px 44px; border-radius: 40px; }
    .dict-stats-bar { flex-direction: column; gap: 10px; text-align: center; padding: 14px 18px; }
    .dict-empty-state { padding: 40px 16px; border-radius: 18px; }
    .btn-load-more { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14px; }
}

@media (max-width: 480px) {
    .az-nav-bar { gap: 4px; padding: 8px 2px 10px; }
    .dict-card-header { flex-direction: column; align-items: flex-start; gap: 6px; }
    .badge-cat { align-self: flex-start; }
}

/* ---- CITIZEN RIGHTS HUB ENHANCED STYLES & ANIMATIONS ---- */
.sticky-rights-nav {
    position: sticky;
    top: 85px;
    z-index: 99;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 0;
    transition: top 0.3s ease, background 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.rights-nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}
.rights-nav-scroll::-webkit-scrollbar {
    display: none;
}
.rights-nav-item {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e0;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.rights-nav-item:hover, .rights-nav-item.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.35);
    transform: translateY(-1px);
}

/* CATEGORY TILES */
.right-cat-tile {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}
.right-cat-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.right-cat-tile:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 200, 83, 0.14);
}
.right-cat-tile:hover::before {
    opacity: 1;
}
.right-cat-tile .tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}
.right-cat-tile:hover .tile-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
}

/* REAL SCENARIO ACCORDIONS */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}
.scenario-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}
.scenario-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 200, 83, 0.12);
}
.scenario-item.active {
    border-color: var(--primary);
    box-shadow: 0 18px 45px rgba(0, 200, 83, 0.16);
}
.scenario-header {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    transition: background 0.3s ease;
}
.scenario-header h3 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    line-height: 1.45;
}
.s-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.scenario-item:hover .s-icon-bubble,
.scenario-item.active .s-icon-bubble {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}
.scenario-icon {
    font-size: 14px;
    color: #a0aec0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}
.scenario-item.active .scenario-icon {
    transform: rotate(180deg);
    color: var(--primary);
}
.scenario-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
}
.scenario-body-content {
    padding: 20px 26px 26px;
    border-top: 1px dashed #e2e8f0;
}
.scenario-steps {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.scenario-steps li {
    font-size: 14.5px;
    color: #4a5568;
    line-height: 1.65;
}
.scenario-steps li strong {
    color: var(--dark);
}

/* FAQ ACCORDION STYLES */
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 14px;
}
.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.1);
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(0, 200, 83, 0.14);
}
.faq-header {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    transition: background 0.3s ease;
}
.faq-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
    padding-right: 16px;
}
.faq-icon {
    font-size: 14px;
    color: #a0aec0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
}
.faq-body p {
    padding: 20px 26px 26px;
    margin: 0;
    font-size: 14.5px;
    color: #4a5568;
    line-height: 1.7;
    border-top: 1px dashed #e2e8f0;
}

/* ARTICLE EXPLORER TAB FADE */
.article-tab-content {
    animation: fadeInTab 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* QUIZ WIDGET */
.quiz-option-btn {
    width: 100%;
    text-align: left;
    padding: 16px 22px;
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid #edf2f7;
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.quiz-option-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.1);
}
.quiz-option-btn.correct {
    border-color: #00c853 !important;
    background: #e8f5e9 !important;
    color: #1b5e20 !important;
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.2) !important;
}
.quiz-option-btn.wrong {
    border-color: #e53e3e !important;
    background: #fff5f5 !important;
    color: #c53030 !important;
    box-shadow: 0 6px 18px rgba(229, 62, 62, 0.15) !important;
}

/* VIOLATION FLOW CARDS */
.flow-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 26px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.flow-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0,200,83,0.14);
}
.flow-step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    color: var(--primary-dark);
    background: rgba(0, 200, 83, 0.12);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* FLOATING ANIMATIONS */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.floating-card {
    animation: floatSlow 4s ease-in-out infinite;
}

/* RESPONSIVE BREAKPOINTS FOR CITIZEN RIGHTS HUB */
@media (max-width: 1024px) {
    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .sticky-rights-nav {
        top: 70px;
        padding: 8px 0;
    }
    .rights-nav-item {
        padding: 6px 14px;
        font-size: 11.5px;
    }
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    .scenario-header {
        padding: 18px 20px;
    }
    .scenario-header h3 {
        font-size: 15px;
    }
    .s-icon-bubble {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }
    .scenario-body-content {
        padding: 16px 20px 20px;
    }
}
@media (max-width: 480px) {
    .scenario-header h3 {
        font-size: 14px;
        gap: 10px;
    }
    .quiz-option-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ---- LAWS LIBRARY ENHANCED STYLES & ANIMATIONS ---- */
.law-search-wrapper {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.law-search-input {
    width: 100%;
    padding: 18px 54px 18px 54px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    font-size: 15.5px;
    font-family: inherit;
    font-weight: 600;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    outline: none;
    transition: all 0.3s ease;
    color: var(--dark);
}
.law-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.15);
}
.law-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
    pointer-events: none;
}
.law-clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: #edf2f7;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}
.law-clear-btn:hover {
    background: #e2e8f0;
    color: #1a202c;
}

.laws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.law-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}
.law-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.law-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 200, 83, 0.15);
}
.law-card:hover::before {
    opacity: 1;
}

/* LAW DETAILS MODAL */
.law-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.law-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.law-modal-content {
    background: #ffffff;
    border-radius: 28px;
    max-width: 860px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}
.law-modal-overlay.active .law-modal-content {
    transform: scale(1);
}
.law-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #4a5568;
    transition: 0.2s;
}
.law-modal-close:hover {
    background: #edf2f7;
    color: #1a202c;
}

/* LAW COMPARISON CARDS */
.law-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.law-compare-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.law-compare-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 200, 83, 0.12);
}

/* JOURNEY FLOW STEPS */
.journey-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: center;
}
.journey-flow-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
    transition: 0.3s ease;
}
.journey-flow-step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,200,83,0.12);
}

/* TOPIC CHIPS */
.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #2d3748;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.topic-chip:hover {
    border-color: var(--primary);
    background: #f0fdf4;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.15);
}

@media (max-width: 768px) {
    .law-search-input {
        font-size: 14px;
        padding: 15px 44px 15px 46px;
    }
    .law-search-icon {
        left: 18px;
        font-size: 16px;
    }
    .laws-grid {
        grid-template-columns: 1fr;
    }
    .law-modal-content {
        padding: 24px;
        border-radius: 20px;
    }
    .journey-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ ACCORDION STYLES */
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.08);
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}
.faq-icon {
    color: var(--primary-dark);
    transition: transform 0.3s ease;
    font-size: 14px;
    flex-shrink: 0;
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 0;
}
.faq-item.active .faq-body {
    opacity: 1;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}
.faq-body p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* ---- LAWS HUB MISSING UTILITY CLASSES ---- */
.az-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.az-pill:hover {
    border-color: var(--primary);
    background: #f0fdf4;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 200, 83, 0.12);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.filter-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: #f0fdf4;
}
.filter-btn.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.35) !important;
}

.badge-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-dark);
    background: rgba(0, 200, 83, 0.12);
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.dict-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 12px;
}
.dict-count-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}
.dict-count-num {
    color: var(--primary-dark);
    font-weight: 900;
}

.dict-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 24px;
    margin-top: 30px;
}
.dict-empty-icon {
    font-size: 48px;
    color: #a0aec0;
    margin-bottom: 16px;
}

/* ---- LEGAL GUIDES HUB ENHANCED STYLES ---- */
.guide-search-wrapper {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
}
.guide-search-input {
    width: 100%;
    padding: 18px 54px 18px 54px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    font-size: 15.5px;
    font-family: inherit;
    font-weight: 600;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    outline: none;
    transition: all 0.3s ease;
    color: var(--dark);
}
.guide-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.15);
}
.guide-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
    pointer-events: none;
}
.guide-clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: #edf2f7;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}
.guide-clear-btn:hover {
    background: #e2e8f0;
    color: #1a202c;
}

.cat-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.cat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,200,83,0.12);
}
.cat-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.guides-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.guide-card-enhanced {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}
.guide-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.guide-card-enhanced:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 200, 83, 0.15);
}
.guide-card-enhanced:hover::before {
    opacity: 1;
}

/* SCENARIO ACTION PLAN MODAL */
.action-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.action-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.action-modal-content {
    background: #ffffff;
    border-radius: 28px;
    max-width: 860px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}
.action-modal-overlay.active .action-modal-content {
    transform: scale(1);
}
.action-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #4a5568;
    transition: 0.2s;
}
.action-modal-close:hover {
    background: #edf2f7;
    color: #1a202c;
}

/* CHECKLIST ITEMS */
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: 0.2s;
    cursor: pointer;
    user-select: none;
}
.checklist-item:hover {
    border-color: var(--primary);
    background: #f0fdf4;
}
.checklist-item.checked {
    background: #f0fdf4;
    border-color: var(--primary);
}
.checklist-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: 0.2s;
}
.checklist-item.checked .checklist-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }
    .page-header p {
        font-size: 1rem !important;
    }
    .nav-capsule {
        padding: 8px 18px !important;
    }
    .guide-search-input,
    #guideSearchInput {
        padding: 14px 40px 14px 44px !important;
        font-size: 14px !important;
    }
    .guide-search-icon {
        left: 16px !important;
        font-size: 16px !important;
    }
    .cat-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 10px !important;
    }
    .cat-card {
        padding: 14px 8px !important;
    }
    .cat-card-icon {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }
    .guides-grid-enhanced,
    .action-plan-grid,
    .mistakes-grid,
    .checklist-grid,
    .student-grid,
    .resources-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .guide-card-enhanced {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    .checklist-item {
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
    .action-modal-content {
        padding: 24px 18px !important;
        border-radius: 20px !important;
        max-height: 90vh !important;
    }
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem !important;
    }
    .cat-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .btn-ai, .card-link, .btn-outline {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .hero-btn-group,
    div[style*="display:flex"][style*="gap:16px"] {
        flex-direction: column !important;
        gap: 12px !important;
    }
}

/* =========================================================
   ARTICLES & EDITORIAL JOURNAL STYLES
   ========================================================= */

.article-search-wrapper {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}
.article-search-input {
    width: 100%;
    padding: 18px 50px 18px 56px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.article-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 6px 24px rgba(0, 200, 83, 0.15);
}
.article-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 20px;
}
.article-clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 18px;
    display: none;
}

/* TYPE BADGES */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.type-badge.explainer { background: #eef2ff; color: #4f46e5; }
.type-badge.update { background: #e8f5e9; color: #00C853; }
.type-badge.judgment { background: #fff5f5; color: #e53e3e; }
.type-badge.guide { background: #feefc3; color: #d97706; }
.type-badge.concept { background: #ebf8ff; color: #3182ce; }
.type-badge.student { background: #f3e8ff; color: #805ad5; }

/* EDITOR'S PICK LAYOUT */
.editor-pick-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}
.editor-pick-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.editor-pick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 200, 83, 0.1);
    border-color: var(--primary);
}
.editor-supporting-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.editor-supporting-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

/* TIMELINE & COMPARISON CARDS */
.timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.02);
}
.comparison-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}
.comparison-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,200,83,0.08);
}

/* TAKEAWAYS & TOC */
.takeaways-box {
    background: #f0fdf4;
    border: 2px dashed #00C853;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}
.toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .editor-pick-grid {
        grid-template-columns: 1fr !important;
    }
    .article-search-input {
        padding: 14px 40px 14px 44px !important;
        font-size: 14px !important;
    }
}

/* ENHANCED COOL UI STYLES */
.article-search-input:focus, .law-search-input:focus, .dict-search-input:focus, #guideSearchInput:focus {
    border-color: #00C853 !important;
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.15) !important;
    outline: none !important;
}

.article-item-card, .guide-card-enhanced, .law-card, .dict-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.article-item-card:hover, .guide-card-enhanced:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px rgba(0, 200, 83, 0.12) !important;
    border-color: #00C853 !important;
}

html {
    scroll-behavior: smooth;
}









/* ==========================================================================
   DESKTOP & LAPTOP (>= 992px) SPECIFIC LAYOUT & FUNCTIONALITY FIXES
   ========================================================================== */

/* 1. NON-BLOCKING CUSTOM CURSOR & SMOOTH PERFORMANCE */
.cursor-dot, .cursor-outline {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 9999999 !important;
    will-change: transform, left, top;
}

/* 2. HEADER NAVBAR & DROPDOWN PANEL FOR DESKTOP */
header {
    position: fixed !important;
    top: 20px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 24px !important;
}

.nav-capsule {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 10px 32px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1240px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.nav-dropdown {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.dropdown-panel {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(6px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    padding: 10px !important;
    min-width: 230px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 200, 83, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
    z-index: 100000 !important;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-panel::before {
    content: '' !important;
    position: absolute !important;
    top: -16px !important;
    left: 0 !important;
    right: 0 !important;
    height: 16px !important;
}

.dropdown-panel a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    color: #2d3748 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.dropdown-panel a:hover {
    background: #f0fdf4 !important;
    color: #00C853 !important;
    transform: translateX(4px) !important;
}

/* 3. DESKTOP GRID LAYOUTS & CARD ALIGNMENT */
@media (min-width: 992px) {
    .container {
        max-width: 1240px !important;
        margin: 0 auto !important;
        padding: 0 24px !important;
    }

    .editor-pick-grid {
        display: grid !important;
        grid-template-columns: 2fr 1fr !important;
        gap: 24px !important;
    }

    .articles-grid, .guides-grid, .laws-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 28px !important;
    }

    .dict-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .cat-card-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 16px !important;
    }

    .article-subpage-layout {
        display: grid !important;
        grid-template-columns: 1fr 340px !important;
        gap: 36px !important;
        align-items: start !important;
    }

    .sticky-desktop-sidebar {
        position: sticky !important;
        top: 100px !important;
        z-index: 100 !important;
    }
}

/* 4. MODAL OVERLAY ON DESKTOP */
.action-modal-overlay {
    z-index: 999999 !important;
}

.action-modal-content {
    margin: 40px auto !important;
    max-width: 740px !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4) !important;
}


/* ==========================================================================
   EXPLICIT FIXES FOR HERO OVERLAP, SEARCH BAR STYLING & FAQ ACCORDION
   ========================================================================== */

/* 1. HERO HEADER TOP PADDING (PREVENTS FIXED NAVBAR OVERLAP) */
.page-header, .hero {
    padding-top: 165px !important;
}

/* 2. RICH SEARCH INPUT & BUTTON STYLING */
.article-search-wrapper, .guide-search-wrapper, .law-search-wrapper, .dict-search-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.article-search-icon, .guide-search-icon, .law-search-icon, .dict-search-icon {
    position: absolute !important;
    left: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #00C853 !important;
    font-size: 20px !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.article-search-input, #articleSearchInput, #guideSearchInput, #lawSearchInput, #dictSearchInput {
    width: 100% !important;
    padding: 18px 50px 18px 60px !important;
    font-size: 16px !important;
    font-family: inherit !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    color: #1a202c !important;
}

.article-search-input:focus, #articleSearchInput:focus, #guideSearchInput:focus, #lawSearchInput:focus, #dictSearchInput:focus {
    border-color: #00C853 !important;
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.15) !important;
}

.article-clear-btn, #articleClearBtn, #guideClearBtn, #lawClearBtn, #dictClearBtn {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #a0aec0 !important;
    cursor: pointer !important;
    font-size: 20px !important;
    display: none;
    transition: color 0.2s ease !important;
    z-index: 2 !important;
    padding: 0 !important;
}

.article-clear-btn:hover, #articleClearBtn:hover {
    color: #e53e3e !important;
}


/* ==========================================================================
   LAW EXPLORER MODAL & SEARCH ENHANCEMENTS
   ========================================================================== */
.law-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}
.law-modal-overlay.active {
    display: flex !important;
    animation: fadeInModal 0.3s ease-out !important;
}
@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.law-modal-box {
    background: #ffffff !important;
    border-radius: 24px !important;
    max-width: 820px !important;
    width: 100% !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    padding: 36px !important;
    position: relative !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
}
.law-modal-close {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    background: #f1f5f9 !important;
    border: none !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.law-modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}


/* ==========================================================================
   SOLID NAVBAR CAPSULE & FULL-WIDTH SEARCH BAR FIXES
   ========================================================================== */
header {
    position: fixed !important;
    top: 16px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 20px !important;
}

.nav-capsule {
    background: #ffffff !important;
    padding: 12px 32px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
}

/* SEARCH WRAPPER & INPUT STYLING ACROSS ALL HUBS */
.article-search-wrapper, .guide-search-wrapper, .law-search-wrapper, .dict-search-wrapper, .rights-search-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto 20px !important;
    box-sizing: border-box !important;
}

.article-search-icon, .guide-search-icon, .law-search-icon, .dict-search-icon, .rights-search-icon {
    position: absolute !important;
    left: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #00C853 !important;
    font-size: 20px !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.article-search-input, .guide-search-input, .law-search-input, .dict-search-input, .rights-search-input,
#articleSearchInput, #guideSearchInput, #lawSearchInput, #dictSearchInput, #rightsSearchInput {
    display: block !important;
    width: 100% !important;
    max-width: 900px !important;
    box-sizing: border-box !important;
    padding: 18px 50px 18px 60px !important;
    font-size: 16px !important;
    font-family: inherit !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    color: #1a202c !important;
}

.article-search-input:focus, .guide-search-input:focus, .law-search-input:focus, .dict-search-input:focus, .rights-search-input:focus,
#articleSearchInput:focus, #guideSearchInput:focus, #lawSearchInput:focus, #dictSearchInput:focus, #rightsSearchInput:focus {
    border-color: #00C853 !important;
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.18) !important;
}

.article-clear-btn, .guide-clear-btn, .law-clear-btn, .dict-clear-btn, .rights-clear-btn,
#articleClearBtn, #guideClearBtn, #lawClearBtn, #dictClearBtn, #rightsClearBtn {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #a0aec0 !important;
    cursor: pointer !important;
    font-size: 20px !important;
    display: none;
    transition: color 0.2s ease !important;
    z-index: 10 !important;
    padding: 0 !important;
}

.article-clear-btn:hover, #articleClearBtn:hover {
    color: #e53e3e !important;
}

/* ==========================================================================
   NYAYI PRIVACY POLICY & TRUST CENTER STYLES
   ========================================================================== */

.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.privacy-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    z-index: 20;
}

.privacy-sidebar::-webkit-scrollbar {
    width: 4px;
}
.privacy-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.privacy-toc-title {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.privacy-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.privacy-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
    line-height: 1.35;
}

.privacy-toc-link .toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.privacy-toc-link:hover {
    color: var(--primary-dark);
    background: rgba(0, 200, 83, 0.08);
}

.privacy-toc-link:hover .toc-num {
    background: var(--primary);
    color: #ffffff;
}

.privacy-toc-link.active {
    color: var(--primary-dark);
    background: rgba(0, 200, 83, 0.12);
    font-weight: 800;
}

.privacy-toc-link.active .toc-num {
    background: var(--primary);
    color: #ffffff;
}

/* Mobile Floating TOC Toggle */
.privacy-mobile-toc-bar {
    display: none;
    position: sticky;
    top: 90px;
    z-index: 90;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 18px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    user-select: none;
}

.privacy-mobile-toc-bar .toc-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
}

.privacy-mobile-toc-dropdown {
    display: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    margin-top: 8px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.privacy-mobile-toc-dropdown.open {
    display: block;
}

/* Privacy Content Cards */
.privacy-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    scroll-margin-top: 110px;
    transition: border-color 0.3s ease;
}

.privacy-section-card:hover {
    border-color: #cbd5e1;
}

.privacy-sec-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.privacy-sec-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.privacy-sec-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.privacy-sec-subtitle {
    font-size: 13.5px;
    color: #718096;
    margin: 0;
}

.privacy-text {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin: 0 0 16px;
}

.privacy-highlight-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 18px 0;
}

.privacy-highlight-box p {
    margin: 0;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.65;
}

/* Privacy Data Tables */
.privacy-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.privacy-table th {
    background: #f8fafc;
    color: var(--dark);
    font-weight: 800;
    padding: 13px 16px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.privacy-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
    line-height: 1.55;
}

.privacy-table tr:last-child td {
    border-bottom: none;
}

.privacy-table tr:hover td {
    background: #fafafa;
}

/* Data Flow Diagram */
.privacy-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    align-items: stretch;
    margin: 24px 0;
}

.privacy-flow-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.privacy-flow-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(0, 200, 83, 0.1);
}

.privacy-flow-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 200, 83, 0.12);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
}

@media (max-width: 991px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }
    .privacy-sidebar {
        display: none;
    }
    .privacy-mobile-toc-bar {
        display: block;
    }
    .privacy-section-card {
        padding: 26px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .privacy-toc-link, .privacy-flow-step, .privacy-section-card {
        transition: none !important;
    }
}

/* ==========================================================================
   NYAYI LEGAL DISCLAIMER STYLES
   ========================================================================== */

.disclaimer-floating-badge {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: #0d1310;
    color: #ffffff;
    border: 1px solid rgba(0, 200, 83, 0.4);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.disclaimer-floating-badge:hover {
    background: #141f1a;
    border-color: #00C853;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 200, 83, 0.25);
}

.disclaimer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 13, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.disclaimer-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.disclaimer-modal-box {
    background: #ffffff;
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    animation: disclaimerPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes disclaimerPopIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.disclaimer-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
    transition: all 0.2s ease;
}

.disclaimer-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Stat Evolution Flow */
.statute-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-items: stretch;
    margin: 24px 0;
}

.statute-flow-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    position: relative;
}

/* Emergency Helplines */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.emergency-card {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.emergency-card:hover {
    transform: translateY(-3px);
}

/* Lawyer Scenarios Grid */
.lawyer-scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.lawyer-scenario-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.lawyer-scenario-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 200, 83, 0.1);
}
