/*
Theme Name: Pocket Lawyers Malta
Theme URI: https://pocketlawyers.app
Author: Antigravity
Description: Premium mobile-responsive Single Page Application theme for Pocket Lawyers Malta.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* 1. ROOT VARIABLES */
:root {
    --primary-yellow: #F7C738;
    --primary-yellow-hover: #E0B228;
    --bg-dark: #121212;
    --bg-dark-card: #1C1C1E;
    --bg-dark-drawer: #171717;
    --text-light: #FFFFFF;
    --text-muted: #8E8E93;
    --border-color: #2C2C2E;
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    background-color: var(--bg-dark);
    font-family: var(--font-primary);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

body.page-template-page-app {
    background-color: #F7C738;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3. SIMULATED DEVICE FRAME */
#device-shell {
    width: 100%;
    max-width: 412px;
    height: 100vh;
    max-height: 892px;
    background: #000000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid #1c1c1e;
    position: relative;
    display: flex;
    flex-direction: column;
}

#device-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    body {
        background-color: var(--bg-dark);
    }
    #device-shell {
        max-width: 100%;
        height: 100vh;
        max-height: 100%;
        border-radius: 0;
        border: none;
        padding: 0;
    }
    #device-screen {
        border-radius: 0;
    }
}

/* 5. APP HEADER */
#app-header {
    height: 56px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    z-index: 9;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.08);
}

.header-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
    font-family: var(--font-primary);
}

.header-logo .hl {
    color: var(--primary-yellow);
}

/* 6. MAIN SHELL NAVIGATION & TRANSITIONS */
#main-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
    padding: 16px 20px 48px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

#main-content::-webkit-scrollbar {
    width: 6px;
}

#main-content::-webkit-scrollbar-track {
    background: transparent;
}

#main-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

#main-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-yellow);
}

.app-screen {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed) ease-in-out;
}

.app-screen.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

/* Hide or show language text dynamically */
body:not(.malti-active) .lang-mt {
    display: none !important;
}

body.malti-active .lang-en {
    display: none !important;
}

/* 7. DASHBOARD HERO */
.hero-headline {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 24px;
    margin-top: 8px;
    line-height: 1.4;
}

.card-hero {
    width: 100%;
    background-color: var(--primary-yellow);
    border: none;
    border-radius: 20px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 16px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    animation: hero-pulse 2s infinite alternate;
}

.card-hero:hover {
    background-color: var(--primary-yellow-hover);
    transform: scale(0.99);
}

.card-hero-icon-container {
    width: 80px;
    height: 80px;
    color: #121212;
    margin-bottom: 12px;
}

.police-car-svg {
    width: 100%;
    height: 100%;
}

.card-hero-text {
    font-size: 16px;
    font-weight: 700;
    color: #121212;
    letter-spacing: 0.5px;
    font-family: var(--font-primary);
}

@keyframes hero-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 199, 56, 0.4);
    }
    100% {
        box-shadow: 0 0 20px 4px rgba(247, 199, 56, 0.2);
    }
}

/* 8. GRID LAYOUT & DUAL ACTION CARDS */
.grid-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.card-action {
    background: transparent;
    border: 2px solid var(--primary-yellow);
    border-radius: 16px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: transform var(--transition-speed), background-color var(--transition-speed);
    aspect-ratio: 1.15;
}

.card-action:hover {
    background: rgba(247, 199, 56, 0.08);
    transform: translateY(-2px);
}

.card-action-icon {
    margin-bottom: 8px;
    color: var(--primary-yellow);
}

.card-action-text {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* 9. STACK & LINEAR BUTTONS */
.stack-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-linear {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary-yellow);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: background var(--transition-speed);
}

.btn-linear:hover {
    background: rgba(247, 199, 56, 0.08);
}

.btn-linear-icon {
    color: var(--primary-yellow);
}

