@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #080d1a;
    --bg-secondary: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.25);
    --accent: #0ea5e9;
    
    --color-safe: #10b981;
    --color-low: #84cc16;
    --color-medium: #f59e0b;
    --color-high: #ef4444;
    --color-critical: #991b1b;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 0%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f8fafc 30%, #3b82f6 70%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==========================================
   CARDS & CONTAINERS
   ========================================== */

.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   SEARCH & FORM ELEMENTS
   ========================================== */

.search-section {
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Input wrapper for voice button */
.search-box .input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    gap: 8px;
}

.search-box .input-wrapper input {
    flex: 1;
    padding-right: 3rem; /* space for mic button */
}

.search-box .input-wrapper {
    position: relative;
}

.search-box .input-wrapper .voice-container {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.search-box .input-wrapper .voice-container .mic-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: none;
    position: static;
    right: auto;
    top: auto;
    transform: none;
}




.search-box input {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.05rem;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-box button, button.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.search-box button:hover, button.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

.search-box button:active, button.btn-primary:active {
    transform: translateY(0);
}

/* ==========================================
   METRICS & DETAILS
   ========================================== */

.score-display {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    border: 4px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.score-circle span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.score-text-details h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 8px;
}

.badge-safe { background: rgba(16, 185, 129, 0.15); color: var(--color-safe); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-low { background: rgba(132, 204, 22, 0.15); color: var(--color-low); border: 1px solid rgba(132, 204, 22, 0.3); }
.badge-medium { background: rgba(245, 158, 11, 0.15); color: var(--color-medium); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-high { background: rgba(239, 68, 68, 0.15); color: var(--color-high); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-critical { background: rgba(153, 27, 27, 0.15); color: var(--color-critical); border: 1px solid rgba(153, 27, 27, 0.3); }

.score-good { border-color: var(--color-safe); color: var(--color-safe); box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
.score-medium { border-color: var(--color-medium); color: var(--color-medium); box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
.score-bad { border-color: var(--color-high); color: var(--color-high); box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }

.grid-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row:last-child {
    border-bottom: none;
}

.data-row strong {
    color: var(--text-secondary);
    font-weight: 500;
}

.data-row span {
    font-weight: 600;
}

/* ==========================================
   RISK FACTORS & TAGS
   ========================================== */

.factors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.factor-item {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid var(--color-high);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #fca5a5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.factor-item-safe {
    background: rgba(16, 185, 129, 0.08);
    border-left: 4px solid var(--color-safe);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #a7f3d0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================
   FEATURES / EXPLAINERS ON HOME
   ========================================== */

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

.feature-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   BUTTONS & ACTION LINKS
   ========================================== */

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-safe);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 6px;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 20px;
}

/* Inline map styling */
.report-map {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

/* Navigation Bar */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* ==========================================
   DASHBOARD PAGE STYLES
   ========================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dashboard-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-3px);
}

.dashboard-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.big-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f8fafc 30%, #3b82f6 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Status and Report Tables in Dashboard */
.status-table, .report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

.status-table th, .report-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.status-table td, .report-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.status-table tr:hover td, .report-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Custom Threat List style overrides for dark theme */
.threat-list {
    list-style: none;
    padding: 0;
}

.threat-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-medium);
    color: var(--text-primary);
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.threat-list li:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* ==========================================
   DROPDOWN NAVIGATION
   ========================================== */

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

.nav-dropdown-btn {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    outline: none;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background: rgba(8, 13, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
    text-align: left;
    left: 50%;
    transform: translateX(-50%);
}

.nav-dropdown-content a {
    color: var(--text-secondary);
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
    padding-left: 24px;
}

.nav-item-dropdown:hover .nav-dropdown-content {
    display: block;
}

.beta-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(239, 68, 68, 0.12) 100%) !important;
    border-color: rgba(245, 158, 11, 0.25) !important;
    color: var(--color-medium) !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.05);
}

.beta-highlight:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(239, 68, 68, 0.22) 100%) !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    color: #fca5a5 !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.18);
}

/* ==========================================
   BETA HUB GRID & MODULES
   ========================================== */

.beta-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .beta-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for small screens */

    .beta-grid,
    .beta-column,
    .feedback-list-card,
    .share-grid {
        margin-left: 0;
        width: 100%;
    }
    .card {
        margin-left: 0;
    }
}
    .beta-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 20px 10px;
    }
    header h1 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .search-box {
        flex-direction: column;
        gap: 8px;
    }
    .search-box input,
    .search-box button {
        width: 100%;
    }
    .grid-cols {
        grid-template-columns: 1fr;
    }
    .beta-grid,
    .features,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .nav-link {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.6rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .search-box input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    .search-box button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .nav-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

.beta-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Milestone Progress styling */
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-bar-container {
    height: 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--color-safe) 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.milestone-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
}

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

.m-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: block;
}

.m-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Sharing buttons layout */
.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-btn {
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25d366; border-color: rgba(37, 211, 102, 0.2); }
.share-btn.whatsapp:hover { background: rgba(37, 211, 102, 0.18); box-shadow: 0 0 15px rgba(37, 211, 102, 0.2); }

.share-btn.twitter { background: rgba(255, 255, 255, 0.04); color: var(--text-primary); border-color: rgba(255, 255, 255, 0.08); }
.share-btn.twitter:hover { background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }

