/* ===== main.css - indomitusAI ===== */
/* AI-powered domain intelligence platform */
/* Version: 2.0 FINAL - Unified across all pages */
/* Last updated: March 10, 2026 */

/* ------------------------------------ */
/* 1. RESET & BASE STYLES              */
/* ------------------------------------ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Print styles */
@media print {
    * {
        display: none !important;
    }
}

/* ------------------------------------ */
/* 2. CSS VARIABLES (DESIGN SYSTEM)    */
/* ------------------------------------ */

:root {
    /* Primary Colors */
    --primary: #3a7bd5;
    --primary-light: #5f9eff;
    --primary-dark: #2a5caa;
    --primary-glow: rgba(58, 123, 213, 0.4);
    
    /* Accent Colors */
    --accent: #2de0a6;
    --accent-dark: #20b580;
    --accent-glow: rgba(45, 224, 166, 0.25);
    
    /* Semantic Colors */
    --danger: #ff5a7a;
    --warning: #ffb443;
    --success: #2de0a6;
    
    /* Background Colors */
    --bg-deep: #0b0c10;
    --bg-surface: #111316;
    --bg-card: #181b20;
    --bg-card-hover: #1e2228;
    --bg-elevated: #22262e;
    
    /* Border Colors */
    --border-light: #2c3038;
    --border-strong: #3a404a;
    
    /* Text Colors */
    --text-head: #ffffff;
    --text-body: #d1d5db;
    --text-soft: #949aa8;
    --text-muted: #6b7280;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px -4px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 16px 32px -12px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 12px 28px -8px var(--primary-glow);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 100;
    --z-modal: 2000;
    --z-popover: 3000;
}

/* ------------------------------------ */
/* 3. TYPOGRAPHY                        */
/* ------------------------------------ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-head);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    background: linear-gradient(to right, #ffffff, #cbd5e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-soft);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-head);
}

/* Font utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ------------------------------------ */
/* 4. LAYOUT & CONTAINERS               */
/* ------------------------------------ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #cbd5e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-soft);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* ------------------------------------ */
/* 5. UTILITY CLASSES                   */
/* ------------------------------------ */

.hidden {
    display: none !important;
}

/* Background utilities */
.bg-deep { background-color: var(--bg-deep); }
.bg-surface { background-color: var(--bg-surface); }
.bg-card { background-color: var(--bg-card); }
.bg-elevated { background-color: var(--bg-elevated); }

/* Text color utilities */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-soft { color: var(--text-soft); }
.text-head { color: var(--text-head); }

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loading-progress {
    0% { left: -40%; width: 40%; }
    50% { width: 70%; }
    100% { left: 100%; width: 40%; }
}

/* Loading indicators */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
}

.loading-overlay.hidden {
    display: none;
}

.loading-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid var(--primary);
}

.loading-bar {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.03);
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent), var(--primary));
    background-size: 200% 100%;
    border-radius: 50px;
    animation: loading-progress 1.2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--primary-glow);
}

.loading-bar.hidden {
    display: none;
}

/* Progress bar */
.progress-bar {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 6px;
}

.progress-fill.warning {
    background: var(--warning);
}

.progress-fill.danger {
    background: var(--danger);
}

/* Counter display */
.counter-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.counter-number {
    background: var(--primary);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Plan badges */
.plan-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    background: rgba(58, 123, 213, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(58, 123, 213, 0.3);
    vertical-align: middle;
}

.plan-badge.free { background: rgba(58, 123, 213, 0.1); color: var(--primary-light); }
.plan-badge.starter { background: rgba(45, 224, 166, 0.1); color: var(--accent); }
.plan-badge.pro { background: rgba(156, 39, 176, 0.1); color: #ce93d8; }
.plan-badge.guest { background: rgba(255, 255, 255, 0.1); color: var(--text-soft); }

/* Empty state */
.empty-data {
    text-align: center;
    padding: 2rem;
    color: var(--text-soft);
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-light);
}

.empty-data i {
    color: var(--warning);
    margin-right: 0.5rem;
}

/* Message states */
.error-message,
.success-message {
    display: none !important;
}

.error-message.show,
.success-message.show {
    display: block !important;
}

.error-message {
    background: rgba(255, 90, 122, 0.1);
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--danger);
}

.success-message {
    background: rgba(45, 224, 166, 0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--accent);
}