/* 10. NAVIGATION MENU DRAWER */
.drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--bg-dark-drawer);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-header {
    height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.btn-close-drawer {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}

.drawer-logo .hl {
    color: var(--primary-yellow);
}

.drawer-menu-list {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.drawer-item {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.drawer-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.drawer-icon {
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-item::after {
    content: '';
    display: inline-block;
    border: solid var(--primary-yellow);
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(-45deg);
    margin-left: auto;
    opacity: 0.8;
}

.signout-item {
    margin-top: 16px;
}

.signout-item .drawer-item {
    border-bottom: none;
}

/* 11. LIVE CALL SIMULATOR */
#screen-call {
    padding: 0;
    height: 100%;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

#driver-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#driver-webcam {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#driver-webcam, .mock-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hidden-feed {
    display: none !important;
}

.mock-video-bg {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    overflow: hidden;
}

.car-interior-mock {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 60%, rgba(247, 199, 56, 0.05) 0%, transparent 60%);
}

.driver-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 240px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 80px 80px 0 0;
}

.steering-wheel-shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    border: 24px solid rgba(0, 0, 0, 0.35);
    border-radius: 50%;
}

.lawyer-pip {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 110px;
    height: 146px;
    border-radius: 12px;
    border: 2px solid var(--primary-yellow);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 5;
    background-color: #1c1c1e;
}

.lawyer-video-feed {
    width: 100%;
    height: 100%;
    position: relative;
}

.lawyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-video-feed video, .lawyer-video-feed img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-overlay-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: #FFF;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 4px 2px;
}

.transcript-box {
    position: absolute;
    bottom: 160px;
    left: 16px;
    right: 16px;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    z-index: 4;
}

.transcript-content {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: var(--text-light);
}

.call-metadata {
    position: absolute;
    bottom: 84px;
    left: 20px;
    z-index: 4;
    font-family: var(--font-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.meta-row {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.meta-row.font-bold {
    font-weight: 700;
    font-size: 15px;
}

.call-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 4;
}

.btn-call-ctl {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.btn-call-ctl:hover {
    background: rgba(255, 255, 255, 0.35);
}

.btn-call-end {
    width: 58px;
    height: 58px;
    background-color: #E11D48;
}

.btn-call-end:hover {
    background-color: #BE123C;
}

.inactive-ctl {
    background-color: rgba(239, 68, 68, 0.3) !important;
    border: 1.5px solid #EF4444;
}

/* 12. INTERNAL SCREENS SHARED HEADER */
.screen-header {
    height: 56px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 0 8px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.btn-back {
    margin-right: 8px;
}

.screen-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.screen-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 24px;
}

/* 13. RIGHTS ACCORDION CARDS */
.rights-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition-speed);
}

.rights-card-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    color: var(--text-light);
}

.rights-card-header:hover {
    color: var(--primary-yellow);
}

.chevron-svg {
    transition: transform var(--transition-speed);
    color: var(--primary-yellow);
}

.rights-card.expanded {
    border-color: var(--primary-yellow);
}

.rights-card.expanded .chevron-svg {
    transform: rotate(90deg);
}

.rights-card-body {
    padding: 0 16px 16px 16px;
    display: none;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rights-card.expanded .rights-card-body {
    display: block;
}

/* 14. CHECKLIST LAYOUT & TABS */
.checklist-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.btn-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 8px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: center;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-speed), border-bottom-color var(--transition-speed);
}

.btn-tab.active {
    color: var(--primary-yellow);
    border-bottom-color: var(--primary-yellow);
}

.checklist-list {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.checklist-list.active-list {
    display: flex;
}

.checklist-item {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-left: 32px;
    width: 100%;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    transition: background-color 0.2s, border-color 0.2s;
}

.checkbox-container input:checked ~ .checkmark.chk-do {
    background-color: #10B981;
    border-color: #10B981;
}

.checkbox-container input:checked ~ .checkmark.chk-dont {
    background-color: #EF4444;
    border-color: #EF4444;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checklist-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s, text-decoration 0.2s;
}

.checkbox-container input:checked ~ .checklist-text {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* 15. CALL LOG LISTINGS */
.empty-logs {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-size: 14px;
}

.log-item-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.log-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.log-item-date {
    font-size: 11px;
    color: var(--text-muted);
}

.log-item-duration {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-yellow);
    background-color: rgba(247, 199, 56, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
}

/* 16. PROFILE SETTINGS FORM */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-yellow);
}

