:root {
    --primary: #3F51B5;
    --accent: #FF4081;
    --text: #333;
    --bg: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* For simple pages like Privacy and TOS */
body.simple-page {
    display: block;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: white;
}

body.simple-page h1 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    text-align: left;
}

body.simple-page h2 {
    margin-top: 2rem;
    text-align: left;
}

body.simple-page footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    background: transparent;
    text-align: left;
    padding-bottom: 0;
}

body.simple-page footer a {
    margin: 0;
}

/* Main Layout Styles */
header {
    background: #fdf6ee;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header.white-bg {
    background: white;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

main {
    flex: 1;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

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

h1, h2 {
    color: var(--primary);
}

h1.center, h2.center {
    text-align: center;
}

.hero {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
    font-weight: bold;
    transition: opacity 0.2s;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

.features {
    text-align: left;
    margin: 2rem auto;
    background: white;
    padding: 2rem 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.features h3 {
    text-align: center;
    color: var(--primary);
    margin-top: 0;
}

.features ul {
    padding-left: 1.5rem;
}

.features li {
    margin-bottom: 1rem;
}

.screenshots {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.screenshot-img:hover {
    transform: scale(1.02);
}

/* Fullscreen Overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

#overlay img {
    max-width: 95%;
    max-height: 95%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    background: var(--bg);
}

footer a {
    color: var(--primary);
    margin: 0 10px;
    text-decoration: none;
}

/* Support Page Specifics */
.content-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    text-align: left;
}

.issue {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    background-color: #fafafa;
}

.issue h3 {
    margin-top: 0;
    color: var(--primary);
}

.center-btn {
    text-align: center;
}

.center-btn h2 {
    text-align: center;
}
