@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #4361EE;
    --primary-light: #4895EF;
    --accent: #4CC9F0;
    --bg-dark: #070b14;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --- NAVIGATION REFINED --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 30px;
    border-radius: 0 0 20px 20px;
}

nav h1 span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: white; }

/* --- HERO REFINED --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at top, rgba(67, 97, 238, 0.15) 0%, transparent 60%);
}

.announcement {
    background: rgba(67, 97, 238, 0.1);
    border: 1px solid rgba(67, 97, 238, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    max-width: 1000px;
    margin: 0 auto 24px;
    text-align: center;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- BUTTONS --- */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: white;
    background: rgba(255,255,255,0.03);
}

.btn:hover { transform: translateY(-5px); filter: brightness(1.1); }

/* --- DASHBOARD MOCKUP --- */
.hero-visual {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
    perspective: 1000px;
}

.dashboard-mock {
    width: 100%;
    height: 380px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    padding: 24px;
    transform: rotateX(12deg) rotateY(-5deg);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mock-header {
    height: 40px;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.mock-header::before {
    content: '';
    width: 60px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.5;
}

.mock-body {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mock-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-card::before {
    content: '';
    width: 40px;
    height: 40px;
    background: rgba(76, 201, 240, 0.2);
    border-radius: 10px;
}

.mock-card::after {
    content: '';
    width: 80%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

@keyframes float {
    0%, 100% { transform: rotateX(12deg) rotateY(-5deg) translateY(0); }
    50% { transform: rotateX(8deg) rotateY(-2deg) translateY(-20px); }
}

/* --- SECTION TITLE --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- STATS --- */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-item span { font-size: 2.5rem; font-weight: 800; color: white; display: block; }
.stat-item p { color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.4s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* --- MOBILE MENU --- */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- ENHANCED MOBILE NAV --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 40px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.close-menu {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateX(30px);
    transition: 0.4s ease forwards;
    transition-delay: calc(var(--i) * 0.1s);
}

.mobile-menu.active .mobile-nav-links a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-links a span {
    font-size: 0.9rem;
    color: var(--accent);
    font-family: monospace;
}

.mobile-btn {
    margin-top: 20px;
    background: var(--primary);
    padding: 18px !important;
    border-radius: 15px;
    justify-content: center !important;
    font-size: 1.2rem !important;
}

.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    opacity: 0;
    transition: 0.5s ease forwards;
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-menu-footer { opacity: 1; }

.mobile-menu-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 1.3rem;
    color: var(--text-secondary);
}
/* --- REFINED MOBILE SIZES --- */

/* Header Brand Size */
.mobile-menu-header h1 {
    font-size: 1.8rem; /* Slightly smaller for better proportions */
    font-weight: 700;
}

/* Nav Link Sizes */
.mobile-nav-links a {
    font-size: 1.5rem; /* Reduced from 1.8rem to prevent crowding */
    font-weight: 600;  /* Semi-bold looks cleaner than extra-bold here */
    letter-spacing: -0.5px;
}

/* Accent Numbers (01, 02) */
.mobile-nav-links a span {
    font-size: 0.75rem; /* Smaller, more "label" like */
    font-weight: 700;
    opacity: 0.8;
}

/* Primary Button Text */
.mobile-btn {
    font-size: 1.1rem !important; /* Balanced for the button height */
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Footer Label */
.mobile-menu-footer p {
    font-size: 0.8rem; /* Subtle and professional */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Icons Adjustment */
.social-icons i {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
@media (max-width: 768px) {
    nav { padding: 0 10px; }
    .nav-container { padding: 0 20px; }
    .nav-links { display: none; }
    .mobile-nav-toggle { display: block; }
    
    .hero { padding: 120px 20px 40px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 30px; }
    .cta-group { flex-direction: column; width: 100%; }
    .btn { text-align: center; width: 100%; }
    
    .hero-visual { margin-top: 40px; max-width: 100%; }
    .dashboard-mock { height: 280px; transform: none !important; animation: none !important; padding: 15px; }
    .mock-body { grid-template-columns: 1fr; }
    
    .stats { gap: 20px; padding: 40px 10px; }
    .stat-item { width: 45%; }
    .stat-item span { font-size: 1.8rem; }
    
    .section-title h2 { font-size: 1.8rem; }
    .features-grid { padding: 20px; grid-template-columns: 1fr; }
    .feature-card { padding: 30px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .stat-item { width: 100%; }
}

footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(7, 11, 20, 0.5);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-visual { animation: fadeInUp 1s ease-out 0.2s backwards; }