/* ------------------------------------ */
/* 6. BUTTONS                           */
/* ------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    background: transparent;
    color: white;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s, opacity 0.4s;
    opacity: 0;
}

.btn:active::after {
    width: 200px;
    height: 200px;
    opacity: 0.2;
    transition: 0s;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Button variants */
.btn-primary {
    background: var(--primary);
    border: none;
    box-shadow: 0 8px 18px -6px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: scale(0.97);
    box-shadow: 0 12px 22px -6px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #000;
    border: none;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #ff3b5c;
    transform: translateY(-2px);
}

/* Button sizes */
.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Google button */
.btn-google {
    background: white;
    color: #1e1e1e;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google:hover {
    background: #f5f7fa;
    transform: scale(0.98);
}

/* Fetch action buttons */
.fetch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(58, 123, 213, 0.4);
    background: rgba(58, 123, 213, 0.1);
    color: var(--primary-light);
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    letter-spacing: 0.2px;
}

.fetch-btn:hover:not(:disabled) {
    background: rgba(58, 123, 213, 0.22);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 14px rgba(58, 123, 213, 0.25);
    transform: translateY(-1px);
}

.fetch-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.fetch-btn.done {
    background: rgba(45, 224, 166, 0.1);
    border-color: rgba(45, 224, 166, 0.4);
    color: var(--accent);
}

.fetch-btn.error-state {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.fetch-btn .btn-spinner {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
    flex-shrink: 0;
}

.fetch-btn.loading .btn-spinner { display: block; }
.fetch-btn.loading .btn-icon    { display: none; }

/* ------------------------------------ */
/* 7. HEADER & NAVIGATION               */
/* ------------------------------------ */

.header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(16px);
    background: rgba(11, 12, 16, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: var(--z-sticky);
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-head);
}

.logo span:first-child {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--text-soft);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: var(--space-sm);
}

.nav-auth .btn {
    padding: 0.5rem 1.25rem;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: calc(var(--z-sticky) + 1);
}

.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: calc(var(--z-sticky) + 2);
}

/* User menu */
.user-menu-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.02);
}

.user-greeting:hover {
    background: rgba(255, 255, 255, 0.06);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), #1e4b8f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: var(--z-dropdown);
    margin-top: 8px;
    backdrop-filter: blur(16px);
}

.user-menu-dropdown.active {
    display: block;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.user-menu-item:hover {
    background: var(--bg-card-hover);
    color: white;
}

.user-menu-item.logout {
    color: var(--danger);
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
}

/* Auth links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.auth-links .nav-link {
    padding: 0.6rem 0;
    font-size: 1.1rem;
}

/* ------------------------------------ */
/* 8. HERO SECTION (الصفحة الرئيسية)    */
/* ------------------------------------ */

.hero {
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(circle at 30% 50%, rgba(58,123,213,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(45,224,166,0.06) 0%, transparent 45%);
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #bdd3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    background: rgba(255,255,255,0.02);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}

.hero-input-wrapper {
    flex: 1;
    display: flex;
}

.hero-input {
    width: 100%;
    padding: 1.2rem 1.6rem;
    background: rgba(0,0,0,0.3);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.15rem;
    outline: none;
    transition: 0.2s;
}

.hero-input:focus {
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.hero-input::placeholder {
    color: var(--text-soft);
    font-weight: 300;
}

.hero-btn {
    flex: 0 0 auto;
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-full);
    background: var(--primary);
    border: none;
    font-weight: 600;
    font-size: 1.15rem;
    white-space: nowrap;
    color: white;
    cursor: pointer;
}

.hero-btn:hover {
    background: var(--primary-light);
    transform: scale(0.97);
}

.hero-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2.8rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-soft);
    font-size: 0.95rem;
}

.trust-badge i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ------------------------------------ */
/* 9. FEATURES SECTION                   */
/* ------------------------------------ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: rgba(58,123,213,0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.feature-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-head);
}

.feature-description {
    color: var(--text-soft);
    line-height: 1.6;
}

/* ------------------------------------ */
/* 10. HOW IT WORKS (الخطوات)           */
/* ------------------------------------ */

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 72px;
    height: 72px;
    background: linear-gradient(145deg, var(--primary), #1e4b8f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.8rem;
    box-shadow: 0 12px 28px -8px var(--primary-glow);
}

.step-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-head);
}

