:root {
    --bg-deep: #E8E0F5;
    --bg-mid: #D8CEF0;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --neon: #5B4FB5;
    --neon-dim: rgba(91, 79, 181, 0.10);
    --neon-glow: rgba(91, 79, 181, 0.35);
    --text-primary: #2A2060;
    --text-secondary: #5E5490;
    --text-muted: #9A90C0;
    --border: rgba(91, 79, 181, 0.15);
    --sidebar-w: 280px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --gradient-bg: linear-gradient(135deg, #C9B8E8 0%, #DDD2F5 40%, #C5B8E8 70%, #B8ACE0 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(91, 79, 181, 0.12);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--neon);
    letter-spacing: 0.5px;
}

.sidebar-logo small {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.sidebar-nav { flex: 1; padding: 1.5rem 0; }

.sidebar-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    color: var(--neon);
    background: var(--neon-dim);
    border-left-color: var(--neon);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.sidebar-footer a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}

.sidebar-footer a:hover { color: var(--neon); }

.sidebar-footer .dmr-mark {
    font-family: var(--font-serif);
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 1rem;
    letter-spacing: 1px;
}

.lang-switch {
    padding: 0.5rem 1.5rem 1rem;
}
.lang-switch select {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border);
    cursor: pointer;
}
.lang-switch select:focus { outline: 1px solid var(--neon); }

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem; left: 1rem;
    z-index: 200;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--neon);
    font-size: 1.4rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.main { margin-left: var(--sidebar-w); min-height: 100vh; }

section {
    padding: 5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--neon-dim);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--neon);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .neon { color: var(--neon); }

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--neon); color: #fff; }
.btn-primary:hover { box-shadow: 0 0 30px var(--neon-glow); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--neon); border: 1px solid var(--neon); }
.btn-outline:hover { background: var(--neon-dim); transform: translateY(-2px); }

.section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(91, 79, 181, 0.06);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(91, 79, 181, 0.15);
}

.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; font-weight: 600; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step { text-align: center; position: relative; }

.step-number {
    width: 64px; height: 64px;
    background: var(--neon-dim);
    border: 2px solid var(--neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon);
    margin: 0 auto 1.5rem;
}

.step h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.step p { color: var(--text-secondary); font-size: 0.9rem; }

.step-arrow {
    position: absolute;
    top: 32px;
    right: -1rem;
    color: var(--neon);
    font-size: 1.5rem;
    opacity: 0.5;
}

.step:last-child .step-arrow { display: none; }

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.audience-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(91, 79, 181, 0.06);
}

.audience-card:hover {
    border-color: var(--neon);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(91, 79, 181, 0.12);
}

.audience-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.audience-card h3 { font-size: 1rem; font-weight: 600; }
.audience-card p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.4rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 750px;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 2px 12px rgba(91, 79, 181, 0.06);
}

.pricing-card.featured {
    border-color: var(--neon);
    box-shadow: 0 8px 40px rgba(91, 79, 181, 0.18);
}

.pricing-badge {
    position: absolute;
    top: -12px; right: 1.5rem;
    background: var(--neon);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

.pricing-price {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 0.25rem;
}

.pricing-price small { font-size: 0.9rem; font-weight: 400; color: var(--text-secondary); }
.pricing-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; }

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--neon); margin-right: 0.5rem; }
.pricing-features .cross { color: var(--text-muted); margin-right: 0.5rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
}
.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(91, 79, 181, 0.12);
    display: block;
    transition: transform 0.3s;
}
.gallery-grid img:hover { transform: translateY(-4px); }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 1.5rem;
    box-shadow: 0 2px 12px rgba(91, 79, 181, 0.06);
}
.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 0;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--neon);
    font-size: 1.4rem;
    line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-secondary); font-size: 0.92rem; padding-bottom: 1.1rem; }

.footer {
    border-top: 1px solid var(--border);
    padding: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255,255,255,0.3);
    border-radius: 20px 20px 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--neon);
    margin-bottom: 0.5rem;
}

.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--neon); }

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-toggle { display: flex; }
    .main { margin-left: 0; }
    section { padding: 3rem 1.5rem; }
    .steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .step-arrow { display: none !important; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 500px) {
    .hero-cta { flex-direction: column; }
    .btn { justify-content: center; }
    .pricing-grid { grid-template-columns: 1fr; }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 50;
}

.sidebar-overlay.active { display: block; }

/* Right-to-left language support (Arabic, Persian, Hebrew, Urdu) */
[dir="rtl"] .sidebar {
    left: auto; right: 0;
    border-right: none;
    border-left: 1px solid rgba(91, 79, 181, 0.12);
}
[dir="rtl"] .main { margin-left: 0; margin-right: var(--sidebar-w); }
[dir="rtl"] .sidebar-nav a { border-left: none; border-right: 2px solid transparent; }
[dir="rtl"] .sidebar-nav a:hover, [dir="rtl"] .sidebar-nav a.active { border-right-color: var(--neon); }
[dir="rtl"] .sidebar-toggle { left: auto; right: 1rem; }
[dir="rtl"] .pricing-badge { right: auto; left: 1.5rem; }
[dir="rtl"] .step-arrow { right: auto; left: -1rem; transform: scaleX(-1); }
[dir="rtl"] .faq-item summary::after { float: left; }
[dir="rtl"] .pricing-features .check, [dir="rtl"] .pricing-features .cross { margin-right: 0; margin-left: 0.5rem; }

@media (max-width: 900px) {
    [dir="rtl"] .sidebar { transform: translateX(100%); }
    [dir="rtl"] .sidebar.open { transform: translateX(0); }
    [dir="rtl"] .main { margin-right: 0; }
}
