/* Base styles */
:root {
    --primary-color: #000;
    --text-color: #333;
    --gray-light: #f9fafb;
    --gray-medium: #6b7280;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Container responsive */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Section responsive */
section {
    width: 100%;
    box-sizing: border-box;
}

/* Image responsive global */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

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

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

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

.nav-links {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gray-medium);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: block;
    color: var(--text-color);
}

.menu-icon, .close-icon {
    font-size: 1.5rem;
}

.hidden {
    display: none;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu a:hover {
    background: var(--gray-light);
}

/* Hero Section */
.hero {
    padding: 6rem 1rem 4rem;
    width: 100%;
    box-sizing: border-box;
}

.hero .container {
    max-width: 100%;
    text-align: center;
}

.screenshot {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.125rem;
    text-align: center;
    color: var(--gray-medium);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.5;
}

/* Demo Section */
.demo {
    padding: 3rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.demo .container {
    max-width: 100%;
    text-align: center;
}

.demo h2 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.download-links {
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.5rem;
}

/* Key Features Section */
.key-features {
    padding: 4rem 1rem;
}

.key-features h2 {
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 4rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

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

.feature-image img {
    width: 100%;
    height: auto; /* Ensure images are responsive */
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--gray-medium);
}

/* Features Grid Section */
.features-grid {
    padding: 4rem 1rem;
    background: var(--gray-light);
}

.features-grid h2 {
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 4rem;
}

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

.grid-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.grid-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.grid-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.grid-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.grid-item p {
    color: var(--gray-medium);
}

/* CTA Section */
.cta {
    padding: 4rem 1rem;
    text-align: center;
}

.cta h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: #1a1a1a;
}

/* Footer */
footer {
    background: var(--gray-light);
    padding: 3rem 1rem;
    text-align: center;
    color: var(--gray-medium);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

/* Photo Gallery Section */
.photo-gallery {
    padding: 3rem 1rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.photo-gallery .container {
    max-width: 100%;
}

.photo-gallery h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.gallery-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    color: #333;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

.gallery-nav.left {
    left: 5px;
}

.gallery-nav.right {
    right: 5px;
}

.gallery-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
}

.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.thumbnail.active {
    border: 2px solid #000;
}

/* Bar thumbnail specific styles */
.bar-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.bar-thumbnail:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.bar-thumbnail.active {
    border: 2px solid #000;
}

/* Download Beta Section */
.download-beta {
    padding: 4rem 1rem;
    text-align: center;
    background: var(--gray-light);
}

.download-beta h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.download-beta p {
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; /* Increase gap between groups */
}

.download-group {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    gap: 0.5rem; /* Add spacing between icon and links */
}

.download-icon {
    font-size: 2rem; /* Adjust icon size */
    color: var(--primary-color); /* Use primary color for the icon */
}

.download-links {
    display: flex; /* Align links horizontally */
    justify-content: center; /* Center the links */
    gap: 1rem; /* Add spacing between links */
}

.download-group i {
    font-size: 2rem;
    color: #fff; /* Icon color */
}

.download-button {
    background: #fff; /* White background */
    color: #000; /* Black text */
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    background: #f3f4f6; /* Light gray on hover */
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.download-button i {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.download ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 600px;
}

.download li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.download-list {
    list-style-type: disc;
    padding-left: 0; /* Remove default padding */
    text-align: center; /* Center-align the text */
    display: inline-block; /* Make the list inline-block to center it */
}

.download-list li {
    display: list-item; /* Ensure list items are displayed correctly */
    text-align: left; /* Align text within list items to the left */
}

/* Change Log Section */
.changelog {
    padding: 4rem 1rem;
    background: var(--gray-light);
    text-align: center;
}

.changelog h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.changelog-date {
    font-weight: bold;
    font-size: 1.25rem; /* Increase font size */
    margin-top: 20px;
    margin-bottom: 20px;
}

.changelog h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.changelog ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 600px;
}

.changelog li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.changelog-list {
    list-style-type: disc;
    margin-left: 20px;
}

/* FAQ Section */
.faq {
    padding: 4rem 1rem;
    background: var(--gray-light);
    text-align: center;
}

.faq h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    text-align: left;
}

.faq-question {
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: bold;
    color: #f9fafb; /* Change to a lighter color */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--gray-medium);
}

.faq-item.active .faq-answer {
    display: block;
}

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

/* Connect With Us Section */
.connect {
    padding: 4rem 1rem;
    background: var(--gray-light);
    text-align: center;
}

.connect h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icons a {
    font-size: 2rem;
    color: var(--text-color);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 4rem 1rem;
    background: var(--gray-light);
    text-align: center;
}

.features h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.feature-category {
    margin-bottom: 2rem;
    text-align: left;
}

.feature-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-category ul {
    list-style: disc inside;
    padding: 0;
    margin: 0;
}

.feature-category li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-category ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Dark Section */
.dark-section {
    background: #000;
    color: #f9fafb;
    width: 100%;
    box-sizing: border-box;
    padding: 3rem 1rem;
}

.dark-section .container {
    max-width: 100%;
    padding: 0 1rem;
}

.dark-section h2,
.dark-section h3 {
    color: #f9fafb;
}

.dark-section p,
.dark-section li {
    color: #d1d5db;
}

.dark-section .footer-links a {
    color: #d1d5db;
}

.dark-section .footer-links a:hover {
    color: #f9fafb;
}

/* Light Section */
.light-section {
    background: var(--gray-light);
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
    padding: 3rem 1rem;
}

.light-section .container {
    max-width: 100%;
    padding: 0 1rem;
}

/* Trusted By Section */
.trusted-by {
    padding: 4rem 1rem;
    text-align: center;
    background: var(--gray-light);
    background-color: #333; /* or any dark color you prefer */
    color: #fff; /* Ensure text is readable on dark background */
}

.trusted-by h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trusted-logos img {
    max-height: 70px; /* Increase the maximum height to make the image larger */
    transition: var(--transition);
}

.trusted-logos img:hover {
    transform: scale(1.1);
}

.appstore-logos {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    gap: 1rem; /* Add spacing between links */
}

.appstore-logos img {
    max-height: 70px; /* Increase the maximum height to make the image larger */
    transition: var(--transition);
    width: 20vh;
}

.appstore-logos img:hover {
    transform: scale(1.1);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.review-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.review-card p {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.stars {
    color: #FFD700; /* Gold color for stars */
}

.stars i {
    font-size: 1.25rem;
}

.add-review form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
    border-radius: 0.5rem;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: #1a1a1a;
}

/* Reviews Section */
#reviews {
    padding-top: 6rem; /* Add more space above the section */
    margin-top: 4rem; /* Ensure it is visually distinct */
}

#reviews h2 {
    margin-bottom: 2rem; /* Add space below the heading */
}