.form-group input, .form-group select {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 13px;
    width: 100%;
    outline: none;
    transition: border-color var(--transition-speed);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-yellow);
}

.btn-submit {
    background-color: var(--primary-yellow);
    color: #121212;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 12px;
    transition: background-color var(--transition-speed);
}

.btn-submit:hover {
    background-color: var(--primary-yellow-hover);
}

/* 17. TOAST MESSAGES */
#toast-message {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(247, 199, 56, 0.95);
    color: #121212;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s, transform 0.3s;
}

.toast-hidden {
    opacity: 0;
    transform: translate(-50%, 10px);
}

.toast-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.loader {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* 18. ROLE SEPARATION UTILITIES & HELPERS */
.hidden-element {
    display: none !important;
}

/* 19. AUTHENTICATION VIEW */
#screen-auth {
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 24px;
}

.auth-brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
    font-family: var(--font-primary);
}

.auth-brand .hl {
    color: var(--primary-yellow);
}

.auth-tagline {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-top: 6px;
}

.auth-view {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.auth-view.active-view {
    display: block;
    opacity: 1;
}

.auth-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    border-left: 3px solid var(--primary-yellow);
    padding-left: 10px;
}

.auth-switch-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.auth-switch-text a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 700;
}

.auth-switch-text a:hover {
    text-decoration: underline;
}

/* 20. LAWYER DASHBOARD SPECIFICS */
.lawyer-welcome {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    margin-top: 8px;
}

.lawyer-status-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.lawyer-status-card.online-bg {
    border-color: #10B981;
    background-color: rgba(16, 185, 129, 0.05);
}

.lawyer-status-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lawyer-status-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.lawyer-status-value {
    font-size: 13px;
    font-weight: 700;
}

.status-online {
    color: #10B981;
}

.status-offline {
    color: #EF4444;
}

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3A3A3C;
    transition: .3s;
    border-radius: 34px;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.switch-toggle input:checked + .slider-round {
    background-color: #10B981;
}

.switch-toggle input:checked + .slider-round:before {
    transform: translateX(20px);
}

.lawyer-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.section-title-row {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-yellow);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.calls-history-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 21. PLAYBACK MODAL PLAYER */
#video-playback-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-speed);
}

.modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 360px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
}

.modal-header {
    height: 50px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
}

.modal-body {
    padding: 12px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1.33;
}

#playback-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-play-video {
    background-color: rgba(247, 199, 56, 0.08);
    border: 1px solid var(--primary-yellow);
    border-radius: 8px;
    color: var(--primary-yellow);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.btn-play-video:hover {
    background-color: var(--primary-yellow);
    color: #121212;
}

/* 22. TWO-WAY DISPATCHER: DRIVER CONNECTING VIEW */
#driver-connecting-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

.connecting-view-hidden {
    opacity: 0;
    pointer-events: none;
}

.connecting-view-show {
    opacity: 1;
    pointer-events: auto;
}

.connecting-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    text-align: center;
    width: 100%;
}

.spinner-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}
.spinner-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 6px solid var(--primary-yellow);
    border-radius: 50%;
    animation: spinner-ring-rotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-yellow) transparent transparent transparent;
}
.spinner-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.spinner-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.spinner-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes spinner-ring-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.connecting-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.connecting-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 280px;
}

.btn-cancel-call {
    background-color: #E11D48;
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    letter-spacing: 0.5px;
}

.btn-cancel-call:hover {
    background-color: #BE123C;
}

/* 23. TWO-WAY DISPATCHER: LAWYER RINGING OVERLAY */
#lawyer-ringing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

.ringing-overlay-hidden {
    opacity: 0;
    pointer-events: none;
}

.ringing-overlay-show {
    opacity: 1;
    pointer-events: auto;
}

.ringing-card {
    width: 85%;
    max-width: 320px;
    background-color: var(--bg-dark);
    border: 2px solid #E11D48;
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(225, 29, 72, 0.25);
    animation: ringing-card-border-flash 1.5s infinite alternate;
}

