:root {
    --primary: #5865F2;
    --accent: #9d4edd;
    --bg: #08090e;
    --card-bg: rgba(18, 20, 36, 0.45);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-main: #f3f4f6;
    --text-dim: #9ca3af;
}

* { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

/* Ambient glow background */
body::before {
    content: '';
    position: fixed;
    top: -20%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(ellipse, rgba(88, 101, 242, 0.05) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%; right: -10%;
    width: 450px; height: 450px;
    background: radial-gradient(ellipse, rgba(157, 78, 221, 0.04) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.container, .doc {
    max-width: 800px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1;
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: #fff;
    margin-top: 30px;
    border-left: 3px solid var(--primary);
    padding-left: 12px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
p, li {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-dim);
}
.btn-back {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}
.btn-back:hover {
    color: #fff;
}

/* Language Switcher */
.lang-switch-container {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    padding: 2px;
    gap: 2px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 11px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-btn:hover {
    color: #fff;
}
.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

/* ---- Services page (price list) components ---- */
.doc-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.doc-header h1 {
    font-size: 28px;
    margin: 0 0 8px 0;
}
.doc-header p {
    font-size: 14px;
    color: var(--text-dim);
    margin: 0;
    opacity: 0.8;
}

.service-block {
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.service-price {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px 0;
}

.service-price-note {
    font-size: 13px;
    color: var(--text-dim);
    opacity: 0.8;
    margin: 0 0 18px 0;
}

.service-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    margin: 0 0 16px 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-dim);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.service-features li::before {
    content: "—";
    color: var(--primary);
    flex-shrink: 0;
    font-weight: 700;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.6;
    margin: 0 0 24px 0;
}

.free-note {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .container, .doc {
        padding: 24px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 18px;
    }
}
