/* ============================================
   AzizAI Premium Design System 2026
   ============================================ */

/* Global Base - AzizAI Premium Light Theme (Forced) */
:root {
    /* Primary Colors - Rich Vibrant Purple & Blue Gradient */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1; /* Indigo */
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    
    /* Secondary Colors - Premium Backgrounds (Forced Light) */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #475569;
    --border-color: #f1f5f9;
    
    /* Accents */
    --accent-primary: #ec4899; /* Pink */
    --accent-secondary: #0ea5e9; /* Sky Blue */
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-error: #ef4444;

    /* Gradients */
    --gradient-aziza: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
    --gradient-light-hero: radial-gradient(circle at 0% 0%, rgba(99,102,241,0.02) 0%, transparent 50%),
                           radial-gradient(circle at 100% 100%, rgba(168,85,247,0.02) 0%, transparent 50%);
    --bg-grid: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 40H0V0h40v40zM1 39h38V1H1v38z' fill='%236366f1' fill-opacity='0.02'/%3E%3C/svg%3E");
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Typography */
    --font-sans: 'Inter', 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animation Speeds */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Base Styles
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main) !important;
    background: var(--bg-main) !important;
    color: var(--text-main) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ============================================
   Modern Card System - Glassmorphism & Depth
   ============================================ */
.modern-card, .glass-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-bounce);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.modern-card:hover, .glass-card:hover {
    transform: translateY(-6px) scale(1.005);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary-400);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.modern-card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.modern-card-body {
    padding: var(--space-lg);
}

.modern-card-footer {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card-hover);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   Sleek Button System (Micro-Animations)
   ============================================ */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.25;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-modern:hover::before {
    transform: translateX(100%);
}

.btn-modern:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-500);
    color: var(--primary-500);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    color: var(--primary-600);
}

/* ============================================
   Form Controls (Sleek Inputs)
   ============================================ */
.form-control-modern {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-card);
    transition: all var(--transition-normal);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
    background: var(--bg-main);
}

.form-label-modern {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-main);
}

/* ============================================
   Navbar - Floating Glass
   ============================================ */
.navbar-modern {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all var(--transition-normal);
}

.nav-link-modern {
    color: var(--text-muted);
    transition: color var(--transition-normal);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

.nav-link-modern:hover, .nav-link-modern.active {
    color: var(--primary-600);
    background: rgba(99, 102, 241, 0.08); /* subtle highlight */
}

/* ============================================
   Hero Section & Gradients
   ============================================ */
.hero-modern {
    background: #ffffff;
    background-image: var(--bg-grid);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-400), transparent 70%);
    opacity: 0.15;
    top: -200px; left: -200px;
    border-radius: 50%;
    animation: drift 20s infinite alternate linear;
    pointer-events: none;
}

.hero-modern::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    opacity: 0.15;
    bottom: -150px; right: -150px;
    border-radius: 50%;
    animation: drift 15s infinite alternate-reverse linear;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    max-width: 650px;
    margin-left: 0; margin-right: 0;
    text-align: left;
}

/* Premium V3 Components */
.bg-grid-subtle {
    background-image: var(--bg-grid);
}

.text-aziza-gradient {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.card-white-shadow {
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.stat-v3-number {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.stat-v3-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-card-v3 {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card-v3:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 120px -30px rgba(0,0,0,0.1);
}

.job-card-logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.25rem;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
    overflow: hidden;
}

.job-badge-featured {
    background: #eef2ff;
    color: #6366f1;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* ============================================
   Micro-Animations & Utilities
   ============================================ */
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

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

.animate-float { animation: float 6s ease-in-out infinite; }

.section-padding { padding: 4rem 0; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pro-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .pro-shell { padding: 1.5rem 1rem; }
}
