/* Main Design System */
:root {
    --bg-light: #f4f7fa;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
}

.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background-color: var(--theme-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--theme-color) !important;
}

.btn-login-nav {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-dark) 100%);
    color: var(--white) !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px var(--theme-color-soft);
}

.btn-login-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--theme-color-soft);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at top right, var(--theme-color-dark) 0%, var(--theme-color) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    animation: morph 15s linear infinite alternate;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 2rem;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-color-soft) 0%, rgba(255, 255, 255, 0) 100%);
    color: var(--theme-color);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--theme-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

/* Section Controls */
.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 4rem;
}

/* PPEPP Section */
.ppepp-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border-left: 5px solid var(--theme-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ppepp-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ppepp-icon {
    width: 40px;
    height: 40px;
    background: var(--theme-color-soft);
    color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Stats Section */
.stats-section {
    background: var(--white);
    padding: 80px 0;
    border-radius: 4rem;
    margin-top: -40px;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-premium);
}

.stat-item h2 {
    font-weight: 800;
    font-size: 3rem;
    color: var(--theme-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Styling */
.dashboard-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-header {
    background: var(--white);
    border-bottom: 1px solid #edf2f7;
    padding: 1.5rem;
    font-weight: 700;
}

.profile-card {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 1.25rem;
}

.action-card {
    border: 1px solid #edf2f7;
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: block;
}

.action-card:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
    background: var(--theme-color-soft);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.action-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
}