/*
Theme Name: LM365 Pro Theme
Theme URI: https://landmanagement365.com
Author: Land Management 365
Author URI: https://landmanagement365.com
Description: The professional theme for Land Management 365 plugin. Includes land buyer pages and plugin marketing/sales pages. All customizations are stored in the database and preserved during theme updates.
Version: 2.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lm365-pro
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ========================================
   CSS Variables & Root Styles
   ======================================== */
:root {
    /* Primary Colors */
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;
    
    /* Secondary Colors */
    --secondary: #1565c0;
    --secondary-dark: #0d47a1;
    --secondary-light: #42a5f5;
    
    /* Neutrals */
    --dark: #212121;
    --dark-gray: #424242;
    --medium-gray: #757575;
    --light-gray: #e0e0e0;
    --off-white: #f5f5f5;
    --white: #ffffff;
    
    /* Success/Warning */
    --success: #2e7d32;
    --warning: #f57c00;
    
    /* Typography */
    --font-heading: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Container */
    --container-max: 1280px;
    --container-wide: 1400px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md);
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-wide {
    max-width: var(--container-wide);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 81px; /* Header height */
}

body.admin-bar {
    padding-top: 113px; /* Header + admin bar */
}

/* Front page and map page: no body padding, content extends behind header */
body.home,
body.front-page,
body.llp-map-page-active {
    padding-top: 0 !important;
}

body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar {
        padding-top: 166px; /* Smaller admin bar on mobile */
    }
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-top {
    background: var(--dark);
    color: var(--white);
    font-size: 0.875rem;
    padding: var(--spacing-sm) 0;
}

/* Hide header-top when no actual content (just empty child divs) */
.header-top:not(:has(a)) {
    display: none !important;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--light-gray);
}

.header-top a:hover {
    color: var(--white);
}

.header-contact {
    display: flex;
    gap: var(--spacing-lg);
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.header-main {
    padding: var(--spacing-sm) 0;
}

.header-main .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 20px;
}

.site-logo img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
}

/* Force logo size on ALL pages including plugin pages */
.site-logo img,
.site-logo .custom-logo,
.custom-logo-link img,
.custom-logo,
header .site-logo img,
.site-header .site-logo img,
.header-main .site-logo img,
#lm365-header .site-logo img,
.lm365-header .site-logo img,
body.llp-map-page-active .site-logo img,
body.llp-map-page-active .custom-logo,
body.llp-map-page-active .custom-logo-link img,
body .site-logo img,
body .custom-logo {
    max-height: 60px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
}

/* Ultra-specific override for LM365 plugin map page */
html body.llp-map-page-active .site-logo img.custom-logo,
html body.llp-map-page-active .site-logo .custom-logo-link img.custom-logo,
html body.llp-map-page-active header .site-logo img,
html body.llp-map-page-active .site-header .site-logo img,
html body.llp-map-page-active .header-main .site-logo img,
body.llp-map-page-active .site-logo img.custom-logo,
body.llp-map-page-active img.custom-logo {
    max-height: 60px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.site-logo-text span {
    color: var(--primary);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    padding: 8px 12px;
    position: relative;
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Header CTA Button */
.header-cta {
    margin-left: auto;
}

.header-cta .btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* Login Button - Simple text style like Realtor.com */
.btn-login {
    background: transparent;
    color: var(--dark);
    border: none;
    font-weight: 500;
    padding: 8px 0;
}

.btn-login:hover {
    color: var(--primary);
    background: transparent;
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.btn-account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--dark);
    border: none;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 13px;
}

.btn-account-toggle:hover {
    color: var(--primary);
}

.btn-account-toggle .account-icon {
    display: flex;
    align-items: center;
}

.btn-account-toggle .dropdown-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.account-dropdown.open .btn-account-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.account-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.account-dropdown.open .account-dropdown-menu,
.account-dropdown:hover .account-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.account-dropdown-menu .dropdown-item:hover {
    background: var(--off-white);
    color: var(--primary);
}

.account-dropdown-menu .dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.account-dropdown-menu .dropdown-item:hover svg {
    opacity: 1;
}

.account-dropdown-menu .dropdown-item-logout {
    border-top: 1px solid var(--light-gray);
}

.account-dropdown-menu .dropdown-item-logout:hover {
    color: #dc3545;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #37474f 100%);
    overflow: hidden;
    /* Add padding for fixed header that overlays the hero */
    padding-top: var(--header-height, 60px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-2xl);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search Box */
.hero-search {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 150px;
}

.search-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xs);
}

.search-field input,
.search-field select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-field.search-main {
    flex: 2;
    min-width: 250px;
}

.search-submit {
    align-self: flex-end;
}

.search-submit .btn {
    height: 48px;
    padding: 0 var(--spacing-xl);
}

/* ========================================
   Property Type Cards (Feature Cards)
   ======================================== */
.property-types {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.property-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.property-type-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    color: var(--white);
    display: block;
}

.property-type-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-type-card:hover img {
    transform: scale(1.05);
}

.property-type-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    z-index: 1;
}

.property-type-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl);
    z-index: 2;
}

