@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;500;600;700;800&family=Helvetica+Neue:wght@400;500;700&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #e7e9ea;
    --text-muted: #71767b;
    --primary: #1d9bf0;
    --primary-hover: #1a8cd8;
    --surface: #000000;
    --surface-hover: rgba(231, 233, 234, 0.1);
    --surface-border: #2f3336;
    --success: #00ba7c;
    --danger: #f4212e;
    --warning: #ffd400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* X.com Style Navbar */
.x-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    min-height: 36px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s, opacity 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover:not(:disabled) {
    background-color: #d7dbdc;
}

.btn-brand {
    background-color: var(--primary);
    color: #fff;
}

.btn-brand:hover:not(:disabled) {
    background-color: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    border: 1px solid #536471;
    color: var(--text-color);
}

.btn-outline:hover {
    background: rgba(231, 233, 234, 0.1);
}

.btn-danger {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--danger);
}

/* Layouts & Cards */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5% 40px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.x-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.x-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: #536471;
}

.profile-header {
    padding: 1rem;
    border-bottom: 1px solid var(--surface-border);
}

/* Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.x-input {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.x-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Alerts */
.form-error {
    color: var(--danger);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(244, 33, 46, 0.1);
    border-radius: 8px;
}

.form-success {
    color: var(--success);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 186, 124, 0.1);
    border-radius: 8px;
    text-align: center;
}

.kyc-banner {
    background: rgba(29, 155, 240, 0.1);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section (Landing) */
.hero {
    display: flex;
    min-height: 100vh;
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-left i {
    font-size: 20rem;
    color: var(--text-color);
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 5%;
}

.hero-right h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.hero-right h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
    }

    .hero-left {
        display: none;
    }

    .hero-right {
        padding-top: 100px;
    }
}

@media (max-width: 600px) {
    .timeline-container {
        border: none;
    }

    .nav-links a {
        margin-left: 1rem;
        font-size: 0.85rem;
    }
}