/* styles.css */
:root {
    --primary-color: #4a6cfa;
    --primary-dark: #3a55d9;
    --secondary-color: #ff8a3d;
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #2d3748;
    --success: #28a745;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
}

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

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

.logo-img {
    height: 60px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

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

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

.nav-link-highlight {
    color: var(--text-white);
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
}

.nav-link-highlight:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.nav-link-highlight::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8edff 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.highlight {
    color: var(--primary-color);
    margin-left: 5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 283px;
    height: 573px;
    object-fit: cover; /* Optional: Ensures the image fits nicely */
    margin-top: 20%;
    margin-bottom: 20%;
    animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--text-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

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

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 108, 250, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: calc(100% + 30px);
    width: 2px;
    background-color: var(--primary-color);
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-right: 30px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-light);
    margin-bottom: 0;
}

.step-image {
    flex: 1;
    text-align: center;
}

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

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--text-white);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.testimonial-content {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--bg-light);
    transform: rotate(45deg);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 3px;
}

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

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.download-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.app-button img {
    height: 50px;
}

.app-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.qr-code {
    background-color: var(--text-white);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.qr-code img {
    width: 120px;
    height: 120px;
}

.qr-text {
    font-size: 14px;
    opacity: 0.9;
}

.app-preview {
    margin-top: 40px;
}

.app-screenshot {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    margin-top: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    width: 25px;
    color: var(--primary-color);
}

.contact-link {
    opacity: 0.8;
    transition: var(--transition);
}

.contact-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

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

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 28px;
    }

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

    .step:not(:last-child)::after {
        left: 50%;
        top: 50px;
        height: 50px;
        width: 2px;
        transform: translateX(-50%);
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .step-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .testimonial {
        flex: 0 0 100%;
    }

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
}