:root {
    --purple: #512BD4;
    --purple-dark: #3d1fa3;
    --background: #ffffff;
    --foreground: #171717;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* App Cards */
.app-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.app-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.app-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.app-card .app-description {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 1rem;
}

/* Platform Badges */
.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.platform-badge {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: rgba(81, 43, 212, 0.1);
    color: var(--purple);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* Store Links */
.store-links {
    display: flex;
    gap: 0.75rem;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--purple);
    text-decoration: none;
}

.store-link:hover {
    color: var(--purple-dark);
}

.store-link svg {
    width: 1rem;
    height: 1rem;
}

/* Apps Grid Section */
.apps-section {
    padding: 4rem 1.5rem;
    flex: 1;
}

.apps-grid {
    max-width: 56rem;
    margin: 0 auto;
}

/* Coming Soon Badge */
.coming-soon-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #f3f4f6;
    color: #6b7280;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* App Card Title Link */
.app-card-link {
    color: inherit;
    text-decoration: none;
}

.app-card-link:hover {
    color: var(--purple);
}

/* App Detail Pages */
.app-detail {
    padding: 4rem 1.5rem;
    flex: 1;
}

.app-detail-content {
    max-width: 42rem;
    margin: 0 auto;
}

.app-detail-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.app-detail-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.app-detail-tagline {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 1.25rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-detail-website {
    margin: 0.5rem 0 0.25rem;
    color: #4b5563;
    line-height: 1.625;
}

.app-detail-website a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

.app-detail-website a:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.feature-list {
    color: #374151;
    line-height: 1.75;
    padding-left: 1.25rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

.app-detail-footer-links {
    margin-top: 2.5rem;
    color: #9ca3af;
}

.app-detail-footer-links a {
    color: var(--purple);
    text-decoration: none;
}

.app-detail-footer-links a:hover {
    color: var(--purple-dark);
}

/* App Icons */
.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.app-icon-lg {
    width: 96px;
    height: 96px;
    border-radius: 21px;
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.75rem;
}

.app-card-header h2 {
    margin-bottom: 0;
}

.app-detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.app-detail-header h1 {
    margin-bottom: 0.25rem;
}

.app-detail-header .app-detail-tagline {
    margin-bottom: 0;
}
