/* App Page Styles */
/* Typography */
.app-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.app-page h1,
.app-page h2,
.app-page h3,
.app-page h4,
.app-page h5,
.app-page h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

/* Hero Section */
.app-hero {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.app-icon-wrapper {
    display: inline-block;
}

.app-icon {
    border-radius: 22%;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3), 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 1rem;
}

/* Text-based App Icon */
.app-icon-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 22%;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4), 0 8px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-icon-text:hover {
    transform: scale(1.05);
    box-shadow: 0 24px 70px rgba(99, 102, 241, 0.5), 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
    color: #fff;
    opacity: 0.95;
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn svg {
    flex-shrink: 0;
}

.download-btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    gap: 0.875rem;
}

.availability-note {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Device Mockup */
.hero-device {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.device-mockup {
    position: relative;
    width: 280px;
    height: auto;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.device-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.device-screen {
    width: 100%;
    height: auto;
    border-radius: 2.5rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: #050505;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    color: #a5b4fc;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.9375rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Use Cases Section */
.use-cases-section {
    padding: 5rem 0;
    background: #050505;
}

.use-case-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.use-case-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0;
}

/* Download Section */
.download-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.download-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 2rem;
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.download-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Page Styles (shared) */
.legal-content {
    padding-bottom: 4rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.subsection-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #d1d5db;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-list {
    color: #9ca3af;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-list li ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.legal-link {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: #c7d2fe;
    text-decoration: underline;
}

.contact-info {
    margin-top: 1rem;
}

/* Footer enhancements */
.footer-divider {
    color: #4b5563;
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .app-hero {
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 1.875rem;
    }

    .features-section,
    .how-it-works-section,
    .use-cases-section {
        padding: 4rem 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .download-card {
        padding: 3rem 1.5rem;
    }

    .download-title {
        font-size: 1.5rem;
    }
}