/* ============================================================
   Anne Defteri — Landing & Legal Stylesheet
   Palette matches logo: warm peach/rose gradient + dark ink
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
    --ink: #2D2D3A;
    --ink-soft: #4A4A5A;
    --muted: #7D7D8C;
    --peach: #F9C7A5;
    --rose: #F5A7AA;
    --coral: #E86E56;
    --bg-1: #FFF5EE;
    --bg-2: #FCE8EB;
    --card: rgba(255, 255, 255, 0.92);
    --border: rgba(232, 110, 86, 0.14);
    --shadow: 0 8px 40px rgba(45, 45, 58, 0.06);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
    min-height: 100vh;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 245, 238, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.3px;
    color: var(--ink);
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
}
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--coral); text-decoration: none; }

/* ---------- Language switcher (segmented pill) ---------- */
/* ---------- Language dropdown (merkezi; tüm sayfalar) ---------- */
.lang-dd {
    position: relative;
    display: inline-block;
    text-align: left;
}
.lang-dd__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(45, 45, 58, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}
.lang-dd__toggle:hover {
    border-color: rgba(232, 110, 86, 0.35);
    box-shadow: 0 4px 14px rgba(232, 110, 86, 0.12);
}
.lang-dd__toggle:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}
.lang-dd__globe,
.lang-dd__chev,
.lang-dd__check { display: inline-flex; align-items: center; }
.lang-dd__globe svg { width: 16px; height: 16px; color: var(--coral); }
.lang-dd__current { white-space: nowrap; }
.lang-dd__chev svg {
    width: 15px;
    height: 15px;
    color: var(--muted);
    transition: transform 0.2s ease;
}
.lang-dd.is-open .lang-dd__chev svg { transform: rotate(180deg); }
.lang-dd__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 168px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(45, 45, 58, 0.14);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-dd.is-open .lang-dd__menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.lang-dd__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.lang-dd__opt:hover,
.lang-dd__opt:focus-visible {
    background: rgba(232, 110, 86, 0.09);
    color: var(--ink);
    outline: none;
}
.lang-dd__opt.is-active {
    color: var(--coral);
    font-weight: 700;
}
.lang-dd__check { opacity: 0; }
.lang-dd__check svg { width: 15px; height: 15px; color: var(--coral); }
.lang-dd__opt.is-active .lang-dd__check { opacity: 1; }


/* ---------- Hero ---------- */
.hero {
    padding: 64px 0 48px;
    text-align: center;
}
.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(232, 110, 86, 0.18);
}
.hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--coral) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

/* ---------- App Store Badge ---------- */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 20px rgba(45, 45, 58, 0.2);
}
.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 45, 58, 0.28);
    text-decoration: none;
    color: #fff;
}
.app-store-badge svg { width: 28px; height: 28px; fill: #fff; }
.app-store-badge .badge-sub {
    display: block;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.75;
    line-height: 1;
    margin-bottom: 3px;
}
.app-store-badge .badge-main {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.hero-foot {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 40px;
}

/* ---------- Feature Grid ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--peach), var(--rose));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.feature h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}
.feature p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ---------- CTA Band ---------- */
.cta-band {
    text-align: center;
    padding: 72px 0;
}
.cta-band .section-title { color: var(--ink); margin-bottom: 8px; }
.cta-band .section-sub { margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 32px;
    font-size: 13px;
    color: var(--muted);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: var(--ink-soft); }
.footer-nav a:hover { color: var(--coral); text-decoration: none; }
.footer-copy { color: var(--muted); }

/* Payment provider logos (iyzico onayı gerektiriyor; footer'da ödeme
   sağlayıcı + kart şeması görselleri görünür olmalı). */
.footer-payment-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.footer-payment-logos img {
    display: block;
    height: 24px;
    width: auto;
    opacity: 0.92;
    transition: opacity 0.15s ease;
}
.footer-payment-logos img:hover { opacity: 1; }

/* ============================================================
   Legal / Content pages
   ============================================================ */
.page-article {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 40px auto;
}
.page-article h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
    color: var(--ink);
}
.page-article .updated {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.page-article h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--ink);
    scroll-margin-top: 100px;
}
.page-article h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 22px 0 8px;
    color: var(--ink-soft);
}
.page-article p,
.page-article li {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 10px;
    line-height: 1.65;
}
.page-article ul,
.page-article ol { padding-left: 22px; margin-bottom: 14px; }
.page-article strong { color: var(--ink); font-weight: 600; }
.page-article code {
    background: rgba(232, 110, 86, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 13px;
    font-family: "SF Mono", ui-monospace, Menlo, monospace;
    color: var(--coral);
}
.page-article em { color: var(--muted); font-style: normal; font-size: 14px; }
.page-article .toc {
    background: rgba(232, 110, 86, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
}
.page-article .toc a { display: block; padding: 4px 0; color: var(--ink-soft); }
.page-article .toc a:hover { color: var(--coral); }
.page-article .muted { font-size: 13px; color: var(--muted); }
.page-article .notice {
    background: rgba(232, 110, 86, 0.07);
    border-left: 3px solid var(--coral);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin: 8px 0 20px;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ---------- Support / FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.faq details[open] { border-color: rgba(232, 110, 86, 0.3); }
.faq summary {
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 24px;
    font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--coral);
    font-weight: 300;
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    max-width: 540px;
    margin: 40px auto 0;
    box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { color: var(--ink-soft); margin-bottom: 16px; }
.contact-email {
    display: inline-block;
    padding: 10px 20px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
}
.contact-email:hover { color: #fff; text-decoration: none; background: var(--coral); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
    .hero { padding: 40px 0 32px; }
    .hero-logo { width: 140px; height: 140px; border-radius: 32px; }
    .hero h1 { font-size: 32px; }
    .hero p.lead { font-size: 16px; }
    .section-title { font-size: 24px; }
    .nav { display: none; }
    .page-article { padding: 28px 22px; margin: 20px 12px; }
    .page-article h1 { font-size: 24px; }
    .features { gap: 14px; }
    .feature { padding: 22px 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 28px; }
    .app-store-badge { padding: 12px 22px; }
    .app-store-badge .badge-main { font-size: 16px; }
}
