/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #007AFF;
    color: white;
}

.btn-primary:hover {
    background-color: #0056CC;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #34C759;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: #28A745;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
}

.btn-outline:hover {
    background-color: #007AFF;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-large small {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.download-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.download-option h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.download-option p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.paypal-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donation-amount {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.donation-amount label {
    font-weight: 600;
    font-size: 0.9rem;
}

.donation-amount select {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background: white;
    color: #333;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #333;
    margin-bottom: 1rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.screenshot p {
    color: #666;
    font-style: italic;
}

/* Technical Specs Section */
.technical-specs {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-group {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.spec-group h3 {
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007AFF;
    padding-bottom: 0.5rem;
}

.spec-group ul {
    list-style: none;
}

.spec-group li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.spec-group li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34C759;
    font-weight: bold;
}

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

/* Permissions Section */
.permissions {
    padding: 80px 0;
}

.permissions-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.permission {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.permission h3 {
    color: #333;
    margin-bottom: 1rem;
}

.permission p {
    color: #666;
}

.privacy-note {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #34C759;
}

.privacy-note p {
    color: #2d5a2d;
    margin: 0;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download h2 {
    color: white;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-info {
    opacity: 0.9;
}

.download-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #007AFF;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        min-height: 400px;
    }
    
    .download-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .permissions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .spec-group {
        padding: 1.5rem;
    }
    
    .download-option {
        padding: 1.5rem;
    }
}