*, *::before, *::after { box-sizing: border-box; }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');

:root {
    --primary: #10b981;
    --secondary: #3b82f6;
    --background: transparent;
    --surface: rgba(30, 41, 59, 0.7);
    --text: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #022013 0%, #030e28 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(2, 20, 12, 0.95);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #10b981, #3b82f6);
    border-radius: 10px;
    border: 3px solid rgba(2, 20, 12, 1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #059669, #2563eb);
}

/* Selection */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
}

/* Abstract background elements */
.blob {
    position: fixed;
    z-index: 1;
    opacity: 0.6;
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
}

.blob-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0) 70%);
    top: -300px;
    left: -300px;
}

.blob-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: -300px;
    right: -300px;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Container used in index.html to center main content */
.container {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -2px;
    color: #fff;
    animation: glow 3s ease-in-out infinite alternate;
}

h1.hero-title span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    }
    100% {
        text-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

p.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 1rem;
    color: #a1a1aa;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar / Header styles for Main Site */
nav {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 32, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 0;
    z-index: 500;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(2, 20, 12, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
}
.logo span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.25rem;
}

.user-badge {
    background: var(--surface);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Button & CTA styles */
.badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-secondary {
    background: var(--surface);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    opacity: 0.9;
}

/* main element for layout inner */
main.center-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    z-index: 2;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: -1px;
}

.header-content p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}