@keyframes ringing-card-border-flash {
    0% {
        border-color: #E11D48;
        box-shadow: 0 0 10px rgba(225, 29, 72, 0.25);
    }
    100% {
        border-color: var(--primary-yellow);
        box-shadow: 0 0 25px rgba(247, 199, 56, 0.45);
    }
}

.ringing-pulse-icon {
    width: 72px;
    height: 72px;
    background-color: #E11D48;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    margin: 0 auto 20px auto;
    animation: ringing-pulse-anim 1.2s infinite;
}

@keyframes ringing-pulse-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(225, 29, 72, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.ringing-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #E11D48;
    margin-bottom: 12px;
}

.ringing-caller-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.ringing-caller-region {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.ringing-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.btn-ringing {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
    color: var(--text-light);
}

.btn-ringing:active {
    transform: scale(0.98);
}

.btn-decline {
    background-color: #3A3A3C;
}

.btn-decline:hover {
    background-color: #48484A;
}

.btn-answer {
    background-color: #10B981;
}

.btn-answer:hover {
    background-color: #059669;
}

/* 24. TWO-WAY DISPATCHER: LAWYER CALL VIEW FEED SWAP */
body.call-view-driver #driver-video-wrapper {
    position: absolute !important;
    top: 24px !important;
    right: 20px !important;
    width: 110px !important;
    height: 146px !important;
    border-radius: 12px !important;
    border: 2px solid var(--primary-yellow) !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    z-index: 5 !important;
    left: auto !important;
}

body.call-view-driver #lawyer-pip {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    z-index: 1 !important;
    box-shadow: none !important;
}

/* ==========================================================================
   25. POCKET LAWYER LANDING PAGE & WOOCOMMERCE DARK THEME
   ========================================================================== */

/* Utility & Reset overrides for Landing page */
.pl-landing-page {
    background-color: var(--bg-dark);
}

.pl-landing-page a, .pl-standard-page a {
    transition: color 0.3s;
}

html {
    scroll-behavior: smooth;
}

.landing-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* 25.1 HEADER */
#landing-header {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.landing-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-light);
    text-decoration: none;
}

.landing-logo .hl {
    color: var(--primary-yellow);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.landing-nav a:hover {
    color: var(--primary-yellow);
}

.btn-launch-app {
    background-color: var(--primary-yellow);
    color: #121212 !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn-launch-app:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-1px);
}

/* Nav toggle for mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* 25.2 HERO SECTION */
.hero-section {
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
}

.badge {
    background: rgba(247, 199, 56, 0.08);
    border: 1px solid rgba(247, 199, 56, 0.2);
    color: var(--primary-yellow);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-light);
}

.hero-title .highlight {
    color: var(--primary-yellow);
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: #121212;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(247, 199, 56, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 199, 56, 0.25);
}

.btn-secondary {
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: rgba(247, 199, 56, 0.08);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
}

