/* --- Global Styles & Variables --- */
:root {
    --primary-color: #1a73e8; /* A vibrant blue, similar to Google's */
    --primary-hover-color: #155ab6;
    --background-color: #f8f9fa; /* Very light gray, like Google's pages */
    --surface-color: #ffffff; /* Pure white for cards */
    --text-color: #202124; /* Dark gray, not pure black, for readability */
    --text-muted-color: #5f6368; /* Muted gray for secondary text */
    --border-color: #dadce0; /* Light gray for borders */
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

p {
    color: var(--text-muted-color);
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover-color);
}

section {
    padding: 80px 0;
}

/* --- Header --- */
header {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

header .logo {
    width: 32px;
    height: 32px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3.5rem;
    text-align: left;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted-color);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: none; /* Added for consistency */
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    color: white;
    transition: 0.2s;
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cta-button-secondary:hover {
    background-color: var(--background-color);
    border-color: var(--primary-hover-color);
}

/* --- Testimonials Section --- */
.testimonials {
    background-color: var(--surface-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--background-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
    text-align: right;
}

/* --- How It Works Section --- */
.how-it-works {
    background-color: var(--surface-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 24px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-card h3 {
    margin-bottom: 8px;
    color: var(--text-color);
}


/* --- Features Section --- */
.features {
    background-color: var(--surface-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-color);
}

/* --- Gallery Section --- */
.gallery p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: yellow;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 10;
}

/* --- Requirements Section --- */
.requirements-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    margin-top: 40px;
}

.requirements-card h3 {
    color: var(--text-color);
    margin-bottom: 16px;
}

.requirements-card ul {
    list-style: none;
}

.requirements-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted-color);
}

.requirements-card li:last-child {
    border-bottom: none;
}

.requirements-card li strong {
    color: var(--text-color);
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden; /* To contain child border-radius */
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background-color: var(--surface-color);
    border: none;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--background-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--background-color);
}

.faq-answer p {
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 16px 24px;
}

/* --- CTA Section --- */
.cta {
    text-align: center;
    background-color: var(--surface-color);
}

.cta p {
    margin-bottom: 2rem;
}

.platform-note {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-top: 1.5rem;
}

/* --- Suggestion Section --- */
.suggestion {
    text-align: center;
    padding: 80px 0;
}

.suggestion p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.suggestion-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.suggestion-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.suggestion-form input[type="text"],
.suggestion-form input[type="email"],
.suggestion-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--surface-color);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.suggestion-form input:focus,
.suggestion-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.suggestion-form textarea {
    resize: vertical;
    min-height: 120px;
}

.suggestion-form button {
    margin-top: 8px;
}

.form-success-message {
    display: none; /* Hidden by default */
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid #c6f6d5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.form-success-message p {
    color: #137333;
    margin: 0;
}

/* --- Changelog Section --- */
.changelog {
    background-color: var(--surface-color);
}

.changelog-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.changelog-item {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.changelog-item:last-child {
    border-bottom: none;
}

.changelog-version {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.changelog-date {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-bottom: 12px;
}

.changelog-item ul {
    list-style: disc;
    padding-left: 20px;
}

.changelog-item li {
    margin-bottom: 8px;
}

/* --- Footer --- */
footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

footer a {
    font-weight: 500;
}

/* --- Back to Top Button --- */
#back-to-top {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#back-to-top:hover {
    background-color: var(--primary-hover-color);
    transform: scale(1.1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-text h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .steps-grid, .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

