:root {
    --bg-color: #FDFBF7;
    --text-color: #4A3B32;
    --primary-color: #E07A5F;
    --secondary-color: #D96F5D;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(74, 59, 50, 0.1);
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    padding: 20px 0;
    text-align: center;
}

.logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero p.subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-color);
    opacity: 0.9;
}

/* Download Buttons Styles */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    opacity: 1; /* Override general a:hover */
}

.btn-download.ios {
    background-color: #000000; /* Apple Black */
}

.btn-download.android {
    background-color: #3DDC84; /* Android Green */
    color: #000000; /* Dark text for contrast on green */
}


/* Screenshot Scroller */
.screenshot-scroller-container {
    width: 100%;
    margin-top: 20px;
    /* Add fade effect on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.screenshot-scroller {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5%; /* Padding creates space for shadows and initial offset */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    justify-content: flex-start; /* Ensure items start from left */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.screenshot-scroller::-webkit-scrollbar {
    display: none;
}

.app-screenshot {
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 6px solid var(--white);
    flex-shrink: 0; /* Prevent shrinking */
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* Story CTA Section */
.story-cta {
    padding: 40px 0;
    text-align: center;
}

.btn-story {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-story:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: 'Caveat', cursive;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 40px 0;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* =========================================
   Navigation Menu Styles
   ========================================= */
nav {
    padding: 10px 0;
    text-align: center;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 8px 20px;
    border-radius: 25px;
    background-color: rgba(255, 107, 107, 0.1);
}

nav a:hover {
    background-color: rgba(255, 107, 107, 0.2);
    color: var(--secondary-color);
    text-decoration: none;
}

nav a.active {
    font-weight: 700;
    background-color: rgba(255, 107, 107, 0.25);
    color: var(--primary-color);
    text-decoration: none;
}

/* =========================================
   Content Pages (Story, Support, Impressum, Privacy)
   ========================================= */
.content-container,
.support-container,
.impressum-container,
.privacy-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.content-container h1,
.support-container h1,
.impressum-container h1,
.privacy-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.content-container h2,
.support-container h2,
.impressum-container h2,
.privacy-container h2,
.content-container h3,
.support-container h3,
.impressum-container h3,
.privacy-container h3 {
    font-family: "Nunito", sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-container p,
.support-container p,
.impressum-container p,
.privacy-container p {
    margin-bottom: 15px;
}

.content-container ul,
.privacy-container ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-container a,
.support-container a:not(.btn-download):not(.active):not(.logo),
.impressum-container a:not(.active),
.privacy-container a:not(.active) {
    color: var(--primary-color);
    font-weight: bold;
}

.content-container a:hover,
.support-container a:not(.btn-download):hover,
.impressum-container a:hover,
.privacy-container a:hover {
    text-decoration: underline;
}

.content-container .back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Support Page Specific */
.contact-box {
    background-color: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
}

.email-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h3 {
    font-family: "Nunito", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 5px;
}
