:root {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --neon-glow: rgba(37, 99, 235, 0.15);
    --gradient-text: linear-gradient(135deg, #2563eb, #7c3aed);
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Accents (Subtle for Light Mode) */
.glow-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
}

.top-left {
    top: -300px;
    left: -300px;
}

.bottom-right {
    bottom: 0%;
    right: -300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
}

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

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

h2.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

nav a:hover:not(.btn) {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 14px var(--neon-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.btn-outline {
    border: 1px solid var(--surface-border);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* App Grid */
.apps-section {
    padding: 80px 0 120px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.app-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
    border-bottom: 1px solid var(--surface-border);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-secondary {
    background: #fffbeb;
    color: #d97706;
    border-color: #fbbf24;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    color: var(--text-secondary);
}

.card-footer {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-launch {
    width: 100%;
    background: var(--text-primary);
    color: white;
    padding: 14px;
}

.btn-launch:hover {
    background: #334155;
    transform: translateY(0);
}

.btn-launch:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

/* Coming Soon opacity state */
.app-card.coming-soon {
    opacity: 0.85;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--surface-border);
    margin-top: 40px;
    background: var(--surface-color);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2.section-title { font-size: 2rem; }
    .hero { padding: 140px 0 60px; }
    nav { display: none; }
}
