@import 'tailwindcss';
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Geist:wght@300;400;500;600;700&display=swap');

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

/* ========== CUSTOM PROPERTIES ========== */
:root {
    --color-navy-950: #0f1219;
    --color-navy-900: #1a1f2e;
    --color-navy-800: #242d3d;
    --color-navy-700: #2f3a4f;
    --color-navy-600: #3a4561;
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-accent: #10b981;
    --color-accent-dark: #059669;
    --color-muted: #6b7280;
    --color-border: #374151;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --font-sans: 'Inter', 'Geist', ui-sans-serif, system-ui, sans-serif;
}

/* ========== KEYFRAME ANIMATIONS ========== */
@keyframes glow {
    from { text-shadow: 0 0 10px rgba(59,130,246,0.2), 0 0 20px rgba(59,130,246,0.2); }
    to   { text-shadow: 0 0 20px rgba(6,182,212,0.4), 0 0 30px rgba(6,182,212,0.4); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: -1000px 0; }
    100% { background-position:  1000px 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@keyframes ping-slow {
    75%, 100% { transform: scale(1.8); opacity: 0; }
}

/* ========== BASE STYLES ========== */
html { scroll-behavior: smooth; }

* { selection: bg-blue-500; }

body {
    font-family: var(--font-sans);
    background-color: var(--color-navy-950);
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
}

/* ========== ANIMATIONS UTILITIES ========== */
.animate-float   { animation: float 6s ease-in-out infinite; }
.animate-glow    { animation: glow 2s ease-in-out infinite alternate; }
.animate-fadeIn  { animation: fadeIn 0.6s ease-out; }
.animate-slideUp { animation: slideUp 0.6s ease-out; }
.animate-ping-slow { animation: ping-slow 2s cubic-bezier(0,0,0.2,1) infinite; }

/* ========== CUSTOM COLOURS ========== */
.bg-navy-950 { background-color: #0f1219; }
.bg-navy-900 { background-color: #1a1f2e; }
.bg-navy-800 { background-color: #242d3d; }
.bg-navy-700 { background-color: #2f3a4f; }
.text-primary { color: #3b82f6; }
.text-accent  { color: #10b981; }
.bg-primary   { background-color: #3b82f6; }
.bg-accent    { background-color: #10b981; }
.border-primary { border-color: #3b82f6; }
.border-accent  { border-color: #10b981; }

/* ========== TEXT GRADIENT ========== */
.text-gradient {
    background: linear-gradient(to right, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background-color: #3b82f6;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    gap: 0.5rem;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(59,130,246,0.35);
}
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    gap: 0.5rem;
}
.btn-secondary:hover { background-color: rgba(30,41,59,0.5); }
.btn-secondary:active { transform: scale(0.95); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.2s;
}
.btn-ghost:hover { color: #fff; }

/* ========== CARDS ========== */
.card {
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, rgba(15,23,42,0.4), rgba(15,23,42,0.2));
    border: 1px solid rgba(30,41,59,0.4);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    transition: all 0.3s;
}
.card:hover {
    border-color: rgba(51,65,85,0.6);
    background: linear-gradient(to bottom right, rgba(15,23,42,0.6), rgba(15,23,42,0.4));
}
.card-accent { border-color: rgba(16,185,129,0.2); }
.card-accent:hover { border-color: rgba(16,185,129,0.4); }

/* ========== GLASS MORPHISM ========== */
.glass {
    background: rgba(15,23,42,0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30,41,59,0.3);
}
.glass-card {
    background: rgba(15,23,42,0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30,41,59,0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}
.glass-card:hover { background: rgba(15,23,42,0.4); }

/* ========== BADGES ========== */
.badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== DIVIDER ========== */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #334155, transparent);
}

/* ========== HOVER EFFECTS ========== */
.hover-lift { transition: all 0.3s; }
.hover-lift:hover { transform: translateY(-4px); }
.hover-glow  { transition: all 0.3s; }
.hover-glow:hover { box-shadow: 0 10px 30px -5px rgba(59,130,246,0.2); }

/* ========== LAYOUT UTILITIES ========== */
.container-tight  { margin: 0 auto; max-width: 72rem; padding: 0 1rem; }
.section-padding  { padding: 4rem 0; }
@media (min-width: 640px)  { .section-padding { padding: 6rem 0; } }
@media (min-width: 1024px) { .section-padding { padding: 8rem 0; } }

/* ========== CYBER-GRID BACKGROUND ========== */
.cyber-grid {
    background-image:
        linear-gradient(to right, rgba(31,41,55,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(31,41,55,0.05) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #4b5563; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6b7280; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ========== ALERT FLASH MESSAGES ========== */
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; padding: 1rem 1.25rem; border-radius: 0.75rem; }
.alert-error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #f87171; padding: 1rem 1.25rem; border-radius: 0.75rem; }
