/* Tenis Asistanı — tanıtım sitesi */

:root {
  color-scheme: light dark;
  --court: #0f5f36;
  --court-deep: #0a4527;
  --court-light: #2f9a5a;
  --lime: #c6ee3a;
  --lime-dark: #9bc41a;
  --orange: #f68b2a;

  --bg: #ffffff;
  --bg-alt: #f3f6f4;
  --surface: #ffffff;
  --border: rgba(15, 95, 54, .14);
  --text: #16211a;
  --muted: #5c6a61;
  --link: #1f7a45;
  --shadow: 0 20px 50px rgba(10, 69, 39, .18);
  --radius: 18px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1410;
    --bg-alt: #101c15;
    --surface: #152219;
    --border: rgba(198, 238, 58, .14);
    --text: #eaf1ec;
    --muted: #9fb0a5;
    --link: #8fe07a;
    --shadow: 0 20px 50px rgba(0, 0, 0, .5);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1410; --bg-alt: #101c15; --surface: #152219;
  --border: rgba(198, 238, 58, .14); --text: #eaf1ec; --muted: #9fb0a5;
  --link: #8fe07a; --shadow: 0 20px 50px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  background: var(--court); color: #fff; font-weight: 700; text-decoration: none;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--court-deep); text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: .45rem 1rem; font-size: .95rem; }
.link { font-weight: 600; }

.appstore {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .6rem 1.2rem .6rem 1rem; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; line-height: 1.1;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .15s, box-shadow .15s;
}
.appstore:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.appstore span { display: flex; flex-direction: column; font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.appstore small { font-size: .7rem; font-weight: 500; opacity: .85; letter-spacing: .02em; }
.appstore.soon { opacity: .6; cursor: default; }
.appstore.soon:hover { transform: none; box-shadow: none; }
.store-badges { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 60px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text); font-size: 1.05rem; white-space: nowrap; }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
.brand.small { font-size: .95rem; margin-bottom: .5rem; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-links a.btn { color: #fff; }
.lang-switch { display: flex; gap: .25rem; border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.lang-switch a { font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--court); color: #fff; }
.lang-switch a:hover { text-decoration: none; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .nav { gap: .8rem; }
  .brand { font-size: .95rem; }
}
@media (max-width: 380px) { .site-header .brand span { display: none; } }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(198,238,58,.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(47,154,90,.5), transparent 60%),
    linear-gradient(160deg, var(--court-deep), var(--court) 60%, #147a45);
}
.hero::after { /* kort çizgileri */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background:
    linear-gradient(#fff, #fff) 50% 100% / 2px 22% no-repeat,
    linear-gradient(#fff, #fff) 0 78% / 100% 2px no-repeat;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; max-width: 34ch; color: rgba(255,255,255,.88); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 1rem;
}
.section .eyebrow { color: var(--court-light); }
.cta-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.cta-note { margin: 0; font-size: .95rem; color: rgba(255,255,255,.8); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.trust li::before { content: "✓"; color: var(--lime); font-weight: 800; margin-right: .4rem; }

.hero-art { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; padding: 10px;
  border-radius: 38px; background: #0b0b0d; box-shadow: var(--shadow), inset 0 0 0 2px #2a2a2e;
}
.phone img { border-radius: 28px; }
.phone-main { left: 50%; top: 20px; transform: translateX(-42%) rotate(-3deg); z-index: 2; }
.phone-back { left: 50%; top: 70px; transform: translateX(28%) rotate(6deg) scale(.9); opacity: .92; }
.watch {
  width: 150px; padding: 8px; border-radius: 36px; background: #0b0b0d;
  box-shadow: var(--shadow), inset 0 0 0 2px #2a2a2e;
}
.watch img { border-radius: 28px; }
.hero-art .watch { position: absolute; left: 50%; bottom: 10px; transform: translateX(-125%) rotate(-8deg); z-index: 3; width: 130px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { height: 520px; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero-art { height: 500px; }
  .phone { width: 200px; }
  .phone-main { top: 10px; transform: translateX(-46%) rotate(-3deg); }
  .phone-back { top: 50px; transform: translateX(16%) rotate(6deg) scale(.9); }
  .hero-art .watch { width: 110px; bottom: 0; transform: translateX(-118%) rotate(-8deg); }
}

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--court-deep); color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.8); }
.section-dark a.link { color: var(--lime); }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 2.5rem; font-size: 1.1rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,69,39,.10); }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--court), var(--court-light)); margin-bottom: 1rem;
}
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* --- Gallery ------------------------------------------------------------- */
.gallery {
  display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem max(20px, calc((100vw - var(--maxw)) / 2 + 20px)) 1.5rem;
  scrollbar-width: thin;
}
.gallery figure { flex: 0 0 240px; margin: 0; scroll-snap-align: center; }
.gallery img { border-radius: 26px; box-shadow: 0 14px 34px rgba(10,69,39,.18); border: 1px solid var(--border); }
.gallery figcaption { text-align: center; margin-top: .8rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.gallery[hidden] { display: none; }
.platform-tabs {
  display: flex; width: max-content; margin: -1.2rem auto 1.8rem; padding: 4px; gap: 4px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
}
.platform-tabs button {
  font: inherit; font-weight: 600; font-size: .95rem; padding: .45rem 1.2rem; border: 0;
  border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
}
.platform-tabs button[aria-selected="true"] { background: var(--court); color: #fff; }
.platform-tabs button:focus-visible { outline: 2px solid var(--court-light); outline-offset: 2px; }

/* --- Split (Watch) ------------------------------------------------------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.split-art { display: grid; place-items: center; }
.watch-big { width: 230px; }
.watch-pair { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.watch-pair .watch-big { width: 170px; }
.watch-round {
  width: 175px; padding: 8px; border-radius: 50%; background: #0b0b0d;
  box-shadow: var(--shadow), inset 0 0 0 2px #2a2a2e;
}
.watch-round img { border-radius: 50%; }
@media (max-width: 480px) { .watch-pair { gap: 1rem; } .watch-pair .watch-big, .watch-round { width: 140px; } }
.split-reverse { grid-template-columns: 1.2fr .8fr; }
.split-reverse .split-art { order: 2; }
.phone.phone-static { position: static; width: 270px; transform: rotate(2deg); }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; }
.checks li { position: relative; padding-left: 1.7rem; margin: .55rem 0; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem;
  border-radius: 50%; background: var(--court); color: var(--lime);
  font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: .25rem;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .watch-big { width: 190px; } .split-reverse .split-art { order: 0; } }

/* --- Privacy pillars ----------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.pillar { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.5rem; }
.pillar h3 { color: var(--lime); }
.pillar p { margin: 0; color: rgba(255,255,255,.85); }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* --- Pro ----------------------------------------------------------------- */
.pro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: stretch; }
.pro-card, .price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
}
.price-card { text-align: center; border-color: color-mix(in srgb, var(--court-light) 50%, var(--border)); box-shadow: 0 16px 40px rgba(10,69,39,.10); }
.prices { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.2rem; }
.price { flex: 1; padding: 1rem .6rem; border-radius: 14px; border: 1px solid var(--border); position: relative; }
.price.featured { border-color: var(--court-light); background: color-mix(in srgb, var(--court-light) 10%, transparent); }
.price .tag {
  position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: .7rem; font-weight: 800;
  padding: .15rem .6rem; border-radius: 999px; white-space: nowrap;
}
.price .amount { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.price .per { color: var(--muted); font-size: .9rem; }
.trial { font-weight: 600; margin-bottom: 1rem; }
.fine { font-size: .82rem; color: var(--muted); margin: 1.2rem 0 0; }
@media (max-width: 800px) { .pro-grid { grid-template-columns: 1fr; } }

/* --- FAQ ----------------------------------------------------------------- */
details { border-bottom: 1px solid var(--border); padding: .9rem 0; }
details summary {
  cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; color: var(--court-light); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .7rem 0 0; color: var(--muted); }
#faq .center { margin-top: 2rem; }

/* --- Final CTA ----------------------------------------------------------- */
.cta-final { padding-bottom: 6rem; }
.cta-icon { margin: 0 auto 1.2rem; border-radius: 22px; box-shadow: var(--shadow); }
.cta-final .store-badges { justify-content: center; margin-top: .6rem; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 3rem 0 3.5rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .8rem; }
.footer-grid a { display: block; color: var(--text); margin: .35rem 0; }
.footer-grid p { margin: .3rem 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Prose pages (privacy, support) -------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; padding: 3rem 20px 5rem; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6rem; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: .35rem 0; }
.prose code { background: rgba(127,127,127,.15); padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }
.callout {
  background: color-mix(in srgb, var(--court-light) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--court-light) 40%, transparent);
  border-radius: 12px; padding: 1rem 1.15rem; margin: 1.5rem 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, .btn, .appstore { transition: none; }
}
