/* Temel Ayarlar ve Değişkenler */
:root {
    --bg-color: #f5f5f7; /* Apple tarzı açık gri */
    --card-bg: #ffffff;
    --text-main: #1d1d1f;
    --text-sub: #86868b;
    --accent-blue: #0071e3;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px); /* Buzlu cam efekti */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-text h1 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.profile-text p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-sub);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-sub);
    margin: 0;
    font-weight: 400;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

/* App Card Design */
.app-card {
    background: var(--card-bg);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    opacity: 0; /* Animasyon için başlangıçta gizli */
    transform: translateY(20px);
}

/* Animasyon Sınıfı */
.app-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.app-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* İkonlar */
.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* EKLENDİ: İkon yerine resim (img) kullanılırsa */
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi sıkıştırmadan, orantılı şekilde kutuyu doldurur */
    display: block;    /* Alt kısımdaki boşlukları engeller */
}
.icon-chronometer { background: linear-gradient(135deg, #34495e, #2c3e50); }
.icon-dream { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.icon-finance { background: linear-gradient(135deg, #ff7675, #d63031); }

.app-info {
    flex-grow: 1;
}

.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 5px;
}

.app-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.app-desc {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
}

/* Buton */
.app-action {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.btn-get {
    background-color: #f0f0f5;
    color: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s;
}

.app-card:hover .btn-get {
    background-color: var(--accent-blue);
    color: white;
}

.btn-get.disabled {
    color: var(--text-sub);
    cursor: default;
}

.app-card.coming-soon:hover .btn-get.disabled {
    background-color: #f0f0f5;
    color: var(--text-sub);
}

/* Footer */
footer {
    border-top: 1px solid #e5e5e5;
    padding: 40px 0;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: var(--text-sub);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--text-main);
}