:root {
    --bg-color: #000000;
    --card-bg: rgba(20, 20, 20, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --accent-color: #0071e3;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #0071e3 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #ff375f 0%, #ff9f0a 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #0071e3;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #ff375f;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #00d4ff;
    top: 40%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 50px) scale(1.1); }
}

/* Nav */
nav {
    padding: 16px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Reveal */
.card {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main */
main {
    max-width: 1100px;
    margin: 120px auto 0;
    padding: 0 40px;
}

.hero {
    padding: 80px 0;
    text-align: left;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 600px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* App Grid */
.app-section {
    padding-bottom: 100px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.featured-card {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--gradient-2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-content {
    display: flex;
    gap: 32px;
    align-items: center;
}

.featured-card .card-content {
    gap: 48px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.featured-card .app-icon {
    width: 140px;
    height: 140px;
    border-radius: 30px;
}

.app-info {
    flex: 1;
}

.app-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.app-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.app-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Buttons */
.actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-coming-soon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
    pointer-events: none;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .grid { grid-template-columns: 1fr; }
    .featured-card { grid-column: span 1; }
    .hero-title { font-size: 48px; }
}

@media (max-width: 600px) {
    .card-content { flex-direction: column; text-align: center; gap: 24px; }
    .actions { justify-content: center; flex-direction: column; }
    .featured-card .app-icon { width: 140px; height: 140px; }
    .hero-title { font-size: 36px; }
    main { padding: 0 20px; }
    nav { padding: 16px 20px; }
}
