/* Base Styles */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #c7d2fe;
    --secondary-color: #f0fdf4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}

/* General Enhancements */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --text-dark: #2b2d42;
    --text-light: #8d99ae;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(67, 97, 238, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(67, 97, 238, 0.1);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 2rem;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
    color: var(--primary);
}

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

nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: var(--bg-light);
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f6f9ff 0%, #e9f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 90%;
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    width: 100%;
    border-radius: 10px;
    transition: var(--transition);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-trust {
    font-size: 14px;
    color: var(--text-light);
}

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

.floating-review {
    position: absolute;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 180px;
}

.floating-review.positive {
    top: -20px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
}

.floating-review.neutral {
    bottom: 40px;
    left: -40px;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-review .stars {
    color: #ffca28;
    margin-bottom: 5px;
    font-size: 18px;
}

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

/* Stats Section */
.stats {
    padding: 3rem 0;
    background-color: white;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-light);
    padding: 100px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: var(--primary-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: rgba(67, 97, 238, 0.1);
    margin-bottom: 20px;
}

.feature-icon img {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: white;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 80%;
}

.step img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 80%;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.testimonial-carousel {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    max-width: 500px;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: white;
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pricing-plan {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-plan.featured {
    border: 2px solid var(--primary-color);
    padding-top: 3.5rem;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
}

.pricing-plan h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.plan-features li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-plan .btn {
    width: 100%;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-credit-card {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 5rem 0 2rem;
    background-color: #151a36;
    padding: 80px 0 30px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-column p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    background-color: var(--primary);
}

.social-links img {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 30px;
    background-color: var(--primary);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
    margin-bottom: 12px;
}

.footer-column ul li a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    color: #b0b7c3;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    opacity: 0.8;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    color: #b0b7c3;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.legal-links a:hover {
    opacity: 1;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .stats .container {
        flex-direction: column;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    nav {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .pricing-plan {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }

    .feature-icon {
        background-color: var(--primary-light);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .feature-icon i {
        font-size: 24px;
        color: var(--primary-color);
    }

    /* Modern Features Section Styling */
    .features.modern-features {
        background: linear-gradient(135deg, #f9f9f9, #ffffff);
        padding: 60px 0;
    }

    .features .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .features .section-title {
        font-size: 2.5rem;
        font-weight: 600;
        color: #333;
    }

    .features .section-subtitle {
        font-size: 1.2rem;
        color: #666;
        margin-top: 10px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .feature-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .feature-icon {
        font-size: 2.5rem;
        color: #4caf50;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
        color: #333;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 1rem;
        color: #666;
        line-height: 1.6;
    }

    .social-links {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .social-links a {
        font-size: 1.5rem;
        color: #555;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .social-links a:hover {
        color: #4caf50; /* Change to your desired hover color */
        transform: scale(1.2);
    }

    #mobile-toggle {
        display: none;
    }

    /* Show mobile menu toggle on smaller screens */
    @media (max-width: 768px) {
        #mobile-toggle {
            display: block;
            cursor: pointer;
            font-size: 1.5rem;
            color: #333;
        }

        #main-nav {
            display: none; /* Hide the main navigation by default on mobile */
            position: absolute;
            top: 60px;
            right: 0;
            background: #fff;
            width: 100%;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        #main-nav ul {
            flex-direction: column;
            padding: 20px;
        }

        #main-nav ul li {
            margin: 10px 0;
        }

        #main-nav.active {
            display: block; /* Show the navigation when active */
        }
    }

    .feature-icon {
        font-size: 2.5rem;
        background: linear-gradient(
            135deg,
            #4caf50,
            #81c784
        ); /* Green gradient */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 15px;
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.1);
        background: linear-gradient(
            135deg,
            #ff9800,
            #ffc107
        ); /* Orange gradient on hover */
    }
}
