/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Variables / Design System */
:root {
    --bg-main: #07090e;
    --bg-surface: #0e131f;
    --bg-surface-hover: #141c2c;
    --border-color: #1e293b;
    --border-hover: #334155;
    
    --primary: #D4AF37; /* Gold */
    --primary-light: #f5d76e;
    --primary-dark: #aa841c;
    --primary-glow: rgba(212, 175, 55, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background decorative light glow */
body::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(7, 9, 14, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 720px;
    padding: 60px 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
    animation: fadeIn 1s ease-out;
}

/* Header Section */
header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 70%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    position: relative;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 24px;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Sections Styling */
section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background-color: var(--primary);
    border-radius: 2px;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    text-align: justify;
}

/* App Cards */
.apps-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px -10px var(--primary-glow);
}

.app-card:hover::before {
    opacity: 1;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.app-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.app-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.app-card:hover .app-title {
    color: var(--primary-light);
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.meta-tag {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* Footer Section */
footer {
    width: 100%;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background-color: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 40px 24px;
    z-index: 1;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-email:hover {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 40px 16px;
        gap: 36px;
    }
    
    .app-card {
        padding: 24px;
    }
    
    p {
        text-align: left;
    }
}
