/* Modern Web Design Tokens & Theme Configuration */
:root {
    --bg-app: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.7);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.16);
    
    /* Typography colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Semantic Colors */
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --primary-hover: #1d4ed8;
    
    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.08);
    --success-glow: rgba(5, 150, 105, 0.15);
    
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.08);
    --warning-glow: rgba(217, 119, 6, 0.15);
    
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.08);
    --danger-glow: rgba(220, 38, 38, 0.15);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout values */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

/* Global Reset & Base Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(217, 119, 6, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px 24px;
}

/* Header Styles */
.app-header {
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 40px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-logo {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.brand-text h1 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

.system-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 var(--success-glow);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Footer Styles */
.app-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.app-footer a {
    color: var(--primary);
    font-weight: 600;
}

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

/* Dashboard Layout & Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(8px);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.metric-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
}

.metric-icon {
    font-size: 36px;
    opacity: 0.85;
}

/* Color coding metrics */
.metric-card.total { border-left: 4px solid var(--primary); }
.metric-card.secured { border-left: 4px solid var(--success); }
.metric-card.warning { border-left: 4px solid var(--warning); }
.metric-card.danger { border-left: 4px solid var(--danger); }

/* Control Panel Section */
.controls-panel {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(8px);
}

.form-wrapper {
    flex: 1;
    min-width: 300px;
}

.input-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.input-group input {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* Custom Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

.btn-warning {
    background-color: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 0 15px var(--warning-glow);
}

.actions-wrapper {
    display: flex;
    gap: 12px;
}

/* Spinner Animation */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Table Section Styles */
.table-section {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(8px);
}

.table-header-bar {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.table-header-bar h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 10px 16px 10px 40px;
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.3);
}

.table-container {
    width: 100%;
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
}

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

th {
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.domain-name {
    font-weight: 600;
    letter-spacing: -0.1px;
}

.days-left {
    font-weight: 500;
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pill.ok {
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pill.warning {
    background-color: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-pill.danger {
    background-color: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Action buttons inside table */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    margin: 0 4px;
}

.btn-action:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-refresh:hover {
    color: var(--primary);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.btn-delete:hover {
    color: var(--danger);
    background-color: var(--danger-bg);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.btn-action .spinner {
    width: 12px;
    height: 12px;
    border-width: 1.5px;
}

/* Utility Helpers */
.text-center { text-align: center; }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }

.empty-row td {
    padding: 40px !important;
    color: var(--text-muted);
}




/* Responsive design adjustments */
@media (max-width: 768px) {
    .controls-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .actions-wrapper {
        justify-content: space-between;
    }
    
    .table-header-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
}

/* ==========================================================================
   Unified Navigation & Tabs
   ========================================================================== */
.app-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border: 1px solid transparent;
}

.nav-link.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    font-weight: 600;
}

.nav-link:hover:not(.active) {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Responsive Multi-column Forms
   ========================================================================== */
.responsive-form {
    width: 100%;
}

.responsive-form h3 {
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: 16px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-fast);
    width: 100%;
}

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

.form-group.align-end {
    justify-content: flex-end;
    flex-grow: 0;
    min-width: auto;
}

/* ==========================================================================
   Emails Directory Columns (Domain Manager)
   ========================================================================== */
.emails-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    max-width: 280px;
}

.email-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    transition: background-color var(--transition-fast);
}

.email-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.email-text {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.email-expiry {
    font-size: 10px;
    margin-top: 2px;
}

.btn-delete-email {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0 4px;
    transition: color var(--transition-fast);
    margin-left: 8px;
}

.btn-delete-email:hover {
    color: var(--danger);
}

.btn-add-email {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.btn-add-email:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Modal Dialog Layout
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.25s ease;
}

.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 440px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

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

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-body p {
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.15);
}

.font-bold {
    font-weight: 600;
}

/* Form layouts helper */
.controls-panel.flex-column-md {
    flex-direction: column;
    align-items: flex-start;
}

.controls-panel h3 {
    font-size: 15px;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

/* ==========================================================================
   Vibrant Glowing Background Blobs for Glassmorphism
   ========================================================================== */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.16;
    pointer-events: none;
    animation: floatBlob 25s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #10b981;
    bottom: -150px;
    right: -100px;
    animation-delay: -6s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #f59e0b;
    top: 35%;
    left: 55%;
    animation-delay: -12s;
}

@keyframes floatBlob {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    33% {
        transform: translateY(-50px) scale(1.08) rotate(120deg);
    }
    66% {
        transform: translateY(30px) scale(0.95) rotate(240deg);
    }
}

/* ==========================================================================
   Global Glassmorphic Overrides
   ========================================================================== */
body {
    background-color: var(--bg-app);
}

/* Core Glassmorphic Classes */
.glass,
.metric-card,
.controls-panel,
.table-section,
.modal-content,
.auth-card,
.faq-item,
.contact-wrapper,
.pending-infobox {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.05) !important;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.metric-card:hover, .faq-item.active, .contact-wrapper:hover {
    border-color: rgba(15, 23, 42, 0.14) !important;
    box-shadow: 0 16px 48px 0 rgba(37, 99, 235, 0.08) !important;
}

/* Input Fields Glassmorphism */
.glass-input,
.input-group input,
.form-group input,
.form-group textarea,
.form-group select {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast) !important;
}

.glass-input:focus,
.input-group input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    background-color: #ffffff !important;
    outline: none;
}

/* Glass Alerts */
.glass-alert {
    background: rgba(220, 38, 38, 0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.25) !important;
    color: #b91c1c !important;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success.glass-alert {
    background: rgba(5, 150, 105, 0.08) !important;
    border-color: rgba(5, 150, 105, 0.25) !important;
    color: #047857 !important;
}

.alert-warning.glass-alert {
    background: rgba(217, 119, 6, 0.08) !important;
    border-color: rgba(217, 119, 6, 0.25) !important;
    color: #b45309 !important;
}

/* ==========================================================================
   Public Landing Homepage CSS
   ========================================================================== */
.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-trust-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.1px;
}

