/* Design bearbeiten: Farben, Abstände und Schriftgrößen. Texte stehen in index.html. */
:root {
  --purple: #7c3aed;
  --ink: #0f172b;
  --muted: #62748e;
  --light: #f8fafc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font-family: Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0 0 20px; }
h1, h2 { font-weight: 900; letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(40px, 5vw, 60px); }
h2 { font-size: clamp(30px, 3.5vw, 42px); }
h3 { font-size: 18px; line-height: 1.4; }
p { color: var(--muted); }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffff2; border-bottom: 1px solid #e2e8f0; }
.navigation { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { color: var(--purple); font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 16px; background: var(--ink); color: white; font-weight: 700; text-align: center; }
.button:hover { filter: brightness(1.12); }
a:focus-visible { outline: 3px solid #f59e0b; outline-offset: 5px; }
.button-purple { background: var(--purple); }
.hero, .app-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 88px; }
h1 span, .eyebrow { color: var(--purple); }
.badge { display: inline-block; padding: 7px 14px; color: var(--purple); background: #f3e8ff; border-radius: 100px; font-size: 14px; }
.lead { font-size: 18px; max-width: 460px; margin-bottom: 30px; }
.hero-image { width: 100%; border-radius: 28px; box-shadow: 0 24px 50px #0f172b18; }
.features { background: var(--light); padding-block: 80px; }
.section-heading { text-align: center; margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 32px; border: 1px solid #e2e8f0; border-radius: 24px; background: white; }
.card p { margin-bottom: 0; }
.icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #f3e8ff; font-size: 26px; margin-bottom: 20px; }
.card-purple { background: var(--purple); border-color: var(--purple); color: white; }
.card-purple p { color: #ede9fe; }
.card-purple .icon { background: #ffffff25; }
.app-image { width: min(340px, 100%); justify-self: center; border-radius: 32px; box-shadow: 0 24px 50px #0f172b20; }
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.benefits { list-style: none; padding: 0; margin: 30px 0; }
.benefits li { position: relative; padding-left: 38px; margin-bottom: 24px; }
.benefits li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--purple); font-weight: bold; }
.benefits h3 { margin-bottom: 6px; font-size: 16px; }
.benefits p { margin: 0; }
.download-section { padding-block: 72px; background: var(--purple); color: white; text-align: center; }
.download-section p { color: #ede9fe; font-size: 18px; }
.download-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.button-white { background: white; color: var(--ink); }
.button[aria-disabled="true"] { pointer-events: none; opacity: .65; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 32px; }
.footer p { margin: 0; font-size: 14px; }
.footer nav { display: flex; gap: 20px; font-size: 14px; }
.footer nav a:hover { color: var(--purple); }
@media (max-width: 760px) {
  .hero, .app-section { grid-template-columns: 1fr; gap: 40px; padding-block: 50px; }
  .cards { grid-template-columns: 1fr; }
  .features, .download-section { padding-block: 50px; }
  .app-image { width: min(280px, 100%); }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* App-Vorstellung: drei Seiten mit gleichem Layout und stabiler Höhe. */
.app-showcase { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 16px; align-items: center; padding-block: 88px; }
.app-slides { display: grid; min-width: 0; }
.app-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; visibility: hidden; pointer-events: none; }
.app-slide.is-active { visibility: visible; pointer-events: auto; }
.slide-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ede9fe; border-radius: 50%; background: #fff; color: var(--purple); box-shadow: 0 4px 14px #5b21b610, 0 1px 3px #0f172b08; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.slide-arrow svg { display: block; }
.slide-arrow:hover:not(:disabled) { background: var(--purple); border-color: var(--purple); color: white; box-shadow: 0 6px 18px #7c3aed30; transform: translateY(-2px); }
.slide-arrow:active:not(:disabled) { transform: scale(.95); }
.slide-arrow:disabled { background: #f8fafc; color: #cbd5e1; border-color: #f1f5f9; box-shadow: none; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .slide-arrow { transition: none; }
  .slide-arrow:hover:not(:disabled), .slide-arrow:active:not(:disabled) { transform: none; }
}
.slide-arrow:focus-visible { outline: 3px solid #f59e0b; outline-offset: 4px; }
.slide-counter { grid-column: 2; text-align: center; margin: 12px 0 0; font-size: 14px; }
@media (max-width: 760px) {
  .app-showcase { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; padding-block: 50px; }
  .app-slides { grid-column: 1 / -1; grid-row: 1; }
  .app-slide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .slide-prev { grid-column: 1; grid-row: 2; }
  .slide-next { grid-column: 3; grid-row: 2; }
  .slide-counter { grid-column: 2; grid-row: 2; margin: 0; }
}

/* Handyrahmen für unveränderte Simulator-Screenshots. */
.phone-frame {
  position: relative;
  justify-self: center;
  width: min(340px, calc(100% - 10px));
  padding: 9px;
  border: 2px solid #717171;
  border-radius: 16% / 7.7%;
  background: #101010;
  box-shadow: inset 0 0 0 2px #252525, 0 0 0 1px #1b1b1b, 0 10px 22px #0f172b18;
}
.phone-frame .phone-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14% / 6.5%;
  background: white;
}
.phone-key {
  position: absolute;
  left: -5px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #353535, #858585, #272727);
}
.phone-key-action { top: 16%; height: 3%; }
.phone-key-volume-up { top: 23%; height: 6%; }
.phone-key-volume-down { top: 31%; height: 6%; }
.phone-key-power { left: auto; right: -5px; top: 25%; height: 10%; border-radius: 0 2px 2px 0; }
@media (max-width: 760px) {
  .phone-frame { width: min(280px, calc(100% - 10px)); padding: 7px; }
}

/* Dil seçimi: indirme düğmesinin solunda. */
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switch { display: flex; gap: 3px; padding: 4px; border: 1px solid #e9e3f5; border-radius: 999px; background: #f7f5fc; }
.language-switch button { min-width: 42px; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: #64748b; font: 700 13px Arial, sans-serif; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: white; color: var(--purple); box-shadow: 0 2px 6px #4c1d9514; }
.language-switch button:hover { color: var(--purple); }
.language-switch button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
@media (max-width: 480px) {
  .navigation { gap: 8px; }
  .header-actions { gap: 8px; }
  .header-actions > .button { padding: 12px 10px; font-size: 12px; border-radius: 12px; }
  .language-switch { padding: 3px; }
  .language-switch button { min-width: 34px; }
}
