@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0a0a0e;
    --bg-surface: #14141d;
    --text-primary: #ffffff;
    --text-muted: #9494a0;
    --accent-cyan: #00f0ff;
    --accent-purple: #8a2be2;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
    --glow-purple: 0 0 20px rgba(138, 43, 226, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background effects */
.bg-glow {
    position: fixed;
    top: -50%;
    left: -10%;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(10,10,14,0) 60%);
    z-index: -1;
    filter: blur(60px);
}
.bg-glow-2 {
    position: fixed;
    bottom: -30%;
    right: -10%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, rgba(10,10,14,0) 60%);
    z-index: -1;
    filter: blur(60px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand img {
    height: 32px;
    object-fit: contain;
}

.brand span {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.action-btn {
    padding: 10px 24px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.ghost-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    color: var(--accent-cyan);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ghost-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* Layout */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    flex: 1; /* Pushes footer down */
    width: 100%;
}

.hero {
    text-align: center;
    padding: 60px 0;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-cyan), #fff, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Grids & Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* Additional Sections */
.info-section {
    margin-top: 100px;
    padding: 40px;
    background: rgba(20, 20, 29, 0.6);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.info-block h4 {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.info-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Forms */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Code blocks */
.code-panel {
    background: #050508;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    color: #a8b2d1;
    overflow-x: auto;
    position: relative;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-dark);
}

/* Dashboard specific */
.dash-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .dash-layout {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 10px; }
    .navbar { flex-direction: column; padding: 15px 0; }
    .info-grid { grid-template-columns: 1fr; }
}
irection: column; padding: 15px 0; }
    .info-grid { grid-template-columns: 1fr; }
}