/* Add Review Section */
#add-review {
    padding: 4rem 1rem; /* Increase vertical padding */
    margin-top: 4rem; /* Add space above the section */
}

#add-review h2 {
    margin-bottom: 2rem; /* Add space below the heading */
}

/* Mobile-first responsive design */

/* Small screens (mobile) - default styles above */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 5rem 0.5rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .screenshot img,
    .feature-image img,
    .gallery-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .download-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .download-button i {
        font-size: 1.5rem;
    }
    
    .bar-thumbnail {
        width: 35px;
        height: 22px;
        margin: 2px;
    }
    
    .gallery-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gallery-nav {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    .feature-item, .feature-item.reverse {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-links a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }
}

/* Medium screens (tablets) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .feature-item, .feature-item.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bar-thumbnail {
        width: 45px;
        height: 28px;
    }
}

/* Large tablets and small desktops */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero h1 {
        font-size: 3rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .feature-item.reverse {
        flex-direction: row-reverse;
    }

    .feature-image,
    .feature-content {
        width: 50%;
    }
}

/* Desktop and larger screens */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }
    
    .mobile-menu {
        display: none !important;
    }

    .hero h1 {
        font-size: 3.75rem;
    }

    .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .feature-item.reverse {
        flex-direction: row-reverse;
    }

    .feature-image,
    .feature-content {
        width: 50%;
    }

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

/* Special styles for image sizing */
.ipad-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ipad-screenshot img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Download section responsive styles */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.download-links {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

/* Gallery responsive styles */
.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.photo-gallery .container {
    width: 100%;
    max-width: 100%;
}