.step-description {
    color: var(--text-soft);
    line-height: 1.6;
}

/* ------------------------------------ */
/* 11. PRICING CARDS (من index.html و pricing.html) */
/* ------------------------------------ */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: var(--transition-base);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular,
.pricing-card.featured {
    border: 1px solid var(--primary);
    background: linear-gradient(145deg, #1b222b, #13171e);
    transform: scale(1.04);
    box-shadow: 0 20px 40px -12px rgba(58,123,213,0.2);
}

.popular-badge,
.pricing-card.featured::before {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    content: 'Most Popular';
}

.pricing-plan {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-head);
}

.pricing-price {
    font-size: 3.2rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    color: white;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-soft);
    font-weight: 400;
}

.plan-period {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 2rem;
}

/* Analysis count box in pricing */
.analysis-count {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    background: rgba(58,123,213,0.1);
    border-radius: 20px;
    border-left: 4px solid var(--primary);
}

.analysis-count .icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.analysis-count .count {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1;
    color: white;
}

.analysis-count .label {
    font-size: 0.8rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pricing features list */
.pricing-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-body);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent);
    width: 20px;
}

.pricing-features li.disabled i {
    color: var(--danger);
    opacity: 0.6;
}

.pricing-features li.disabled {
    color: var(--text-soft);
    text-decoration: line-through;
    opacity: 0.7;
}

.pricing-btn {
    width: 100%;
    margin-top: 1.5rem;
}

/* ------------------------------------ */
/* 12. STATS SECTION (الإحصائيات)       */
/* ------------------------------------ */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.stat-item {
    background: rgba(255,255,255,0.02);
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(4px);
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-number span {
    font-size: 1.5rem;
    -webkit-text-fill-color: white;
    color: white;
}

.stat-label {
    color: var(--text-soft);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ------------------------------------ */
/* 13. FAQ SECTION (الأسئلة الشائعة)    */
/* ------------------------------------ */

.faq-grid {
    max-width: 900px;
    margin: var(--space-2xl) auto 0;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 1.8rem;
    margin-bottom: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.04);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
    font-size: 1.3rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.2s;
    color: var(--text-soft);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    margin-top: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ------------------------------------ */
/* 14. CTA SECTION (دعوة للاتخاذ إجراء) */
/* ------------------------------------ */

.cta-section {
    text-align: center;
    padding: var(--space-3xl) 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(58,123,213,0.15) 0%, transparent 70%);
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
    flex-wrap: wrap;
}

/* ------------------------------------ */
/* 15. FOOTER                           */
/* ------------------------------------ */

.footer {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-soft);
    max-width: 280px;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    color: var(--text-soft);
    font-size: 1.3rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-column a {
    display: block;
    color: var(--text-soft);
    margin-bottom: 0.8rem;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* ------------------------------------ */
/* 16. AUTH PAGES (Login & Signup)      */
/* ------------------------------------ */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-deep);
    background-image: radial-gradient(circle at 20% 30%, rgba(58,123,213,0.08) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(45,224,166,0.06) 0%, transparent 40%);
}

.auth-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.auth-hero {
    padding: 1rem;
}

