/* FlowPartner - Premium Design System */

/* ===== CSS Variables & Design Tokens ===== */
:root {
    /* Color Palette - Vibrant Dark Mode */
    --color-bg-primary: #0a0e1a;
    --color-bg-secondary: #141925;
    --color-bg-tertiary: #1e2635;
    --color-bg-elevated: #252d3f;

    /* Glass morphism backgrounds */
    --color-glass-bg: rgba(30, 38, 53, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.1);

    /* Brand Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;

    --color-accent: #ec4899;
    --color-accent-dark: #db2777;
    --color-accent-light: #f472b6;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #94a3b8;
    --color-text-inverse: #0a0e1a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

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

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ===== Layout Components ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Hidden class for dynamic views */
.hidden {
    display: none !important;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: var(--space-md) 0;
}

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

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
}

.btn-secondary:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-primary);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-lg);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Cards ===== */
.card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.card-body {
    margin-bottom: var(--space-lg);
}

.card-footer {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-glass-border);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: var(--space-lg);
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

/* ===== Grid System ===== */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== Badges & Pills ===== */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.badge-success {
    background: var(--color-success);
    color: white;
}

.badge-warning {
    background: var(--color-warning);
    color: white;
}

.badge-error {
    background: var(--color-error);
    color: white;
}

.badge-info {
    background: var(--color-info);
    color: white;
}

/* ===== Page Views ===== */
#app {
    min-height: 100vh;
    padding-top: 80px;
}

.view {
    padding: var(--space-2xl) 0;
    animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Hero Section ===== */
.hero {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Dashboard Layout ===== */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-xl);
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.dashboard-content {
    flex: 1;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: var(--space-sm);
}

.sidebar-nav a {
    display: block;
    padding: var(--space-md);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--color-bg-elevated);
    color: var(--color-primary-light);
}

/* ===== Job Cards ===== */
.job-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.job-card:hover {
    transform: translateX(4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-md);
}

.job-meta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--space-sm);
}

/* ===== Messages/Chat ===== */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.message {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    max-width: 70%;
}

.message-sent {
    background: var(--gradient-primary);
    margin-left: auto;
    color: white;
}

.message-received {
    background: var(--color-bg-elevated);
}

