/* Modern AI & Glassmorphism Theme */
:root {
    --primary: #8B5CF6; /* Violet */
    --primary-glow: rgba(139, 92, 246, 0.5);
    --secondary: #EC4899; /* Pink */
    --secondary-glow: rgba(236, 72, 153, 0.5);
    
    --bg-dark: #020617; /* Very Dark Slate */
    --bg-glass: rgba(30, 41, 59, 0.4); /* Semi-transparent slate */
    --bg-glass-hover: rgba(30, 41, 59, 0.6);
    
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-hover: rgba(255, 255, 255, 0.2);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-highlight: #E2E8F0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    /* AI/Cyber Background */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15), transparent 25%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Navbar */
.navbar {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, #fff 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    height: 32px;
    width: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 1.5rem 0 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.hero-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Glass Card (Auth & Dashboard) */
.auth-card, .card, .status-card, .dashboard-header {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
}

.auth-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.tab-btn {
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover {
    color: var(--text-main) !important;
}

/* Modern Inputs */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
    background: rgba(15, 23, 42, 0.8);
}

/* AI Button */
.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Dashboard Specifics */
.dashboard-header {
    padding: 2rem; 
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.card {
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px var(--primary-glow);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-glass);
    margin-top: auto;
    color: var(--text-muted);
    font-size: 0.875rem;
    background: rgba(2, 6, 23, 0.8);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.text-sm { font-size: 0.875rem; }
.text-danger { color: #ef4444; }
.icon { font-style: normal; font-family: sans-serif; }

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 1rem 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    /* Benefits box mobile */
    .hero > div[style*="grid-template-columns"] {
        padding: 10px !important;
        margin-bottom: 12px !important;
        border-radius: 8px !important;
    }
    
    .hero > div[style*="grid-template-columns"] h2 {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    
    .hero > div[style*="grid-template-columns"] > div {
        gap: 6px !important;
        font-size: 10px !important;
    }
    
    .hero > div[style*="grid-template-columns"] > div > div {
        gap: 6px !important;
    }
    
    .hero > div[style*="grid-template-columns"] > div > div > div[style*="width: 26px"] {
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
    }
    
    .auth-card {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .form-input {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
        gap: 0.4rem;
    }
    
    .logo-icon {
        height: 28px !important;
        width: 28px !important;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.75rem 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.35rem;
        margin-bottom: 0.6rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    /* Benefits box even smaller on small phones */
    .hero > div[style*="grid-template-columns"] {
        padding: 8px !important;
        margin-bottom: 10px !important;
    }
    
    .hero > div[style*="grid-template-columns"] h2 {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .hero > div[style*="grid-template-columns"] > div {
        gap: 5px !important;
        font-size: 9px !important;
    }
    
    .hero > div[style*="grid-template-columns"] > div > div > div[style*="width: 26px"] {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }
    
    .auth-card {
        padding: 0.9rem;
    }
    
    .tab-btn {
        padding: 0.7rem !important;
        font-size: 0.85rem !important;
    }
    
    .form-group {
        margin-bottom: 0.7rem;
    }
    
    .form-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-primary {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

/* Animations Import */
@import 'animations.css';
