* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --primary-color-dark: #9333ea;
    --bg-black: #000000;
    --bg-gray-dark: #111111;
    --border-gray: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-gray-dark: #6b7280;
    --green: #10b981;
    --yellow: #eab308;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    border-bottom: 1px solid var(--border-gray);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-color);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.live {
    background: var(--green);
}

.status-dot.beta {
    background: var(--yellow);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
}

.status-text {
    color: var(--green);
}

.status-badge .status-dot.beta + .status-text {
    color: var(--yellow);
}

.version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-gray-dark);
    background: rgba(31, 31, 31, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Hero Section */
main {
    flex: 1;
}

.hero {
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.app-icon {
    font-size: 96px;
    margin-bottom: 24px;
}

.app-name {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.tagline {
    font-size: 20px;
    color: var(--text-gray);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 32px;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 48px;
}

/* Update Card */
.update-card {
    background: rgba(31, 31, 31, 0.5);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
}

.update-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-gray-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.update-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    display: flex;
    justify-content: center;
    margin-bottom: 64px;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: black;
    border: 1px solid #333;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.download-button:hover {
    border-color: var(--primary-color);
}

.download-button svg {
    fill: white;
}

.download-button .arrow {
    transition: transform 0.3s;
}

.download-button:hover .arrow {
    transform: translateX(4px);
}

.badge-label {
    font-size: 12px;
    color: var(--text-gray);
}

.badge-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.testflight-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(31, 31, 31, 0.5);
    border: 1px solid #333;
    padding: 16px 24px;
    border-radius: 12px;
    opacity: 0.6;
    cursor: not-allowed;
}

.testflight-badge svg {
    fill: var(--text-gray-dark);
}

.testflight-badge .badge-label,
.testflight-badge .badge-title {
    color: var(--text-gray-dark);
}

/* Other Apps */
.other-apps {
    border-top: 1px solid var(--border-gray);
    padding: 64px 0;
}

.other-apps h3 {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-gray-dark);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.app-card {
    background: rgba(31, 31, 31, 0.3);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.app-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.app-icon-small {
    font-size: 32px;
    margin-bottom: 8px;
}

.app-name-small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-gray);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-gray);
    background: rgba(0, 0, 0, 0.95);
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-gray-dark);
    text-decoration: none;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-gray);
}

.copyright {
    font-size: 14px;
    color: var(--text-gray-dark);
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .app-name {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}