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

:root {
    --primary-color: #4285f4;
    --secondary-color: #33ccff;
    --waze-color: #33ccff;
    --text-dark: #202124;
    --text-light: #5f6368;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e8eaed;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-hover: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 25px 20px;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.header-text {
    text-align: left;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Main Content */
main {
    background-color: var(--bg-white);
}

section {
    padding: 60px 20px;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    text-align: center;
    background-color: var(--bg-white);
}

.hero h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* How to Use Section */
.how-to-use {
    background-color: var(--bg-light);
}

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

.step {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

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

.step p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Features Section */
.features {
    background-color: var(--bg-white);
}

.features-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.features-list li:hover {
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.features-list h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.features-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Example Section */
.example {
    background-color: var(--bg-light);
}

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

.example-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.example-link:hover {
    transform: scale(1.02);
}

.example-link:hover .example-image {
    box-shadow: var(--shadow-hover);
}

.example-image {
    max-width: 100%;
    height: auto;
    width: 600px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.click-to-enlarge {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

.image-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 80px 40px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.image-placeholder p:first-child {
    font-size: 3rem;
    margin-bottom: 15px;
}

.placeholder-text {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
}

.example-caption {
    color: var(--text-light);
    font-size: 1rem;
}

/* Help Section */
.help {
    background-color: var(--bg-white);
    text-align: center;
}

.help-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.help-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.help-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: #3367d6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-links .separator {
    color: var(--text-light);
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 60px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .header-content {
        gap: 15px;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero-description,
    .help-description {
        font-size: 1rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 20px;
    }

    .example-image {
        width: 100%;
    }

    .image-placeholder {
        padding: 60px 20px;
        min-height: 250px;
    }

    .image-placeholder p:first-child {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50px;
    }

    header {
        padding: 20px 15px;
    }

    .header-content {
        gap: 12px;
    }

    header h1 {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .cta-button,
    .help-button,
    .hero-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