.hero-section {
    padding: 60px 20px 80px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, #0f172a 30%, #1d4ed8 70%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

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

.section-header h2, .section-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
}

/* Showcase previews */
.preview-section {
    padding: 40px 20px 60px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.preview-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.preview-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-info {
    padding: 24px;
}

.preview-info h3, .preview-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 10px;
}

.preview-info p {
    color: var(--text-secondary);
    font-size: 13.5px;
}

/* Features Grid */
.features-section {
    padding: 60px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.feature-info-card {
    position: relative;
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-info-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-glow);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-info-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.feature-info-card p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.benefit-list li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.benefit-list li strong {
    color: var(--text-primary);
    white-space: nowrap;
}



/* FAQ Accordion */
.faq-section {
    padding: 60px 20px;
}

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

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 200px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Contact Us Section */
.contact-section {
    padding: 60px 20px;
}

.contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-header {
    margin-bottom: 30px;
}

.contact-header h2, .contact-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 8px;
    margin-top: 10px;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* CTA Banner */
.cta-banner {
    margin: 20px 0 60px;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(99, 102, 241, 0.07) 100%) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 560px;
}

.cta-actions {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-text p {
        max-width: 100%;
    }
}

/* ==========================================================================
   Authentication Screens CSS (Login / Register / Pending)
   ========================================================================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 100px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px;
    border-radius: var(--radius-lg);
}

.auth-header {
    margin-bottom: 30px;
}

.auth-logo {
    font-size: 40px;
    display: inline-block;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-logo.pending-logo {
    animation: rotateHourglass 3s ease-in-out infinite;
}

@keyframes rotateHourglass {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-helper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.auth-footer {
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* Pending Approval Page Info Box */
.pending-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14.5px;
    line-height: 1.6;
}

.pending-infobox {
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

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

.support-text a {
    color: var(--primary);
    text-decoration: none;
}

/* ==========================================================================
   Admin User Approval Management
   ========================================================================== */
.section-header-bar {
    margin-bottom: 30px;
}

.section-header-bar h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 4px;
}

.section-header-bar p {
    color: var(--text-secondary);
    font-size: 14px;
}

.filter-form {
    width: 100%;
}

.filter-form select.glass-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    padding-right: 36px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Admin Table Buttons */
.btn-action-approve {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-right: 6px;
}

.btn-action-approve:hover {
    background: var(--success);
    color: white;
    box-shadow: 0 0 12px var(--success-glow);
}

