/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Josefin Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 200;
    background: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 200;
}

h2 {
    font-size: 2rem;
    font-weight: 200;
}

h3 {
    font-size: 1.5rem;
    font-weight: 300;
}

p {
    font-weight: 200;
    color: #cccccc;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #404040;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 200;
    color: #ffffff;
    margin: 0;
}

.tagline {
    font-size: 0.8rem;
    font-weight: 200;
    color: #888888;
    margin-left: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: #00ff88;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #00ff88;
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: transparent;
    border-color: #00ff88;
    color: #00ff88;
}

.btn-primary:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border-color: #404040;
    color: #ffffff;
}

.btn-outline:hover {
    border-color: #606060;
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    flex-direction: column;
    gap: 4px;
}

.btn-subtitle {
    font-size: 0.7rem;
    font-weight: 200;
    opacity: 0.8;
    text-transform: none;
}

/* Admin Login Section */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.admin-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.login-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

/* Wider signup card */
.signup-page .login-card {
    max-width: 550px;
    padding: 30px 40px;
}

/* Input row for side-by-side fields */
.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.input-row .input-group {
    flex: 1;
    margin-bottom: 0;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00cc6b, #00ff88);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 1.8rem;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 0.9rem;
    font-weight: 200;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #00ff88;
    background: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

.input-group input::placeholder {
    color: #666666;
    font-weight: 200;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #404040;
}

.login-footer p {
    font-size: 0.8rem;
    font-weight: 200;
    color: #666666;
}

.login-footer em {
    color: #00ff88;
    font-style: italic;
    font-weight: 300;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    animation: fadeIn 0.5s ease-in-out;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #00ff88;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-card p {
    font-weight: 200;
    color: #cccccc;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: #2d2d2d;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-info h3 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #00ff88;
    margin-bottom: 20px;
}

.download-info p {
    font-size: 1.1rem;
    font-weight: 200;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    font-weight: 200;
    color: #cccccc;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

/* Dashboard Section */
.dashboard {
    padding: 100px 0;
    background: #1a1a1a;
}

.dashboard-content {
    text-align: center;
}

.dashboard-info {
    margin-bottom: 60px;
}

.dashboard-info p {
    font-size: 1.2rem;
    font-weight: 200;
    color: #cccccc;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: #00ff88;
    transform: translateY(-3px);
}

.dashboard-card h3 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 200;
    color: #00ff88;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', monospace;
}

.dashboard-card p {
    font-size: 0.9rem;
    font-weight: 200;
    color: #888888;
}

/* Support Section */
.support {
    padding: 100px 0;
    background: #2d2d2d;
}

.support-content {
    text-align: center;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.support-card {
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: #00ff88;
    transform: translateY(-3px);
}

.support-card h3 {
    font-size: 1.4rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 15px;
}

.support-card p {
    font-weight: 200;
    color: #cccccc;
    margin-bottom: 25px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    border-top: 1px solid #404040;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-weight: 200;
    color: #888888;
}

.brand-signature {
    font-size: 0.9rem;
    font-weight: 200;
    color: #00ff88 !important;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.brand-signature em {
    font-style: italic;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    font-weight: 200;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #404040;
}

.footer-bottom p {
    font-weight: 200;
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 20px;
        margin-top: 15px;
    }
    
    .login-card {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .signup-page .login-card {
        max-width: 90%;
        padding: 25px 20px;
    }
    
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    
    .input-row .input-group {
        margin-bottom: 20px;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #505050;
}

/* Signup Dialog Styles */
.signup-notice {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 4px;
    padding: 12px;
    margin-top: 15px;
}

.signup-notice p {
    color: #ffffff;
    font-size: 13px;
    margin: 0;
}

.signup-notice strong {
    color: #00ff88;
}
