:root {
    --primary-gradient: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    --accent: #ff6b6b;
    --muted: #6c757d;
    --card-radius: 16px;
    --shadow-lg: 0 12px 30px rgba(50, 50, 93, 0.12);
}

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #172b4d;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding-bottom: 0;
}

/* Header */
header.site-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 4rem 1rem 5rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.app-icon {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.app-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    box-shadow: 0 6px 18px rgba(120, 80, 200, 0.08);
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin: 1.5rem 0 0.8rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    max-width: 700px;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.stat {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.install-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cta {
    border-radius: 12px;
    padding: 1rem 1.8rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    border: none;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.btn-cta.primary {
    background: white;
    color: #5e72e4;
}

.btn-cta.ghost {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Main content */
main.container {
    max-width: 1200px;
    margin: -3rem auto 4rem;
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 8px 25px rgba(20, 20, 40, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(20, 20, 40, 0.1);
}

.feature-card h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #f0f4ff, #e6ebff);
    box-shadow: 0 8px 20px rgba(94, 114, 228, 0.15);
    font-size: 1.5rem;
    color: #5e72e4;
}

/* Steps */
.steps-section {
    margin: 3rem 0;
}

.step-card {
    background: linear-gradient(180deg, #fafbff, #ffffff);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(94, 114, 228, 0.08);
    height: 100%;
    border: 1px solid rgba(94, 114, 228, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.step-card ol {
    padding-left: 1.2rem;
}

.step-card li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* Screenshots - Mobile horizontal scroll */
.screenshots-container {
    position: relative;
}

.screenshot-mobile-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.screenshot-mobile-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 80%;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Screenshots - Desktop grid */
.screenshot-desktop-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    aspect-ratio: 9/16;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-item:nth-child(1) {
    grid-row: span 2;
}

.grid-item:nth-child(2) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.grid-item:nth-child(3),
.grid-item:nth-child(4),
.grid-item:nth-child(5) {
    aspect-ratio: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 8px 25px rgba(20, 20, 40, 0.06);
    border-left: 4px solid #5e72e4;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(94, 114, 228, 0.1);
    font-family: Georgia, serif;
}

/* FAQ Accordion */
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9ff, #eef0ff);
    color: #5e72e4;
    font-weight: 600;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(94, 114, 228, 0.25);
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 15px;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem;
}

.faq-accordion .accordion-body {
    padding: 1.25rem;
    background: #f8f9ff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .install-cta {
        justify-content: center;
    }

    .app-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767px) {
    main.container {
        padding: 1.5rem;
        margin-top: -2rem;
    }

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

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .screenshot-mobile-scroll {
        display: none;
    }

    .screenshot-desktop-grid {
        display: grid;
    }
}