.auth-hero .logo {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.auth-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, #ffffff, #cbd5e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-hero p {
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.auth-subtitle {
    color: var(--text-soft);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.4rem;
}

.auth-footer a:hover {
    color: white;
}

/* Benefits box for auth pages */
.benefits-box {
    margin-top: 2rem;
    padding: 1.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.benefits-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-box h3 i {
    color: var(--accent);
    font-size: 1.4rem;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.benefits-list li i {
    color: var(--accent);
    font-size: 1rem;
    width: 1.2rem;
}

.guest-action {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(58,123,213,0.05);
    border: 1px solid rgba(58,123,213,0.2);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.guest-action p {
    margin-bottom: 0;
    color: var(--text-body);
    font-size: 0.95rem;
}

.guest-action a {
    color: var(--primary-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s;
}

.guest-action a:hover {
    gap: 0.7rem;
    color: white;
}

/* ------------------------------------ */
/* 17. 404 PAGE (صفحة الخطأ)            */
/* ------------------------------------ */

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-deep);
    background-image: radial-gradient(circle at 20% 30%, rgba(58,123,213,0.08) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(45,224,166,0.06) 0%, transparent 40%);
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(58,123,213,0.3);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: white;
    letter-spacing: -0.02em;
}

.error-message-text {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.suggestion-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.suggestion-links a {
    color: var(--text-soft);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, gap 0.2s;
}

.suggestion-links a:hover {
    color: white;
    gap: 0.8rem;
}

.suggestion-links i {
    font-size: 0.9rem;
}

/* ------------------------------------ */
/* 18. ABOUT PAGE (صفحة من نحن)         */
/* ------------------------------------ */

.about-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: var(--bg-deep);
    background-image: radial-gradient(circle at 20% 40%, rgba(58,123,213,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 60%, rgba(45,224,166,0.06) 0%, transparent 50%);
}

.about-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.mission-section,
.story-section,
.values-section,
.team-section {
    padding: 90px 0;
}

.mission-section,
.values-section {
    background: rgba(255,255,255,0.01);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mission-grid,
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content h2,
.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-content p,
.story-content p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.mission-image,
.story-image {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.mission-image:hover,
.story-image:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.mission-image i,
.story-image i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.mission-image p,
.story-image p {
    color: var(--text-soft);
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: var(--transition-base);
    backdrop-filter: blur(8px);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.value-card p {
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 0.95rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), #1e4b8f);
    border: 3px solid rgba(255,255,255,0.1);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.member-title {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    color: var(--text-soft);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.member-social a:hover {
    color: var(--primary-light);
}

/* ------------------------------------ */
/* 19. CONTACT PAGE (صفحة الاتصال)      */
/* ------------------------------------ */

.contact-hero {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--bg-deep);
    background-image: radial-gradient(circle at 20% 40%, rgba(58,123,213,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 60%, rgba(45,224,166,0.06) 0%, transparent 50%);
}

.contact-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 80px 0;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: rgba(58,123,213,0.1);
    border: 1px solid rgba(58,123,213,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.contact-detail h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: white;
}

.contact-detail p,
.contact-detail a {
    color: var(--text-soft);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: var(--primary-light);
}

.social-links-large {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-soft);
    font-size: 1.2rem;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-label i {
    margin-right: 6px;
    color: var(--primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    color: white;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58,123,213,0.2);
    background: rgba(0,0,0,0.3);
}

.form-input:read-only {
    background: rgba(255,255,255,0.02);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 0.5rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: var(--text-body);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
}

/* ------------------------------------ */
/* 20. DASHBOARD & ANALYSIS PAGES       */
/* ------------------------------------ */

.dashboard-container {
    min-height: calc(100vh - 200px);
    padding: var(--space-xl) 0;
    background: var(--bg-deep);
    background-image: radial-gradient(circle at 10% 20%, rgba(58,123,213,0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(45,224,166,0.04) 0%, transparent 40%);
}

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.domain-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.domain-info p {
    color: var(--text-soft);
    font-size: 1rem;
}

.domain-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Score grid */
.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.score-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1rem;
    text-align: center;
    transition: var(--transition-base);
}

.score-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.score-value {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1;
    margin-bottom: 0.3rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-value.estimated-value {
    font-size: 1.8rem;
    -webkit-text-fill-color: white;
    background: none;
    word-break: break-word;
}

.score-label {
    color: var(--text-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.score-grade {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

/* Content grid for dashboard */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.content-card:hover {
    border-color: rgba(58,123,213,0.3);
    box-shadow: var(--shadow-glow);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.card-title i {
    color: var(--primary);
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
}

.card-title-row .card-title {
    margin-bottom: 0;
}

/* Detailed sections */
.detailed-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.section-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.section-card:hover {
    border-color: rgba(58,123,213,0.3);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.section-title i {
    color: var(--primary);
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.section-title-row .section-title {
    margin-bottom: 0;
}

/* Detail items */
.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 600;
    color: white;
}

/* Buyer tags */
.buyer-tag {
    display: inline-block;
    background: rgba(58,123,213,0.1);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin: 0.2rem;
    font-size: 0.85rem;
    border: 1px solid rgba(58,123,213,0.2);
}

/* Price tiers */
.price-tier {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tier-label {
    color: var(--text-soft);
}

.tier-value {
    font-weight: 600;
    color: var(--accent);
}

.confidence {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-soft);
    text-align: center;
}

/* Strength, weakness, suggestion items */
.strength-item,
.weakness-item,
.suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-body);
    font-size: 0.95rem;
}

.strength-item i { color: var(--accent); }
.weakness-item i { color: var(--warning); }
.suggestion-item i { color: var(--primary); }

/* Metric items */
.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-body);
    font-size: 0.95rem;
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--text-soft);
}

.metric-value {
    font-weight: 600;
    color: white;
}

/* Realistic valuation card */
.realistic-valuation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
}

.valuation-main {
    flex: 1;
    min-width: 200px;
}

.valuation-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 0.2rem;
    font-family: 'IBM Plex Mono', monospace;
}

.valuation-confidence {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.valuation-concerns {
    flex: 1;
    min-width: 200px;
}

.valuation-concerns h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.concern-list {
    list-style: none;
}

.concern-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.concern-item i {
    font-size: 6px;
}

.valuation-explanation {
    flex: 2;
    min-width: 300px;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.08);
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Market disclaimer */
.market-disclaimer {
    background: rgba(255,180,67,0.05);
    border: 1px solid var(--warning);
    border-radius: 20px;
    padding: 1.5rem 1.8rem;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-soft);
}

.market-disclaimer i {
    color: var(--warning);
    font-size: 1.6rem;
}

.disclaimer-content {
    flex: 1;
}

.disclaimer-content strong {
    color: white;
}

.disclaimer-link {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.4rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-base);
}

.disclaimer-link:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
}

.disclaimer-link a {
    color: var(--primary-light);
    text-decoration: none;
}

/* Premium locked content */
.premium-locked {
    background: rgba(255,255,255,0.02);
    border: 1px dashed var(--border-light);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    color: var(--text-soft);
}

.premium-locked i {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.premium-locked h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.premium-locked p {
    margin-bottom: 1.2rem;
}

/* Search query items */
.search-query-item,
.email-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: var(--transition-base);
    flex-wrap: wrap;
}

.search-query-item:hover,
.email-item:hover {
    background: rgba(58,123,213,0.08);
    border-color: var(--primary);
}

.search-query-item > i:first-child {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.email-item i {
    color: var(--primary);
}

.query-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.query-label {
    font-size: 0.78rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.query-label.linkedin {
    color: #70a9d6;
}

.query-text {
    font-size: 0.92rem;
    color: var(--text-body);
    word-break: break-word;
    font-family: 'IBM Plex Mono', monospace;
}

.query-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(58,123,213,0.15);
    color: var(--primary-light);
    border: 1px solid rgba(58,123,213,0.3);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-base);
    width: fit-content;
}

.query-open-btn:hover {
    background: rgba(58,123,213,0.3);
    border-color: var(--primary);
    color: white;
}

.query-open-btn.linkedin-btn {
    background: rgba(112,169,214,0.12);
    color: #70a9d6;
    border-color: rgba(112,169,214,0.3);
}

.query-open-btn.linkedin-btn:hover {
    background: rgba(112,169,214,0.25);
    color: white;
}

.queries-section-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    padding: 0.5rem 0 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-name {
    font-weight: 600;
    color: white;
    margin-right: 0.5rem;
}

/* No data message */
.no-data-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.no-data-message h2 {
    color: white;
    margin-bottom: 1rem;
}

.no-data-message p {
    color: var(--text-soft);
    margin-bottom: 2rem;
}

/* Limit warning */
.limit-warning {
    background: rgba(255,180,67,0.1);
    border: 1px solid var(--warning);
    border-radius: var(--radius-full);
    padding: 0.8rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--warning);
    font-size: 0.95rem;
}

.limit-warning.hidden {
    display: none;
}

.limit-warning a {
    color: var(--primary);
}

/* Upgrade prompt */
.upgrade-prompt {
    background: rgba(58,123,213,0.1);
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.upgrade-prompt.hidden {
    display: none;
}

.upgrade-prompt h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.upgrade-prompt p {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}

/* Bottom actions */
.bottom-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* ------------------------------------ */
/* 21. HISTORY PAGE (صفحة التاريخ)      */
/* ------------------------------------ */

.filters-container {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    flex: 1;
}

.filter-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    text-align: left;
    padding: 1.2rem 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.06);
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-body);
    vertical-align: middle;
}

.history-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.domain-cell {
    color: white;
    font-weight: 600;
}

.score-cell {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    color: white;
}

.grade-cell {
    color: var(--accent);
    font-weight: 600;
}

.value-cell {
    color: var(--accent);
    font-weight: 600;
}

.date-cell {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
}

.empty-history {
    text-align: center;
    padding: 3rem;
    color: var(--text-soft);
}

.empty-history.hidden {
    display: none;
}

.empty-history h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
}

.bulk-actions {
    background: rgba(58,123,213,0.1);
    border: 1px solid rgba(58,123,213,0.3);
    border-radius: 20px;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1.5rem;
    display: none;
}

.bulk-actions.active {
    display: block;
}

.bulk-actions-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination.hidden {
    display: none;
}

.pagination-info {
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* ------------------------------------ */
/* 22. PROFILE PAGE (صفحة الملف الشخصي) */
/* ------------------------------------ */

.profile-avatar-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, var(--primary), #1e4b8f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    border: 4px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.profile-stat-item {
    text-align: center;
    padding: 1.2rem 0.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    transition: all 0.2s;
}

.profile-stat-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(58,123,213,0.3);
}

