body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1rem;
}

header h1 {
    margin-bottom: 0;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #4CAF50;
}

ul {
    padding-left: 1.5rem;
}

.app-store-badge {
    display: inline-block;
    text-decoration: none;
}

.app-store-badge img {
    display: block;
    height: 40px;
    width: auto;
}

/* 
.app-store-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
*/

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
}

/* Navigation */
nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.5rem 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
        padding: 0;
        margin-top: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 1rem;
        border-top: 1px solid #eee;
    }
    
    /* Hamburger animation */
    .hamburger.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:last-child {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

/* Screenshot Carousel */
.screenshot-carousel {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    padding: 0 2rem;
}

.screenshots {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1rem;
}

.screenshot-slide {
    flex: 0 0 calc(33.333% - 0.667rem); /* Show 3 images, accounting for gaps */
    min-width: calc(33.333% - 0.667rem);
}

.screenshot-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.carousel-button:hover {
    background: rgba(255,255,255,1);
}

.carousel-button.prev { left: 0; }
.carousel-button.next { right: 0; }

/* Responsive carousel */
@media (max-width: 768px) {
    .screenshot-slide {
        flex: 0 0 calc(100% - 1rem);
        min-width: calc(100% - 1rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .screenshot-slide {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }
}

/* Feedback Section */
.feedback-section {
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    padding: 3rem 2rem;
}

.feedback-container {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.feedback-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feedback-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#gform {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#gform input,
#gform textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: #2c3e50;
    box-sizing: border-box;
}

#gform input::placeholder,
#gform textarea::placeholder {
    color: #94a3b8;
}

#gform input:focus,
#gform textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

#gform textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

#gform button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

#gform button:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

#gform button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.2);
}

.success-message {
    text-align: center;
    color: #4CAF50;
    font-size: 1.3em;
    padding: 2rem;
    font-weight: 600;
    animation: fadeInUp 0.6s ease-out;
}

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

/* Responsive adjustments for the form */
@media (max-width: 768px) {
    .feedback-section {
        padding: 2rem 1rem;
    }
    
    .feedback-card {
        padding: 1.5rem;
    }
    
    #gform input,
    #gform textarea {
        padding: 0.9rem 1rem;
    }
    
    .feedback-card h3 {
        font-size: 1.3rem;
    }
}

/* Contact Section */
.contact-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-button {
    background: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background: #45a049;
}

/* Footer */
.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
}

/* Policy Content */
.policy-content {
    padding-top: 120px; /* Increased to account for mobile nav */
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
}

.policy-content article {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

/* License Items */
.license-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.license-item h3 {
    color: #4CAF50;
    margin-top: 0;
}

.license-item a {
    display: inline-block;
    color: #2196F3;
    text-decoration: none;
    margin-top: 0.5rem;
}

.license-item a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-content {
        padding-top: 160px; /* Further increased for mobile nav */
    }
    
    .policy-content article {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .policy-content {
        padding-top: 100px;
        max-width: 90%;
    }
}
