/* ===== Continuation of styles.css ===== */

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #F5F5F5 0%, #E3F2FD 100%);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-lg);
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    max-width: 200px;
    margin: 0 auto;
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    margin: 0 20px;
    position: relative;
    top: -60px;
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.screenshots-carousel {
    margin-top: 40px;
    position: relative;
}

.screenshot-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--background-secondary);
}

.screenshot-wrapper::-webkit-scrollbar {
    height: 8px;
}

.screenshot-wrapper::-webkit-scrollbar-track {
    background: var(--background-secondary);
    border-radius: 10px;
}

.screenshot-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.screenshot {
    flex: 0 0 280px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.screenshot:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.screenshot img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.screenshot:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.screenshot-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 80px 0;
    background: var(--primary-gradient);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: var(--background-secondary);
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 20px;
}

.testimonial-rating i {
    font-size: 1.2rem;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

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

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

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 3px;
}

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

/* ===== Download Section ===== */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #F5F5F5 100%);
}

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

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.download-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.store-button {
    position: relative;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    min-width: 180px;
    padding: 12px 20px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.store-button.google-play {
    background: #000;
}

.store-button.app-store {
    background: #000;
}

.store-button:hover {
    transform: scale(1.05);
}

.store-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.store-text i {
    font-size: 2rem;
}

.store-text div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text .small {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.store-text .large {
    font-size: 1.1rem;
    font-weight: 600;
}

.coming-soon {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.coming-soon-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-dark);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.download-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Download image section removed */

/* ===== Newsletter Section ===== */
.newsletter {
    padding: 60px 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: white;
    color: var(--primary-color);
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 20px;
    background: var(--text-primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 29px;
    height: 29px;
    border-radius: 8px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.contact-info i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom i {
    color: #FF6B6B;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav, .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .video-header {
        margin-top: 60px; /* Slightly smaller navbar on mobile */
    }
    
    .fullwidth-video {
        min-height: 200px;
        max-height: 400px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .video-showcase {
        max-width: 100%;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        display: none;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Download content already centered */
    
    .download-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    
    .store-button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .download-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .notification-popup {
        display: none;
    }
}