.profile-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.2;
}

.profile-stat-label {
    font-size: 0.8rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.profile-stat-label i {
    margin-right: 4px;
    color: var(--primary);
}

.plan-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.plan-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 1.8rem 1.5rem;
    transition: all 0.25s;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px -8px rgba(58,123,213,0.3);
    background: rgba(255,255,255,0.04);
}

.plan-card.current {
    border: 1px solid var(--primary);
    box-shadow: 0 0 0 1px var(--primary-glow);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.current-plan-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0;
    color: var(--text-body);
    font-size: 0.9rem;
}

.plan-features li i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 1.2rem;
}

.plan-features li.unavailable i {
    color: var(--danger);
}

.subscription-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(45,224,166,0.1);
    color: var(--accent);
    border: 1px solid rgba(45,224,166,0.3);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-soft);
}

.security-badge.verified {
    background: rgba(45,224,166,0.1);
    border-color: rgba(45,224,166,0.3);
    color: var(--accent);
}

.security-badge.unverified {
    background: rgba(255,180,67,0.1);
    border-color: rgba(255,180,67,0.3);
    color: var(--warning);
}

.analytics-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-body);
    backdrop-filter: blur(4px);
}

.analytics-display i {
    color: var(--primary);
}

/* ------------------------------------ */
/* 23. PAYMENT & PRICING FORMS          */
/* ------------------------------------ */

