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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    loading: eager;
    decoding: async;
}

.nav-logo h1 {
    color: #007AFF;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007AFF;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(0, 122, 255, 0.1);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: #007AFF;
    border: 2px solid white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007AFF;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
}

.btn-outline:hover {
    background: #007AFF;
    color: white;
}

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

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTA Social Proof */
.cta-social-proof {
    margin-top: 25px;
    text-align: center;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.star.filled {
    color: #FFD700;
}

.rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.trust-indicators {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.trust-badge {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshots {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.screenshot-item {
    transition: transform 0.3s ease;
}

.screenshot-item.main {
    transform: scale(1.1);
    z-index: 2;
}

.hero-screenshot {
    width: 180px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.screenshot-item:not(.main) {
    opacity: 0.8;
}

.screenshot-item:not(.main):hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.features-showcase {
    margin-bottom: 80px;
}

.feature-with-screenshot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.feature-with-screenshot.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-with-screenshot.reverse .feature-content {
    order: 2;
}

.feature-with-screenshot.reverse .feature-screenshot {
    order: 1;
}

.feature-content {
    padding: 40px;
}

.feature-content .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.feature-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.feature-img {
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #007AFF;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.author-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .avatar-img {
    border-color: #007AFF;
}

.author-info h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info span {
    color: #007AFF;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #007AFF;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007AFF;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.cta-buttons {
    margin-bottom: 30px;
}

.app-store-info {
    opacity: 0.8;
    margin-top: 25px;
}

.app-store-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    loading: lazy;
    decoding: async;
}

/* Picture element styling */
picture {
    display: contents;
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #007AFF;
}

.footer-logo h3 {
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007AFF;
}

.app-store-link {
    display: inline-block;
    background: #007AFF;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.app-store-link:hover {
    background: #0056CC;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: right 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(0, 122, 255, 0.1);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 5px);
        background-color: #007AFF;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -5px);
        background-color: #007AFF;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 10px;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-screenshots {
        gap: 15px;
        margin-top: 20px;
    }
    
    .hero-screenshot {
        width: 140px;
    }
    
    .screenshot-item.main {
        transform: scale(1.05);
    }
    
    .features,
    .how-it-works,
    .testimonials,
    .cta {
        padding: 60px 0;
    }
    
    .features h2,
    .how-it-works h2,
    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-with-screenshot {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .feature-with-screenshot.reverse .feature-content,
    .feature-with-screenshot.reverse .feature-screenshot {
        order: unset;
    }
    
    .feature-content {
        padding: 20px 15px;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .feature-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .feature-img {
        width: 200px;
    }
    
    .feature-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .btn-large {
        padding: 18px 35px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 320px;
    }
    
    .cta-social-proof {
        margin-top: 20px;
    }
    
    .trust-indicators {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .rating-container {
        margin-bottom: 12px;
    }
    
    .app-store-info {
        margin-top: 20px;
    }
    
    .app-store-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        border-radius: 5px;
    }
    
    .footer-logo-icon {
        width: 35px;
        height: 35px;
        border-radius: 6px;
    }
    
    .nav-logo h1 {
        font-size: 20px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-container {
        padding: 0 10px;
        gap: 25px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn {
        padding: 14px 25px;
        font-size: 0.95rem;
        max-width: 260px;
    }
    
    .hero-badges {
        gap: 8px;
        margin-top: 15px;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .hero-screenshots {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }
    
    .hero-screenshot {
        width: 180px;
    }
    
    .screenshot-item.main {
        transform: scale(1.0);
        order: -1;
    }
    
    .features,
    .how-it-works,
    .testimonials,
    .cta {
        padding: 50px 0;
    }
    
    .features h2,
    .how-it-works h2,
    .testimonials h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .feature-with-screenshot {
        margin-bottom: 40px;
        gap: 25px;
    }
    
    .feature-content {
        padding: 15px 10px;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .feature-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .feature-img {
        width: 170px;
    }
    
    .feature-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .steps-container {
        gap: 25px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .testimonials-grid {
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .avatar-img {
        width: 45px;
        height: 45px;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .btn-large {
        padding: 16px 30px;
        font-size: 1rem;
        max-width: 280px;
    }
    
    .cta-social-proof {
        margin-top: 18px;
    }
    
    .rating-container {
        margin-bottom: 10px;
    }
    
    .rating-text {
        font-size: 0.9rem;
    }
    
    .trust-badge {
        font-size: 0.8rem;
    }
    
    .trust-indicators {
        margin-bottom: 18px;
    }
    
    .app-store-info {
        margin-top: 18px;
    }
    
    .app-store-info p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .app-store-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.testimonial-card,
.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Additional Mobile Navigation Styles */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}