.btn-action-reject {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-action-reject:hover {
    background: var(--danger);
    color: white;
    box-shadow: 0 0 12px var(--danger-glow);
}

.glass-pagination {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

/* Header & Profile Details */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.username {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-logout {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   Section Badge Pills
   ========================================================================== */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* ==========================================================================
   Stats Section (Enhanced)
   ========================================================================== */
.stats-section {
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 16px;
}

.stat-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 30%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
}

.stat-card h3, .stat-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.stat-detail {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-pill {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

/* ==========================================================================
   Step-by-Step Process Timeline Layout (Enhanced)
   ========================================================================== */
.process-section {
    padding: 60px 20px;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.timeline-connector {
    position: absolute;
    top: 52px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #059669, #dc2626);
    opacity: 0.25;
    z-index: 0;
    border-radius: 2px;
}

.process-card {
    padding: 30px 24px 24px;
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 1;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1) !important;
}

.process-step-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    letter-spacing: -0.5px;
}

.process-icon {
    font-size: 30px;
    margin-bottom: 14px;
    display: block;
}

.process-card h3, .process-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}

.process-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.process-detail-list li {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-top: 1px solid var(--border-color);
}

.process-detail-list li:first-child {
    border-top: none;
    padding-top: 0;
}

/* ==========================================================================
   Full Phone Responsiveness Overrides
   ========================================================================== */
@media (max-width: 992px) {
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-connector {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .app-nav {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        padding: 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 16px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive adjustments for sections under 768px */
    .preview-info {
        padding: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 38px;
    }

    .stat-icon-badge {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .process-card {
        padding: 20px 16px;
    }

    .process-step-badge {
        width: 32px;
        height: 32px;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .process-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .cta-banner {
        padding: 32px 20px;
        margin: 10px 0 40px;
    }

    .cta-text h2 {
        font-size: 22px;
    }

    .cta-text p {
        font-size: 13px;
    }

    .faq-question {
        padding: 14px 18px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 18px;
        font-size: 13px;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 16px;
    }

    /* Form Controls and Dashboard Panels */
    .controls-panel {
        padding: 16px;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .input-group button {
        width: 100%;
    }

    .actions-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .actions-wrapper button {
        width: 100%;
    }

    .emails-container {
        max-width: 100%;
        width: 100%;
    }
    
    /* Responsive Table to Cards */
    .table-container table, 
    .table-container thead, 
    .table-container tbody, 
    .table-container th, 
    .table-container td, 
    .table-container tr { 
        display: block; 
    }
    
    .table-container thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-container tr {
        border: 1px solid var(--border-color);
        margin-bottom: 16px;
        border-radius: var(--radius-md);
        background: rgba(15, 23, 42, 0.02);
        padding: 10px;
    }
    
    .table-container td { 
        border: none;
        border-bottom: 1px solid var(--border-color); 
        position: relative;
        padding-left: 50% !important; 
        text-align: right !important;
        min-height: 40px;
    }
    
    .table-container td:last-child {
        border-bottom: none;
    }
    
    .table-container td:before { 
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--text-secondary);
    }
    
    /* Domains table headers mapping */
    #domains-table td:nth-of-type(1):before { content: "Domain"; }
    #domains-table td:nth-of-type(2):before { content: "Issue Date"; }
    #domains-table td:nth-of-type(3):before { content: "Expiry Date"; }
    #domains-table td:nth-of-type(4):before { content: "Days Left"; }
    #domains-table td:nth-of-type(5):before { content: "Status"; }
    #domains-table td:nth-of-type(6):before { content: "Actions"; }

    /* Managed Client domains table headers mapping */
    #managed-domains-table td:nth-of-type(1):before { content: "Client"; }
    #managed-domains-table td:nth-of-type(2):before { content: "Domain"; }
    #managed-domains-table td:nth-of-type(3):before { content: "Domain Expiry"; }
    #managed-domains-table td:nth-of-type(4):before { content: "Domain Days"; }
    #managed-domains-table td:nth-of-type(5):before { content: "Hosting Expiry"; }
    #managed-domains-table td:nth-of-type(6):before { content: "Hosting Days"; }
    #managed-domains-table td:nth-of-type(7):before { content: "Emails"; }
    #managed-domains-table td:nth-of-type(8):before { content: "Actions"; }
    
    /* Admin User approval table headers mapping */
    .table-container table:not(#domains-table):not(#managed-domains-table) td:nth-of-type(1):before { content: "Name"; }
    .table-container table:not(#domains-table):not(#managed-domains-table) td:nth-of-type(2):before { content: "Email"; }
    .table-container table:not(#domains-table):not(#managed-domains-table) td:nth-of-type(3):before { content: "Registered Date"; }
    .table-container table:not(#domains-table):not(#managed-domains-table) td:nth-of-type(4):before { content: "Status"; }
    .table-container table:not(#domains-table):not(#managed-domains-table) td:nth-of-type(5):before { content: "Actions"; }
    
    .table-container td.text-center, .table-container td.actions-cell {
        text-align: right !important;
    }
}

@media (max-width: 576px) {
    /* Stack pseudo labels on top of cell values to avoid overlap on narrow phone screens */
    .table-container td { 
        padding-left: 12px !important; 
        text-align: left !important;
        padding-top: 24px !important;
        min-height: auto;
    }
    
    .table-container td:before { 
        position: absolute;
        top: 6px;
        left: 12px;
        transform: none;
        width: calc(100% - 24px);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        font-weight: 700;
    }
    
    .table-container td.text-center, .table-container td.actions-cell {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 13.5px;
    }

    /* Compress Header on small phones */
    .brand-text p {
        display: none;
    }

    .brand-logo {
        font-size: 20px;
        padding: 4px;
    }

    .brand-text h1 {
        font-size: 16px;
    }

    .app-nav {
        gap: 4px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .auth-buttons .btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .contact-wrapper {
        padding: 18px 14px;
    }
    
    .stat-number {
        font-size: 32px;
    }

    .stat-card h3, .stat-card h4 {
        font-size: 15px;
    }
}
/* ============================================================
   NEW FEATURE BADGE — homepage highlight for Reminders
   ============================================================ */
.new-feature-badge {
    position: absolute;
    top: -10px;
    right: 18px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(124,58,237,.35);
    text-transform: uppercase;
    animation: badge-pulse 2.4s ease-in-out infinite;
    z-index: 10;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(124,58,237,.35); }
    50%       { box-shadow: 0 4px 22px rgba(236,72,153,.55); }
}

/* ============================================================

   MODULE 4: REMINDERS — Design-system-consistent styles
   ============================================================ */

/* Message cell in table */
.msg-cell {
    max-width: 240px;
    color: var(--text-secondary);
    font-size: 13px;
    word-break: break-word;
}

/* Status badges — reuse existing SSL badge conventions */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
}
.status-badge.status-ok       { background: var(--success-bg, #d1fae5); color: var(--success, #059669); }
.status-badge.status-warning  { background: var(--warning-bg, #fef3c7); color: var(--warning, #d97706); }
.status-badge.status-expired  { background: var(--danger-bg, #fee2e2);  color: var(--danger, #dc2626); }

/* Status dot indicator */
.dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.dot-green { background: var(--success, #10b981); }
.dot-amber { background: var(--warning, #f59e0b); }

/* Row highlight for urgent reminders */
.row-expiring { background: rgba(245, 158, 11, 0.05); }

/* Reminder action buttons — extend existing .btn-action system */
.btn-icon-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast, .2s);
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    margin-right: 4px;
}
.btn-icon-action:hover:not(:disabled) {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(255,255,255,0.08);
}
.btn-icon-action:disabled { opacity: .4; cursor: not-allowed; }

.btn-send-reminder:hover:not(:disabled) {
    color: var(--primary, #667eea);
    border-color: rgba(102,126,234,.4);
    box-shadow: 0 0 8px rgba(102,126,234,.25);
}
.btn-delete-reminder:hover:not(:disabled) {
    color: var(--danger, #dc2626);
    background: var(--danger-bg, rgba(220,38,38,.08));
    border-color: rgba(220,38,38,.35);
    box-shadow: 0 0 8px rgba(220,38,38,.2);
}

/* Empty state for reminders */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

.msg-cell {
    max-width: 240px;
    color: #64748b;
    font-size: 13px;
    word-break: break-word;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
}
.badge-ok       { background: #d1fae5; color: #065f46; }
.badge-warning  { background: #fef3c7; color: #92400e; }
.badge-critical { background: #fee2e2; color: #991b1b; }
.badge-sent     { background: #e0e7ff; color: #3730a3; }

/* Status dot */
.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}
.dot-pending { background: #f59e0b; }
.dot-sent    { background: #10b981; }

/* Warning row highlight */
.row-warning { background: rgba(251, 191, 36, .06); }

/* Form grid for 2-column layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 576px) {
    .form-grid { grid-template-columns: 1fr; }
}

/* Action buttons in table */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    background: #f1f5f9;
    color: #374151;
    margin-right: 4px;
}
.btn-action:hover:not(:disabled) { background: #e2e8f0; transform: translateY(-1px); }
.btn-action:disabled { opacity: .45; cursor: not-allowed; }

.btn-send-reminder { background: #ede9fe; color: #5b21b6; }
.btn-send-reminder:hover:not(:disabled) { background: #ddd6fe; }

.btn-delete-reminder { background: #fee2e2; color: #991b1b; }
.btn-delete-reminder:hover:not(:disabled) { background: #fca5a5; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    min-width: 280px;
    max-width: 420px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    background: #1e293b !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: 5px solid #60a5fa !important;
}
.toast.success {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    border-left: 5px solid #93c5fd !important;
    color: #ffffff !important;
}
.toast.error {
    background: linear-gradient(135deg, #991b1b, #dc2626) !important;
    border-left: 5px solid #fca5a5 !important;
    color: #ffffff !important;
}
.toast.info {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    border-left: 5px solid #60a5fa !important;
    color: #ffffff !important;
}
.toast span,
.toast p,
.toast div,
.toast .toast-text {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}
.toast .toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}
@keyframes toastSlideIn {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* ============================================================
   METRIC CARDS – Clickable Filter State
   ============================================================ */
.metric-card {
    cursor: pointer;
    user-select: none;
}
.metric-card.active {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.12);
}
.metric-card.total.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
    box-shadow: 0 0 0 2px var(--primary), 0 8px 24px -6px rgba(37, 99, 235, 0.2);
}
.metric-card.secured.active {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(5, 150, 105, 0.02));
    box-shadow: 0 0 0 2px var(--success), 0 8px 24px -6px rgba(5, 150, 105, 0.2);
}
.metric-card.warning.active {
    border-color: var(--warning);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0.02));
    box-shadow: 0 0 0 2px var(--warning), 0 8px 24px -6px rgba(217, 119, 6, 0.2);
}
.metric-card.danger.active {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.02));
    box-shadow: 0 0 0 2px var(--danger), 0 8px 24px -6px rgba(220, 38, 38, 0.2);
}
/* Filter label shown in table header */
.filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(37, 99, 235, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}
.filter-label .clear-filter {
    cursor: pointer;
    font-size: 16px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    line-height: 1;
}
.filter-label .clear-filter:hover {
    color: var(--danger);
}

/* ============================================================
   LEGAL PAGES (Privacy Policy & Terms of Use)
   ============================================================ */
.legal-container {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-card {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
}

.legal-header {
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.legal-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

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

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-section p, .legal-section li {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul {
    margin-top: 8px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-box {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 12px;
}

.contact-box p {
    margin-bottom: 4px;
}

.contact-box a {
    color: var(--primary);
    font-weight: 600;
}

.legal-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================================
   404 ERROR PAGE STYLING
   ============================================================ */
.error-page-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.error-card {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 36px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
}

.error-visual {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 96px;
    font-weight: 800;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.error-icon-badge {
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
}

.error-card h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

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

/* ============================================================
   USER PROFILE & CHANGE PASSWORD STYLES
   ============================================================ */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.user-profile-btn:hover,
.user-profile-btn.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.profile-avatar-mini {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.profile-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
}

.profile-avatar-large {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.profile-header-info h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .profile-header-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .profile-email {
        justify-content: center;
    }
}

.profile-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

.card-header-clean {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-header-icon {
    font-size: 24px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-header-clean h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.card-header-clean p {
    font-size: 13px;
    color: var(--text-muted);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex-grow: 1;
}

.form-actions-bar {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* ============================================================
   PROMOTIONAL TOP BANNER (TASKLY & INVOICING)
   ============================================================ */
.promo-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(67, 56, 202, 0.92));
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 20px;
    position: relative;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.promo-banner.hidden {
    display: none !important;
}

.promo-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    flex-wrap: wrap;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.promo-banner-text {
    color: #f1f5f9;
}

.promo-banner-text strong {
    color: #ffffff;
}

.promo-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.promo-btn-taskly {
    background: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.promo-btn-taskly:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.promo-btn-invoice {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.promo-btn-invoice:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.promo-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.promo-close-btn:hover {
    color: #ffffff;
}

@media (max-width: 900px) {
    .promo-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .promo-banner-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ============================================================
   HEADER FREE TOOLS DROPDOWN
   ============================================================ */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu-glass {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu-glass,
.nav-item-dropdown:focus-within .dropdown-menu-glass {
    display: flex;
}

.dropdown-item-clean {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.dropdown-item-clean:hover {
    background: rgba(37, 99, 235, 0.08);
}

.dropdown-item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.dropdown-item-desc {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER ENHANCEMENTS WITH FULL CODXPERT DETAILS
   ============================================================ */
.footer-extended {
    padding: 40px 20px 24px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid-info {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: left;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-col p, .footer-col li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid-info {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}






/* ==========================================================================
   MODERN WHITE SAAS THEME (NO GLOW, CLEAN LIGHT AESTHETIC)
   ========================================================================== */
:root {
    --bg-app: #ffffff;
    --bg-surface: #ffffff;
    --bg-surface-glass: #ffffff;
    --bg-surface-subtle: #f8fafc;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    
    --success: #059669;
    --success-bg: #ecfdf5;
    --success-border: #a7f3d0;
    
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-card-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

body {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    background-image: none !important;
}

/* Remove any glowing blobs */
.glow-blob {
    display: none !important;
}

/* Header in Clean White */
.app-header {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

.brand-text h1 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.brand-text p {
    color: #64748b !important;
}

.nav-link {
    color: #475569 !important;
    font-weight: 500 !important;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb !important;
}

/* Hero Section (Clean White with 3D Illustration) */
.hero-canvas-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 40px 0 60px;
}

.hero-text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
}

.hero-title {
    font-family: var(--font-heading) !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -1.5px !important;
    color: #0f172a !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 20px !important;
}

.hero-subtitle {
    font-size: 17.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 28px !important;
}

/* Floating Status Indicators */
.hero-floating-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cyber-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    font-size: 12.5px !important;
    font-family: var(--font-heading) !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.cyber-pill .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: none;
    animation: none;
}

/* 3D Hero Illustration Container */
.hero-image-container {
    flex: 1;
    max-width: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-visual {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-xl);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-3d-visual:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

@media (max-width: 991px) {
    .hero-canvas-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-content {
        text-align: center;
        max-width: 100%;
    }
    .hero-floating-pills {
        justify-content: center;
    }
    .hero-image-container {
        max-width: 100%;
        margin-top: 20px;
    }
}

/* Buttons in Clean White Theme */
.btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: 1px solid #1d4ed8 !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 24px !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s ease !important;
}

.btn-primary:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 24px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
}

/* Clean Cards (Previews, Stats, Features) */
.preview-card,
.stat-card,
.feature-info-card,
.process-card,
.contact-wrapper,
.faq-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-card) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.preview-card:hover,
.stat-card:hover,
.feature-info-card:hover,
.process-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-card-hover) !important;
    border-color: #cbd5e1 !important;
}

.preview-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 15px 15px 0 0;
}

.section-header h2,
.section-header h3,
.preview-info h3,
.stat-card h3,
.feature-info-card h3,
.process-card h3,
.cta-text h2,
.contact-header h2 {
    font-family: var(--font-heading) !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.section-badge {
    display: inline-block !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
    box-shadow: none !important;
}

.stat-number {
    font-family: var(--font-heading) !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    margin: 12px 0 6px !important;
}

.stat-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
}

.stat-pill {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #475569;
}

/* Call to Action Banner (Clean Light) */
.cta-banner {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-card) !important;
    padding: 48px 36px !important;
}

/* Timeline Process (Clean Light) */
.process-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    background: #2563eb !important;
    color: #ffffff !important;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.new-feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #10b981 !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
}

/* FAQ Accordion (Clean Light) */
.faq-item {
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #0f172a !important;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-arrow {
    color: #64748b !important;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #2563eb !important;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: #475569 !important;
    line-height: 1.65;
    font-size: 14.5px;
}

/* Contact Form (Clean Light) */
.contact-wrapper {
    padding: 40px 32px !important;
}

.landing-form input,
.landing-form textarea {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 16px !important;
    font-size: 14.5px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.landing-form input:focus,
.landing-form textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

.landing-form label {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
}

/* Footer in Clean Light */
.app-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

.footer-col h4 {
    color: #0f172a !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
}

.footer-col p,
.footer-col li,
.footer-col a {
    color: #64748b !important;
}

.footer-col a:hover {
    color: #2563eb !important;
}

.footer-bottom-bar {
    border-top: 1px solid #e2e8f0 !important;
    color: #94a3b8 !important;
}

.footer-bottom-bar a {
    color: #2563eb !important;
}
