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

:root {
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --accent-pink: #f977a8;
    --accent-purple: #9965f9;
    --gradient-start: #E0555F;
    --gradient-end: #8F5EE8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 40px 20px;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    width: 100%;
}

.app-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.7));
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
}

.store-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.store-link {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.store-badge {
    display: block;
    width: 200px;
    height: auto;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Screenshots Section */
.screenshots-section {
    padding: 60px 20px;
    background: var(--bg-darker);
}

.slideshow-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slideshow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-btn.prev {
    left: 10px;
}

.slideshow-btn.next {
    right: 10px;
}

.slideshow-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--accent-pink);
}

/* Description Section */
.description-section {
    padding: 60px 20px;
    background: var(--bg-dark);
}

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

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-section {
    margin-bottom: 3rem;
}

.feature-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-pink);
}

.feature-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✨";
    position: absolute;
    left: 0;
}

.feature-list li strong {
    color: var(--accent-pink);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(249, 119, 168, 0.1) 0%, rgba(153, 101, 249, 0.1) 100%);
    border-radius: 20px;
}

.cta-section-standalone {
    padding: 60px 20px;
    background: var(--bg-dark);
    text-align: center;
}

.cta-section-standalone .cta-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 40px 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-pink);
}

.footer-text {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Privacy, Terms, Support Pages */
.content-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: var(--bg-dark);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent-pink);
}

.content-page h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.content-page h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-page a {
    color: var(--accent-pink);
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

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

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-pink);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-pink);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 119, 168, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
    display: block;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .app-logo {
        max-width: 250px;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .welcome-message {
        font-size: 1.2rem;
    }

    .store-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .store-badge {
        width: auto;
        height: 60px;
    }

    .slideshow-container {
        max-width: 500px;
    }

    .section-title {
        font-size: 3rem;
    }

    .intro-text {
        font-size: 1.3rem;
    }

    .feature-section h3 {
        font-size: 2rem;
    }

    .feature-section p,
    .feature-list li {
        font-size: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 60px 20px;
    }

    .app-logo {
        max-width: 300px;
    }

    .slideshow-container {
        max-width: 600px;
    }

    .description-section,
    .screenshots-section {
        padding: 80px 20px;
    }
}
