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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #3B2F1E;
    background: linear-gradient(to bottom, #F5EFE0 0%, #FFFDF7 100%);
}

/* Header */
header {
    background: linear-gradient(135deg, #C49A22 0%, #D4A833 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image-wrapper {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero:has(.hero-image-wrapper) {
    max-width: none;
    padding: 2rem 0 1rem 0;
}

.hero-image-wrapper-inner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5C4A2A;
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Override hero width for privacy page */
.hero:has(.privacy-content) {
    max-width: none;
    text-align: left;
}

.hero .privacy-content {
    text-align: left;
    max-width: 1400px;
}

.hero h2 {
    font-size: 2.2rem;
    color: #C49A22;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features Grid */
.features {
    padding: 2rem 0;
}

.features .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.feature-card {
    background: #FFFDF7;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #D4A833;
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 280px;
    max-width: 320px;
}

@media (max-width: 1200px) {
    .feature-card,
    .screenshot-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 900px) {
    .feature-card,
    .screenshot-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 600px) {
    .feature-card,
    .screenshot-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.feature-card h3 {
    color: #C49A22;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* App Screenshots Section */
.screenshots {
    background: #EDE3CA;
    padding: 2rem 0;
    margin: 1rem 0;
}

.screenshots h2 {
    text-align: center;
    color: #C49A22;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.screenshot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-card {
    background: #FFFDF7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 280px;
    max-width: 320px;
    width: 100%;
}

.screenshot-placeholder {
    background: linear-gradient(135deg, #C49A22 0%, #D4A833 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

.screenshot-image-wrapper {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5EFE0;
    overflow: hidden;
    position: relative;
}

.screenshot-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: #F5EFE0;
    z-index: 1;
    pointer-events: none;
}

.screenshot-image-wrapper.dark-background {
    background: #1C1810;
}

.screenshot-image-wrapper.dark-background::before {
    background: #1C1810;
}

.screenshot-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.screenshot-info {
    padding: 1.5rem;
}

.screenshot-info h3 {
    color: #C49A22;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.screenshot-info p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #C49A22 0%, #D4A833 100%);
    color: white;
    margin: 2rem 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: #FFFDF7;
    color: #3B2F1E;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: #3B2F1E;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 1;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .screenshot-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 600px) {
    .screenshot-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Privacy Policy Page Styles */
.privacy-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.privacy-content h1 {
    color: #C49A22;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.privacy-content h2 {
    color: #C49A22;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.privacy-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.privacy-content strong {
    color: #3B2F1E;
    font-weight: 600;
}

.privacy-content a {
    color: #C49A22;
    text-decoration: underline;
}

.privacy-content a:hover {
    color: #D4A833;
}

.privacy-content hr {
    border: none;
    border-top: 1px solid #E0D5C0;
    margin: 2rem 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #C49A22;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #D4A833;
}

.back-link::before {
    content: "← ";
    margin-right: 0.5rem;
}
