:root {
    --primary-color: #2dd4bf;
    --text-color-dark: #172671;
    --bg-light: linear-gradient(135deg, #f0fdfa 0%, #f9f9f9 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg-light);
    color: var(--text-color-dark);
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero {
    background: linear-gradient(to bottom, #172671, #ffffff);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to top,
        rgba(240, 253, 250, 1) 0%,
        rgba(240, 253, 250, 0) 100%
    );
    z-index: 1;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
    font-size: 2.3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #172671;
}

.feature-card ul {
    list-style-type: none;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(45, 212, 191, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
}

.feature-card:hover::before {
    animation: shine 1.5s;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.quiz-types-section {
    background: linear-gradient(to top, #172671, #ffffff);
    position: relative;
}

.quiz-type-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    color: #172671;
}

.quiz-type-card i {
    font-size: 1.7rem;
    margin-left: auto;
    margin-right: auto;
}
.quiz-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.1);
}

.footer {
    background: linear-gradient(45deg, #f0fdfa 0%, #f8fafc 100%);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

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

.feature-card,
.quiz-type-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.badge {
    transition: transform 0.3s;
}

.badge:hover {
    transform: scale(1.05);
}

.CallToAction {
    background-color: #172671;
    color: white;
}

.CallToAction:hover {
    background-color: white;
    color: #172671;
}