.payment-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.payment-flow-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    transition: 0.2s;
}

.payment-flow-item:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.04);
}

.payment-flow-number {
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.payment-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-top: 2rem;
    display: none;
}

.payment-form-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.payment-message {
    background: rgba(45,224,166,0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
    display: none;
}

.payment-message.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.payment-message h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.6rem;
}

.payment-message .highlight {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(58,123,213,0.2);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin: 1rem 0;
}

/* ------------------------------------ */
/* 24. COMPARISON TABLE (Pricing page)  */
/* ------------------------------------ */

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 3rem;
    margin-top: 3rem;
}

.comparison-table h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: white;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    text-align: left;
    padding: 1.2rem 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.06);
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-body);
}

.comparison-table .feature-name {
    color: white;
    font-weight: 500;
}

.comparison-table .check {
    color: var(--accent);
    font-weight: 600;
}

.comparison-table .cross {
    color: var(--danger);
    font-weight: 600;
}

/* ------------------------------------ */
/* 25. COOKIE POLICY & GDPR PAGES       */
/* ------------------------------------ */

.cookie-section,
.privacy-section,
.terms-section,
.gdpr-section {
    padding: 5rem 0 6rem;
}

.cookie-container,
.privacy-container,
.terms-container,
.gdpr-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.cookie-title,
.privacy-title,
.terms-title,
.gdpr-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cookie-subtitle,
.privacy-subtitle,
.terms-subtitle,
.gdpr-subtitle {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cookie-content h3,
.privacy-content h3,
.terms-content h3,
.gdpr-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cookie-content h3:first-of-type,
.privacy-content h3:first-of-type,
.terms-content h3:first-of-type,
.gdpr-content h3:first-of-type {
    margin-top: 0;
}

.cookie-content p,
.privacy-content p,
.terms-content p,
.gdpr-content p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.cookie-content ul,
.privacy-content ul,
.terms-content ul,
.gdpr-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style-type: disc;
}

