:root {
    --neon-green: #39ff14;
    --neon-blue: #00f3ff;
    --dark-bg: #0b0c10;
    --card-bg: #1f2833;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: #c5c6c7;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================== NAVBAR =================== */
.navbar {
    background-color: rgba(11, 12, 16, 0.97);
    border-bottom: 1px solid #1a1a1a;
    backdrop-filter: blur(10px);
}
.nav-link {
    color: #c5c6c7 !important;
    transition: 0.3s;
    font-weight: 500;
}
.nav-link:hover, .nav-link.active {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* =================== TICKER =================== */
.tradingview-widget-container {
    border-bottom: 1px solid #1a1a1a;
}

/* =================== HERO =================== */
.hero-header {
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(11,12,16,0.78) 100%),
                url('img/cannabis_blockchain.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 100px;
    border-bottom: 2px solid var(--neon-green);
    position: relative;
    overflow: hidden;
}
.hero-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(57,255,20,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-logo {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--neon-green);
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(57,255,20,0.35); }
    50%       { box-shadow: 0 0 45px rgba(57,255,20,0.75), 0 0 90px rgba(57,255,20,0.15); }
}
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    background: linear-gradient(135deg, #ffffff 40%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
    margin-top: 10px;
}
.hero-subtitle {
    color: rgba(197, 198, 199, 0.85);
    font-size: 1.25rem;
    letter-spacing: 4px;
    margin-top: 12px;
}

/* =================== STATS =================== */
.stats-section {
    background: linear-gradient(90deg, rgba(57,255,20,0.04), transparent, rgba(0,243,255,0.04));
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 50px 0;
}
.stat-box { text-align: center; padding: 1.5rem; }
.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(57,255,20,0.5);
    display: block;
}
.stat-label {
    color: #777;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.stat-icon {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--neon-blue);
}

/* =================== SECTION TITLE =================== */
.section-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
    padding-bottom: 12px;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), transparent);
    border-radius: 2px;
}

/* =================== CARDS GENERAL =================== */
.custom-card {
    background-color: var(--card-bg);
    border: 1px solid #45a29e;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 28px rgba(69, 162, 158, 0.5);
}
.card-img-top {
    height: 220px;
    object-fit: cover;
}

/* =================== PROJECT CARDS =================== */
.project-card {
    background: linear-gradient(145deg, #1a0b2e, #0f1012);
    border: 1px solid var(--neon-blue);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}
.project-card:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.8);
    transform: translateY(-3px);
}
.project-badge {
    background-color: var(--neon-blue);
    color: #000;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* =================== GLASS BOX =================== */
.glass-box {
    background: rgba(31, 40, 51, 0.85);
    border-left: 4px solid var(--neon-green);
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    backdrop-filter: blur(5px);
}
.glass-box-right {
    background: rgba(31, 40, 51, 0.85);
    border-right: 4px solid var(--neon-blue);
    padding: 2rem;
    border-radius: 15px 0 0 15px;
    backdrop-filter: blur(5px);
}

/* =================== ROADMAP =================== */
.timeline {
    position: relative;
    padding-left: 38px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-green), var(--neon-blue), transparent);
}
.timeline-item {
    position: relative;
    margin-bottom: 2.2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    border: 2px solid var(--dark-bg);
}
.timeline-item.blue::before {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}
.timeline-item.done::before {
    background: #555;
    box-shadow: none;
}
.timeline-quarter {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    color: var(--neon-green);
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.timeline-item.blue .timeline-quarter { color: var(--neon-blue); }
.timeline-item.done .timeline-quarter  { color: #555; }
.timeline-card {
    background: var(--card-bg);
    border: 1px solid #252f3a;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    transition: 0.3s;
}
.timeline-card:hover {
    border-color: #3a4a5a;
    transform: translateX(4px);
}

/* =================== CTA BANNER =================== */
.cta-banner {
    background: linear-gradient(135deg, rgba(57,255,20,0.06), rgba(0,243,255,0.06));
    border: 1px solid rgba(57,255,20,0.18);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(57,255,20,0.04), transparent 70%);
    pointer-events: none;
}

/* =================== TEAM =================== */
.team-card {
    background: var(--card-bg);
    border: 1px solid #252f3a;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}
.team-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 22px rgba(0,243,255,0.12);
}
.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--neon-blue);
    border-radius: 50%;
    animation: avatarPulse 4s ease-in-out infinite;
}
@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0,243,255,0.3); }
    50%       { box-shadow: 0 0 28px rgba(0,243,255,0.65); }
}

/* =================== FOOTER =================== */
footer {
    background-color: #050505;
    padding: 50px 0 30px;
    margin-top: 60px;
    border-top: 1px solid #1a1a1a;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #333;
    font-size: 1.1rem;
    margin: 0 5px;
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}
.social-icon:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57,255,20,0.3);
}

/* =================== SCROLL REVEAL =================== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================== MOBILE =================== */
@media (max-width: 768px) {
    .hero-header {
        padding: 60px 0 50px;
        background-attachment: scroll;
    }
    .hero-logo {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px;
        margin-bottom: 16px;
    }
    .hero-title    { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; letter-spacing: 2px; }
    .hero-header .btn { font-size: 0.85rem; padding: 0.4rem 1rem; }

    .stats-section { padding: 35px 0; }
    .stat-number   { font-size: 1.7rem; }
    .stat-label    { font-size: 0.75rem; }
    .stat-icon     { font-size: 1.4rem; }

    .project-card .row { flex-direction: column; }
    .project-card .col-md-5,
    .project-card .col-md-7 { width: 100%; }

    .glass-box {
        border-left: 4px solid var(--neon-green);
        border-right: none;
        border-radius: 15px;
    }
    .glass-box-right {
        border-right: none;
        border-left: 4px solid var(--neon-blue);
        border-radius: 15px;
    }

    .timeline         { padding-left: 28px; }
    .timeline-item::before { left: -24px; }
    .timeline-card    { padding: 0.7rem 0.9rem; }

    .cta-banner       { padding: 1.8rem 1rem; }
    .cta-banner h3    { font-size: 1.1rem; }

    .team-avatar      { width: 120px; height: 120px; }

    .section-title    { font-size: 1rem; }
    main.container    { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.3rem; }
    .stat-box   { padding: 1rem 0.5rem; }
}
