:root {
    --primary-color: #34C759;
    --primary-dark: #2BA747;
    --primary-light: #4edd98;
    --secondary-color: #34C759;
    --background: #ffffff;
    --surface: #F8F9FA;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --success: #34C759;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Navigation */
.navbar {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: 70px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    padding: 80px var(--spacing-unit);
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.08) 0%, rgba(78, 221, 152, 0.08) 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 48px;
    font-size: 1.1rem;
}

.btn-disabled {
    background-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled:hover {
    background-color: #d1d5db;
    transform: none;
    box-shadow: none;
}

.ratings {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stars {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
    }
}

/* Screenshots Section */
.screenshots {
    padding: 80px var(--spacing-unit);
    background-color: var(--surface);
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screenshot-placeholder {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.screenshot-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 80px var(--spacing-unit);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px var(--spacing-unit);
    background-color: var(--surface);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--background);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.rating {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Download Section */
.download {
    padding: 80px var(--spacing-unit);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    width: 200px;
    height: auto;
}

.download-link:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
}

.download-svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-buttons .download-link {
    width: 160px;
}

.hero-buttons .download-svg {
    width: 100%;
    height: auto;
}

.download .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.download .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.download .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .download .btn {
        width: 100%;
    }

    .download-link {
        width: 100%;
        max-width: 300px;
    }

    .download-svg {
        width: 100%;
        height: auto;
    }
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 60px var(--spacing-unit) 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .features h2,
    .screenshots h2,
    .testimonials h2,
    .download h2 {
        font-size: 1.75rem;
    }

    .ratings {
        flex-direction: column;
        gap: 1rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 1rem 0.5rem;
    }

    .nav-brand h1 {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 40px var(--spacing-unit);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .features,
    .screenshots,
    .testimonials,
    .download {
        padding: 40px var(--spacing-unit);
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.8s ease;
}

.feature-card,
.testimonial-card {
    animation: fadeIn 0.8s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(7) {
    animation-delay: 0.7s;
}

.feature-card:nth-child(8) {
    animation-delay: 0.8s;
}