.cookie-content li,
.privacy-content li,
.terms-content li,
.gdpr-content li {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.cookie-content strong,
.privacy-content strong,
.terms-content strong,
.gdpr-content strong {
    color: var(--text-head);
}

/* Cookie table */
.cookie-table,
.gdpr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    overflow: hidden;
}

.cookie-table th,
.gdpr-table th {
    background: rgba(58,123,213,0.15);
    color: white;
    font-weight: 600;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.cookie-table td,
.gdpr-table td {
    padding: 12px;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cookie-table tr:last-child td,
.gdpr-table tr:last-child td {
    border-bottom: none;
}

.gdpr-table td:first-child,
.gdpr-table th:first-child {
    font-weight: 600;
    color: #e0e8ff;
}

.gdpr-table a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px dotted rgba(128, 181, 255, 0.4);
}

.gdpr-table a:hover {
    border-bottom: 1px solid var(--primary);
}

/* ------------------------------------ */
/* 26. LOADING SCREEN (خاص)             */
/* ------------------------------------ */

#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0c0f 0%, #1a1d24 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loadingScreen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(58, 123, 213, 0.1);
    border-top: 4px solid #3a7bd5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loader-text {
    color: #e5e9f0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.loader-dots {
    display: inline-block;
    width: 20px;
}

.loader-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    color: var(--text-soft);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* ------------------------------------ */
/* 27. IMPORTANT NOTES                  */
/* ------------------------------------ */

.important-note {
    background: rgba(255,180,67,0.05);
    border-right: 4px solid var(--warning);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-soft);
}

.important-note i {
    color: var(--warning);
}

/* ------------------------------------ */
/* 28. RESPONSIVE DESIGN (التصميم المتجاوب) */
/* ------------------------------------ */

/* Large screens (up to 1024px) */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.2rem; }
    .section-title { font-size: 2.4rem; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular,
    .pricing-card.featured { transform: none; }
    .detailed-sections { grid-template-columns: 1fr; }
    .profile-stats { grid-template-columns: repeat(2, 1fr); }
    .mission-grid,
    .story-grid,
    .contact-grid,
    .auth-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-hero h1 { font-size: 2.8rem; }
    .mission-content h2,
    .story-content h2 { font-size: 2rem; }
}

/* Tablet and mobile (up to 968px) */
@media (max-width: 968px) {
    .auth-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .auth-hero { text-align: center; }
    .auth-hero p { max-width: 100%; }
    .auth-card { margin: 0 auto; max-width: 100%; }
    .guest-action { justify-content: center; }
    .comparison-table { padding: 1.5rem; overflow-x: auto; }
    .comparison-table table,
    .history-table { min-width: 600px; }
    .cookie-table,
    .gdpr-table { display: block; overflow-x: auto; }
    .filters-container { flex-direction: column; }
    .filter-group { min-width: 100%; }
}

