* {
    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: #333;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* Header */
header {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 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;
}

/* 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: #3b82f6;
    margin-bottom: 1rem;
    font-weight: 400;
}

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

.hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    margin-bottom: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 3rem 2rem 2rem 2rem;
    color: white;
    text-align: center;
}

.hero-text-overlay p {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

/* 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: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #3b82f6;
    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.15);
}

.feature-card h3 {
    color: #3b82f6;
    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: #f8f9fa;
    padding: 2rem 0;
    margin: 1rem 0;
}

.screenshots h2 {
    text-align: center;
    color: #3b82f6;
    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: white;
    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, #667eea 0%, #764ba2 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: #ffffff;
    overflow: hidden;
}

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

.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: #3b82f6;
    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, #3b82f6 0%, #60a5fa 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: white;
    color: #3b82f6;
    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: #2c3e50;
    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%;
    }
}

/* Highlights Section */
.highlights {
    padding: 3rem 0;
    background: white;
}

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

.highlight-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.highlight-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: #f8f9fa;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

.highlight-list li strong {
    color: #3b82f6;
}

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

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

.privacy-content h2 {
    color: #3b82f6;
    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: #333;
    font-weight: 600;
}

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

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

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

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

.back-link:hover {
    color: #60a5fa;
}

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