.share-btn.facebook { background: rgba(24, 119, 242, 0.1); color: #1877f2; border-color: rgba(24, 119, 242, 0.2); }
.share-btn.facebook:hover { background: rgba(24, 119, 242, 0.18); box-shadow: 0 0 15px rgba(24, 119, 242, 0.2); }

.share-btn.linkedin { background: rgba(0, 119, 181, 0.1); color: #0077b5; border-color: rgba(0, 119, 181, 0.2); }
.share-btn.linkedin:hover { background: rgba(0, 119, 181, 0.18); box-shadow: 0 0 15px rgba(0, 119, 181, 0.2); }

.copy-invite-box {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.copy-invite-box input {
    flex: 1;
    background: rgba(8, 13, 26, 0.6);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.copy-invite-box button {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.copy-invite-box button:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Star Rating Selector */
.rating-stars {
    display: flex;
    gap: 6px;
    font-size: 1.65rem;
}

.rating-stars .star-btn {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.12);
    transition: all 0.15s ease;
    user-select: none;
}

.rating-stars .star-btn:hover,
.rating-stars .star-btn.active {
    color: #f59e0b;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
}

/* Feedback List cards */
.feedback-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 6px;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 150px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.feedback-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.feedback-user {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.feedback-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.feedback-comment {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.feedback-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    align-self: flex-end;
}

/* Small sharing buttons inside dynamic result */
.share-btn-sm {
    transition: all 0.2s ease;
}

.share-btn-sm:hover {
    transform: translateY(-1px);
}

.share-btn-sm.whatsapp { background: rgba(37, 211, 102, 0.1) !important; border: 1px solid rgba(37, 211, 102, 0.2) !important; color: #25d366 !important; }
.share-btn-sm.whatsapp:hover { background: rgba(37, 211, 102, 0.2) !important; box-shadow: 0 0 10px rgba(37, 211, 102, 0.15); }

.share-btn-sm.twitter { background: rgba(255, 255, 255, 0.04) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; color: var(--text-primary) !important; }
.share-btn-sm.twitter:hover { background: rgba(255, 255, 255, 0.1) !important; box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }

.share-btn-sm.facebook { background: rgba(24, 119, 242, 0.1) !important; border: 1px solid rgba(24, 119, 242, 0.2) !important; color: #1877f2 !important; }
.share-btn-sm.facebook:hover { background: rgba(24, 119, 242, 0.2) !important; box-shadow: 0 0 10px rgba(24, 119, 242, 0.15); }

.share-btn-sm.linkedin { background: rgba(0, 119, 181, 0.1) !important; border: 1px solid rgba(0, 119, 181, 0.2) !important; color: #0077b5 !important; }
.share-btn-sm.linkedin:hover { background: rgba(0, 119, 181, 0.2) !important; box-shadow: 0 0 10px rgba(0, 119, 181, 0.15); }

/* Detailed report view share hover scale */
.r-share-btn {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s;
}

.r-share-btn:hover {
    transform: scale(1.3) translateY(-1px);
    filter: brightness(1.2);
}

/* ==========================================
   VOICE INPUT & LANGUAGE SELECTOR STYLES
   ========================================== */

.mic-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 1.2rem;
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mic-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.comment-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mic-btn-sm {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.verify-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}



.mic-btn.listening,
.mic-btn-sm.listening {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: var(--color-high) !important;
    animation: pulse-red 1.5s infinite alternate;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    100% {
        box-shadow: 0 0 12px 4px rgba(239, 68, 68, 0.2);
    }
}

/* Language Selector Nav Consistency */
.lang-selector-container {
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 15px;
}

.lang-selector-container:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.lang-select {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.6)' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") no-repeat right center;
    background-size: 12px;
}

.lang-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Capabilities Expansion & Drawers */
.feature-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.btn-toggle-details {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.feature-card:hover .btn-toggle-details {
    color: var(--accent);
}

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    border-top: 1px solid transparent;
    padding-top: 0;
    margin-top: 0;
    text-align: left;
}

.feature-details.expanded {
    max-height: 800px;
    padding-top: 15px;
    margin-top: 15px;
    border-top-color: var(--border-color);
}

.feature-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-details ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.feature-details li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}

.feature-details li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
}

/* Admin Unlock Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.admin-pw-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(8, 13, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.admin-pw-input:focus {
    border-color: var(--primary);
}

.unlock-error-msg {
    color: var(--color-high);
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: none;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Page Layouts for About, Contact, Services */
.page-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f8fafc 30%, #3b82f6 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

/* Premium Active Footer Box Redesign */
.footer-active-box {
    margin-top: 60px;
    padding: 30px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.footer-box-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 40px;
}

.footer-box-col {
    display: flex;
    flex-direction: column;
}

.footer-box-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-box-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-box-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.footer-launchers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-launcher-link {
    color: var(--text-secondary);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.footer-launcher-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-box-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-box-links a {
    color: var(--text-secondary);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-box-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Specific styling for LinkedIn link in footer */
.footer-linkedin-link {
    color: #3b82f6 !important;
}
.footer-linkedin-link:hover {
    color: #60a5fa !important;
}

.system-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

/* Glassmorphism Login Card and Locked Placeholder styling */
.glass-login-card input[type="password"]:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.locked-placeholder {
    background: rgba(15, 23, 42, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.locked-placeholder:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.locked-placeholder .lock-icon {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .footer-box-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}