.property-type-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.property-type-count {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Placeholder gradient backgrounds for property type cards */
.property-type-card:nth-child(1) {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.property-type-card:nth-child(2) {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.property-type-card:nth-child(3) {
    background: linear-gradient(135deg, #ef6c00 0%, #e65100 100%);
}

.property-type-card:nth-child(4) {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
}

/* ========================================
   Featured Listings
   ======================================== */
.featured-listings {
    padding: var(--spacing-3xl) 0;
    background: var(--off-white);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.section-header-flex .section-title {
    margin-bottom: var(--spacing-xs);
}

.section-header-flex .section-subtitle {
    margin: 0;
    text-align: left;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-tab {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* Property Card - Modern Style */
.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.property-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.property-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

/* Placeholder image for properties without photos */
.property-card-image img.property-placeholder-image {
    object-fit: contain;
    background: #f8f9fa;
}

.property-card:hover .property-card-image img.property-placeholder-image {
    transform: none; /* Don't zoom placeholder */
}

.property-card:hover .property-card-image img {
    transform: scale(1.05);
}

.property-card-badges,
.property-badge {
    position: absolute;
    z-index: 2;
}

.property-badge {
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    background: var(--success);
    color: var(--white);
    transform: rotate(-5deg);
    box-shadow: var(--shadow-sm);
}

.property-badge.new {
    background: var(--success);
}

.property-badge.reduced {
    background: var(--warning);
}

.property-card-favorite {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    z-index: 2;
    color: var(--medium-gray);
}

.property-card-favorite:hover {
    background: var(--primary);
    color: var(--white);
}

.property-card-favorite.active {
    background: var(--primary);
    color: var(--white);
}

.property-card-favorite svg {
    width: 18px;
    height: 18px;
}

.property-card-content {
    padding: var(--spacing-lg);
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

.property-card-location svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.property-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card-title a {
    color: inherit;
    text-decoration: none;
}

.property-card-title a:hover {
    color: var(--primary);
}

.property-card-features {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.property-feature svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-gray);
}

.property-card-footer .btn {
    background: #fff;
    color: #333;
    border: 2px solid #333;
}

.property-card-footer .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.property-card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.property-card-price .price-terms {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--medium-gray);
}

/* View All Button - White with black border, red on hover */
.section-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.section-footer .btn {
    background: #fff;
    color: #333;
    border: 2px solid #333;
}

.section-footer .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--primary);
    padding: var(--spacing-3xl) 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   Browse by State
   ======================================== */
.browse-states {
    padding: var(--spacing-3xl) 0;
    background: var(--off-white);
}

.states-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.state-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-2xl);
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    min-width: 180px;
}

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

.state-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.state-count {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-choose {
    padding: var(--spacing-3xl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.why-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.why-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.why-text {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    padding: var(--spacing-3xl) 0;
    background: var(--dark);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-location {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.cta-text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--off-white);
    color: var(--primary-dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding-top: var(--spacing-3xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.footer-logo a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.footer-logo span {
    color: var(--primary);
}

/* Footer logo images - make white like modern theme */
.footer-logo img,
.footer-logo .custom-logo-link img,
.footer-logo .custom-logo,
.footer-logo .footer-custom-logo {
    max-height: 50px;
    max-width: 180px;
    width: auto;
    height: auto;
    /* Makes the logo white - works best with logos that have transparent backgrounds */
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ========================================
   Page Templates
   ======================================== */
.page-header {
    background: var(--dark);
    padding: var(--spacing-3xl) 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span {
    opacity: 0.5;
    margin: 0 var(--spacing-sm);
}

/* Content Area */
.content-area {
    padding: var(--spacing-3xl) 0;
}

.content-main {
    max-width: 800px;
    margin: 0 auto;
}

.content-main p {
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .property-type-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .states-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .property-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-type-card {
        aspect-ratio: 4/3;
    }
    
    .section-header-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header-flex .section-subtitle {
        text-align: center;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
    }
    
    .header-top {
        display: none;
    }
    
    /* ========================================
       Mobile Header Layout
       [☰]          [LOGO centered]          [👤]
       ======================================== */
    .header-main {
        padding: 8px 0;
    }
    
    .header-main .container {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        max-width: 100%;
        position: relative;
        min-height: 44px;
    }
    
    /* Hamburger menu - absolute LEFT */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--dark);
        margin: 2px 0;
        transition: var(--transition-fast);
    }
    
    /* Logo - ABSOLUTE CENTER */
    .site-logo,
    div.site-logo,
    .header-main .site-logo,
    .site-header .site-logo,
    .header-main .container .site-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 5;
    }
    
    .site-logo img,
    .site-logo .custom-logo,
    div.site-logo img,
    .header-main .site-logo img,
    .site-logo .custom-logo-link img,
    .custom-logo-link img,
    .custom-logo,
    #lm365-header .site-logo img,
    .lm365-header .site-logo img,
    header .site-logo img {
        max-height: 40px !important;
        max-width: 160px !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Navigation wrapper - absolute RIGHT */
    .main-nav {
        position: absolute !important;
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center;
        z-index: 10;
    }
    
    /* Hide desktop nav menu on mobile - FULL WIDTH DROPDOWN */
    .nav-menu,
    ul.nav-menu,
    .header-main .nav-menu,
    .header-main .container > .nav-menu,
    .site-header .nav-menu,
    #menu-main_menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        background: var(--white) !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        z-index: 9998 !important;
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
    }
    
    /* Only show when .active class is added by JS */
    .nav-menu.active,
    ul.nav-menu.active,
    .header-main .nav-menu.active,
    .site-header .nav-menu.active,
    #menu-main_menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Menu items full width */
    .nav-menu li,
    .nav-menu.active li {
        width: 100% !important;
        list-style: none !important;
    }
    
    .nav-menu a,
    .nav-menu.active a {
        display: block !important;
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        border-bottom: 1px solid #eee !important;
        color: var(--dark) !important;
        text-decoration: none !important;
    }
    
    .nav-menu a:hover {
        background: var(--off-white) !important;
        color: var(--primary) !important;
    }
    
    .nav-menu a::after {
        display: none !important;
    }
    
    .nav-menu li {
        list-style: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 20px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
        color: var(--dark);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* Login button - circular icon style like Realtor.com */
    .header-cta {
        display: block !important;
        margin: 0;
    }
    
    .header-cta .btn-login {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        max-width: 36px;
        background: #444 !important;
        border-radius: 50% !important;
        padding: 0 !important;
        margin: 0 !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 1 !important;
        text-indent: -9999px;
        overflow: hidden;
        position: relative;
    }
    
    .header-cta .btn-login::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .header-cta .btn-login:hover {
        background: #333 !important;
    }
    
    /* Mobile menu toggle active state (X icon) */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .search-submit {
        align-self: center;
    }
    
    .property-type-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .property-type-card {
        aspect-ratio: 1/1;
    }
    
    .property-type-title {
        font-size: 1.125rem;
    }
    
    .property-type-count {
        font-size: 0.8125rem;
    }
    
    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: var(--spacing-sm);
    }
    
    .filter-tab {
        flex-shrink: 0;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        padding: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .property-card-features {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ========================================
   WordPress Specific
   ======================================== */
.wp-block-image img {
    height: auto;
}

.alignleft {
    float: left;
    margin-right: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PAGE HERO (About, FAQ, Contact)
   ======================================== */
.page-hero {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--dark) 0%, #37474f 100%);
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

.site-main {
    position: relative;
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(211, 47, 47, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(21, 101, 192, 0.08) 0%, transparent 40%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--primary);
    padding: var(--spacing-xl) 0;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

.stats-bar-item {
    color: var(--white);
}

.stats-bar-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-xs);
}

.stats-bar-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: var(--spacing-3xl) 0;
}

.content-section.bg-light {
    background: var(--off-white);
}

.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.editor-content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.editor-content h2,
.editor-content h3,
.editor-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.editor-content p {
    margin-bottom: var(--spacing-md);
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.7;
}

/* ========================================
   VALUES GRID
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0 auto var(--spacing-md);
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   WHY GRID
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.why-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.why-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0 auto var(--spacing-md);
}

.why-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    margin: 0;
}

/* ========================================
   TEAM GRID
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.team-photo-placeholder {
    width: 100px;
    height: 100px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.team-photo-placeholder::before {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--medium-gray);
    border-radius: 50%;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--off-white);
    color: var(--primary-dark);
}

.cta-section .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

/* ========================================
   FAQ STYLES
   ======================================== */
.faq-nav {
    background: var(--white);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--light-gray);
    z-index: 100;
    /* JS will handle fixed positioning when scrolled */
}

.faq-nav.is-fixed {
    position: fixed;
    top: var(--header-height, 60px);
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-nav-placeholder {
    display: none;
}

.faq-nav-placeholder.is-active {
    display: block;
}

.faq-nav-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.faq-section-header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.faq-section-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
}

.faq-section-icon-gold {
    background: var(--warning);
}

.faq-section-header h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.faq-section-header p {
    color: var(--medium-gray);
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: all var(--transition-fast);
}

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

.faq-question span:first-child {
    flex: 1;
    padding-right: var(--spacing-md);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--medium-gray);
    font-weight: 400;
    transition: all var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
}

/* Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.08) 0%, rgba(245, 124, 0, 0.12) 100%);
    border: 2px solid var(--warning);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.guarantee-badge {
    display: inline-block;
    background: var(--warning);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
}

.guarantee-box p {
    color: var(--dark-gray);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Contact Box */
.faq-contact-box {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.faq-contact-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.faq-contact-content p {
    color: var(--medium-gray);
    margin: 0;
}

.faq-contact-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info-column h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin: var(--spacing-xl) 0;
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-item-content strong {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
}

.contact-item-content a,
.contact-item-content span {
    font-size: 1rem;
    color: var(--dark);
}

.contact-item-content a:hover {
    color: var(--primary);
}

.contact-note {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    font-style: italic;
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9375rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-full {
    width: 100%;
}

/* ========================================
   RESPONSIVE - About, FAQ, Contact
   ======================================== */
@media (max-width: 992px) {
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .faq-contact-box {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-contact-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .faq-contact-actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: var(--spacing-xl) 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .stats-bar-grid {
        gap: var(--spacing-md);
    }
    
    .stats-bar-number {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-nav {
        top: 50px;
    }
    
    body.admin-bar .faq-nav {
        top: 82px;
    }
    
    .faq-nav-links {
        gap: var(--spacing-xs);
    }
    
    .faq-nav-links .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8125rem;
    }
    
    .faq-question {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
    
    .guarantee-box {
        padding: var(--spacing-lg);
    }
    
    .faq-contact-box {
        padding: var(--spacing-lg);
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .stats-bar-number {
        font-size: 1.5rem;
    }
    
    .stats-bar-label {
        font-size: 0.75rem;
    }
    
    .faq-nav-links {
        flex-direction: column;
    }
    
    .faq-nav-links .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Land Listings Pro (LLP) Compatibility
   LLP was merged into the main LM365 plugin.
   These styles handle the map/split view layouts.
   Key classes: .llp-map-page, body.llp-map-page-active
   ======================================== */

/* LLP Map View - remove body padding since map handles its own layout */
body.llp-map-page-active {
    padding-top: 0 !important;
}

/* Keep header fixed and on top */
body.llp-map-page-active .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001 !important;
}

body.llp-map-page-active.admin-bar .site-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.llp-map-page-active.admin-bar .site-header {
        top: 46px !important;
    }
}

/* ========================================
   LM365 Customer Portal Theme Integration
   Overrides plugin portal styles to match
   the LM365 Classic Theme design system.
   ======================================== */

/* Override Portal CSS Variables to match theme */
.lm365-portal-wrapper,
.lm365-login-wrapper {
    --primary-color: var(--primary);
    --primary-dark: var(--primary-dark);
    --primary-light: var(--primary-light);
    --secondary-color: var(--secondary);
    --success-color: var(--success);
    --warning-color: var(--warning);
    --danger-color: #dc3545;
    --info-color: var(--secondary);
    --light-bg: var(--off-white);
    --white: var(--white);
    --text-dark: var(--dark);
    --text-muted: var(--medium-gray);
    --border-color: var(--light-gray);
    --shadow: var(--shadow-md);
    --shadow-hover: var(--shadow-lg);
    --border-radius: var(--radius-md);
    --transition: all var(--transition-normal);
}

/* ==================== Portal Header ==================== */
/* Hide the logout button in portal header - it's now in theme header dropdown */
.lm365-classic-theme .lm365-portal-header .lm365-header-right .lm365-btn-secondary,
.lm365-classic-theme .lm365-portal-header .lm365-header-right a[href*="logout"] {
    display: none !important;
}

/* Also hide the email since it's redundant - they know who they are */
.lm365-classic-theme .lm365-portal-header .lm365-user-email {
    display: none !important;
}

.lm365-portal-wrapper .lm365-portal-header {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
    color: #ffffff;
}

.lm365-portal-header h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 var(--spacing-xs) 0;
}

.lm365-portal-header .lm365-welcome {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.lm365-portal-header .lm365-welcome span {
    color: #ffffff;
    font-weight: 600;
}

/* Status badges in header */
.lm365-portal-header .lm365-status-badges {
    margin-top: var(--spacing-sm);
}

.lm365-portal-header .lm365-status-badges .lm365-badge,
.lm365-portal-header .lm365-status-badges span,
.lm365-portal-header .lm365-status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Current status badge - green */
.lm365-portal-header .lm365-status-badge.lm365-status-success {
    background: rgba(46, 125, 50, 0.9);
    color: #ffffff;
}

/* Header Past Due State - RED */
.lm365-portal-header.lm365-header-past-due {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
}

/* Past Due badge - white background with red text for contrast on red header */
.lm365-portal-header.lm365-header-past-due .lm365-status-badge.lm365-status-past-due {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #991b1b !important;
    font-weight: 700;
    border: none;
}

/* ==================== Portal Navigation Tabs ==================== */
.lm365-portal-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--spacing-xl);
    padding: 6px;
    background: var(--off-white, #f5f5f5);
    border-radius: 50px;
    width: fit-content;
}

.lm365-tab-btn {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 50px;
    border: none !important;
    background: transparent;
    color: var(--dark);
    transition: all var(--transition-fast);
    min-width: auto !important;
    flex: none !important;
    white-space: nowrap;
}

.lm365-tab-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
    transform: none;
    box-shadow: none;
    border: none !important;
}

.lm365-tab-btn.active {
    background: var(--primary);
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lm365-tab-btn i {
    font-size: 0.8125rem;
    margin-right: 5px;
}

/* ==================== Portal Cards ==================== */
.lm365-portal-wrapper .lm365-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.lm365-portal-wrapper .lm365-card:hover {
    box-shadow: var(--shadow-lg);
}

.lm365-portal-wrapper .lm365-card h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0 0 var(--spacing-lg) 0;
}

.lm365-portal-wrapper .lm365-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--dark);
}

/* ==================== Stat Cards ==================== */
.lm365-stat-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.lm365-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.lm365-stat-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
}

.lm365-stat-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.lm365-stat-info p {
    font-size: 0.8125rem;
    color: var(--medium-gray);
}

/* ==================== Property Cards ==================== */
.lm365-property-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.lm365-property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.lm365-property-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.lm365-property-header h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
}

.lm365-property-progress-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding: var(--spacing-xl);
    border-bottom: 2px solid var(--light-gray);
}

.lm365-progress-bar {
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.lm365-progress-fill {
    height: 100%;
    background: var(--success, #16a34a);
    border-radius: 15px;
    transition: width 0.5s ease;
}

.lm365-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        0 0 3px #fff;
}

.lm365-percent-paid {
    color: var(--success);
    font-weight: 700;
}

.lm365-property-details {
    padding: var(--spacing-xl);
}

.lm365-detail-item label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
}

.lm365-detail-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark);
}

/* ==================== Portal Buttons ==================== */
.lm365-portal-wrapper .lm365-btn,
.lm365-login-wrapper .btn {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

/* Primary buttons - colored background with WHITE text */
.lm365-portal-wrapper .lm365-btn-primary,
.lm365-portal-wrapper .lm365-btn[class*="primary"],
.lm365-portal-wrapper .lm365-quick-actions .lm365-btn,
.lm365-login-wrapper .btn-primary {
    background: var(--primary, #1565c0) !important;
    border-color: var(--primary, #1565c0) !important;
    color: #ffffff !important;
}

.lm365-portal-wrapper .lm365-btn-primary:hover,
.lm365-portal-wrapper .lm365-btn[class*="primary"]:hover,
.lm365-portal-wrapper .lm365-quick-actions .lm365-btn:hover,
.lm365-login-wrapper .btn-primary:hover {
    background: var(--primary-dark, #0d47a1) !important;
    border-color: var(--primary-dark, #0d47a1) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
}

/* Secondary buttons - white background */
.lm365-portal-wrapper .lm365-btn-secondary {
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--dark);
}

.lm365-portal-wrapper .lm365-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
}

/* Info/Blue buttons */
.lm365-portal-wrapper .lm365-btn-info,
.lm365-portal-wrapper .lm365-btn[class*="info"],
.lm365-portal-wrapper .badge-info,
.lm365-portal-wrapper [class*="btn-info"] {
    background: var(--secondary, #1565c0) !important;
    border-color: var(--secondary, #1565c0) !important;
    color: #ffffff !important;
}

.lm365-portal-wrapper .lm365-btn-info:hover,
.lm365-portal-wrapper .lm365-btn[class*="info"]:hover,
.lm365-portal-wrapper [class*="btn-info"]:hover {
    background: #0d47a1 !important;
    border-color: #0d47a1 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Success/Green buttons */
.lm365-portal-wrapper .lm365-btn-success,
.lm365-portal-wrapper .lm365-btn[class*="success"],
.lm365-portal-wrapper [class*="btn-success"] {
    background: var(--success, #2e7d32) !important;
    border-color: var(--success, #2e7d32) !important;
    color: #ffffff !important;
}

.lm365-portal-wrapper .lm365-btn-success:hover,
.lm365-portal-wrapper .lm365-btn[class*="success"]:hover,
.lm365-portal-wrapper [class*="btn-success"]:hover {
    background: #1b5e20 !important;
    border-color: #1b5e20 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Warning/Orange buttons */
.lm365-portal-wrapper .lm365-btn-warning,
.lm365-portal-wrapper .lm365-btn[class*="warning"],
.lm365-portal-wrapper [class*="btn-warning"] {
    background: var(--warning, #f57c00) !important;
    border-color: var(--warning, #f57c00) !important;
    color: #ffffff !important;
}

.lm365-portal-wrapper .lm365-btn-warning:hover,
.lm365-portal-wrapper .lm365-btn[class*="warning"]:hover,
.lm365-portal-wrapper [class*="btn-warning"]:hover {
    background: #e65100 !important;
    border-color: #e65100 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Danger/Red buttons */
.lm365-portal-wrapper .lm365-btn-danger,
.lm365-portal-wrapper .lm365-btn[class*="danger"],
.lm365-portal-wrapper [class*="btn-danger"] {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

.lm365-portal-wrapper .lm365-btn-danger:hover,
.lm365-portal-wrapper .lm365-btn[class*="danger"]:hover,
.lm365-portal-wrapper [class*="btn-danger"]:hover {
    background: #c62828 !important;
    border-color: #c62828 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ensure ALL buttons in portal have white text if they have colored backgrounds */
.lm365-portal-wrapper button[style*="background"],
.lm365-portal-wrapper a.lm365-btn[style*="background"],
.lm365-portal-wrapper .lm365-btn:not(.lm365-btn-secondary):not(.lm365-btn-outline) {
    color: #ffffff !important;
}

/* Payment type badges/buttons in tables */
.lm365-portal-wrapper .payment-type-badge,
.lm365-portal-wrapper .lm365-payment-type,
.lm365-portal-wrapper span[class*="badge"][style*="background"] {
    color: #ffffff !important;
}

/* ==================== Tables ==================== */
.lm365-portal-wrapper .lm365-table {
    font-family: var(--font-body);
}

.lm365-portal-wrapper .lm365-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    background: var(--off-white);
    border-bottom: 2px solid var(--light-gray);
}

.lm365-portal-wrapper .lm365-table td {
    font-size: 0.875rem;
    border-bottom: 1px solid var(--light-gray);
}

/* ==================== Forms ==================== */
.lm365-portal-wrapper .lm365-input,
.lm365-portal-wrapper .lm365-select,
.lm365-login-wrapper input[type="text"],
.lm365-login-wrapper input[type="email"],
.lm365-login-wrapper input[type="password"],
.lm365-login-wrapper select {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.lm365-portal-wrapper .lm365-input:focus,
.lm365-portal-wrapper .lm365-select:focus,
.lm365-login-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.lm365-portal-wrapper .lm365-form-group label,
.lm365-login-wrapper .form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

/* ==================== Badges ==================== */
.lm365-badge,
.lm365-status-badge,
.lm365-property-status-badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Account status badge specifically */
.lm365-portal-wrapper .account-status-badge,
.lm365-portal-wrapper [class*="status-badge"],
.lm365-portal-wrapper .lm365-account-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
}

.lm365-badge-success,
.lm365-status-success {
    background: var(--success, #2e7d32) !important;
    color: #ffffff !important;
}

.lm365-badge-warning,
.lm365-status-warning {
    background: var(--warning, #f57c00) !important;
    color: #ffffff !important;
}

.lm365-badge-danger,
.lm365-status-danger {
    background: #dc3545 !important;
    color: #ffffff !important;
}

.lm365-badge-info,
.lm365-status-info {
    background: var(--secondary, #1565c0) !important;
    color: #ffffff !important;
}

/* General colored badges - ensure white text */
.lm365-portal-wrapper span[style*="background-color"],
.lm365-portal-wrapper div[style*="background-color"] {
    color: #ffffff !important;
}

/* ==================== Toast Messages ==================== */
.lm365-toast {
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lm365-toast-success {
    background: var(--success);
}

.lm365-toast-error {
    background: #dc3545;
}

/* ==================== Login Page Styling ==================== */
.lm365-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #37474f 50%, var(--primary-dark) 100%);
    padding: var(--spacing-xl);
}

.lm365-login-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

/* Login Header - With gradient */
.lm365-login-wrapper .login-header,
.lm365-login-wrapper .lm365-login-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
}

.lm365-login-wrapper .login-header h1,
.lm365-login-wrapper .lm365-login-header h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 var(--spacing-xs) 0;
}

.lm365-login-wrapper .login-header p,
.lm365-login-wrapper .lm365-login-header p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    opacity: 0.9;
    margin: 0;
}

/* Login Form */
.lm365-login-wrapper .login-form,
.lm365-login-wrapper #lm365-loginform {
    padding: var(--spacing-xl);
}

.lm365-login-wrapper .form-group {
    margin-bottom: var(--spacing-lg);
}

.lm365-login-wrapper .form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.lm365-login-wrapper .form-group input[type="email"],
.lm365-login-wrapper .form-group input[type="password"],
.lm365-login-wrapper .form-group input[type="text"],
.lm365-login-wrapper #lm365-loginform input[type="text"],
.lm365-login-wrapper #lm365-loginform input[type="password"] {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.lm365-login-wrapper .form-group input:focus,
.lm365-login-wrapper #lm365-loginform input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.lm365-login-wrapper .form-hint {
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-top: var(--spacing-xs);
}

/* Remember Me Checkbox */
.lm365-login-wrapper .remember-me,
.lm365-login-wrapper .login-remember {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.lm365-login-wrapper .remember-me label,
.lm365-login-wrapper .login-remember label {
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
    margin-bottom: 0;
}

/* Submit Button */
.lm365-login-wrapper .btn-primary,
.lm365-login-wrapper .btn-block,
.lm365-login-wrapper #lm365-submit {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lm365-login-wrapper .btn-primary:hover,
.lm365-login-wrapper #lm365-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Login Footer */
.lm365-login-wrapper .login-footer,
.lm365-login-wrapper .lm365-login-footer {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl);
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.lm365-login-wrapper .login-footer p,
.lm365-login-wrapper .lm365-login-footer p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin: var(--spacing-xs) 0;
}

.lm365-login-wrapper .login-footer a,
.lm365-login-wrapper .lm365-login-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.lm365-login-wrapper .login-footer a:hover,
.lm365-login-wrapper .lm365-login-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Messages */
.lm365-login-wrapper .form-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
}

.lm365-login-wrapper .form-message.success,
.lm365-login-wrapper .lm365-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.lm365-login-wrapper .form-message.error,
.lm365-login-wrapper .lm365-error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

/* ==================== Portal Quick Actions ==================== */
.lm365-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.lm365-quick-actions .lm365-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
}

/* ==================== Account Section ==================== */
.lm365-account-section {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.lm365-account-section h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 var(--spacing-lg) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--light-gray);
}

.lm365-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.lm365-form-group {
    margin-bottom: var(--spacing-md);
}

.lm365-form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.lm365-form-group small {
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-top: var(--spacing-xs);
    display: block;
}

.lm365-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.lm365-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
    min-height: 110px;
}

.lm365-info-item label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    line-height: 1.3;
}

.lm365-info-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.3;
}

.lm365-info-item .lm365-badge {
    margin-top: 2px;
}

/* ==================== Documents Tab ==================== */
.lm365-document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.lm365-document-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-fast);
}

.lm365-document-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.lm365-document-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.lm365-document-info {
    flex: 1;
}

.lm365-document-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 var(--spacing-xs) 0;
}

.lm365-document-info p {
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin: 0;
}

/* ==================== Portal Responsive Design ==================== */
@media (max-width: 768px) {
    .lm365-portal-header {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
        padding: var(--spacing-lg);
    }
    
    .lm365-portal-header h1 {
        font-size: 1.5rem;
    }
    
    .lm365-header-right {
        flex-direction: column;
        width: 100%;
    }
    
    .lm365-portal-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        border-radius: var(--radius-lg, 12px);
        justify-content: center;
    }
    
    .lm365-tab-btn {
        flex: none;
        width: auto;
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .lm365-tab-btn i {
        display: none; /* Hide icons on mobile to save space */
    }
    
    .lm365-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .lm365-quick-actions {
        grid-template-columns: 1fr;
    }
    
    .lm365-property-details {
        grid-template-columns: 1fr;
    }
    
    .lm365-form-row {
        grid-template-columns: 1fr;
    }
    
    .lm365-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .lm365-info-item {
        padding: var(--spacing-md) var(--spacing-sm);
        min-height: 90px;
    }
    
    .lm365-document-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile-friendly tables */
    .lm365-portal-wrapper .lm365-table {
        font-size: 0.8125rem;
    }
    
    .lm365-portal-wrapper .lm365-table th,
    .lm365-portal-wrapper .lm365-table td {
        padding: 10px 8px;
    }
    
    /* Make payment type badges smaller and show full text */
    .lm365-portal-wrapper .lm365-table td span[style*="background"],
    .lm365-portal-wrapper .lm365-table .lm365-badge,
    .lm365-portal-wrapper table td span[class*="badge"] {
        font-size: 0.625rem !important;
        padding: 3px 6px !important;
        white-space: nowrap;
        max-width: none;
    }
    
    /* Card-style table layout for very small screens */
    .lm365-portal-wrapper .lm365-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .lm365-login-container {
        margin: var(--spacing-md);
    }
    
    .lm365-login-wrapper .login-header,
    .lm365-login-wrapper .lm365-login-header {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .lm365-login-wrapper .login-header h1,
    .lm365-login-wrapper .lm365-login-header h1 {
        font-size: 1.5rem;
    }
    
    .lm365-login-wrapper .login-form,
    .lm365-login-wrapper #lm365-loginform {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .lm365-portal-wrapper {
        padding: var(--spacing-sm);
    }
    
    .lm365-card {
        padding: var(--spacing-md);
    }
    
    .lm365-stat-card {
        padding: var(--spacing-md);
    }
    
    .lm365-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .lm365-stat-info h3 {
        font-size: 1.25rem;
    }
    
    .lm365-login-wrapper {
        padding: var(--spacing-md);
    }
    
    .lm365-login-wrapper .login-form,
    .lm365-login-wrapper #lm365-loginform {
        padding: var(--spacing-md);
    }
}

/* ========================================
   Customer Login & Portal Pages
   Hide Page Header for clean interface
   ======================================== */

/* Hide the dark page header on customer login and portal pages */
body.page-customer-login .page-header,
body.lm365-login-page .page-header,
body.page-customer-portal .page-header,
body.lm365-portal-page .page-header,
body.page-slug-customer-login .page-header,
body.page-slug-customer-portal .page-header {
    display: none !important;
}

/* Also hide breadcrumbs for these pages */
body.page-customer-login .breadcrumbs,
body.lm365-login-page .breadcrumbs,
body.page-customer-portal .breadcrumbs,
body.lm365-portal-page .breadcrumbs {
    display: none !important;
}

/* Portal page content - full width, no extra padding */
.portal-page-content {
    padding: var(--spacing-lg, 1.5rem) 0;
}

.portal-page-content .container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md, 1rem);
}

.portal-content-wrapper {
    /* Let the plugin's portal take full control */
}

/* Login page content - centered */
.login-page-content {
    padding: var(--spacing-2xl, 3rem) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.login-page-content .container {
    width: 100%;
}

.login-content-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

/* Clean login form styling for white background */
.lm365-login-wrapper {
    background: transparent !important;
    min-height: auto !important;
    padding: 40px 20px !important;
}

.lm365-login-container {
    background: var(--white, #ffffff) !important;
    border-radius: var(--radius-lg, 12px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid var(--light-gray, #e0e0e0) !important;
    max-width: 420px !important;
}

/* Login form header - light background, dark text */
.lm365-login-wrapper .login-header,
.lm365-login-wrapper .lm365-login-header {
    background: var(--off-white, #f5f5f5) !important;
    color: var(--dark, #212121) !important;
    padding: 30px 32px !important;
    border-bottom: 1px solid var(--light-gray, #e0e0e0) !important;
}

.lm365-login-wrapper .login-header h1,
.lm365-login-wrapper .lm365-login-header h1 {
    color: var(--dark, #212121) !important;
    font-size: 1.5rem !important;
}

.lm365-login-wrapper .login-header p,
.lm365-login-wrapper .lm365-login-header p {
    color: var(--medium-gray, #757575) !important;
    opacity: 1 !important;
}

/* Login form footer - light background */
.lm365-login-wrapper .login-footer,
.lm365-login-wrapper .lm365-login-footer {
    background: var(--off-white, #f5f5f5) !important;
    border-top: 1px solid var(--light-gray, #e0e0e0) !important;
}

/* ==================== COMPREHENSIVE BUTTON & BADGE TEXT FIXES ==================== */
/* Force white text on ALL colored elements in portal */

/* All PRIMARY buttons in portal - base state */
.lm365-portal-wrapper .lm365-btn-primary,
.lm365-portal-wrapper .lm365-btn-info,
.lm365-portal-wrapper .lm365-btn-success,
.lm365-portal-wrapper .lm365-btn-warning,
.lm365-portal-wrapper .lm365-btn-danger,
.lm365-portal-wrapper .lm365-quick-actions .lm365-btn,
.lm365-portal-wrapper input[type="submit"],
.lm365-portal-wrapper input[type="button"],
.lm365-login-wrapper .btn-primary,
.lm365-login-wrapper .btn-block,
.lm365-login-wrapper #lm365-submit {
    color: #ffffff !important;
}

/* All PRIMARY buttons - hover state */
.lm365-portal-wrapper .lm365-btn-primary:hover,
.lm365-portal-wrapper .lm365-btn-success:hover,
.lm365-portal-wrapper .lm365-btn-warning:hover,
.lm365-portal-wrapper .lm365-btn-danger:hover,
.lm365-portal-wrapper .lm365-quick-actions .lm365-btn:hover,
.lm365-portal-wrapper input[type="submit"]:hover,
.lm365-portal-wrapper input[type="button"]:hover,
.lm365-login-wrapper .btn-primary:hover,
.lm365-login-wrapper .btn-block:hover {
    color: #ffffff !important;
    opacity: 0.9;
}

/* BLUE/INFO buttons - darken background on hover, keep white text */
.lm365-portal-wrapper .lm365-btn-info:hover,
.lm365-portal-wrapper .lm365-btn[style*="1565c0"]:hover,
.lm365-portal-wrapper .lm365-btn[style*="background: #1"]:hover,
.lm365-portal-wrapper a.lm365-btn-info:hover,
.lm365-portal-wrapper button.lm365-btn-info:hover {
    background: #0d47a1 !important;
    color: #ffffff !important;
    opacity: 1;
}

/* SECONDARY/OUTLINE buttons - these have white/light backgrounds */
.lm365-portal-wrapper .lm365-btn-secondary,
.lm365-portal-wrapper .lm365-btn-outline,
.lm365-portal-wrapper .btn-secondary,
.lm365-portal-wrapper .btn-outline,
.lm365-portal-wrapper .lm365-btn-light {
    color: var(--dark, #212121) !important;
    background: var(--white, #ffffff) !important;
    border: 2px solid var(--light-gray, #e0e0e0) !important;
}

.lm365-portal-wrapper .lm365-btn-secondary:hover,
.lm365-portal-wrapper .lm365-btn-outline:hover,
.lm365-portal-wrapper .btn-secondary:hover,
.lm365-portal-wrapper .btn-outline:hover,
.lm365-portal-wrapper .lm365-btn-light:hover {
    color: var(--primary, #d32f2f) !important;
    background: var(--white, #ffffff) !important;
    border-color: var(--primary, #d32f2f) !important;
    opacity: 1 !important;
}

/* Pagination/navigation buttons (Newer, Older) */
.lm365-portal-wrapper .lm365-pagination-btn,
.lm365-portal-wrapper .lm365-nav-btn,
.lm365-portal-wrapper button[class*="prev"],
.lm365-portal-wrapper button[class*="next"],
.lm365-portal-wrapper button[class*="newer"],
.lm365-portal-wrapper button[class*="older"],
.lm365-portal-wrapper .lm365-btn:not(.lm365-btn-primary):not(.lm365-btn-info):not(.lm365-btn-success):not(.lm365-btn-warning):not(.lm365-btn-danger) {
    color: var(--dark, #212121) !important;
    background: var(--white, #ffffff) !important;
}

.lm365-portal-wrapper .lm365-pagination-btn:hover,
.lm365-portal-wrapper .lm365-nav-btn:hover,
.lm365-portal-wrapper button[class*="prev"]:hover,
.lm365-portal-wrapper button[class*="next"]:hover,
.lm365-portal-wrapper button[class*="newer"]:hover,
.lm365-portal-wrapper button[class*="older"]:hover,
.lm365-portal-wrapper .lm365-btn:not(.lm365-btn-primary):not(.lm365-btn-info):not(.lm365-btn-success):not(.lm365-btn-warning):not(.lm365-btn-danger):hover {
    color: var(--primary, #d32f2f) !important;
    background: var(--off-white, #f5f5f5) !important;
    border-color: var(--primary, #d32f2f) !important;
    opacity: 1 !important;
}

/* Quick action buttons - these SHOULD have white text, darken on hover */
.lm365-quick-actions .lm365-btn,
.lm365-quick-actions button,
.lm365-quick-actions a {
    color: #ffffff !important;
    background: var(--primary, #1565c0) !important;
}

.lm365-quick-actions .lm365-btn:hover,
.lm365-quick-actions button:hover,
.lm365-quick-actions a:hover {
    color: #ffffff !important;
    background: var(--primary-dark, #0d47a1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
}

/* Payment type badges - FORCE white text */
.lm365-portal-wrapper span[style*="background"],
.lm365-portal-wrapper span[style*="Background"],
.lm365-portal-wrapper div[style*="background"],
.lm365-portal-wrapper .payment-type,
.lm365-portal-wrapper .lm365-payment-badge,
.lm365-portal-wrapper .badge,
.lm365-portal-wrapper [class*="badge"]:not(.lm365-btn) {
    color: #ffffff !important;
}

/* Badges hover */
.lm365-portal-wrapper span[style*="background"]:hover,
.lm365-portal-wrapper div[style*="background"]:hover,
.lm365-portal-wrapper .badge:hover,
.lm365-portal-wrapper [class*="badge"]:not(.lm365-btn):hover {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Save Changes and form submit buttons */
.lm365-portal-wrapper input[type="submit"],
.lm365-portal-wrapper button[type="submit"],
.lm365-portal-wrapper .lm365-save-btn,
.lm365-portal-wrapper .save-changes {
    background: var(--primary) !important;
    color: #ffffff !important;
    border: none !important;
}

.lm365-portal-wrapper input[type="submit"]:hover,
.lm365-portal-wrapper button[type="submit"]:hover,
.lm365-portal-wrapper .lm365-save-btn:hover,
.lm365-portal-wrapper .save-changes:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
}

/* Status badges - ensure centered text */
.lm365-portal-wrapper .account-status,
.lm365-portal-wrapper [class*="status"] span,
.lm365-portal-wrapper .lm365-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff !important;
}

/* Table cell badges */
.lm365-portal-wrapper table td span[style],
.lm365-portal-wrapper .lm365-table td span[style],
.lm365-portal-wrapper table .badge,
.lm365-portal-wrapper table [class*="badge"] {
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* Ensure hover doesn't break text color */
.lm365-portal-wrapper table td span[style]:hover,
.lm365-portal-wrapper .lm365-table td span[style]:hover,
.lm365-portal-wrapper table .badge:hover,
.lm365-portal-wrapper table [class*="badge"]:hover {
    color: #ffffff !important;
}

/* ==================== FINAL OVERRIDE - BUTTON HOVER FIX ==================== */
/* This MUST be at the end to override all other rules */

/* ALL buttons in portal - ensure they darken on hover, never turn white */
.lm365-portal-wrapper .lm365-btn:hover,
.lm365-portal-wrapper button.lm365-btn:hover,
.lm365-portal-wrapper a.lm365-btn:hover {
    filter: brightness(0.85) !important;
    color: #ffffff !important;
}

/* Quick Actions specific - use darker blue */
.lm365-portal-wrapper .lm365-quick-actions .lm365-btn:hover,
.lm365-portal-wrapper .lm365-quick-actions button:hover {
    background-color: #0d47a1 !important;
    filter: none !important;
    color: #ffffff !important;
}

/* Secondary buttons - these should NOT darken, they change border/text color */
.lm365-portal-wrapper .lm365-btn-secondary:hover,
.lm365-portal-wrapper .lm365-btn-outline:hover {
    filter: none !important;
    background: #ffffff !important;
    color: var(--primary, #1565c0) !important;
    border-color: var(--primary, #1565c0) !important;
}

/* ==================== MAKE A PAYMENT FORM TEXT FIX ==================== */
/* Force dark text in Make a Payment form (overrides badge white text rules) */
#makePaymentForm,
#makePaymentForm label,
#makePaymentForm span,
#makePaymentForm p,
#makePaymentForm h5,
#makePaymentForm select,
#makePaymentForm input,
#paymentLineItems,
#paymentLineItems div,
#paymentLineItems span,
#paymentBreakdown,
#paymentBreakdown label,
#paymentBreakdown span:not([style*="color: #1976d2"]),
#paymentBreakdown div,
.lm365-portal-wrapper #makePaymentForm span,
.lm365-portal-wrapper #paymentLineItems span,
.lm365-portal-wrapper #paymentBreakdown span {
    color: #333 !important;
}

/* Keep the payment total blue */
#paymentTotal,
.lm365-portal-wrapper #paymentTotal {
    color: #1976d2 !important;
}


/* ========================================
   LM365 Sales/Marketing Pages Styles
   ======================================== */

/**
 * LM365 Sales - Main Stylesheet v2.0.0
 * Marketing 360 Inspired Design
 */

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

:root {
    --lm-primary: #1e40af;
    --lm-primary-light: #3b82f6;
    --lm-primary-dark: #1e3a8a;
    --lm-primary-darker: #172554;
    --lm-accent: #f59e0b;
    --lm-success: #10b981;
    --lm-dark: #0f172a;
    --lm-gray-700: #475569;
    --lm-gray-600: #64748b;
    --lm-gray-500: #94a3b8;
    --lm-gray-400: #cbd5e1;
    --lm-gray-300: #e2e8f0;
    --lm-gray-200: #f1f5f9;
    --lm-gray-100: #f8fafc;
    --lm-white: #ffffff;
    --lm-shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.1);
    --lm-shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --lm-shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --lm-shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
    --lm-radius-md: 10px;
    --lm-radius-lg: 16px;
    --lm-radius-xl: 24px;
    --lm-radius-full: 9999px;
}

/* Base */
.lm365-page * { margin: 0; padding: 0; box-sizing: border-box; }
.lm365-page { font-family: 'Inter', -apple-system, sans-serif; color: var(--lm-gray-700); line-height: 1.6; background: var(--lm-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lm365-page a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
.lm365-page img { max-width: 100%; height: auto; display: block; }
.lm365-page ul, .lm365-page ol { list-style: none; }
.lm365-page h1, .lm365-page h2, .lm365-page h3, .lm365-page h4 { font-family: 'Inter', sans-serif; font-weight: 800; line-height: 1.15; color: var(--lm-dark); letter-spacing: -0.02em; }
html, body { overflow-x: hidden; max-width: 100vw; }

/* Header */
.lm365-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #e5e7eb; }
.lm365-header-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; height: 80px; }
.lm365-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lm365-logo img, .lm365-logo-img { height: 70px; width: auto; }
.lm365-logo-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-dark) 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 20px; }
.lm365-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--lm-dark); }
.lm365-logo-text span { color: var(--lm-primary); }
.lm365-nav { display: flex; align-items: center; gap: 32px; }
.lm365-nav-links { display: flex; align-items: center; gap: 8px; }
.lm365-nav-link { font-weight: 500; font-size: 0.95rem; color: var(--lm-gray-700); padding: 8px 16px; border-radius: 6px; transition: all 0.2s ease; }
.lm365-nav-link:hover { color: var(--lm-primary); background: var(--lm-gray-100); }
.lm365-nav-link.active { color: var(--lm-primary); }
.lm365-nav-cta { display: flex; align-items: center; gap: 12px; }
.lm365-mobile-menu-btn { display: none; }
.lm365-mobile-menu-overlay { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none; white-space: nowrap; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--lm-gray-700); border: 2px solid var(--lm-gray-300); }
.btn-ghost:hover { background: var(--lm-gray-50); border-color: var(--lm-primary); color: var(--lm-primary); }
.btn-primary { background: var(--lm-primary); color: white !important; box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25); }
.btn-primary:hover { background: var(--lm-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35); }
.btn-secondary { background: var(--lm-gray-100); color: var(--lm-gray-700); border: 1px solid var(--lm-gray-200); }
.btn-secondary:hover { background: var(--lm-gray-200); }
.btn-outline { background: transparent; color: var(--lm-dark); border: 2px solid var(--lm-gray-300); }
.btn-outline:hover { border-color: var(--lm-primary); color: var(--lm-primary); }
.btn-white { background: white; color: var(--lm-primary) !important; box-shadow: var(--lm-shadow-md); }
.btn-white:hover { background: var(--lm-gray-100); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white !important; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Play Button */
.btn-play { display: inline-flex; align-items: center; gap: 12px; background: transparent; border: none; color: var(--lm-gray-700); font-weight: 600; cursor: pointer; padding: 0; font-family: 'Inter', sans-serif; font-size: 1rem; }
.btn-play:hover { color: var(--lm-primary); }
.btn-play-icon { width: 56px; height: 56px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--lm-shadow-lg); transition: all 0.3s ease; }
.btn-play:hover .btn-play-icon { transform: scale(1.1); }
.btn-play-icon svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--lm-primary); }

/* Hero Section */
.lm365-hero { min-height: 100vh; padding-top: 80px; background: linear-gradient(180deg, #f0f7ff 0%, #e0efff 50%, #f8fafc 100%); position: relative; overflow: hidden; }
.lm365-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.15) 0%, transparent 60%); pointer-events: none; }
.lm365-hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 200px; background: linear-gradient(to top, white, transparent); pointer-events: none; }
.lm365-hero-inner { max-width: 1400px; margin: 0 auto; padding: 100px 40px 140px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.lm365-hero-content { animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.lm365-hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; background: white; border-radius: var(--lm-radius-full); font-size: 0.9rem; font-weight: 600; color: var(--lm-primary); box-shadow: var(--lm-shadow-md); margin-bottom: 28px; border: 1px solid rgba(59, 130, 246, 0.1); }
.lm365-hero-badge-dot { width: 10px; height: 10px; background: var(--lm-success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.3); } }
.lm365-hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 28px; color: var(--lm-dark); letter-spacing: -0.03em; }
.lm365-hero-title .highlight { background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lm365-hero-subtitle { font-size: 1.25rem; color: var(--lm-gray-600); margin-bottom: 40px; max-width: 540px; line-height: 1.7; }
.lm365-hero-cta { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; align-items: center; }
.lm365-hero-stats { display: flex; gap: 48px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.lm365-stat-item { text-align: left; }
.lm365-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--lm-primary); line-height: 1; }
.lm365-stat-label { font-size: 0.9rem; color: var(--lm-gray-500); margin-top: 8px; font-weight: 500; }
.lm365-hero-visual { position: relative; animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }

/* Dashboard Preview */
.lm365-dashboard { background: white; border-radius: var(--lm-radius-xl); box-shadow: var(--lm-shadow-2xl), 0 0 40px rgba(59, 130, 246, 0.2); overflow: hidden; }
.lm365-dashboard-header { background: linear-gradient(135deg, #1e293b 0%, var(--lm-dark) 100%); padding: 16px 24px; display: flex; align-items: center; gap: 12px; }
.lm365-dashboard-dots { display: flex; gap: 8px; }
.lm365-dashboard-dot { width: 12px; height: 12px; border-radius: 50%; }
.lm365-dashboard-dot.red { background: #ff5f57; }
.lm365-dashboard-dot.yellow { background: #ffbd2e; }
.lm365-dashboard-dot.green { background: #28c840; }
.lm365-dashboard-title { color: white; font-size: 0.9rem; font-weight: 500; opacity: 0.8; margin-left: 8px; }
.lm365-dashboard-content { padding: 0; min-height: 380px; background: var(--lm-gray-100); position: relative; overflow: hidden; }

/* Screenshot Carousel */
.lm365-screenshot-carousel { position: relative; overflow: hidden; min-height: 380px; padding: 0 !important; }
.lm365-screenshot-slides { position: relative; width: 100%; height: 380px; }
.lm365-screenshot-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease-in-out; }
.lm365-screenshot-slide.active { opacity: 1; }
.lm365-screenshot-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lm365-screenshot-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; background: rgba(255,255,255,0.9); padding: 8px 16px; border-radius: var(--lm-radius-full); box-shadow: var(--lm-shadow-md); }
.lm365-screenshot-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--lm-gray-300); cursor: pointer; transition: all 0.3s ease; padding: 0; }
.lm365-screenshot-dots button:hover { background: var(--lm-gray-400); }
.lm365-screenshot-dots button.active { background: var(--lm-primary); width: 28px; border-radius: 5px; }

/* Trust Section */
.lm365-trust-section { padding: 80px 0; background: white; border-bottom: 1px solid var(--lm-gray-200); }
.lm365-trust-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; text-align: center; }
.lm365-trust-label { font-size: 0.9rem; font-weight: 600; color: var(--lm-gray-500); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 40px; }
.lm365-trust-logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }
.lm365-trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.7; transition: opacity 0.3s ease; }
.lm365-trust-item:hover { opacity: 1; }
.lm365-trust-icon { font-size: 2.5rem; }
.lm365-trust-name { font-size: 0.9rem; font-weight: 600; color: var(--lm-gray-600); }

/* Sections */
.lm365-section { padding: 120px 0; }
.lm365-section-alt { background: var(--lm-gray-100); }
.lm365-section-dark { background: linear-gradient(135deg, var(--lm-primary-dark) 0%, var(--lm-primary-darker) 100%); color: white; }
.lm365-section-header { text-align: center; max-width: 720px; margin: 0 auto 70px; padding: 0 40px; }
.lm365-section-label { display: inline-block; padding: 10px 20px; background: rgba(59, 130, 246, 0.1); border-radius: var(--lm-radius-full); font-size: 0.85rem; font-weight: 700; color: var(--lm-primary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; }
.lm365-section-dark .lm365-section-label { background: rgba(255,255,255,0.1); color: white; }
.lm365-section-title { font-size: 2.75rem; margin-bottom: 20px; }
.lm365-section-dark .lm365-section-title { color: white; }
.lm365-section-subtitle { font-size: 1.2rem; color: var(--lm-gray-600); line-height: 1.7; }
.lm365-section-dark .lm365-section-subtitle { color: rgba(255,255,255,0.7); }

/* Feature Row - Alternating */
.lm365-feature-row { padding: 100px 0; background: white; }
.lm365-feature-row:nth-child(even) { background: var(--lm-gray-100); }
.lm365-feature-row-inner { max-width: 1300px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lm365-feature-row:nth-child(even) .lm365-feature-row-inner { direction: rtl; }
.lm365-feature-row:nth-child(even) .lm365-feature-row-inner > * { direction: ltr; }
.lm365-feature-row-content { max-width: 520px; }
.lm365-feature-row-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(59, 130, 246, 0.1); border-radius: var(--lm-radius-full); font-size: 0.8rem; font-weight: 700; color: var(--lm-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.lm365-feature-row-label-icon { font-size: 1rem; }
.lm365-feature-row-title { font-size: 2.25rem; margin-bottom: 20px; line-height: 1.15; }
.lm365-feature-row-desc { font-size: 1.1rem; color: var(--lm-gray-600); line-height: 1.8; margin-bottom: 32px; }
.lm365-feature-row-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.lm365-feature-row-list-item { display: flex; align-items: flex-start; gap: 14px; }
.lm365-feature-row-check { width: 24px; height: 24px; background: linear-gradient(135deg, #34d399 0%, var(--lm-success) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.lm365-feature-row-check svg { width: 12px; height: 12px; fill: white; }
.lm365-feature-row-list-text { font-size: 1.05rem; color: var(--lm-gray-700); line-height: 1.5; }
.lm365-feature-row-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.lm365-feature-row-image { position: relative; }
.lm365-feature-row-image img { width: 100%; border-radius: var(--lm-radius-xl); box-shadow: var(--lm-shadow-2xl); }

/* Browser Frame */
.lm365-browser-frame { background: white; border-radius: var(--lm-radius-xl); box-shadow: var(--lm-shadow-2xl); overflow: hidden; }
.lm365-browser-frame-header { background: var(--lm-gray-100); padding: 14px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--lm-gray-200); }
.lm365-browser-frame-dots { display: flex; gap: 6px; }
.lm365-browser-frame-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lm-gray-300); }
.lm365-browser-frame-dot.red { background: #ff5f57; }
.lm365-browser-frame-dot.yellow { background: #ffbd2e; }
.lm365-browser-frame-dot.green { background: #28c840; }
.lm365-browser-frame-content { background: var(--lm-gray-100); }
.lm365-browser-frame-content img { width: 100%; display: block; }

/* Features Grid */
.lm365-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lm365-feature-card { background: white; border-radius: var(--lm-radius-xl); padding: 40px 32px; transition: all 0.3s ease; border: 1px solid var(--lm-gray-200); cursor: pointer; text-decoration: none; display: block; position: relative; overflow: hidden; }
.lm365-feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--lm-primary) 0%, var(--lm-primary-light) 100%); opacity: 0; transition: opacity 0.3s ease; }
.lm365-feature-card:hover { transform: translateY(-8px); box-shadow: var(--lm-shadow-xl); border-color: transparent; }
.lm365-feature-card:hover::before { opacity: 1; }
.lm365-feature-icon { width: 72px; height: 72px; border-radius: var(--lm-radius-lg); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 24px; }
.lm365-feature-icon.blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.lm365-feature-icon.green { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.lm365-feature-icon.gold { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.lm365-feature-icon.purple { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
.lm365-feature-icon.red { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }
.lm365-feature-icon.cyan { background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%); }
.lm365-feature-title { font-size: 1.35rem; margin-bottom: 12px; color: var(--lm-dark); font-weight: 700; }
.lm365-feature-desc { color: var(--lm-gray-600); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.lm365-feature-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--lm-primary); font-size: 0.95rem; }
.lm365-feature-link:hover { gap: 12px; }

/* Feature Section (Features page) */
.lm365-feature-section { padding: 100px 0; border-bottom: 1px solid var(--lm-gray-200); }
.lm365-feature-section:nth-child(even) { background: var(--lm-gray-100); }
.lm365-feature-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lm365-feature-section:nth-child(even) .lm365-feature-grid { direction: rtl; }
.lm365-feature-section:nth-child(even) .lm365-feature-grid > * { direction: ltr; }
.lm365-feature-info { max-width: 480px; }
.lm365-feature-icon-large { width: 72px; height: 72px; border-radius: var(--lm-radius-md); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 24px; }
.lm365-feature-label { display: inline-block; padding: 6px 12px; background: rgba(59, 130, 246, 0.1); border-radius: var(--lm-radius-full); font-size: 0.75rem; font-weight: 600; color: var(--lm-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.lm365-feature-title-large { font-size: 2.25rem; margin-bottom: 20px; }
.lm365-feature-desc-large { font-size: 1.1rem; color: var(--lm-gray-600); margin-bottom: 32px; line-height: 1.8; }
.lm365-feature-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.lm365-feature-list-item { display: flex; align-items: flex-start; gap: 12px; }
.lm365-feature-check { width: 24px; height: 24px; background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-dark) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px; }
.lm365-feature-list-text { font-size: 1rem; color: var(--lm-gray-700); }
.lm365-feature-cta { display: flex; gap: 12px; }
.lm365-feature-visual { position: relative; }
.lm365-feature-image { background: white; border-radius: var(--lm-radius-xl); box-shadow: var(--lm-shadow-xl); overflow: hidden; border: 1px solid var(--lm-gray-200); }
.lm365-feature-image-header { background: var(--lm-gray-100); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.lm365-feature-image-dots { display: flex; gap: 6px; }
.lm365-feature-image-dot { width: 8px; height: 8px; border-radius: 50%; }
.lm365-feature-image-dot.red { background: #ff5f56; }
.lm365-feature-image-dot.yellow { background: #ffbd2e; }
.lm365-feature-image-dot.green { background: #27ca40; }
.lm365-feature-image-content { background: var(--lm-gray-100); min-height: 300px; display: flex; align-items: center; justify-content: center; }
.lm365-feature-image-content img { max-width: 100%; height: auto; }
.lm365-feature-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 40px; color: var(--lm-gray-400); }
.lm365-feature-placeholder-icon { font-size: 3rem; margin-bottom: 16px; }
.lm365-feature-placeholder-text { font-size: 0.9rem; }

/* Testimonials */
.lm365-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lm365-testimonial-card { background: rgba(255,255,255,0.1); border-radius: var(--lm-radius-xl); padding: 40px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.lm365-testimonial-stars { margin-bottom: 20px; font-size: 1.2rem; letter-spacing: 2px; }
.lm365-testimonial-text { font-size: 1.1rem; line-height: 1.8; margin-bottom: 28px; color: rgba(255,255,255,0.9); }
.lm365-testimonial-author { display: flex; align-items: center; gap: 16px; }
.lm365-author-avatar { width: 52px; height: 52px; background: linear-gradient(135deg, var(--lm-primary-light) 0%, var(--lm-primary) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: white; }
.lm365-author-name { font-weight: 700; color: white; font-size: 1.05rem; }
.lm365-author-title { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* CTA Section */
.lm365-cta-section { padding: 120px 0; background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-dark) 100%); position: relative; overflow: hidden; }
.lm365-cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.lm365-cta-inner { max-width: 800px; margin: 0 auto; padding: 0 40px; text-align: center; position: relative; z-index: 1; }
.lm365-cta-title { font-size: 2.75rem; color: white; margin-bottom: 20px; }
.lm365-cta-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.7; }
.lm365-cta-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.lm365-cta-note { font-size: 0.95rem; color: rgba(255,255,255,0.6); }

/* Footer */
.lm365-footer { background: var(--lm-dark); color: rgba(255,255,255,0.7); padding: 80px 0 40px; }
.lm365-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lm365-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.lm365-footer-brand p { margin-top: 20px; font-size: 0.95rem; line-height: 1.7; max-width: 300px; }
.lm365-footer-title { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.lm365-footer-links { display: flex; flex-direction: column; gap: 14px; }
.lm365-footer-link { font-size: 0.95rem; }
.lm365-footer-link:hover { color: white; }
.lm365-footer-bottom { padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.lm365-footer-copyright { font-size: 0.9rem; }

/* Page Header */
.lm365-page-header { padding: 180px 0 100px; background: linear-gradient(180deg, #f0f7ff 0%, #e0efff 50%, white 100%); text-align: center; position: relative; }
.lm365-page-header::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.1) 0%, transparent 60%); pointer-events: none; }
.lm365-page-header-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.lm365-page-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; background: white; border-radius: var(--lm-radius-full); font-size: 0.9rem; font-weight: 600; color: var(--lm-primary); box-shadow: var(--lm-shadow-md); margin-bottom: 28px; }
.lm365-page-title { font-size: 3rem; margin-bottom: 20px; }
.lm365-page-subtitle { font-size: 1.2rem; color: var(--lm-gray-600); max-width: 650px; margin: 0 auto; line-height: 1.7; }

/* Pricing */
/* Billing Toggle */
.lm365-billing-toggle-section { text-align: center; padding: 40px 0 0; }
.lm365-billing-toggle { display: inline-flex; background: var(--lm-gray-100); border-radius: 8px; padding: 4px; margin-bottom: 16px; }
.lm365-billing-option { padding: 10px 24px; border: none; background: transparent; font-weight: 600; font-size: 0.95rem; color: var(--lm-gray-600); cursor: pointer; border-radius: 6px; transition: all 0.2s ease; }
.lm365-billing-option.active { background: white; color: var(--lm-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.lm365-billing-savings { display: block; color: var(--lm-success); font-weight: 600; font-size: 0.9rem; }

/* Pricing Grid */
.lm365-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lm365-pricing-card { background: white; border-radius: 16px; padding: 40px 32px; border: 2px solid var(--lm-gray-200); position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; }
.lm365-pricing-card:hover { border-color: var(--lm-primary-light); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.lm365-pricing-card.featured { border-color: var(--lm-primary); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); transform: scale(1.03); }
.lm365-pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-dark) 100%); color: white; padding: 6px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

/* Pricing Header */
.lm365-pricing-header { text-align: center; margin-bottom: 32px; }
.lm365-pricing-icon { font-size: 2rem; margin-bottom: 16px; }
.lm365-pricing-name { font-size: 1.5rem; font-weight: 700; color: var(--lm-dark); margin-bottom: 8px; }
.lm365-pricing-tagline { font-size: 0.95rem; color: var(--lm-gray-500); margin-bottom: 24px; }

/* Pricing Amount */
.lm365-pricing-amount { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 8px; }
.lm365-pricing-currency { font-size: 1.5rem; font-weight: 700; color: var(--lm-dark); }
.lm365-pricing-value { font-size: 3.5rem; font-weight: 800; color: var(--lm-dark); line-height: 1; }
.lm365-pricing-period { font-size: 1rem; color: var(--lm-gray-500); font-weight: 500; }
.lm365-pricing-annual-note { font-size: 0.85rem; color: var(--lm-gray-500); margin-bottom: 24px; }
.lm365-pricing-annual-note .savings { color: var(--lm-success); font-weight: 600; }

/* Pricing Limits */
.lm365-pricing-limits { display: flex; justify-content: center; gap: 32px; padding: 20px 0; border-top: 1px solid var(--lm-gray-100); border-bottom: 1px solid var(--lm-gray-100); }
.lm365-limit-item { text-align: center; }
.lm365-limit-value { font-size: 1.75rem; font-weight: 800; color: var(--lm-primary); }
.lm365-limit-label { font-size: 0.8rem; color: var(--lm-gray-500); text-transform: uppercase; letter-spacing: 0.5px; }

/* Pricing Features */
.lm365-pricing-features { flex: 1; padding: 24px 0; }
.lm365-features-title { font-size: 0.8rem; font-weight: 700; color: var(--lm-gray-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.lm365-pricing-feature-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.lm365-pricing-feature-check { width: 20px; height: 20px; background: var(--lm-success); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75rem; flex-shrink: 0; }
.lm365-pricing-feature-text { font-size: 0.9rem; color: var(--lm-gray-700); }

/* Pricing CTA */
.lm365-pricing-cta { text-align: center; margin-top: auto; }
.lm365-pricing-cta .btn { width: 100%; }
.lm365-pricing-note { font-size: 0.8rem; color: var(--lm-gray-500); margin-top: 12px; }

/* FAQ Grid */
.lm365-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.lm365-faq-item { background: white; border-radius: 12px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.lm365-faq-question { font-size: 1.1rem; font-weight: 700; color: var(--lm-dark); margin-bottom: 12px; }
.lm365-faq-answer { font-size: 0.95rem; color: var(--lm-gray-600); line-height: 1.7; }

/* FAQ */
.lm365-faq-grid { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.lm365-faq-item { background: white; border-radius: var(--lm-radius-lg); margin-bottom: 16px; border: 1px solid var(--lm-gray-200); overflow: hidden; }
.lm365-faq-item:hover { border-color: var(--lm-gray-300); }
.lm365-faq-item.active { border-color: var(--lm-primary); box-shadow: var(--lm-shadow-md); }
.lm365-faq-question { width: 100%; padding: 24px 28px; background: none; border: none; text-align: left; font-size: 1.1rem; font-weight: 600; color: var(--lm-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Inter', sans-serif; }
.lm365-faq-icon { width: 28px; height: 28px; background: var(--lm-gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--lm-gray-600); transition: all 0.3s ease; }
.lm365-faq-item.active .lm365-faq-icon { background: var(--lm-primary); color: white; transform: rotate(45deg); }
.lm365-faq-answer { padding: 0 28px 24px; font-size: 1rem; color: var(--lm-gray-600); line-height: 1.8; display: none; }
.lm365-faq-item.active .lm365-faq-answer { display: block; }

/* Walkthroughs */
.lm365-walkthroughs-hero { padding: 160px 0 80px; background: linear-gradient(180deg, #f0f7ff 0%, white 100%); text-align: center; }
.lm365-walkthroughs-hero-inner { max-width: 800px; margin: 0 auto; padding: 0 40px; }
.lm365-walkthroughs-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; padding: 0 20px; }
.lm365-walkthrough-tab { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 24px; background: white; border: 2px solid var(--lm-gray-200); border-radius: var(--lm-radius-lg); cursor: pointer; transition: all 0.3s ease; min-width: 120px; }
.lm365-walkthrough-tab:hover { border-color: var(--lm-primary-light); }
.lm365-walkthrough-tab.active { border-color: var(--lm-primary); background: rgba(59, 130, 246, 0.05); box-shadow: var(--lm-shadow-md); }
.lm365-walkthrough-tab-icon { font-size: 2rem; }
.lm365-walkthrough-tab-name { font-weight: 600; color: var(--lm-dark); font-size: 0.95rem; }
.lm365-walkthrough-tab-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: var(--lm-radius-full); background: var(--lm-primary); color: white; font-weight: 600; }
.lm365-walkthrough-tab-badge.coming-soon { background: var(--lm-accent); }
.lm365-walkthrough-content { max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.lm365-walkthrough-video { background: white; border-radius: var(--lm-radius-xl); box-shadow: var(--lm-shadow-xl); overflow: hidden; }
.lm365-walkthrough-video-header { background: var(--lm-gray-100); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--lm-gray-200); }
.lm365-walkthrough-video-title { font-weight: 700; color: var(--lm-dark); font-size: 1.1rem; }
.lm365-walkthrough-video-duration { font-size: 0.9rem; color: var(--lm-gray-500); }
.lm365-walkthrough-video-content { aspect-ratio: 16/9; background: var(--lm-dark); }
.lm365-walkthrough-video-content iframe { width: 100%; height: 100%; border: none; }
.lm365-walkthrough-coming-soon { padding: 80px 40px; text-align: center; color: var(--lm-gray-500); }
.lm365-walkthrough-coming-soon-icon { font-size: 4rem; margin-bottom: 20px; }
.lm365-walkthrough-coming-soon h3 { color: var(--lm-dark); margin-bottom: 12px; }

/* Contact */
.lm365-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.lm365-contact-info h3 { font-size: 1.5rem; margin-bottom: 16px; }
.lm365-contact-info p { color: var(--lm-gray-600); margin-bottom: 32px; }
.lm365-contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.lm365-contact-icon { width: 48px; height: 48px; background: rgba(59, 130, 246, 0.1); border-radius: var(--lm-radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.lm365-contact-item-title { font-weight: 600; color: var(--lm-dark); margin-bottom: 4px; }
.lm365-contact-item-value { color: var(--lm-gray-600); }
.lm365-contact-form { background: white; padding: 40px; border-radius: var(--lm-radius-xl); box-shadow: var(--lm-shadow-lg); }
.lm365-form-group { margin-bottom: 24px; }
.lm365-form-group label { display: block; font-weight: 600; color: var(--lm-dark); margin-bottom: 8px; font-size: 0.95rem; }
.lm365-form-group input, .lm365-form-group textarea, .lm365-form-group select { width: 100%; padding: 14px 16px; border: 1px solid var(--lm-gray-300); border-radius: var(--lm-radius-md); font-size: 1rem; font-family: 'Inter', sans-serif; transition: border-color 0.2s ease; }
.lm365-form-group input:focus, .lm365-form-group textarea:focus, .lm365-form-group select:focus { outline: none; border-color: var(--lm-primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
.lm365-form-group textarea { resize: vertical; min-height: 120px; }

/* Responsive */
@media (max-width: 1200px) {
    .lm365-hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .lm365-hero-content { max-width: 700px; margin: 0 auto; }
    .lm365-hero-subtitle { margin-left: auto; margin-right: auto; }
    .lm365-hero-cta { justify-content: center; }
    .lm365-hero-stats { justify-content: center; }
    .lm365-hero-visual { max-width: 700px; margin: 0 auto; }
    .lm365-feature-row-inner { grid-template-columns: 1fr; gap: 60px; }
    .lm365-feature-row:nth-child(even) .lm365-feature-row-inner { direction: ltr; }
    .lm365-feature-row-content { max-width: 100%; text-align: center; margin: 0 auto; }
    .lm365-feature-row-list { display: inline-flex; flex-direction: column; text-align: left; }
    .lm365-feature-row-cta { justify-content: center; }
    .lm365-feature-grid { grid-template-columns: 1fr; gap: 60px; }
    .lm365-feature-section:nth-child(even) .lm365-feature-grid { direction: ltr; }
    .lm365-feature-info { max-width: 100%; text-align: center; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .lm365-feature-icon-large { margin-left: auto; margin-right: auto; }
    .lm365-feature-list { display: inline-flex; flex-direction: column; text-align: left; }
    .lm365-feature-cta { justify-content: center; }
    .lm365-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .lm365-features-grid, .lm365-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .lm365-pricing-grid { grid-template-columns: 1fr; max-width: 450px; }
    .lm365-pricing-card.featured { transform: none; }
    .lm365-faq-grid { grid-template-columns: 1fr; }
    .lm365-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .lm365-hero-title { font-size: 2.75rem; }
    .lm365-section-title { font-size: 2.25rem; }
    .lm365-cta-title { font-size: 2.25rem; }
}

@media (max-width: 1024px) {
    .lm365-mobile-menu-btn { 
        display: flex !important; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        width: 44px; 
        height: 44px; 
        background: none; 
        border: none; 
        cursor: pointer; 
        z-index: 1002; 
        gap: 6px;
        padding: 10px;
    }
    .hamburger-line { 
        display: block;
        width: 24px; 
        height: 2px; 
        background: var(--lm-dark); 
        transition: all 0.3s ease; 
        border-radius: 2px;
    }
    .lm365-mobile-menu-btn.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .lm365-mobile-menu-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
    .lm365-mobile-menu-btn.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    .lm365-mobile-menu-overlay { 
        display: block;
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        background: rgba(0,0,0,0.5); 
        opacity: 0; 
        visibility: hidden; 
        transition: all 0.3s ease; 
        z-index: 1000; 
    }
    .lm365-mobile-menu-overlay.active { opacity: 1; visibility: visible; }
    body.mobile-menu-open { overflow: hidden; }
    .lm365-nav { 
        position: fixed !important; 
        top: 0 !important; 
        right: -100% !important; 
        width: 85% !important; 
        max-width: 320px !important; 
        height: 100vh !important; 
        background: white !important; 
        flex-direction: column !important; 
        align-items: stretch !important; 
        padding: 100px 24px 40px !important; 
        gap: 20px !important; 
        box-shadow: -10px 0 40px rgba(0,0,0,0.15) !important; 
        transition: right 0.3s ease !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
    }
    .lm365-nav.mobile-open { right: 0 !important; }
    .lm365-nav-links { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 0 !important; 
    }
    .lm365-nav-link { 
        display: block !important;
        padding: 16px 0 !important; 
        border-bottom: 1px solid var(--lm-gray-200) !important; 
        font-size: 1.1rem !important; 
    }
    .lm365-nav-cta { 
        flex-direction: column !important; 
        gap: 12px !important; 
        margin-top: 20px !important; 
    }
    .lm365-nav-cta .btn { 
        width: 100% !important; 
        text-align: center !important; 
    }
}

@media (max-width: 768px) {
    .lm365-header-inner { padding: 0 16px; height: 70px; justify-content: center; position: relative; }
    .lm365-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .lm365-logo img, .lm365-logo-img { height: 50px; }
    .lm365-logo-icon { width: 44px; height: 44px; font-size: 18px; }
    .lm365-logo-text { font-size: 1.4rem; }
    .lm365-mobile-menu-btn { position: absolute; right: 16px; }
    .lm365-hero-inner { padding: 60px 20px 100px; }
    .lm365-hero-title { font-size: 2.25rem; }
    .lm365-hero-subtitle { font-size: 1.1rem; }
    .lm365-hero-stats { flex-direction: column; gap: 24px; align-items: center; }
    .lm365-stat-item { text-align: center; }
    .lm365-features-grid, .lm365-testimonials-grid { grid-template-columns: 1fr; padding: 0 20px; }
    .lm365-section { padding: 80px 0; }
    .lm365-section-header { padding: 0 20px; margin-bottom: 50px; }
    .lm365-section-title { font-size: 2rem; }
    .lm365-feature-row { padding: 60px 0; }
    .lm365-feature-row-inner { padding: 0 20px; }
    .lm365-feature-row-title { font-size: 1.75rem; }
    .lm365-cta-section { padding: 80px 0; }
    .lm365-cta-inner { padding: 0 20px; }
    .lm365-cta-title { font-size: 1.75rem; }
    .lm365-page-header { padding: 140px 0 60px; }
    .lm365-page-header-inner { padding: 0 20px; }
    .lm365-page-title { font-size: 2.25rem; }
    .lm365-footer-inner { padding: 0 20px; }
    .lm365-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .lm365-footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

    .lm365-trust-logos { gap: 40px; }
    .lm365-faq-grid { padding: 0 20px; }
}

@media (max-width: 480px) {
    .lm365-hero-title { font-size: 1.85rem; }
    .lm365-hero-cta { flex-direction: column; width: 100%; }
    .lm365-hero-cta .btn { width: 100%; }
    .lm365-hero-cta .btn-play { width: auto; }
    .lm365-stat-number { font-size: 2rem; }
    .btn-lg { padding: 16px 28px; font-size: 1rem; }
    .lm365-cta-buttons { flex-direction: column; }
    .lm365-cta-buttons .btn { width: 100%; }
    .lm365-section-title { font-size: 1.75rem; }
    .lm365-feature-row-title { font-size: 1.5rem; }
    .lm365-cta-title { font-size: 1.5rem; }
    .lm365-page-title { font-size: 1.85rem; }
}

/* ========================================
   Additional Fixes - v2.0.1
   ======================================== */

/* Center feature card icons */
.lm365-feature-card {
    text-align: center;
}

.lm365-feature-card .lm365-feature-icon {
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section - ensure white text */
.lm365-cta-section .lm365-cta-title,
.lm365-cta-section h2 {
    color: white !important;
}

.lm365-cta-section .lm365-cta-subtitle,
.lm365-cta-section p {
    color: rgba(255,255,255,0.8) !important;
}

/* Footer brand - reduce gap between logo and text */
.lm365-footer-brand .lm365-footer-logo,
.lm365-footer-brand img {
    margin-bottom: 12px;
}

.lm365-footer-brand p,
.lm365-footer-brand .lm365-footer-tagline {
    margin-top: 0 !important;
}

.lm365-footer-logo-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

/* Footer columns h4 styling */
.lm365-footer-col h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lm365-footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.lm365-footer-col a:hover {
    color: white;
}

/* ========================================
   Pricing Page Fixes - v2.0.2
   ======================================== */

/* FAQ Grid on Pricing Page */
.lm365-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.lm365-help-item {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--lm-gray-200);
}

.lm365-help-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lm-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.lm365-help-answer {
    font-size: 0.95rem;
    color: var(--lm-gray-600);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .lm365-help-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* Guarantee Section - Match Theme Colors */
.lm365-guarantee-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
}

.lm365-guarantee-section h2 {
    color: var(--lm-primary-dark) !important;
}

.lm365-guarantee-section p {
    color: var(--lm-gray-700) !important;
}

/* CTA Section - Force White Text */
.lm365-cta-section h2,
.lm365-cta-section .lm365-cta-title {
    color: white !important;
}

.lm365-cta-section p,
.lm365-cta-section .lm365-cta-subtitle {
    color: rgba(255,255,255,0.85) !important;
}

.lm365-cta-section .lm365-cta-note {
    color: rgba(255,255,255,0.6) !important;
}

/* ========================================
   Logo Size Constraint - Retina Support
   ======================================== */

/* Header logo - constrain to 200px width for crisp Retina display */
.lm365-header .lm365-logo-img {
    max-width: 200px !important;
    width: 200px !important;
    height: auto !important;
}

/* Footer logo - constrain size */
.lm365-footer-brand img,
.lm365-footer-logo {
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    max-height: 50px !important;
}

/* Customer login logo */
.login-logo-img {
    max-width: 200px !important;
    width: 200px !important;
    height: auto !important;
}