.stat-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero visual & mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(247, 199, 56, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

/* Phone mockup */
.mockup-frame {
    width: 290px;
    height: 580px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    border: 4px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mockup-app-header {
    height: 44px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-logo {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.mock-logo .hl {
    color: var(--primary-yellow);
}

.mock-dots {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
}

.mock-profile-icon {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--text-muted);
    border-radius: 50%;
}

.mockup-app-body {
    flex: 1;
    padding: 12px;
    position: relative;
}

.mock-calling-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mock-car-bg {
    width: 100%;
    height: 310px;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.mock-steering {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border: 16px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.mock-driver {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 150px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50px 50px 0 0;
}

.pulse-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    top: 110px;
    left: calc(50% - 45px);
    animation: mock-pulse 2s infinite linear;
}

.mock-pip {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 76px;
    height: 100px;
    border-radius: 8px;
    border: 1.5px solid var(--primary-yellow);
    overflow: hidden;
    background-color: #1c1c1e;
    z-index: 5;
}

.mock-lawyer-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mock-lawyer-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: #FFF;
    font-size: 7px;
    font-weight: 700;
    text-align: center;
    padding: 2px 0;
}

.mock-transcript {
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 9px;
    line-height: 1.3;
    text-align: center;
    color: var(--text-light);
    width: 100%;
    margin-top: 12px;
}

.mock-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.mock-controls .ctrl-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mock-controls .ctrl-btn.hangup {
    background-color: #E11D48;
}

@keyframes mock-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* 25.3 FEATURES SECTION */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-dark-drawer);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 64px auto;
}

.section-tagline {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-light);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

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

.feature-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-yellow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    color: var(--primary-yellow);
    margin-bottom: 24px;
    display: inline-flex;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* 25.4 HOW IT WORKS */
.how-it-works-section {
    padding: 100px 0;
}

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

.step-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.step-num {
    font-size: 80px;
    font-weight: 700;
    color: rgba(247, 199, 56, 0.03);
    position: absolute;
    top: 8px;
    right: 16px;
    line-height: 1;
    font-family: var(--font-primary);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-light);
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* 25.5 PRICING SECTION */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-dark-drawer);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 48px 36px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 199, 56, 0.35);
}

.price-card.featured {
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 15px 35px rgba(247, 199, 56, 0.06);
}

.featured-badge {
    background-color: var(--primary-yellow);
    color: #121212;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.plan-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.price-amount .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-yellow);
}

.price-amount .amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-light);
}

.price-amount .period {
    color: var(--text-muted);
    font-size: 15px;
    margin-left: 4px;
}

.price-body {
    flex: 1;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.features-list li {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li strong {
    color: var(--text-light);
}

.features-list li::before {
    content: "✓";
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 15px;
}

.btn-buy {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-buy:hover {
    background-color: var(--primary-yellow);
    color: #121212;
    box-shadow: 0 8px 20px rgba(247, 199, 56, 0.2);
}

.price-card.featured .btn-buy {
    background-color: var(--primary-yellow);
    color: #121212;
    border: none;
    padding: 16px 20px;
}

.price-card.featured .btn-buy:hover {
    background-color: var(--primary-yellow-hover);
}

/* 25.6 FAQ SECTION */
.faq-section {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: var(--primary-yellow);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-primary);
}

.faq-question:hover {
    color: var(--primary-yellow);
}

.faq-icon {
    color: var(--primary-yellow);
    font-size: 20px;
    font-weight: 500;
}

.faq-answer {
    padding: 0 24px 24px 24px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* 25.7 FOOTER */
#landing-footer {
    background-color: var(--bg-dark-drawer);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark-drawer);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    }
    
    .landing-nav.nav-open {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   26. WOOCOMMERCE & STANDARD PAGES INTEGRATION Styling
   ========================================================================== */

.pl-standard-page {
    background-color: var(--bg-dark);
}

.pl-standard-page #page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#standard-header {
    background-color: var(--bg-dark-drawer);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

.standard-nav {
    display: flex;
    align-items: center;
}

.standard-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-left: 24px;
}

.standard-nav a:hover {
    color: var(--primary-yellow);
}

.btn-launch-app-nav {
    background-color: var(--primary-yellow);
    color: #121212 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-launch-app-nav:hover {
    background-color: var(--primary-yellow-hover);
}

#standard-main {
    flex: 1;
    padding: 60px 0;
}

.standard-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Checkout specific widen container */
.woocommerce-checkout .standard-container,
.woocommerce-cart .standard-container {
    max-width: 1000px;
}

.standard-article {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

#standard-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    background-color: var(--bg-dark-drawer);
}

#standard-footer p {
    color: var(--text-muted);
    font-size: 13px;
}

