:root {
    --primary-color: #e67e22; /* VeriGuest Orange */
    --primary-dark: #d35400;
    --sidebar-color: #2c3e50; /* Software Sidebar Blue (Nav) */
    --sidebar-bg-light: #ffffff;
    --sidebar-text-dark: #2d3436;
    --background-main: #f4f6f8; /* Software Main BG */
    --background-white: #ffffff;
    --text-main: #2d3436; /* Software Dark Text */
    --text-muted: #636e72;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 15px 30px rgba(44, 62, 80, 0.08); /* Deep Blue Shadow */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- High-Contrast Navbar for White Logo --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: var(--sidebar-color); /* Deep Blue */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 75px; /* Maximum visibility */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: white; /* Contrast text */
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800 !important;
    color: white !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-login:hover {
    opacity: 1;
    color: var(--primary-color) !important;
}

.nav-login i {
    font-size: 1.2rem;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
    transition: all 0.3s var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: #eee;
    color: #444; 
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

/* --- Hero Section (Realistic Hardware Focus) --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(230, 126, 34, 0.05), transparent 40%),
                linear-gradient(to bottom, var(--background-white), var(--background-main));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--sidebar-color);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

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

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.hero-img {
    width: 100%;
    display: block;
}

/* --- Features Grid --- */
.section-padding { padding: 8rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--sidebar-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

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

.feat-card {
    background: var(--background-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    transition: all 0.3s var(--transition-smooth);
}

.feat-card:hover {
    transform: translateY(-8px);
}

.feat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feat-card h3 {
    color: var(--sidebar-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* --- RESTORED PRICING COLUMNS SIDE-BY-SIDE --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 1.5rem;
    margin-top: 4rem;
}

.price-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.price-card h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--text-muted);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--sidebar-color);
    margin: 1rem 0;
}

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

.price-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 3rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.price-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.price-features li i {
    color: #2ecc71;
}

.price-card.popular {
    transform: translateY(-15px);
    border: 3px solid var(--primary-color);
    position: relative;
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.15);
}

.popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.price-card.selected-plan {
    border: 4px solid var(--primary-color) !important;
    background: #fffdfa;
    box-shadow: 0 30px 60px rgba(230, 126, 34, 0.15);
    transform: scale(1.02);
}

.price-card.selected-plan h3 {
    color: var(--primary-color);
}

/* --- Reveal Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
footer {
    background: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid #eee;
}

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 3rem; }
    .hero p { margin: 0 auto 2.5rem; }
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* --- ROI POWER SECTION --- */
.roi-section-wrapper {
    background: var(--sidebar-color); /* Deep Blue Anchor */
    position: relative;
    overflow: hidden;
}

.roi-section-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.roi-item {
    padding: 3rem 2rem; /* Tightened padding */
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism Base */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.roi-item:hover {
    transform: scale(1.05); /* Aggressive Presence */
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.roi-number {
    font-size: 6.5rem; /* Balanced Typography (Down from 9rem) */
    font-weight: 900;
    color: var(--primary-color); /* Vibrant Orange */
    line-height: 0.9;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
}

.roi-number span { 
    font-size: 3rem; 
    opacity: 0.8;
}

.roi-label {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.roi-detail {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}

/* --- Capabilities Accordion --- */
.capabilities-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.acc-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.acc-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.acc-header:hover { background: #fcfcfc; }

.acc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sidebar-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.acc-title i { color: var(--primary-color); font-size: 1.2rem; }

.acc-body {
    padding: 0 2rem 2rem;
    display: none;
    border-top: 1px solid #f9f9f9;
}

.acc-item.active .acc-body { display: block; }
.acc-item.active .toggle-icon { transform: rotate(180deg); }

.acc-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.acc-list {
    list-style: none;
}

.acc-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.acc-list li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: 800;
}

/* --- Hardware Excellence --- */
.hardware-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hardware-content h2 {
    font-size: 3rem;
    color: var(--sidebar-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hw-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 2rem;
}

.hw-features .item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hw-features i {
    width: 60px;
    height: 60px;
    background: var(--background-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hw-features span {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.4;
}

.hw-features span strong {
    display: block;
    color: var(--sidebar-color);
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .roi-grid { grid-template-columns: 1fr; }
    .hardware-grid { grid-template-columns: 1fr; }
    .roi-item { border-bottom: 1px solid #eee; }
    .hardware-visual { order: 2; }
    .hardware-content { order: 1; }
}

/* --- ENTERPRISE LOGIN PORTAL (Phase 3) --- */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7f6; /* Clean Institutional Background */
    padding: 2rem;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: #ffffff; /* Solid White Card */
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: center;
    animation: loginFadeUp 0.8s var(--transition-smooth);
}

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

.login-logo-container {
    margin-bottom: 2.5rem;
}

.login-logo-container img {
    height: 120px; /* Scaled for prominence */
    width: auto;
    filter: brightness(0.5) drop-shadow(0 1px 2px rgba(0,0,0,0.1)); 
}

.login-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.login-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    color: #4a5568; /* Robust Dark Text */
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: #ffffff; /* White Input */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    color: #2d3748;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.btn-login {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s var(--transition-smooth);
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.3);
}

.login-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.login-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.back-to-site {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-to-site:hover {
    color: white;
}

/* --- ENTERPRISE DASHBOARD (Phase 3) --- */
.dash-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: #ffffff; /* Pure White Main */
}

.dash-sidebar {
    background: var(--sidebar-bg-light); 
    color: var(--sidebar-text-dark);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid #eef2f5;
    box-shadow: 10px 0 30px rgba(0,0,0,0.02);
}

.dash-logo {
    margin-bottom: 3.5rem;
    padding-left: 1rem;
}

.dash-logo img {
    height: 95px; /* Scaled for authority */
    width: auto;
    filter: brightness(0.4) saturate(1.2); 
    margin-bottom: 2rem;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dash-nav-item:hover {
    color: var(--sidebar-text-dark);
    background: #f1f3f5;
}

.dash-nav-item.active {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

/* --- Hierarchical Navigation --- */
.dash-nav-dropdown {
    display: flex;
    flex-direction: column;
}

.dash-nav-submenu {
    padding-left: 2.2rem;
    display: none; /* Toggled via JS */
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.dash-nav-submenu.show {
    display: flex;
}

.dash-nav-submenu .dash-nav-item {
    font-size: 0.9rem;
    padding: 10px 15px;
    opacity: 0.8;
}

.dash-nav-submenu .dash-nav-item:hover {
    opacity: 1;
}

.caret {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    opacity: 0.5;
}

.dash-nav-item.open .caret {
    transform: rotate(90deg);
}

.dash-main {
    padding: 2.5rem 3rem;
    overflow-y: auto;
}

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

.dash-header h1 {
    font-size: 2.2rem;
    color: var(--sidebar-color);
    font-weight: 800;
}

.btn-emergency {
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

.btn-emergency:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.btn-emergency.active {
    background: #e74c3c;
    animation: flashEmergency 1s infinite alternate;
}

@keyframes flashEmergency {
    from { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    to { box-shadow: 0 0 0 15px rgba(231, 76, 60, 0); }
}

/* --- Stat Grid --- */
.dash-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.stat-card:hover { transform: translateY(-5px); }

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

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--background-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--sidebar-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- Data Table --- */
.dash-content-block {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

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

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table th {
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: #fdfdfd;
    color: var(--sidebar-color);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #f1f1f1;
}

.dash-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
    color: var(--text-main);
}

.dash-table tr:hover { background: #fcfcfc; }

.status-chip {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-active { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-signed { background: rgba(52, 152, 219, 0.1); color: #3498db; }

/* Empty State */
.loading-overlay {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* --- DASHBOARD: UNIFIED TABLET THEME (ADMIN) --- */
.admin-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; padding-top: 1rem; }
.host-card { background: var(--background-white); border: 1px solid var(--sidebar-color); border-radius: 12px; padding: 1.25rem; transition: all 0.3s ease; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-soft); opacity: 0.95; }
.host-card:hover { transform: translateY(-3px); border-color: var(--primary-color); opacity: 1; }
.host-info h4 { color: var(--text-main); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.host-info p { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }
.registration-row { background: #ffffff; padding: 2rem; border-radius: 16px; border: 2px solid #f1f1f1; margin-bottom: 2.5rem; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 15px; align-items: center; box-shadow: var(--shadow-premium); }
.modern-input { background: #f9f9f9; border: 1px solid #dfe6e9; padding: 14px 18px; border-radius: 10px; font-family: ''Outfit'', sans-serif; font-size: 0.95rem; font-weight: 500; transition: all 0.2s ease; }
.modern-input:focus { outline: none; background: #fff; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1); }
.policy-governance-wrapper { display: grid; grid-template-columns: 350px 1fr; gap: 2rem; }
.policy-dossier-card { background: #ffffff; border: 1px solid #dfe6e9; border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 0.8rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s ease; }
.policy-dossier-card:hover { background: #fdf2e9; border-color: var(--primary-color); }
.policy-dossier-card.active { background: var(--primary-color); border-color: var(--primary-color); color: white; }
.policy-editor-pane { background: #ffffff; border-radius: 16px; border: 1px solid #dfe6e9; padding: 2rem; box-shadow: var(--shadow-premium); }

/* --- Shopping Cart Drawer --- */
.nav-cart {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    margin-right: 1.5rem;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sidebar-color);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px; 
    width: 420px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-weight: 800;
    color: var(--sidebar-color);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--sidebar-color);
    font-weight: 700;
}

.cart-item-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
}

.remove-item {
    background: #fff5f5;
    color: #ff5f57;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.remove-item:hover {
    background: #ff5f57;
    color: white;
}

.cart-footer {
    padding: 2rem;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 4rem;
    font-size: 1rem;
}

/* --- Shopping Cart Drawer --- */
.nav-cart {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    margin-right: 1.5rem;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sidebar-color);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px; 
    width: 420px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-weight: 800;
    color: var(--sidebar-color);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--sidebar-color);
    font-weight: 700;
}

.cart-item-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.qty-val {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sidebar-color);
}

.remove-item {
    background: #fff5f5;
    color: #ff5f57;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.remove-item:hover {
    background: #ff5f57;
    color: white;
}

.cart-footer {
    padding: 2rem;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 4rem;
    font-size: 1rem;
}

/* ============================================================
   INQUIRY FORM (Lead Capture)
   ============================================================ */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    margin-top: 0.5rem;
}

.inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .inquiry-form-grid { grid-template-columns: 1fr; }
    .inquiry-form-grid input[style*="grid-column"] { grid-column: auto !important; }
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
}

.inquiry-form textarea {
    resize: none;
}

/* Support page form inside white card */
.inquiry-form.light-form input,
.inquiry-form.light-form textarea,
#support-section .inquiry-form input,
#support-section .inquiry-form textarea {
    background: #fff;
    border: 1px solid #dde1e8;
    color: var(--text-main);
}

#support-section .inquiry-form input::placeholder,
#support-section .inquiry-form textarea::placeholder,
.inquiry-form.light-form input::placeholder,
.inquiry-form.light-form textarea::placeholder {
    color: #aaa;
}

#support-section .inquiry-form input:focus,
#support-section .inquiry-form textarea:focus,
.inquiry-form.light-form input:focus,
.inquiry-form.light-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.inquiry-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.inquiry-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

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

.inquiry-modal-box {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 28px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalSlideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}

.inquiry-modal-icon {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.inquiry-modal-box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--sidebar-color);
}

.inquiry-modal-box p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================================
   SUPPORT PAGE CONTACT CARDS
   ============================================================ */
.support-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.support-contact-item:last-of-type {
    border-bottom: none;
}

.support-contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--primary-color), #d35400);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.support-contact-item h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--sidebar-color);
}

.support-contact-item p {
    margin: 0 0 0.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.support-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: #eaf4ff;
    color: #1a6ac8;
}

