/* COLOR PALETTE & TOKENS */
:root {
    --bg-dark: #0a0f1a;
    --bg-dark-secondary: #0f1626;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #0ea5e9;
    --accent: #22d3ee;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('CJV%20Logo.jpg') center/80% no-repeat;
    opacity: 0.05; /* Faded into the background */
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 1.5rem 0;
}

/* TYPOGRAPHY */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.highlight-text {
    color: var(--text-main);
    font-size: 0.95rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

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

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.bg-dark-secondary {
    background-color: var(--bg-dark-secondary);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: #fff;
}

/* GLASSMORPHISM */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tag {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(10,15,26,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* GRIDS */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.span-2 {
    grid-column: 1 / -1;
}

/* CARDS CSS */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.card h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.card ul {
    color: var(--text-muted);
}

.card ul.check-list li {
    padding-left: 2rem;
}

.card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.card ul.check-list li::before {
    content: '✓';
    color: var(--accent);
}

/* TIMELINE (APPROACH SECTION) */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-num {
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: -25px;
    margin-left: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.step-content {
    flex-grow: 1;
    padding-top: 3.5rem;
}

.step-content h4 {
    color: var(--accent);
    font-size: 1.1rem;
}

/* CTA SECTION */
.cta-section {
    position: relative;
    overflow: hidden;
}

.glow-bg-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(10,15,26,0) 60%);
    z-index: 1;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.contact-info {
    margin-top: 3rem;
    background: rgba(0,0,0,0.2);
    padding: 2rem;
    border-radius: 12px;
}

.contact-info p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* QR CODE */
.qr-code-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    background-color: white; /* Make sure contrast remains if code is transparent */
    padding: 0.5rem;
}

.qr-code-wrapper p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* FOOTER */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* ANIMATIONS */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .navbar {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none; /* simple mobile fallback */
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-tags {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .span-2 {
        grid-column: 1 / -1;
    }
}
