:root {
    --bg: #0f172a;
    --card: #1e293b;
    --accent: #38bdf8;
    --text: #f8fafc;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
nav { padding: 20px 0; background: rgba(15, 23, 42, 0.95); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #334155; }
nav .container { display: flex; justify-content: space-between; align-items: center; }
nav ul { display: flex; list-style: none; gap: 25px; margin: 0; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--accent); }

/* Interactive Split Hero */
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0f172a 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-content { flex: 1; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.1; margin: 0 0 20px 0; color: #fff; }
.hero-content p { font-size: 1.2rem; color: #94a3b8; margin-bottom: 30px; }

.hero-btns { display: flex; gap: 15px; }

/* The Floating Interactive Card */
.hero-interactive {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-card {
    width: 320px;
    height: 450px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: floating 6s ease-in-out infinite;
    transform-style: preserve-3d;
    cursor: pointer;
}

.glass-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.glass-card img.active { opacity: 0.7; }

@keyframes floating {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(2deg); }
}

/* App Grid Section */
.section-title { text-align: center; font-size: 2.5rem; margin: 80px 0 40px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding-bottom: 80px; }

.app-card { 
    background: var(--card); 
    padding: 30px; 
    border-radius: 16px; 
    border: 1px solid #334155; 
    transition: 0.3s;
}

.app-card:hover { transform: translateY(-10px); border-color: var(--accent); }

.status-pill {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: #334155;
    width: fit-content;
    margin-bottom: 15px;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-outline {
    padding: 12px 24px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

footer { text-align: center; padding: 60px 0; border-top: 1px solid #334155; color: #64748b; }
