:root {

    /* ==========================
       NexiBox Brand Colors
    =========================== */

    --primary: #6366F1;
    --secondary: #A855F7;
    --accent: #EC4899;
    --highlight: #E11D48;

    /* Compatibility (existing CSS uses these) */

    --gold-primary: var(--primary);
    --gold-light: var(--secondary);
    --gold-dark: var(--accent);

    /* Background */

    --bg-dark: #0F1014;
    --bg-card: #171923;

    /* Text */

    --text-primary: #FFFFFF;
    --text-secondary: #B7BDD6;

    /* Other */

    --border: rgba(99,102,241,0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    background:
    radial-gradient(
        circle at -10% -10%,
        rgba(168,85,247,0.16) 0%,
        transparent 38%
    ),

    radial-gradient(
        circle at 110% -10%,
        rgba(225,29,72,0.14) 0%,
        transparent 40%
    ),

    #0F1014;

    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 16, 20, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.20);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 4rem;
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.18);
}

.logo-container img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.45));
    transition: all 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.60));
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold-primary);
}

.admin-btn {
    padding: 0.6rem 1.8rem;
    border: 2px solid #A855F7;
    border-radius: 10px;
    color: #A855F7;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.admin-btn:hover {
    background: linear-gradient(
        135deg,
        #6366F1,
        #A855F7,
        #EC4899
    );

    color: white;

    border-color: transparent;

    box-shadow:
        0 0 20px rgba(99,102,241,.35),
        0 0 40px rgba(236,72,153,.25);

    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(
        90deg,
        #6366F1 0%,
        #A855F7 30%,
        #EC4899 70%,
        #E11D48 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.btn-gold {
    padding: 1rem 2.5rem;
    background: linear-gradient(
    135deg,
    #6366F1,
    #A855F7,
    #EC4899,   
    #E11D48
);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(99,102,241,.28),
        0 0 35px rgba(168,85,247,.18);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 35px rgba(99,102,241,.35),
        0 0 55px rgba(236,72,153,.30);
}

.btn-outline {
    padding: 1rem 2.5rem;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(99,102,241,.10);
    transform: translateY(-3px);
    box-shadow:
    0 8px 30px rgba(99,102,241,.20);
}

/* About Section */
.about {
    padding: 8rem 4rem;
    background: rgba(26, 26, 26, 0.3);
    position: relative;
}

.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.phase-card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(99, 102, 241, 0.15);
    cursor: pointer;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08),
        rgba(168, 85, 247, 0.04),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.phase-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow:
        0 20px 50px rgba(99, 102, 241, 0.18),
        0 0 30px rgba(168, 85, 247, 0.12);
}

.phase-card:hover::before {
    opacity: 1;
}

.phase-number {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.phase-card h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.phase-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 6rem 2rem 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .header {
        padding: 1rem 2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .logo-container img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .phases-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-container img {
        height: 50px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}
/* Keep picker working */
input[type="datetime-local"] {
    appearance: auto;
    -webkit-appearance: auto;
}

/* Style your field */
#mDate {
    background-color: #111;
    color: white;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

/* Fix calendar icon */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

#mDate {
    background-color: #111;
    color: white;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

/* Fix calendar icon */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}