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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .header-wrapper {
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 1200px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1280px;
    margin: 0 auto;
}

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

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.download-btn {
    background-color: #000;
    color: #fff;
    padding: 0.4rem 1rem;
    font-size: 1.2rem;
    border-radius: 10px;
    text-decoration: none;
}

main {
    padding-top: 80px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero, .how-it-works, .call-to-action {
    margin-bottom: 8rem;
}

.hero {
    padding-top: 4rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 0 0 49%;
    padding-left: 1rem;
}

.hero-image {
    flex: 0 0 51%;
}

.hero-image img, .how-it-works .image img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 3.9rem;
    margin-bottom: 1rem;
    color: #000;
    line-height: 1.2;
}

.app-store-buttons {
    display: flex;
    margin-top: 1.4rem;
}

.app-store-buttons img {
    height: 70px;
    width: auto;
    max-width: 100%;
}

.how-it-works {
    background-color: #ede0d9;
    padding: 1.5rem 3%;
    border-radius: 20px;
    width: 100%;
}

.how-it-works-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem; /* Add spacing between text and image */
}

.how-it-works .text-content {
    flex: 0 0 42%; /* Adjust text content width */
    max-width: 42%;
}

.how-it-works .image-content {
    flex: 0 0 55%; /* Adjust image content width to 60% */
    max-width: 55%;
}

.how-it-works h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.how-it-works img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.call-to-action {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 4rem;
    border-radius: 20px;
    max-width: 80%;
    margin: 0 auto 4rem;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.call-to-action .download-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
}

footer {
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: left;
        padding-top: 0;
        margin-bottom: 4rem;
    }

    .hero-image {
        order: -1;
        margin-bottom: 1rem;
        margin-top: 1rem;
        flex: 0 0 100%;
    }

    .hero-content {
        flex: 0 0 100%;
        padding-left: 0;
        text-align: left;
    }

    .how-it-works {
        flex-direction: column;
        text-align: center;
    }

    .how-it-works .content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .app-store-buttons {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .app-store-buttons img {
        width: 210px;
    }

    nav ul li:first-child {
        display: none;
    }

    nav ul {
        margin: 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.3rem;
        text-align: left;
    }

    .intro-text {
        text-align: left;
    }

    .how-it-works-content {
        flex-direction: column;
        gap: 1rem; /* Reduce gap for mobile */
    }

    .how-it-works .text-content,
    .how-it-works .image-content {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .how-it-works .text-content {
        margin-bottom: 2rem;
    }
}

.logo-icon {
    border-radius: 18%;
    width: 48px;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
    margin-right: 10px;
}

.intro-text {
    color: rgb(71, 85, 105);
    font-size: 1.08rem;
}

.hero-subheadline {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Features Grid Section */
.features-grid {
    margin: 6rem 0;
    text-align: center;
}

.features-grid h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #000;
}

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

/* Trust Indicators Section */
.trust-indicators {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 5rem 0;
    margin: 6rem -20px;
    text-align: center;
    border-radius: 24px;
}

.trust-indicators h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0 20px;
}

.trust-item {
    text-align: center;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.trust-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.trust-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000;
}

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

/* Brands Section */
.brands-section {
    margin: 6rem 0;
    text-align: center;
}

.brands-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-category {
    background: #fff;
    border: 2px solid #e5e7eb;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
    cursor: pointer;
}

.brand-category:hover {
    border-color: #4f46e5;
    background: #f0f4ff;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    margin: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.faq-accordion {
    space-y: 0;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #4f46e5;
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #6b7280;
}

.faq-question.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Social Proof Section */
.social-proof {
    margin: 6rem 0;
    text-align: center;
}

.social-proof h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.testimonial-header {
    margin-bottom: 1rem;
}

.user-name-verified {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.user-name {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
}

.verified-badge {
    flex-shrink: 0;
}

.user-role {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star-icon {
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
    margin: 0;
}

/* Update CTA subtitle */
.cta-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin: 1rem 0;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trust-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-container {
        padding: 0 1.5rem;
    }

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

    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 0;
    }

    .features-grid h2,
    .trust-indicators h2,
    .brands-section h2,
    .social-proof h2 {
        font-size: 2rem;
    }

    .trust-indicators {
        margin: 4rem -1.5rem;
        padding: 3rem 0;
    }
}
