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

:root {
    --bg-dark: #07080a;
    --bg-card: rgba(15, 17, 26, 0.85);
    --accent-gold: #FFD700;
    --accent-blue: #38BDF8;
    --accent-purple: #8B5CF6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(245, 158, 11, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Glassmorphism Components */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.glass:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glass-nav {
    background: rgba(5, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Feature Cards (Replacing RSI cards with elegant glass) */
.hc-card {
    background: linear-gradient(135deg, rgba(15, 17, 26, 0.95) 0%, rgba(7, 8, 10, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-top: 3px solid var(--accent-gold);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    border-radius: 4px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.hc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(245, 158, 11, 0.1);
    border-color: var(--accent-gold);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    min-width: 250px;
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0px 15px 30px rgba(0,0,0,0.8);
    z-index: 1001;
    overflow: hidden;
    padding: 0.5rem 0;
    border-radius: 0 0 8px 8px;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 14px 24px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    padding-left: 32px;
    border-left: 3px solid var(--accent-gold);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}
.nav-links li {
    flex-shrink: 0;
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Grid Sections */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    border-radius: 2px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-gold), #fcd34d);
    color: #000;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.6);
    background: #fff;
}

.btn-outline {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    clip-path: none;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    background: rgba(5, 10, 15, 0.95);
}

.logo-container img {
    height: 60px;
    margin-bottom: 1rem;
}

/* ── Forms & Inputs ─────────────────────────────────────── */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* ── Alerts & Badges ─────────────────────────────────────── */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-gold {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

/* ── Utilities ─────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .container { padding: 0 1.25rem; }
}

@media (max-width: 1150px) {
    #nav-toggle { display: block !important; }

    #nav-links-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        border-bottom: 3px solid var(--accent-gold);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        z-index: 999;
    }

    #nav-links-list.open {
        display: flex;
    }

    #nav-links-list li {
        width: 100%;
    }

    #nav-links-list li a,
    #nav-links-list li button {
        display: block;
        padding: 0.85rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        width: 100%;
        text-align: left;
        font-size: 1rem;
    }

    .dropdown-content {
        position: static;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        box-shadow: none;
        min-width: 100%;
        padding-left: 1rem;
        background: rgba(0,0,0,0.3);
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }
}

@media (max-width: 700px) {
    .glass-nav .container {
        flex-wrap: nowrap;
        gap: 0.75rem;
        position: relative;
    }
    .glass { padding: 1.25rem; }
    h1, h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
}

select option {
    background-color: #0a0f19;
    color: white;
}
