/* =====================================================================
   OnlyMix Media — Shared styles for legal & pricing pages
   Brand tokens taken from the main site / success page
   ===================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #080303;
    --bg2: #151111;
    --bg3: #1d1717;
    --border: #2C2424;
    --title: #FFFEFE;
    --meta: #AC9C9C;
    --accent: #FF7057;
    --accent-hover: #FA654B;
    --maxw: 880px;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--title);
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Ambient background blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
}
body::before {
    top: -240px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,112,87,0.10) 0%, transparent 70%);
}
body::after {
    bottom: -240px;
    left: -200px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255,112,87,0.06) 0%, transparent 70%);
}

/* --------------------------------------------------------------- Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 28px;
    background: rgba(8,3,3,0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--title);
}
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: grid;
    place-items: center;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,112,87,0.35);
}
.brand-text {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Language toggle */
.lang-toggle {
    display: inline-flex;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
}
.lang-toggle button {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--meta);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.lang-toggle button.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
}

.nav-home {
    color: var(--meta);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-home:hover { color: var(--title); }

/* --------------------------------------------------------------- Layout */
.wrap {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 64px 28px 96px;
}

.page-badge {
    display: inline-block;
    background: rgba(255,112,87,0.12);
    border: 1px solid rgba(255,112,87,0.3);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

h1.page-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
h1.page-title span {
    background: linear-gradient(135deg, var(--accent), #ff9a85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--meta);
    font-size: 1.02rem;
    max-width: 620px;
}

.updated {
    margin-top: 18px;
    font-size: 0.82rem;
    color: var(--meta);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.updated::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

/* --------------------------------------------------------------- Prose */
.prose { margin-top: 48px; }

.prose section {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}
.prose section:first-child { border-top: none; padding-top: 8px; }

.prose h2 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.prose h2 .num {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    min-width: 28px;
}

.prose h3 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 20px 0 8px;
    color: var(--title);
}

.prose p { color: var(--meta); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }

.prose ul { list-style: none; margin: 8px 0 16px; }
.prose ul li {
    position: relative;
    padding-left: 26px;
    color: var(--meta);
    margin-bottom: 10px;
}
.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--title); font-weight: 600; }

.callout {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 18px 0;
}
.callout p { color: var(--meta); margin: 0; }

/* --------------------------------------------------------- Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 52px;
}
.price-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(255,112,87,0.4); }
.price-card.featured {
    border-color: rgba(255,112,87,0.55);
    box-shadow: 0 20px 50px rgba(255,112,87,0.12);
}
.price-card.featured::before {
    content: attr(data-tag);
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    white-space: nowrap;
}
.price-card .pc-name {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.price-card .pc-sub { color: var(--meta); font-size: 0.85rem; margin-bottom: 22px; }
.price-card .pc-price {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    gap: 2px;
}
.price-card .pc-price .cur { font-size: 1.3rem; color: var(--accent); margin-top: 4px; }
.price-card .pc-dur { color: var(--meta); font-size: 0.8rem; margin-top: 6px; margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.price-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--meta);
}
.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(255,112,87,0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255,112,87,0.4); }
.btn.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--title);
}
.btn.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

.pay-note {
    margin-top: 36px;
    text-align: center;
    color: var(--meta);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pay-note svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* --------------------------------------------------------------- Footer */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 40px 28px;
    text-align: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-bottom: 18px;
}
.footer-links a {
    color: var(--meta);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-meta { color: var(--meta); font-size: 0.78rem; line-height: 1.6; }
.footer-meta strong { color: var(--title); }

/* Language visibility (JS toggles a class on <html>) */
.lang-en { display: none; }
html[data-lang="en"] .lang-tr { display: none; }
html[data-lang="en"] .lang-en { display: revert; }

/* --------------------------------------------------------------- Mobile */
@media (max-width: 760px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { order: -1; }
    .site-header { padding: 14px 18px; }
    .brand-text { font-size: 1.1rem; }
    .wrap { padding: 44px 20px 72px; }
}
@media (max-width: 420px) {
    .header-actions { gap: 8px; }
    .nav-home { display: none; }
}
