/* Ultra-Premium Dark Emerald SaaS Theme (Inspired by SEO Matics) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --bg-base: #040805;
    --bg-surface: #08110b;
    --bg-surface-elevated: #0d1a11;
    --bg-surface-hover: #122417;
    --border-subtle: rgba(16, 185, 129, 0.12);
    --border-focus: rgba(16, 185, 129, 0.4);
    --primary-emerald: #10b981;
    --primary-emerald-hover: #059669;
    --primary-emerald-glow: rgba(16, 185, 129, 0.35);
    --accent-lime: #34d399;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: #f1f5f9;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Futuristic background grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(16, 185, 129, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient Radial Glows */
.ambient-glow-top {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.05) 50%, transparent 80%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-side {
    position: absolute;
    top: 40%;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #040805;
}
::-webkit-scrollbar-thumb {
    background: #14271a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1e3a27;
}

/* Monospace text */
.font-mono-code {
    font-family: 'JetBrains Mono', monospace;
}

/* Glass Card */
.glass-card {
    background: rgba(8, 17, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(16, 185, 129, 0.05);
}

.glass-card:hover {
    border-color: rgba(16, 185, 129, 0.28);
}

/* Glowing Button */
.btn-emerald-glow {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 20px -2px rgba(16, 185, 129, 0.4), 0 0 10px rgba(16, 185, 129, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-emerald-glow:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 6px 25px 0 rgba(16, 185, 129, 0.55), 0 0 15px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-emerald-glow:active {
    transform: translateY(1px);
}

/* OTP Badge */
.otp-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(52, 211, 153, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 2px;
}

/* Toast Notification */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
