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

:root {
    --clapback-orange: #FF6B35;
    --clapback-orange-light: #FF7A2F;
    --clapback-orange-dark: #FF5C28;
    --clapback-red: #E63946;
    --bg-black: #000000;
    --bg-dark: #160905;
    --text-white: #FFFFFF;
    --text-gray: rgba(255, 255, 255, 0.7);
    --border-white: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* Star Rating */
.star-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: 1;
}


.logo {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--clapback-orange-light) 0%, var(--clapback-orange) 50%, var(--clapback-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transform: skew(-5deg, 0);
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 3.5rem;
    letter-spacing: 0.02em;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 2rem auto;
    align-items: center;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
    width: 100%;
    min-width: 180px;
    max-width: 220px;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-btn.app-store {
    background-color: #FFFFFF;
    border: none;
}

.download-btn.app-store:hover {
    background-color: #F5F5F5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-btn.google-play {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.download-btn.google-play:hover {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.download-btn.app-store .store-icon {
    color: #1D1D1F;
}

.download-btn.google-play .store-icon {
    color: var(--text-white);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-small {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.8;
}

.btn-large {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.download-btn.app-store .btn-text {
    color: #1D1D1F;
}

.download-btn.google-play .btn-text {
    color: var(--text-white);
}

/* Screenshot Carousel */
.screenshot-carousel {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* iPhone aspect ratio */
    border-radius: 20px;
    overflow: hidden;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.carousel-image.active {
    opacity: 1;
}

/* FAQ Items (for FAQ page) */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-white);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    margin-top: 2rem;
    line-height: 1.4;
}

.faq-question:first-child {
    margin-top: 0;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.footer {
    background-color: rgba(22, 9, 5, 0.8);
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--border-white);
}

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

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--clapback-orange);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* Page Content Styles (for Terms, Privacy, Support) */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--clapback-orange-light) 0%, var(--clapback-orange) 50%, var(--clapback-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section ul,
.content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.content-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-section a {
    color: var(--clapback-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: var(--clapback-orange-light);
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clapback-orange);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--clapback-orange-light);
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 2.2rem 1.65rem;
    }

    .star-rating {
        margin-bottom: 0.9rem;
    }

    .stars {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1.5rem;
    }

    .faq-answer {
        font-size: 1.125rem;
    }

    .logo {
        font-size: 4.2rem;
    }

    .tagline {
        font-size: 1.35rem;
        margin-bottom: 4.2rem;
    }

    .download-buttons {
        max-width: 85%;
        gap: 1rem;
    }

    .download-btn {
        max-width: 190px;
        min-width: 160px;
        padding: 0.875rem 1.25rem;
    }

    .store-icon {
        width: 28px;
        height: 28px;
    }

    .btn-small {
        font-size: 0.7rem;
    }

    .btn-large {
        font-size: 1rem;
    }

    .screenshot-carousel {
        max-width: 420px;
        margin-top: 2.2rem;
    }

    .footer-links {
        gap: 1.8rem;
        font-size: 1.03125rem;
    }

    .page-title {
        font-size: 2.4rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.8rem 1.2rem;
    }

    .star-rating {
        margin-bottom: 0.6rem;
    }

    .stars {
        font-size: 1.35rem;
    }

    .faq-item {
        margin-bottom: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .faq-question {
        font-size: 1.35rem;
    }

    .faq-answer {
        font-size: 1.2rem;
    }

    .logo {
        font-size: 3.3rem;
    }

    .tagline {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }

    .download-buttons {
        max-width: 80%;
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .download-btn {
        max-width: 170px;
        min-width: 150px;
        padding: 0.75rem 1rem;
    }

    .store-icon {
        width: 26px;
        height: 26px;
    }

    .btn-small {
        font-size: 0.65rem;
    }

    .btn-large {
        font-size: 0.9375rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        font-size: 1.125rem;
    }

    .screenshot-carousel {
        max-width: 336px;
        margin-top: 1.2rem;
    }

    .page-title {
        font-size: 2.4rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1.2rem;
    }
}

