/* Repit Custom Styles - Neon Traffic Theme */

:root {
    --repit-bg-dark: #121212;
    --repit-bg-card: #1e1e1e;
    --repit-red: #ff3b30;
    --repit-yellow: #ffcc00;
    --repit-green: #34c759;
    --repit-text-light: #f5f5f7;
    --repit-text-muted: #86868b;
    --neon-glow-red: 0 0 10px rgba(255, 59, 48, 0.5);
    --neon-glow-yellow: 0 0 10px rgba(255, 204, 0, 0.5);
    --neon-glow-green: 0 0 10px rgba(52, 199, 89, 0.5);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--repit-red), var(--repit-yellow), var(--repit-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--repit-text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--repit-green) !important;
}

.btn-repit {
    background-color: var(--repit-green);
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 30px;
    border: 2px solid var(--repit-green);
    transition: all 0.3s ease;
}

.btn-repit:hover {
    background-color: transparent;
    color: var(--repit-green);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow-green);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(30, 30, 30, 0.8), #121212);
    /* Add a subtle grid/traffic pattern if possible with CSS only, or keep detailed gradients */
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)),
        url('https://source.unsplash.com/random/1920x1080/?city,night,traffic');
    /* Fallback if unsplash fails or just reliance on gradient */
    background-size: cover;
    background-position: center;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--repit-yellow);
    border: 1px solid rgba(255, 204, 0, 0.3);
    display: inline-block;
    margin-bottom: 20px;
}

/* Features */
.feature-card {
    background-color: var(--repit-bg-card);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--repit-green);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.icon-red {
    background: rgba(255, 59, 48, 0.1);
    color: var(--repit-red);
}

.icon-yellow {
    background: rgba(255, 204, 0, 0.1);
    color: var(--repit-yellow);
}

.icon-green {
    background: rgba(52, 199, 89, 0.1);
    color: var(--repit-green);
}

/* How it Works / Phone Mockup Area */
.phone-mockup {
    border: 10px solid #333;
    border-radius: 30px;
    overflow: hidden;
    background-color: #000;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.app-screen {
    padding: 20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    height: 600px;
    position: relative;
}

.feed-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.feed-header {
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.feed-avatar {
    width: 30px;
    height: 30px;
    background-color: #555;
    border-radius: 50%;
    margin-right: 10px;
}

.feed-image {
    width: 100%;
    height: 150px;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.feed-footer {
    padding: 10px;
}

.feed-actions i {
    margin-right: 10px;
    color: var(--repit-text-light);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    padding: 50px 0;
}

.footer-link {
    color: var(--repit-text-muted);
    text-decoration: none;
    margin-right: 20px;
}

.footer-link:hover {
    color: var(--repit-green);
}