/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Finance-inspired color palette */
    --primary-green: #10b981;
    --primary-green-dark: #059669;
    --secondary-green: #d1fae5;
    --neutral-dark: #1f2937;
    --neutral-gray: #6b7280;
    --neutral-light: #f3f4f6;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--neutral-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--neutral-dark);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--neutral-dark);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-gray);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

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

.nav-cta {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
}

.nav-cta:hover {
    background: var(--primary-green-dark) !important;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--neutral-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.benefit-badge {
    background: var(--secondary-green);
    color: var(--primary-green-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--neutral-dark);
    border: 2px solid var(--neutral-dark);
}

.btn-secondary:hover {
    background: var(--neutral-dark);
    color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.hero-mockup {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease;
}

.phone-frame {
    position: relative;
    width: 280px;
    padding: 15px;
    background: var(--neutral-dark);
    border-radius: 40px;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: var(--neutral-dark);
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.app-screenshot {
    width: 100%;
    border-radius: 30px;
    display: block;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--neutral-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Why Section */
.why-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-dark);
}

.feature-card p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    background: var(--neutral-light);
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

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

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

.step p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

.how-mockup {
    display: flex;
    justify-content: center;
}

/* Screenshots Section */
.screenshots-section {
    background: var(--white);
}

.screenshots-carousel-container {
    position: relative;
    margin-top: 3rem;
}

.screenshots-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 250px;
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

.screenshot-caption {
    margin-top: 1rem;
    color: var(--neutral-gray);
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-btn svg {
    color: inherit;
}

/* Benefits Section */
.benefits-section {
    background: var(--neutral-light);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.benefits-text p {
    font-size: 1.125rem;
    color: var(--neutral-gray);
    line-height: 1.8;
}

.benefits-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.check-icon {
    flex-shrink: 0;
    color: var(--primary-green);
    background: var(--secondary-green);
    border-radius: 50%;
    padding: 5px;
}

/* Privacy Section */
.privacy-section {
    background: var(--white);
    text-align: center;
    padding: 60px 0;
}

.privacy-text {
    font-size: 1.125rem;
    color: var(--neutral-gray);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.privacy-note {
    color: var(--neutral-gray);
    font-size: 0.95rem;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    background: var(--neutral-light);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--primary-green);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--neutral-light) 100%);
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-gray);
    margin-bottom: 2.5rem;
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--neutral-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--neutral-gray);
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-note {
    text-align: center;
    color: var(--neutral-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container,
    .how-it-works-content,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-mockup,
    .how-mockup {
        order: -1;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.625rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .benefit-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.875rem;
    }

    .phone-frame {
        width: 240px;
    }

    .cta-title {
        font-size: 1.875rem;
    }
}
