/* apps.yucelozdemir.com — builds on style.css */

.page { padding: 128px 0 90px; position: relative; overflow: hidden; }
.page .blob.one { width: 380px; height: 380px; top: -160px; right: -120px; opacity: .22; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--accent); }

.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 10px 0 12px; }
.page-hero .lead { margin: 0; }

/* app list */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.app-card { display: flex; flex-direction: column; gap: 16px; }
.app-head { display: flex; gap: 16px; align-items: center; }
.app-icon { flex: none; width: 72px; height: 72px; border-radius: 18px; border: 1px solid var(--border); background: #fff; }
.app-card h2 { font-size: 1.15rem; margin: 0; letter-spacing: -.01em; line-height: 1.3; }
.app-card h2 a { color: var(--text); }
.app-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.app-card .cat, .app-hero .cat { color: var(--muted); font-size: .85rem; }
.app-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.app-card .chips { margin-top: 0; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; position: relative; z-index: 1; }
.app-actions .more { font-size: .88rem; font-weight: 600; }

/* store buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 13px; border-radius: 12px;
  background: #111318; color: #fff; border: 1px solid #111318; line-height: 1.15;
  transition: transform .2s, box-shadow .2s;
}
:root[data-theme="dark"] .store-btn { background: #000; border-color: #3a3f4b; }
.store-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.store-btn b { font-size: 1.05rem; font-weight: 600; }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principles .card h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.principles .card p { margin: 0; color: var(--muted); font-size: .93rem; }
.principles .glyph { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 1.3rem; background: var(--accent-soft); color: var(--accent); }

/* app detail */
.app-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.app-hero .app-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: var(--shadow); }
.app-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 6px; }
.app-hero .tagline { margin: 0 0 16px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

.subnav { display: flex; gap: 4px; margin-top: 36px; border-bottom: 1px solid var(--border); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.subnav a { padding: 10px 14px; color: var(--muted); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; margin-top: 36px; }
.shots button { flex: none; width: 200px; padding: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--bg-elev); cursor: zoom-in; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.shots button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shots img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.block h2 { font-size: 1.25rem; margin: 0 0 12px; letter-spacing: -.01em; }
.block > p { margin: 0 0 12px; color: var(--muted); }
.block ul.points { margin-top: 6px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.side { display: grid; gap: 16px; }
.side .links { display: grid; gap: 8px; font-weight: 600; font-size: .95rem; }

/* documents (privacy, support) */
.doc { max-width: 76ch; margin-top: 36px; }
.doc h2 { font-size: 1.2rem; margin: 34px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 0 0 12px; }
.doc ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin: 0 0 12px; }
.doc strong { color: var(--text); }
.doc .updated { font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.doc address { font-style: normal; color: var(--text); }

.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev); padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

.contact { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 30px; }
.contact p { margin: 0; color: var(--muted); }
.contact h2 { margin: 0 0 4px; font-size: 1.2rem; }

.logo { white-space: nowrap; }

@media (max-width: 520px) {
  .logo .logo-name { display: none; }
}

@media (max-width: 860px) {
  .cols, .principles { grid-template-columns: 1fr; }
  .shots button { width: 160px; }
  .app-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; }
}
