/* =========================================================
   TEKNOYUZ — Uygulama sayfaları (Noble Queens, Eriyen Para)
   landing.css'ten sonra yüklenir; ortak header, footer, buton
   ve değişkenler oradan gelir.
   ========================================================= */

/* ---------- Hero ---------- */
.ty-app-hero { padding-top: 40px; }

.ty-crumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin-bottom: 28px; font-size: 14px; font-weight: 600; color: var(--ty-subtle);
}
.ty-crumbs a { color: var(--ty-subtle) !important; transition: color .2s ease; }
.ty-crumbs a:hover { color: var(--ty-blue) !important; }
.ty-crumbs [aria-current] { color: var(--ty-text); }
.ty-crumbs span[aria-hidden] { color: #CBD5E1; }

.ty-app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ty-app-id img { width: 72px; height: 72px; border-radius: 20px; box-shadow: var(--ty-shadow); }
.ty-app-id div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ty-app-id p { font-size: 14px; font-weight: 600; color: var(--ty-subtle); }

.ty-app-tagline {
	margin-top: 16px !important; max-width: 560px;
	font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3;
	color: var(--ty-blue);
}
.ty-app-ep .ty-app-tagline { color: #047857; }
.ty-app-dp .ty-app-tagline { color: #2A5D47; }
.ty-app-dp .ty-hero-visual .ty-glow { background: radial-gradient(closest-side, rgba(42, 93, 71, .28), rgba(197, 221, 199, .3) 55%, transparent); }
.ty-store-note { margin-top: 14px !important; font-size: 14px; color: var(--ty-subtle); }

.ty-app-hero .ty-lead { margin-top: 16px !important; }
.ty-app-hero .ty-store-buttons { margin: 32px 0 0; }

.ty-hero-visual-single .ty-phone-front { top: 30px; right: auto; left: 50%; margin-left: -125px; transform: rotate(3deg); }
.ty-hero-visual-single .ty-chip-ep { left: 0; top: 120px; }
.ty-hero-visual-single .ty-chip-nq { right: 0; bottom: 90px; }

.ty-chip-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 10px;
	background: #DBEAFE; color: var(--ty-blue); font-size: 18px;
}
.ty-chip-icon-gold { background: #FEF3C7; color: #B45309; }
.ty-chip-icon-green { background: #D1FAE5; color: #047857; }

.ty-app-page .ty-stats dd { font-size: clamp(22px, 2.4vw, 30px); }

/* ---------- Nedir ---------- */
.ty-app-about { padding-bottom: 72px; }
.ty-app-about .ty-about-grid { padding-top: 0; border-top: 0; }
.ty-app-about h2 { font-size: clamp(32px, 4.4vw, 52px); }
.ty-app-about p { max-width: 760px; margin-top: 20px !important; font-size: 19px; color: var(--ty-muted); }

/* ---------- Kartlar (özellikler, kimler için) ---------- */
/* Bölüm arka planları sırayla açık/beyaz */
.ty-app-nq .ty-app-features,
.ty-app-nq .ty-app-how,
.ty-app-nq .ty-faq-section,
.ty-app-dp .ty-app-features,
.ty-app-dp .ty-app-how,
.ty-app-dp .ty-faq-section,
.ty-app-ep .ty-app-why,
.ty-app-ep .ty-gallery-section,
.ty-app-ep .ty-app-audience { background: var(--ty-light); }
.ty-app-ep .ty-app-audience .ty-cards li,
.ty-app-ep .ty-app-why .ty-cards li { background: #fff; }
.ty-app-ep .ty-faq details { background: var(--ty-light); border-color: transparent; }
.ty-app-ep .ty-faq summary::after { background-color: #fff; }

.ty-cards { margin-top: 56px !important; display: grid; gap: 20px; }
.ty-cards-4 { grid-template-columns: repeat(4, 1fr); }
.ty-cards li {
	padding: 28px; border-radius: var(--ty-radius);
	border: 1px solid var(--ty-border); background: #fff;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ty-cards li:hover { transform: translateY(-4px); box-shadow: var(--ty-shadow); border-color: transparent; }
.ty-cards h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.015em; }
.ty-cards p { font-size: 15.5px; color: var(--ty-muted); }

.ty-card-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px;
	background: #DBEAFE; color: var(--ty-blue); font-size: 22px;
}
.ty-app-ep .ty-card-icon { background: #D1FAE5; color: #047857; }
.ty-app-dp .ty-card-icon { background: #DCEBDF; color: #1E4838; }

.ty-emoji {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px;
	background: var(--ty-light); font-size: 26px; line-height: 1;
}

/* Özellik listesi (Eriyen Para) */
.ty-feature-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.ty-feature-list { display: grid; gap: 12px; counter-reset: ty-feat; }
.ty-feature-list li {
	display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px;
	padding: 22px 24px; border-radius: 20px; background: var(--ty-light); border: 1px solid transparent;
	transition: border-color .2s ease, background-color .2s ease;
}
.ty-feature-list li:hover { background: #fff; border-color: var(--ty-border); }
.ty-feature-list li::before {
	counter-increment: ty-feat; content: "0" counter(ty-feat);
	grid-row: span 2; align-self: start;
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 14px;
	background: #fff; color: #047857; font-size: 15px; font-weight: 800;
	box-shadow: var(--ty-shadow-sm);
}
.ty-feature-list strong { font-size: 18px; letter-spacing: -.01em; }
.ty-feature-list span { font-size: 15.5px; color: var(--ty-muted); }

/* ---------- Nasıl çalışır (numaralı adımlar) ---------- */
.ty-steps-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ty-steps-4 li { padding: 28px; }
.ty-steps-4 li::after { content: none; }
.ty-steps-4 li::before {
	counter-increment: ty-step; content: "0" counter(ty-step);
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px;
	background: var(--ty-navy); color: #fff; font-size: 15px; font-weight: 800;
}
.ty-steps-4 h3 { font-size: 19px; }

/* ---------- Galeri ---------- */
.ty-gallery-section { overflow: hidden; }
.ty-gallery {
	display: flex; gap: 24px; margin: 48px 0 0 !important;
	padding: 8px max(20px, calc((100% - 1180px) / 2)) 24px !important;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - 1180px) / 2));
	scrollbar-width: thin;
}
.ty-gallery:focus-visible { outline-offset: -3px; }
.ty-gallery li { flex: 0 0 auto; width: 250px; scroll-snap-align: start; }
.ty-gallery li:first-child { margin-left: auto; }
.ty-gallery li:last-child { margin-right: auto; }
.ty-gallery figure { margin: 0; }
.ty-gallery-shot { position: relative; transition: transform .3s ease; }
.ty-gallery li:hover .ty-gallery-shot { transform: translateY(-6px); }
.ty-gallery figcaption { margin-top: 14px; text-align: center; font-size: 15px; font-weight: 700; color: var(--ty-muted); }

/* ---------- SSS ---------- */
.ty-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.ty-inline-link { color: var(--ty-blue) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.ty-faq { display: grid; gap: 12px; }
.ty-faq details {
	border-radius: 18px; background: #fff; border: 1px solid var(--ty-border);
	transition: box-shadow .2s ease;
}
.ty-faq details[open] { box-shadow: var(--ty-shadow-sm); }
.ty-faq summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 22px 64px 22px 24px; font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.ty-faq summary::-webkit-details-marker { display: none; }
.ty-faq summary::after {
	content: ""; position: absolute; right: 24px; top: 50%;
	width: 24px; height: 24px; margin-top: -12px; border-radius: 8px;
	background:
		linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat,
		var(--ty-light);
	color: var(--ty-navy);
	transition: transform .25s ease;
}
.ty-faq details[open] summary::after { transform: rotate(45deg); }
.ty-faq details p { padding: 0 24px 22px; font-size: 16px; color: var(--ty-muted); }

/* ---------- Final CTA ---------- */
.ty-app-page .ty-final { padding: 112px 0 24px; }
.ty-final-text { max-width: 560px; margin-top: 18px !important; font-size: 18px; color: #CBD5E1; }
.ty-final .ty-store-buttons { margin: 32px 0 0; }
.ty-final .ty-store-soon,
.ty-final .ty-store-soon:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #CBD5E1 !important; }
.ty-final .ty-store-soon small { color: #67E8F9; }
.ty-store-light { background: #fff; color: var(--ty-navy) !important; }
.ty-store-light:hover { background: #E0E7FF; }
.ty-legal { margin-top: 28px !important; font-size: 14px; color: #94A3B8; }
.ty-legal a { color: #CBD5E1 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ty-legal a:hover { color: #fff !important; }

/* ---------- Diğer uygulama ---------- */
.ty-other-app { padding: 0 0 112px; }
.ty-other-card {
	display: flex; align-items: center; gap: 20px;
	padding: 24px 28px; border-radius: 24px; border: 1px solid var(--ty-border); background: #fff;
	transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.ty-other-card:hover { transform: translateY(-3px); box-shadow: var(--ty-shadow); border-color: transparent; }
.ty-other-card img { width: 64px; height: 64px; border-radius: 18px; flex: none; }
.ty-other-card > span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ty-other-card small { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ty-blue); }
.ty-other-card strong { font-size: 22px; letter-spacing: -.02em; }
.ty-other-card span span { font-size: 15.5px; color: var(--ty-muted); }
.ty-other-arrow { width: 28px; height: 28px; color: var(--ty-navy); transition: transform .2s ease; }
.ty-other-card:hover .ty-other-arrow { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.ty-cards-4,
	.ty-steps-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.ty-app-hero .ty-hero-visual { height: 520px; }
	.ty-feature-split,
	.ty-faq-grid { grid-template-columns: 1fr; gap: 32px; }
	.ty-app-page .ty-final { padding-top: 88px; }
	.ty-other-app { padding-bottom: 88px; }
}

@media (max-width: 640px) {
	.ty-app-hero { padding-top: 20px; }
	.ty-crumbs { margin-bottom: 20px; font-size: 13px; }
	.ty-app-id img { width: 60px; height: 60px; border-radius: 16px; }
	.ty-app-hero .ty-store-buttons { margin-top: 24px; }
	.ty-app-hero .ty-hero-visual { height: 420px; }
	.ty-hero-visual-single .ty-phone-front { margin-left: -85px; top: 20px; }
	.ty-hero-visual-single .ty-chip-ep { top: 70px; left: -4px; }
	.ty-hero-visual-single .ty-chip-nq { bottom: 40px; right: -4px; }
	.ty-chip-icon { width: 30px; height: 30px; font-size: 16px; }

	.ty-app-page .ty-stats dd { font-size: 20px; }
	.ty-app-about { padding-bottom: 40px; }
	.ty-app-about p { font-size: 17px; }

	.ty-cards { margin-top: 32px !important; gap: 12px; }
	.ty-cards-4 { grid-template-columns: 1fr; }
	.ty-cards li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; padding: 20px; }
	.ty-card-icon,
	.ty-emoji { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
	.ty-cards h3 { margin: 0; font-size: 17px; }
	.ty-cards p { font-size: 15px; }

	.ty-feature-list li { padding: 18px; grid-template-columns: 44px 1fr; }
	.ty-feature-list li::before { width: 44px; height: 44px; }
	.ty-feature-list strong { font-size: 17px; }

	.ty-steps-4 { grid-template-columns: 1fr; }
	.ty-steps-4 li::before { grid-row: span 2; width: 44px; height: 44px; margin: 0; }

	.ty-gallery { gap: 16px; margin-top: 32px !important; padding-inline: 16px !important; scroll-padding-inline: 16px; }
	.ty-gallery li { width: 64vw; max-width: 240px; }

	.ty-faq summary { padding: 18px 56px 18px 18px; font-size: 16px; }
	.ty-faq summary::after { right: 18px; }
	.ty-faq details p { padding: 0 18px 18px; font-size: 15px; }

	.ty-app-page .ty-final { padding: 72px 0 16px; }
	.ty-final .ty-store-buttons { flex-wrap: wrap; }
	.ty-final .ty-store { flex: 1 1 140px; }
	.ty-other-app { padding-bottom: 72px; }
	.ty-other-card { padding: 18px; gap: 14px; }
	.ty-other-card img { width: 52px; height: 52px; border-radius: 14px; }
	.ty-other-card strong { font-size: 19px; }
	.ty-other-card span span { font-size: 14px; }
}