/* Medium screens (up to 768px) */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .hero-cta { flex-direction: column; background: transparent; border: none; padding: 0; }
    .hero-btn { width: 100%; }
    
    /* Mobile navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: #0a0c0f;
        background: linear-gradient(145deg, #0e1115 0%, #090b0e 100%);
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 1.8rem 2rem;
        gap: 1.2rem;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 9999;
        box-shadow: 4px 0 25px rgba(0,0,0,0.6);
        border-right: 1px solid rgba(255,255,255,0.06);
        overflow-y: auto;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-close-btn {
        display: block !important;
    }
    .mobile-close-btn:hover {
        opacity: 1;
    }
    .nav-links .nav-link {
        display: block;
        width: 100%;
        color: #e5e9f0 !important;
        font-size: 1.25rem;
        font-weight: 600;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-decoration: none;
        transition: color 0.2s, padding-left 0.2s;
    }
    .nav-links .nav-link:hover {
        color: white !important;
        padding-left: 6px;
        border-bottom-color: var(--primary);
    }
    
    /* User menu in mobile */
    .user-menu-container {
        width: 100%;
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding-top: 2rem;
    }
    .auth-links {
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
    }
    .auth-links .nav-link {
        border-bottom: none;
        padding: 0.6rem 0;
        font-size: 1.1rem;
    }
    .auth-links .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
        font-size: 1rem;
    }
    .counter-display {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 60px;
        padding: 0.7rem 1.2rem;
        color: white;
        font-weight: 500;
    }
    .user-greeting {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255,255,255,0.04);
        border-radius: var(--radius-full);
        padding: 0.6rem 1.2rem;
        cursor: pointer;
        transition: background 0.2s;
    }
    .user-greeting:hover {
        background: rgba(255,255,255,0.1);
    }
    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(145deg, var(--primary), #1e4b8f);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
    }
    .user-menu-dropdown {
        position: static !important;
        width: 100%;
        margin-top: 0.5rem;
        background: rgba(0,0,0,0.3);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        padding: 0.5rem;
        display: none;
    }
    .user-menu-dropdown.active {
        display: block;
    }
    .user-menu-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0.7rem 1rem;
        color: #e0e4ec;
        border-radius: 12px;
    }
    .user-menu-item:hover {
        background: rgba(255,255,255,0.05);
        color: white;
    }
    
    /* Grids */
    .features-grid,
    .how-it-works,
    .pricing-cards,
    .stats,
    .profile-stats,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .how-it-works { gap: 1rem; }
    
    /* Other adjustments */
    .trust-badges { flex-direction: column; gap: var(--space-md); }
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-links { grid-template-columns: 1fr; }
    .domain-header { flex-direction: column; align-items: flex-start; }
    .domain-actions { width: 100%; justify-content: flex-start; }
    .score-grid { grid-template-columns: repeat(2, 1fr); }
    .error-code { font-size: 6rem; }
    .error-title { font-size: 2rem; }
    .error-actions { flex-direction: column; width: 100%; }
    .btn-large { width: 100%; }
    .suggestion-links { flex-direction: column; align-items: center; gap: 1rem; }
    .about-hero { padding: 80px 0 40px; }
    .about-hero h1 { font-size: 2.2rem; }
    .mission-section,
    .story-section,
    .values-section,
    .team-section,
    .cta-section { padding: 60px 0; }
    .contact-hero { padding: 80px 0 40px; }
    .contact-grid { padding: 60px 0; }
    .contact-form { padding: 2rem; }
    .realistic-valuation-card { flex-direction: column; gap: 1rem; }
    .valuation-explanation {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 1rem;
    }
    .analytics-display {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .progress-bar {
        width: 100%;
        margin-bottom: 1rem;
    }
    .cookie-container,
    .privacy-container,
    .terms-container,
    .gdpr-container {
        padding: 2rem 1.5rem;
    }
    .cookie-title,
    .privacy-title,
    .terms-title,
    .gdpr-title {
        font-size: 2rem;
    }
    .pagination {
        flex-direction: column;
    }
}

/* Small screens (up to 480px) */
@media (max-width: 480px) {
    .container { padding: 0 var(--space-md); }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }
    .stat-number { font-size: 2.5rem; }
    .score-grid { grid-template-columns: 1fr; }
    .domain-actions { flex-direction: column; }
    .domain-actions .btn { width: 100%; }
    .footer-links { grid-template-columns: 1fr; }
    .pricing-card { padding: 1.8rem; }
    .error-code { font-size: 4.5rem; }
    .error-title { font-size: 1.6rem; }
    .error-message-text { font-size: 1rem; }
    .about-hero h1 { font-size: 1.8rem; }
    .stat-number { font-size: 2.2rem; }
    .contact-hero h1 { font-size: 2rem; }
    .auth-hero h1 { font-size: 2.2rem; }
    .profile-stats { grid-template-columns: 1fr; }
    .history-table th:nth-child(4),
    .history-table td:nth-child(4) {
        display: none;
    }
    .payment-flow-item {
        padding: 1.2rem 0.8rem;
    }
}

/* ------------------------------------ */
/* 29. PRINT STYLES (أنماط الطباعة)    */
/* ------------------------------------ */

@media print {
    .header,
    .footer,
    .btn,
    .no-print,
    .cta-section,
    .hero-cta,
    .mobile-menu-toggle,
    .mobile-close-btn,
    .user-menu-container,
    .nav-links {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .content-card,
    .section-card {
        break-inside: avoid;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        -webkit-text-fill-color: black !important;
        background: none !important;
    }
    p, .text-soft, .text-body {
        color: #333 !important;
    }
    .score-value {
        -webkit-text-fill-color: black !important;
        color: black !important;
        background: none !important;
    }
}