/* === Variables === */
:root {
  --red: #0A7B43;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --gold: #C9A227;
  --surface: #F8F8F8;
  --border: #E5E5E5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* === Accessibility === */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: 1rem;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }

h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section__sub {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* === Nav === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-nav__logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-nav__logo:hover { color: var(--red); text-decoration: none; }
.site-nav__badge img { height: 40px; width: auto; }

/* === Badge Button === */
.badge-btn {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s, transform 0.15s;
}
.badge-btn:hover { opacity: 0.85; transform: scale(1.03); }
.badge-btn img { height: 44px; width: auto; }

/* === Hero === */
.section--hero {
  padding: 3rem 0 2rem;
  background: var(--white);
}
.section--hero .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.hero__content { flex: 1; max-width: 560px; }
.hero__content h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
}
.hero__content h1 span { color: var(--red); }
.hero__content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}
.hero__bullets {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #333;
}
.hero__bullets li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

/* === Phone Frame (real device frame baked into image) === */
.phone-frame {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.phone-frame img {
  display: block;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
.hero__phone .phone-frame img { width: 220px; }

/* === Download === */
.section--download {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 2.5rem 0;
}
.section--download .container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* === Screenshots === */
.section--screenshots { background: var(--white); }
.section--screenshots h2 { text-align: center; }
.section--screenshots .section__sub { margin-inline: auto; text-align: center; }
.screenshots__gallery {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 1.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.screenshots__gallery::-webkit-scrollbar { height: 4px; }
.screenshots__gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.screenshots__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.screenshots__item .phone-frame img { width: 200px; }
.screenshots__caption { font-size: 0.82rem; color: #666; text-align: center; max-width: 180px; }

/* === How It Works === */
.section--how { background: var(--surface); }
.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.how__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.how__step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how__step-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.how__step-text { font-size: 0.92rem; color: #555; }

/* === Guides === */
.section--guides { background: var(--white); }
.guides__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.guide-card__title { font-weight: 700; font-size: 1rem; color: var(--dark); }
.guide-card__text { font-size: 0.9rem; color: #555; flex: 1; }
.guide-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 0.5rem;
  align-self: flex-start;
}
.guide-card__link:hover { text-decoration: underline; }

/* === FAQ === */
.section--faq { background: var(--surface); }
.faq__list { margin-top: 2rem; border-top: 1px solid var(--border); }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "›";
  font-size: 1.4rem;
  color: var(--red);
  transform: rotate(90deg);
  transition: transform 0.22s;
  flex-shrink: 0;
}
.faq__item[open] .faq__question::after { transform: rotate(-90deg); }
.faq__answer {
  padding: 0 0 1.1rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
}
.faq__learn-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
}

/* === CTA === */
.section--cta { background: var(--red); padding: 3.5rem 0; }
.cta__box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta__title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: var(--white); }
.cta__text { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 520px; }
.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
.cta__btn img { height: 54px; width: auto; }
.cta__btn:hover { opacity: 0.9; transform: scale(1.03); text-decoration: none; }

/* === Footer === */
.site-footer,
.section--footer {
  background: var(--dark);
  padding: 2.5rem 0;
}
.footer__nav-label {
  display: block;
  width: 100%;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
.footer__tagline { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer__lang { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.footer__lang a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  transition: color 0.15s, border-color 0.15s;
}
.footer__lang a:hover { color: var(--white); border-color: rgba(255,255,255,0.5); text-decoration: none; }
.footer__lang a[aria-current="page"] { color: var(--white); border-color: var(--gold); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer__legal a { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.footer__legal a:hover { color: var(--white); }
.footer__copy { color: rgba(255,255,255,0.4); font-size: 0.78rem; white-space: nowrap; }

/* === Guide Page === */
.breadcrumb { padding: 1rem 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  list-style: none;
  font-size: 0.85rem;
}
.breadcrumb__item { display: flex; align-items: center; gap: 0.25rem; color: #777; }
.breadcrumb__item a { color: var(--red); }
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: #bbb;
}

.answer-box {
  background: var(--white);
  border-inline-start: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  margin: 1.5rem 0 2rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.guide-section { margin-bottom: 2.5rem; }
.guide-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }

.howto__steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.5rem; }
.howto__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  counter-increment: step;
}
.howto__step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.howto__screenshot-aside {
  float: inline-end;
  margin-block-end: 1rem;
  margin-inline-start: 1.5rem;
  clear: inline-end;
}
.howto__screenshot-aside .phone-frame img { width: 170px; }
.mini-faq { margin-top: 2rem; }
.mini-faq h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }

.guide-cards-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-cta-block {
  background: var(--red);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.app-cta-block h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; }
.app-cta-block p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* === Hub === */
.hub-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
}
.hub-header { text-align: center; margin-bottom: 2.5rem; }
.hub-header__title { font-size: 2.2rem; font-weight: 900; color: var(--dark); margin-bottom: 0.5rem; }
.hub-tagline { color: #555; font-size: 1.05rem; }
.hub__apps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hub__app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.15s, transform 0.15s;
}
.hub__app-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.hub__app-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
}
.hub__app-link:hover { text-decoration: none; }
.hub__app-icon { width: 80px; height: 80px; border-radius: 18px; flex-shrink: 0; }
.hub__app-name { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 0.25rem; }
.hub__app-tagline { color: #555; font-size: 0.95rem; }
.hub-footer { text-align: center; margin-top: 3rem; color: #888; font-size: 0.9rem; }

/* === Responsive 640px === */
@media (min-width: 640px) {
  .how__steps { grid-template-columns: 1fr 1fr; }
  .guides__grid { grid-template-columns: 1fr 1fr; }
  .guide-cards-row { grid-template-columns: 1fr 1fr; }
  .screenshots__item .phone-frame img { width: 220px; }
}

/* === Responsive 900px === */
@media (min-width: 900px) {
  .section--hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
  .hero__content { max-width: 520px; }
  .hero__visual { flex: 0 0 auto; }
  .how__steps { grid-template-columns: repeat(4, 1fr); }
  .guides__grid { grid-template-columns: repeat(3, 1fr); }
  .guide-cards-row { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: start; }
  .footer__lang { justify-content: flex-start; }
  .footer__legal { justify-content: flex-start; }
}

/* === RTL overrides === */
[dir="rtl"] .answer-box {
  border-radius: var(--radius) 0 0 var(--radius);
}
[dir="rtl"] .breadcrumb__item + .breadcrumb__item::before {
  content: "‹";
}

.footer__apple-note { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; max-width: 420px; }

/* === Blog Nav Link === */
.site-nav__blog {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s;
}
.site-nav__blog:hover { color: var(--red); text-decoration: none; }

/* === Footer Blog Nav === */
.footer__blog { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer__blog a { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.footer__blog a:hover { color: var(--white); }

/* === Blog Index === */
.blog-index { padding: 3rem 0 4rem; }
.blog-index__header { margin-bottom: 2.5rem; }
.blog-index__title { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; color: var(--dark); margin-bottom: 0.5rem; }
.blog-index__sub { color: #555; font-size: 1.05rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.18s, box-shadow 0.18s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.blog-card__title { font-weight: 700; font-size: 1rem; color: var(--dark); }
.blog-card__date { font-size: 0.82rem; color: #888; }
.blog-card__description { font-size: 0.9rem; color: #555; flex: 1; }
.blog-card__tags { font-size: 0.78rem; color: #999; }
.blog-card__link { font-size: 0.88rem; font-weight: 600; color: var(--red); margin-top: 0.5rem; align-self: flex-start; }
.blog-card__link:hover { text-decoration: underline; }

/* === Blog Post === */
.blog-post { padding: 2.5rem 0 4rem; }
.blog-post__header { margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.blog-post__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.blog-post__meta time { font-size: 0.88rem; color: #888; }
.blog-post__tags { font-size: 0.82rem; color: #aaa; }
.blog-post__title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: var(--dark); line-height: 1.2; margin-bottom: 0.75rem; }
.blog-post__byline { font-size: 0.9rem; color: #666; margin-bottom: 0.25rem; }
.blog-post__reviewed { font-size: 0.82rem; color: #aaa; font-style: italic; min-height: 1rem; }
.blog-post__body { font-size: 1.05rem; line-height: 1.75; color: #333; }
.blog-post__body h2 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--dark); }
.blog-post__body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.blog-post__body p { margin-bottom: 1.25rem; }
.blog-post__body ul, .blog-post__body ol { padding-inline-start: 1.5rem; margin-bottom: 1.25rem; }
.blog-post__body li { margin-bottom: 0.4rem; }
.blog-post__body strong { font-weight: 700; }
.blog-post__body a { color: var(--red); }
.blog-post__body a:hover { text-decoration: underline; }

/* === Disclaimer Box === */
.disclaimer-box {
  background: #FFF8E1;
  border-inline-start: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

/* === Blog Sources === */
.blog-sources { margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.blog-sources h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.blog-sources ul { padding-inline-start: 1.25rem; }
.blog-sources li { margin-bottom: 0.35rem; font-size: 0.9rem; }
.blog-sources a { color: var(--red); }

/* === Related Posts === */
.related-posts { margin-top: 3rem; }
.related-posts h2 { margin-bottom: 1.25rem; }

@media (min-width: 640px) {
  .footer__blog { justify-content: flex-start; }
}
@media (min-width: 900px) {
  .footer__blog { justify-content: flex-start; }
}

/* === Stretched link: kart tamamı tıklanabilir === */
.guide-card { position: relative; cursor: pointer; }
.guide-card__link::after { content: ""; position: absolute; inset: 0; }
.blog-card { position: relative; cursor: pointer; }
.blog-card__link::after { content: ""; position: absolute; inset: 0; }

/* Guide sayfası: son kart sırası ile footer arası boşluk */
.guide-article { padding-bottom: 3.5rem; }
.guide-cards-row { margin-bottom: 1rem; }
