/* Apple System Design - Based on App Store Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --apple-blue: #007AFF;
    --apple-blue-hover: #0051D5;
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #86868b;
    --apple-background: #ffffff;
    --apple-surface: #ffffff;
    --apple-surface-secondary: #f8f9fa;
    --apple-accent-green: #30D158;
    --apple-accent-orange: #FF9500;
    --apple-accent-purple: #AF52DE;
    --apple-accent-pink: #FF2D92;
    --apple-border: #d2d2d7;
    --apple-shadow: rgba(0, 0, 0, 0.08);
    --apple-shadow-hover: rgba(0, 0, 0, 0.12);
    --gradient-blue: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-green: linear-gradient(135deg, #30D158 0%, #32ADE6 100%);
    --gradient-orange: linear-gradient(135deg, #FF9500 0%, #FF2D92 100%);
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--apple-background);
    color: var(--apple-text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* Apple-style Cards and Buttons */
.card {
    background: var(--apple-surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--apple-border);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.apple-card {
    background: var(--apple-surface);
    border-radius: 18px;
    box-shadow: 0 4px 20px var(--apple-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--apple-border);
}

.apple-card:hover {
    box-shadow: 0 8px 25px var(--apple-shadow-hover);
    transform: translateY(-2px);
}

.apple-button {
    background: var(--apple-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    letter-spacing: -0.022em;
    position: relative;
    overflow: hidden;
}

.apple-button:hover {
    background: #005ce6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.apple-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2);
}

.apple-button.secondary {
    background: transparent;
    color: var(--apple-blue);
    border: 1px solid var(--apple-blue);
}

.apple-button.secondary:hover {
    background: var(--apple-blue);
    color: white;
}

/* Apple Typography System */
.hero-title {
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.05;
    margin-bottom: 4px;
    color: var(--apple-text-primary);
}

.hero-subtitle {
    font-size: clamp(19px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--apple-text-secondary);
    margin-bottom: 40px;
    max-width: 980px;
    line-height: 1.381;
    letter-spacing: 0.007em;
}

.section-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.07;
    margin-bottom: 4px;
    text-align: center;
    color: var(--apple-text-primary);
}

.section-subtitle {
    font-size: clamp(19px, 2vw, 28px);
    font-weight: 400;
    color: var(--apple-text-secondary);
    text-align: center;
    margin-bottom: 80px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.381;
    letter-spacing: 0.007em;
}

/* Apple Layout System */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.section-compact {
    padding: 60px 0;
}

.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 80px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--apple-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--apple-gray);
    line-height: 1.6;
}

/* App Screenshots */
.screenshot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.screenshot {
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-medium);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.app-store-button {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial {
    background: var(--apple-gray-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--apple-black);
}

.testimonial-author {
    font-weight: 600;
    color: var(--apple-gray);
}

/* Footer */
.footer {
    background: var(--apple-gray-light);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--apple-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--apple-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .screenshot-container {
        gap: 1rem;
    }
    
    .screenshot {
        max-width: 200px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Load Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