.chat-input {
    display: flex;
    padding: var(--space-lg);
    border-top: 1px solid var(--color-glass-border);
    gap: var(--space-md);
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-primary {
    color: var(--color-primary-light);
}

.text-error {
    color: var(--color-error);
}

.text-success {
    color: var(--color-success);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

/* ===== Loading Spinner ===== */
.spinner {
    border: 3px solid var(--color-bg-elevated);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: toastSlideIn 0.3s ease;
    transition: all var(--transition-base);
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.toast-message {
    flex: 1;
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.toast-close:hover {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
}

.toast-success {
    border-left: 3px solid var(--color-success);
}

.toast-success .toast-icon {
    color: var(--color-success);
}

.toast-error {
    border-left: 3px solid var(--color-error);
}

.toast-error .toast-icon {
    color: var(--color-error);
}

.toast-warning {
    border-left: 3px solid var(--color-warning);
}

.toast-warning .toast-icon {
    color: var(--color-warning);
}

.toast-info {
    border-left: 3px solid var(--color-info);
}

.toast-info .toast-icon {
    color: var(--color-info);
}

.toast-removing {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===== Modal System ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal-overlay.modal-open {
    opacity: 1;
}

.modal-overlay.modal-open .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.9);
    opacity: 0;
    transition: all var(--transition-base);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-glass-border);
}

.modal-title {
    margin: 0;
    font-size: var(--font-size-xl);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

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

.modal-body {
    padding: var(--space-xl);
}

.modal-body p {
    margin-bottom: 0;
}

.modal-footer {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--color-glass-border);
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.loading-overlay.loading-active {
    opacity: 1;
}

.loading-content {
    text-align: center;
}

.loading-text {
    margin-top: var(--space-md);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* ===== Modern Spinner ===== */
.spinner-modern {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-bg-elevated);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

/* ===== Skeleton Loaders ===== */
.skeleton-loading {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg,
            var(--color-bg-secondary) 0%,
            var(--color-bg-elevated) 50%,
            var(--color-bg-secondary) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: var(--space-md);
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: var(--space-sm);
}

.skeleton-button {
    height: 40px;
    width: 120px;
    margin-top: var(--space-md);
}

.skeleton-badge {
    height: 24px;
    width: 80px;
    border-radius: var(--radius-full);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== Empty States ===== */
.empty-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
}

.empty-state-title {
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.empty-state-description {
    color: var(--color-text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* ===== Enhanced Forms ===== */
.form-input-error {
    border-color: var(--color-error) !important;
}

.form-input-success {
    border-color: var(--color-success) !important;
}

.form-error {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.form-error svg {
    width: 14px;
    height: 14px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

/* ===== Enhanced Button Effects ===== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Progress Bar ===== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===== Enhanced Card Effects ===== */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(99, 102, 241, 0.05),
            transparent);
    transform: rotate(45deg);
    transition: all var(--transition-slow);
    opacity: 0;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
    animation: card-shine 1.5s ease;
}

@keyframes card-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===== Enhanced Job Cards ===== */
.job-card {
    position: relative;
}

.job-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.job-card:hover::after {
    transform: scaleY(1);
}

/* ===== Icon Utilities ===== */
.icon-sm svg {
    width: 16px;
    height: 16px;
}

.icon-md svg {
    width: 20px;
    height: 20px;
}

.icon-lg svg {
    width: 24px;
    height: 24px;
}

/* ===== Enhanced Navigation ===== */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ===== Pulse Animation ===== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== Improved 404 Styles ===== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.error-message {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

/* ===== Loading Splash Screen ===== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity var(--transition-slow);
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-logo {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

/* ===== Accessibility Enhancements ===== */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    border-radius: var(--radius-md);
    z-index: 100;
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .toast-container {
        right: var(--space-md);
        left: var(--space-md);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: var(--space-md);
    }

    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    .error-code {
        font-size: 4rem;
    }

    .modal-content {
        margin: var(--space-md);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--space-md);
    }
}

/* ===== Pricing Page Styles ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-starter {
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
}

.pricing-card-starter:hover {
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.3), var(--shadow-xl);
}

.pricing-card-growth {
    border: 2px solid var(--color-accent);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.pricing-card-growth:hover {
    box-shadow: 0 0 60px rgba(236, 72, 153, 0.3), var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-glass-border);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.pricing-badge-popular {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: var(--shadow-glow);
}

.pricing-badge-premium {
    background: var(--gradient-accent);
    border: none;
    color: white;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.pricing-title {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-xl);
    text-align: center;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: var(--space-xs);
}

.pricing-currency {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary-light);
    margin-right: var(--space-xs);
    margin-top: var(--space-xs);
}

.pricing-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card-growth .pricing-value {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

.pricing-description {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-glass-border);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.pricing-features li i {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-success);
    margin-top: 2px;
}

.pricing-features li strong {
    color: var(--color-text-primary);
}

.pricing-cta {
    margin-top: auto;
}

.pricing-faq {
    margin: var(--space-3xl) 0;
}

.pricing-faq h2 {
    margin-bottom: var(--space-2xl);
}

.pricing-faq .card {
    transition: all var(--transition-base);
}

.pricing-faq .card:hover {
    transform: translateY(-2px);
}

.pricing-faq h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.pricing-cta-section {
    margin: var(--space-3xl) 0;
}

.pricing-cta-section .card {
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Animations for pricing cards */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.pricing-card-starter {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.2s;
}

/* Email Verification Banner */
.verification-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.verification-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.verification-banner-icon {
    font-size: var(--font-size-2xl);
}

.verification-banner-text {
    text-align: left;
}

.verification-banner-text strong {
    display: block;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

.verification-banner-actions {
    display: flex;
    gap: var(--space-sm);
}

.verification-banner .btn {
    background: white;
    color: #d97706;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.verification-banner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.verification-banner .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.verification-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .verification-banner {
        flex-direction: column;
        text-align: center;
    }

    .verification-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .verification-banner-text {
        text-align: center;
    }
}