:root {
    --primary-color: #4f46e5;
    --secondary-color: #6366f1;
    --accent-color: #10b981;
    --light-color: #f9fafb;
    --dark-color: #1f2937;
    --text-color: #4b5563;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

.navbar {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    bottom: -3px;
    left: 0;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.btn-gradient {
    background: var(--bg-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
    text-decoration: none;
    display: inline-block;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.15);
}

.hero {
    padding: 3rem 0 6rem;
    background: linear-gradient(135deg, #f5f7ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 150px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    max-width: 600px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    margin-right: 0.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-light {
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 1rem auto 0;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.1);
}

.feature-card:hover:before {
    opacity: 0.03;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--bg-gradient);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.how-it-works {
    position: relative;
}

.step-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.step-line {
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, var(--primary-color) 0%, rgba(79, 70, 229, 0.1) 100%);
    z-index: 1;
}

.qr-demo {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.qr-demo-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.qr-demo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.qr-demo-title h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.qr-demo-title p {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.qr-code {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-code img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.qr-demo-footer {
    text-align: center;
}

.qr-demo-button {
    display: inline-block;
    background: var(--bg-gradient);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.qr-demo-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
    color: white;
}

.benefits {
    position: relative;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: var(--accent-color);
    border-radius: 12px;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0d9488 100%);
    color: white;
    transform: scale(1.1);
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    height: 100%;
    position: relative;
    z-index: 1;
}

.testimonial-card:before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(79, 70, 229, 0.1);
    line-height: 1;
    z-index: -1;
}

.testimonial-content {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid rgba(79, 70, 229, 0.1);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.cta {
    padding: 6rem 0;
    background: var(--bg-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDEyMDB2NjAwSDB6Ii8+PHBhdGggZD0iTTAgMGgxMjAwdjYwMEgweiIvPjxjaXJjbGUgZmlsbC1vcGFjaXR5PSIuMSIgZmlsbD0iI0ZGRiIgY3g9IjEzMCIgY3k9IjQzMCIgcj0iNDMiLz48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiNGRkYiIGN4PSI3NTAiIGN5PSIxMDAiIHI9IjY1Ii8+PGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjRkZGIiBjeD0iMTEwMCIgY3k9IjQ1MCIgcj0iMjUiLz48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiNGRkYiIGN4PSI0MDAiIGN5PSIxNTAiIHI9IjE1Ii8+PGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjRkZGIiBjeD0iNTAwIiBjeT0iNTAwIiByPSI4Ii8+PGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjRkZGIiBjeD0iMTAwMCIgY3k9IjIwMCIgcj0iMTAiLz48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiNGRkYiIGN4PSIzMDAiIGN5PSIzMDAiIHI9IjE1Ii8+PGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjRkZGIiBjeD0iODUwIiBjeT0iMzUwIiByPSIxMiIvPjwvZz48L3N2Zz4=');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

.btn-white:hover {
    background-color: #f9fafb;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

footer {
    padding: 5rem 0 0rem;
    background-color: #f9fafb;
    position: relative;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.75rem;
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--bg-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    bottom: -3px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a:hover:before {
    width: 100%;
}

.copyright {
    padding: 1.5rem 0;
    background-color: #f1f5f9;
    color: var(--text-color);
    text-align: center;
    margin-top: 3rem;
}

.copyright p {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}

/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.active {
    opacity: 1;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float {
    animation: float 4s ease-in-out infinite;
}
