/* Reset viewport and ensure no overflow */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Space Mono', monospace;
}

.main-content {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15vh;
    padding-bottom: 4rem;
    text-align: center;
}

.content-page {
    flex: 1;
    width: 800px;  /* Fixed width for desktop */
    max-width: 90%;  /* But never more than 90% of viewport */
    margin: 0 auto;
    padding: 4rem 0;  /* Vertical padding only */
    text-align: left;
    box-sizing: border-box;
}

/* Ensure footer stays within viewport */
footer {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
}

/* Remove or comment out these overriding styles */
/*
@media (max-width: 768px) {
    .main-content {
        padding: 12vh 1rem 4rem;
    }

    .content-page {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
    }
}
*/

.logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

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

/* Move the special heading style to a new class for the index page */
.main-content h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    color: #1264A3;
    background-color: #EAF5FC;
    padding: 0em 0.4em;
    border-radius: 8px;
    text-align: center;
}

/* Regular h1 style for subpages */
h1 {
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    color: #333;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.slack-button {
    background: #4A154B;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.slack-button:hover {
    background: #611f63;
}

footer a {
    color: #333;
    text-decoration: underline solid;
    margin: 0 1rem;
}

@media (max-width: 768px) {
    footer a {
        margin: 0 0.25rem;
    }

    .screenshots-container {
        width: 100%;
        padding: 0;
    }

    .screenshots-flow {
        flex-direction: column !important;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 0;
    }

    .screenshot-img {
        width: 80%;
        padding: 12px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 3rem;
    }

    .content-page {
        max-width: 90%;  /* Keep consistent 90% width on mobile */
        padding: 2rem 0;
    }
}

footer a:hover {
    text-decoration: underline dotted;
    color: #333;
}

.content-page h1 {
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    color: #333;
    background: none;
    padding: 0;
    text-align: left;
    width: 100%;
}

.text-content {
    width: 100%;
    min-height: 50vh;
    text-align: left;
}

.text-content a {
    color: #333;
    text-decoration: underline solid;
}

.text-content a:hover {
    text-decoration: underline dotted;
    color: #333;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #333;
    text-decoration: underline solid;
    align-self: flex-start;
}

.back-link:hover {
    text-decoration: underline dotted;
    color: #333;
}

.subpage-logo {
    width: 80px;
    height: auto;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.screenshots-container {
    margin-top: 8rem;
    margin-bottom: 2rem;
    width: 100%;
    padding: 0;
}

.screenshots-flow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;  /* Ensure full width */
}

.flow-arrow {
    font-size: 4rem;
    color: #666;
}

.screenshot-img {
    width: 30%;  /* Desktop width */
    height: auto;
    border-radius: 12px;
    padding: 16px;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.beta-text {
    font-size: 0.6rem;
    color: #666;
    margin-top: 8px;
    margin-bottom: 0;
}

.slack-button-container img {
    height: 44px;  /* Just slightly larger than original 40px */
    width: auto;
    transform: scale(1.1);  /* Reduced from 1.25 to 1.1 for 10% increase */
}

@media (max-width: 768px) {
    .main-content {
        width: 100%;
        padding-left: 0;  /* Remove horizontal padding on mobile */
        padding-right: 0;
    }

    .screenshots-container {
        margin-top: 5rem;  /* Reduced from 8rem to 5rem on mobile */
        width: 100%;
        padding: 0;
    }

    .screenshots-flow {
        flex-direction: column !important;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 0;
    }

    .screenshot-img {
        width: 70%;  /* Reduced from 85% to 70% */
        padding: 12px;
    }
}

.privacy-highlights {
    max-width: 600px;
    margin: 4rem auto 1rem;
    padding: 1rem;
}

.privacy-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.privacy-highlights li {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
} 