/* 26.1 WOOCOMMERCE FORM ELEMENTS STYLE OVERRIDES */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select,
.woocommerce-page select,
.woocommerce-page input.input-text,
.woocommerce-page textarea {
    background-color: var(--bg-dark) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-family: var(--font-primary) !important;
    box-sizing: border-box;
    font-size: 14px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce select:focus,
.woocommerce-page select:focus,
.woocommerce-page input.input-text:focus,
.woocommerce-page textarea:focus {
    border-color: var(--primary-yellow) !important;
    outline: none;
}

.woocommerce form .form-row label {
    color: var(--text-muted) !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
}

/* Select2 dropdown custom styling compatibility */
.select2-container--default .select2-selection--single {
    background-color: var(--bg-dark) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-light) !important;
    line-height: 46px !important;
    padding-left: 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

.select2-dropdown {
    background-color: var(--bg-dark-card) !important;
    border: 1px solid var(--border-color) !important;
}

.select2-results__option {
    color: var(--text-light) !important;
    background-color: var(--bg-dark-card) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-yellow) !important;
    color: #121212 !important;
}

/* 26.2 WOOCOMMERCE BUTTONS OVERRIDES */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
    background-color: var(--primary-yellow) !important;
    color: #121212 !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    border: none !important;
    font-family: var(--font-primary) !important;
    transition: all 0.3s !important;
    cursor: pointer;
    font-size: 15px !important;
    display: inline-block !important;
    text-transform: none !important;
    line-height: 1 !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover {
    background-color: var(--primary-yellow-hover) !important;
    color: #121212 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 199, 56, 0.15);
}

.woocommerce button.button.alt,
.woocommerce-page button.button.alt,
.woocommerce a.button.alt,
.woocommerce-page a.button.alt {
    background-color: var(--primary-yellow) !important;
    color: #121212 !important;
}

.woocommerce button.button.alt:hover,
.woocommerce-page button.button.alt:hover {
    background-color: var(--primary-yellow-hover) !important;
}

/* Disable default coupon, login dropdown panels, style them dark */
.woocommerce-form-login, .woocommerce-form-coupon {
    background-color: var(--bg-dark-drawer) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 24px !important;
}

/* 26.3 CHECKOUT TABLES & PAYMENT FLOW */
.woocommerce-checkout-review-order-table,
.woocommerce-cart-form__contents {
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    background-color: var(--bg-dark-drawer) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background-color: rgba(255, 255, 255, 0.02) !important;
    color: var(--text-light) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 16px 20px !important;
    font-weight: 700 !important;
}

.woocommerce table.shop_table td {
    border-top: 1px solid var(--border-color) !important;
    padding: 16px 20px !important;
    color: var(--text-light) !important;
}

.woocommerce table.shop_table tr.cart_item:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.woocommerce-checkout #payment {
    background: var(--bg-dark-drawer) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--border-color) !important;
    padding-bottom: 16px !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--bg-dark-card) !important;
    color: var(--text-muted) !important;
    border-radius: 8px;
    padding: 16px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 12px 0 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--bg-dark-card) !important;
}

.woocommerce-checkout #payment div.place-order {
    padding-top: 20px !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    color: var(--text-light) !important;
    font-weight: 700 !important;
    cursor: pointer;
}

/* Totals and cart widgets */
.cart-collaterals .cart_totals {
    background-color: var(--bg-dark-drawer) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    float: none !important;
    width: 100% !important;
    max-width: 480px;
    margin-top: 32px;
}

.cart-collaterals .cart_totals h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* 26.4 MY ACCOUNT DASHBOARD */
.woocommerce-MyAccount-navigation {
    float: left;
    width: 25% !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    background-color: var(--bg-dark-card);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.02);
}

.woocommerce-MyAccount-content {
    float: right;
    width: 70% !important;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.woocommerce-MyAccount-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content a {
    color: var(--primary-yellow);
    text-decoration: underline;
}

/* 26.5 MESSAGES & NOTICES */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
    background-color: var(--bg-dark-card) !important;
    border-top: 3px solid var(--primary-yellow) !important;
    color: var(--text-light) !important;
    border-radius: 8px !important;
    padding: 16px 24px !important;
    list-style: none !important;
    margin-bottom: 28px !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.woocommerce-error li {
    list-style: none !important;
    color: #EF4444;
}

.woocommerce-notice {
    border-top-color: #10B981 !important;
}

.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
    display: none !important;
}

.woocommerce-message a.button, .woocommerce-info a.button {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

