﻿:root {
    --kf-primary: #4361ee;
    --kf-secondary: #3f37c9;
    --kf-accent: #4cc9f0;
    --kf-light: #f8f9fa;
    --kf-dark: #212529;
    --kf-success: #4caf50;
    --kf-warning: #ff9800;
    --kf-danger: #f44336;
    --kf-gradient: linear-gradient(135deg, var(--kf-primary), var(--kf-secondary));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--kf-dark);
    overflow-x: hidden;
    background-color: var(--kf-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: transparent;
}

    .navbar.scrolled {
        background-color: white;
        box-shadow: var(--shadow);
        padding: 0.5rem 0;
    }

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--kf-primary);
}

    .navbar-brand i {
        color: var(--kf-primary);
    }

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--kf-dark);
    transition: var(--transition);
    position: relative;
}

    .navbar-nav .nav-link:hover {
        color: var(--kf-primary);
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: var(--kf-primary);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover::after {
        width: 60%;
    }

.btn-primary {
    background: var(--kf-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
    }

.btn-outline-primary {
    border: 2px solid var(--kf-primary);
    color: var(--kf-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

    .btn-outline-primary:hover {
        background: var(--kf-gradient);
        border-color: transparent;
        transform: translateY(-3px);
    }

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: radial-gradient(circle at top right, rgba(76, 201, 240, 0.15), transparent 60%), radial-gradient(circle at bottom left, rgba(67, 97, 238, 0.15), transparent 60%);
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(76, 201, 240, 0.1);
        z-index: 0;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -200px;
        left: -200px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(67, 97, 238, 0.1);
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

    .hero-title span {
        color: var(--kf-primary);
    }

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(33, 37, 41, 0.8);
    max-width: 90%;
}

.hero-image {
    position: relative;
    z-index: 1;
}

    .hero-image img {
        max-width: 100%;
        border-radius: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .hero-image:hover img {
        transform: translateY(-10px);
    }

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    z-index: 2;
    display: flex;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1.5s;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--kf-primary);
    margin-right: 0.8rem;
}

.floating-card p {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

@@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kf-primary);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(33, 37, 41, 0.7);
}

/* Features Section */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .section-title p {
        font-size: 1.1rem;
        color: rgba(33, 37, 41, 0.7);
        max-width: 700px;
        margin: 0 auto;
    }

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--kf-gradient);
        z-index: 1;
    }

    .feature-card:hover {
        transform: translateY(-10px);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--kf-gradient);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--kf-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(33, 37, 41, 0.7);
    margin-bottom: 0;
}

/* How It Works */
.how-it-works {
    background: radial-gradient(circle at top left, rgba(76, 201, 240, 0.1), transparent 50%), radial-gradient(circle at bottom right, rgba(67, 97, 238, 0.1), transparent 50%);
}

.step-card {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--kf-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

    .step-number span {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
    }

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: rgba(33, 37, 41, 0.7);
    margin-bottom: 0;
}

.how-image {
    position: relative;
}

    .how-image img {
        max-width: 100%;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

.pulse-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--kf-accent);
    border-radius: 50%;
    top: 30%;
    left: 20%;
    box-shadow: 0 0 0 rgba(76, 201, 240, 0.4);
    animation: pulse 2s infinite;
}

    .pulse-circle:nth-child(2) {
        top: 60%;
        left: 70%;
        background: var(--kf-primary);
        box-shadow: 0 0 0 rgba(67, 97, 238, 0.4);
        animation-delay: 0.5s;
    }

    .pulse-circle:nth-child(3) {
        top: 40%;
        left: 50%;
        background: var(--kf-success);
        box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
        animation-delay: 1s;
    }

@@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 201, 240, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(76, 201, 240, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 201, 240, 0);
    }
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-10px);
    }

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--kf-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .quote-icon i {
        color: white;
        font-size: 1.2rem;
    }

.testimonial-text {
    margin-top: 1rem;
    color: rgba(33, 37, 41, 0.7);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

    .author-image i {
        font-size: 1.5rem;
        color: var(--kf-primary);
    }

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(33, 37, 41, 0.6);
}

/* CTA Section */
.cta {
    background: var(--kf-gradient);
    color: white;
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

    .cta::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    .cta::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-light {
    background: white;
    color: var(--kf-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

    .btn-light:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-3px);
    }

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: white;
}

.footer-logo {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--kf-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-text {
    color: rgba(33, 37, 41, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kf-primary);
    transition: var(--transition);
}

    .social-link:hover {
        background: var(--kf-gradient);
        color: white;
        transform: translateY(-3px);
    }

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: rgba(33, 37, 41, 0.7);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--kf-primary);
            padding-left: 5px;
        }

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--kf-primary);
}

.contact-text {
    color: rgba(33, 37, 41, 0.7);
    margin-bottom: 0;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: rgba(33, 37, 41, 0.6);
}

/* Responsive */
@@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .floating-card {
        display: none;
    }

    .stats {
        margin-top: 0;
        border-radius: 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

        .stat-item:last-child {
            border-bottom: none;
        }

    .cta {
        padding: 3rem 2rem;
    }
}

@@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
