:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #475569;
    --secondary-light: #64748b;
    --success: #10b981;
    --success-dark: #059669;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --info: #06b6d4;
    --info-dark: #0891b2;
    --light: #f8fafc;
    --light-gray: #f1f5f9;
    --dark: #0f172a;
    --dark-gray: #1e293b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    color: var(--text-primary);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 60px;
}

.btn-login {
    padding: 0.6rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    background: var(--gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: bgScroll 20s linear infinite;
}

@keyframes bgScroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-hero-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    color: white;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--light);
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo-container {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.3s ease;
}

.footer-logo-container:hover {
    transform: translateY(-3px);
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }

    .navbar.scrolled .navbar-logo {
        height: 35px;
    }

    .btn-login {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    .footer-logo-container {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 35px;
    }

    .navbar.scrolled .navbar-logo {
        height: 30px;
    }

    .btn-hero {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    .footer-logo-container {
        width: 65px;
        height: 65px;
        border-radius: 16px;
        padding: 10px;
    }

    .footer-links {
        gap: 1.5rem;
    }

    .footer-link {
        font-size: 0.875rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
