/* Base styles */
:root {
    --purple-600: #9333ea;
    --blue-500: #3b82f6;
    --purple-400: #c084fc;
    --blue-400: #60a5fa;
}

* {
    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.5;
    color: #111827;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #111827;
    display: flex;
    align-items: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #7e22ce, #4c1d95, #1e40af);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMSkiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==');
    opacity: 0.2;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.text-center {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #f3e8ff;
    border: 1px solid rgba(216, 180, 254, 0.3);
    margin-bottom: 2rem;
    background: rgba(216, 180, 254, 0.1);
    backdrop-filter: blur(8px);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--purple-400), var(--blue-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 32rem;
    margin: 1.5rem auto;
}

/* Download section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.download-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background: linear-gradient(to bottom right, var(--purple-600), var(--blue-500));
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
}

.download-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--blue-500), var(--purple-600));
    opacity: 0;
    transition: opacity 0.2s;
}

.download-button:hover::before {
    opacity: 1;
}

.button-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    gap: 0.5rem;
    width: 100%;
}

.download-button:hover .button-content {
    background: transparent;
}

.platform-selector {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.platform-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.75rem;
    border-radius: 0.375rem;
    width: 100%;
}

.platform-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.platform-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-origin: top;
    animation: dropdown 0.2s ease-out;
    z-index: 10;
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.platform-dropdown button {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.platform-dropdown button:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.hidden {
    display: none;
}

/* Feature badges */
.feature-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #d1d5db;
    font-size: 0.875rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    backdrop-filter: blur(8px);
}

/* Features section */
.features {
    background: white;
    padding: 6rem 1.5rem;
}

.features-grid {
    max-width: 1280px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3rem;
}

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

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

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

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--purple-600);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
}

/* Testimonials section */
.testimonials {
    background: #f3f4f6;
    padding: 6rem 1.5rem;
}

.testimonials-grid {
    max-width: 1280px;
    margin: 0 auto;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3rem;
}

.testimonials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
}

.testimonial-author div {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #111827;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* FAQ section */
.faq {
    background: white;
    padding: 6rem 1.5rem;
}

.faq-grid {
    max-width: 1280px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #6b7280;
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Learn more link */
.learn-more {
    margin-top: 2rem;
}

.learn-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d8b4fe;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.learn-more a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #111827;
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #9ca3af;
    transition: all 0.2s;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.social-link:hover {
    color: #d1d5db;
    background: rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #9ca3af;
    font-size: 0.75rem;
    text-align: center;
}

/* Responsive design */
@media (min-width: 640px) {
    .download-section {
        flex-direction: row;
        justify-content: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .download-button,
    .platform-selector {
        width: auto;
    }

    .platform-dropdown {
        width: 200px;
        right: 0;
        left: auto;
    }
}

@media (max-width: 639px) {
    .hero-content {
        padding: 4rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .feature-badges {
        grid-template-columns: 1fr;
    }

    .features h2,
    .testimonials h2,
    .faq h2 {
        font-size: 1.875rem;
    }

    .features-list,
    .testimonials-list {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}