/* Apple-inspired design system */
:root {
    --apple-blue: #007AFF;
    --apple-gray: #8E8E93;
    --apple-light-gray: #F2F2F7;
    --apple-dark: #1C1C1E;
    --apple-white: #FFFFFF;
    --apple-border: #D1D1D6;
    --apple-text: #000000;
    --apple-secondary-text: #6D6D70;
    --border-radius: 12px;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--apple-text);
    background-color: var(--apple-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.hero {
    background: linear-gradient(135deg, var(--apple-light-gray) 0%, #E5E5EA 100%);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--apple-border);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.app-icon {
    flex-shrink: 0;
}

.app-icon img {
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
}

.app-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--apple-dark);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--apple-secondary-text);
    margin-bottom: 24px;
    font-weight: 400;
}

.download-btn {
    display: inline-block;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Main content sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--apple-light-gray);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--apple-dark);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--apple-dark);
}

p {
    font-size: 1.1rem;
    color: var(--apple-secondary-text);
    margin-bottom: 16px;
}

/* Screenshots */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.screenshot {
    text-align: center;
    background: var(--apple-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
    transition: var(--transition);
}

.screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.screenshot img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--apple-border);
}

.screenshot p {
    font-weight: 600;
    color: var(--apple-text);
    margin: 0;
}

/* About section */
.about ul {
    list-style: none;
    margin-top: 24px;
}

.about li {
    padding: 12px 0;
    border-bottom: 1px solid var(--apple-border);
    font-size: 1.1rem;
    color: var(--apple-secondary-text);
    position: relative;
    padding-left: 24px;
}

.about li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--apple-blue);
    font-weight: 600;
}

.about li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq-item {
    background: var(--apple-white);
    padding: 24px;
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
}

.faq-item h3 {
    color: var(--apple-blue);
    margin-bottom: 12px;
}

/* Support */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.contact-item {
    background: var(--apple-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
    text-align: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--apple-blue);
}

.contact-item a {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.response-time, .note {
    font-size: 0.9rem;
    color: var(--apple-gray);
    margin-top: 8px;
    font-style: italic;
}

/* Privacy & Legal */
.legal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.legal-item {
    background: var(--apple-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
}

.legal-item a {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 600;
}

.legal-item a:hover {
    text-decoration: underline;
}

.data-collection {
    background: var(--apple-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
}

.data-collection ul {
    list-style: none;
    margin-top: 16px;
}

.data-collection li {
    padding: 8px 0;
    color: var(--apple-secondary-text);
    position: relative;
    padding-left: 24px;
}

.data-collection li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--apple-blue);
    font-weight: 600;
}

/* Account Deletion */
.account-deletion ol {
    margin: 24px 0;
    padding-left: 24px;
}

.account-deletion li {
    margin: 8px 0;
    color: var(--apple-secondary-text);
}

.account-deletion a {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 600;
}

.account-deletion a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--apple-dark);
    color: var(--apple-white);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--apple-white);
}

.footer-section a {
    display: block;
    color: var(--apple-gray);
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--apple-white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--apple-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Privacy page specific styles */
.last-updated {
    font-size: 0.9rem;
    color: var(--apple-gray);
    margin: 8px 0 0 0;
    font-style: italic;
}

.privacy-content {
    padding: 60px 0;
}

.privacy-document {
    max-width: 800px;
    margin: 0 auto;
    background: var(--apple-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--apple-border);
}

.privacy-section {
    margin: 40px 0;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--apple-border);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h3 {
    color: var(--apple-blue);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.privacy-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.privacy-section li {
    margin: 8px 0;
    color: var(--apple-secondary-text);
    line-height: 1.6;
}

.contact-info {
    background: var(--apple-light-gray);
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info a {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.navigation {
    background: var(--apple-light-gray);
    padding: 40px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--apple-blue);
    color: var(--apple-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-btn:hover {
    background: #0056D6;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .app-info h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .screenshot-gallery {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-methods,
    .legal-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .app-info h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .contact-item,
    .legal-item,
    .data-collection {
        padding: 20px;
    }
}
