/* ===== Layout & Navigation Styles ===== */
/* Extracted from master.blade.php inline <style> block */

:root {
    --brand-pink: #FF4B91;
    --brand-purple: #7209B7;
    --brand-blue: #4361EE;
    --brand-gradient: linear-gradient(135deg, #FF7EB3 0%, #8E44AD 50%, #6A82FB 100%);
    --brand-gradient-hover: linear-gradient(135deg, #FF6B9E 0%, #7B2CBF 50%, #5C76F2 100%);
    --color-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 24px -4px rgba(114,9,183,0.08);
    --shadow-lg: 0 20px 40px -8px rgba(114,9,183,0.12);
    --shadow-glow: 0 0 40px rgba(255,126,179,0.25);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-btn: 50px;
}

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

body {
    background: var(--color-bg);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Typography & Gradients ===== */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ===== Navbar (Glassmorphism) ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.navbar-brand { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; letter-spacing: -0.5px; }
/* .navbar-links replaced by .nav-menu-links in unified nav structure */
.navbar-right { display: flex; align-items: center; gap: 20px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 600; text-decoration: none; padding: 14px 32px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); letter-spacing: -0.01em; }
.btn-primary { background: linear-gradient(135deg, #4361EE 0%, #7209B7 100%); color: #fff !important; box-shadow: 0 6px 16px rgba(114,9,183,0.25); border: 1px solid rgba(255,255,255,0.1); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(114,9,183,0.35); background: linear-gradient(135deg, #3851D6 0%, #5C0796 100%); color: #fff !important; }
.btn-outline { background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); color: var(--brand-purple); border: 2px solid rgba(114,9,183,0.1); }
.btn-outline:hover { background: #fff; border-color: var(--brand-purple); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text-main); padding: 10px 20px; }
.btn-ghost:hover { color: var(--brand-purple); }

/* ===== Language Switcher (Inline) ===== */
.locale-switch { display: flex; gap: 4px; background: rgba(15,23,42,0.04); padding: 4px; border-radius: 50px; }
.locale-switch a { font-size: 0.8125rem; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 50px; transition: all 0.2s; color: var(--text-muted); }
.locale-switch a.active { background: #fff; color: var(--brand-purple); box-shadow: var(--shadow-sm); }
.locale-switch a:not(.active):hover { color: var(--text-main); }

/* ===== Language Dropdown (4+ langs) ===== */
.locale-dropdown { position: relative; }
.locale-dropdown-toggle { display: flex; align-items: center; gap: 6px; background: rgba(15,23,42,0.04); padding: 8px 14px; border-radius: 50px; font-size: 0.8125rem; font-weight: 700; color: var(--brand-purple); cursor: pointer; border: none; transition: all 0.2s; }
.locale-dropdown-toggle:hover { background: rgba(15,23,42,0.08); }
.locale-dropdown-toggle svg { transition: transform 0.2s; }
.locale-dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 6px; min-width: 160px; box-shadow: var(--shadow-md); z-index: 100; }
.locale-dropdown-menu a { display: block; padding: 8px 14px; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-decoration: none; border-radius: 8px; transition: all 0.15s; }
.locale-dropdown-menu a:hover { background: rgba(114,9,183,0.06); color: var(--brand-purple); }
.locale-dropdown-menu a.active { color: var(--brand-purple); background: rgba(114,9,183,0.08); }

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text-main); }

/* ===== Nav Overlay (mobile backdrop) ===== */
.nav-overlay.open {
    display: block;
    opacity: 1;
}
.nav-overlay {
    display: none;
    position: fixed;

}

/* ===== Nav Menu (desktop: inline flex / mobile: drawer) ===== */
.nav-menu { display: contents; }
.nav-menu-header { display: none; }
.nav-mobile-search { display: none; }
.nav-link-mobile-only { display: none !important; }
.nav-mobile-only { display: none !important; }
.nav-desktop-only { display: flex; }

.nav-menu-links { display: flex; gap: 36px; align-items: center; }
.nav-menu-links > a { font-size: 1rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-menu-links > a:hover { color: var(--brand-purple); }

.nav-menu-auth { display: flex; align-items: center; gap: 20px; }
.nav-mobile-auth { display: flex; flex-direction: column; gap: 8px; }
.nav-mobile-auth a { width: 100%; text-align: center; font-weight: 700; }

.mega-fallback-badge { font-size: 0.55rem; background: rgba(114,9,183,0.1); color: var(--brand-purple); padding: 2px 5px; border-radius: 4px; font-weight: 800; margin-left: auto; }
.mega-chevron { transition: transform 0.25s ease; }
.mega-chevron.rotated { transform: rotate(180deg); }

/* ===== Mobile Responsive (< 900px) ===== */
@media (max-width: 900px) {
    /* Hide desktop-only */
    .nav-desktop-only { display: none !important; }
    .nav-mobile-only { display: flex !important; }
    .nav-link-mobile-only { display: block !important; }
    .mobile-menu-toggle { display: block; }

    /* Nav Menu → Drawer */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1002;
        transition: right 0.3s cubic-bezier(0.16,1,0.3,1);
        padding: 0 0 24px;
        overflow-y: auto;
        gap: 0;
    }
    .nav-menu.open { right: 0; }

    /* Drawer header */
    .nav-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-menu-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; }

    /* Mobile search */
    .nav-mobile-search {
        display: block;
        padding: 16px 24px;
        position: relative;
    }
    .nav-mobile-search .mobile-search-icon { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); }

    /* Links as vertical list */
    .nav-menu-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    .nav-menu-links > a,
    .nav-menu-links > div > a {
        display: block;
        padding: 14px 24px;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-main);
        text-decoration: none;
        border-radius: 0;
        transition: all 0.2s;
    }
    .nav-menu-links > a:hover { background: rgba(114,9,183,0.06); color: var(--brand-purple); }

    /* Mega menu in mobile: inline accordion */
    .mega-menu-trigger { position: relative; }
    .mega-menu-trigger > a { display: flex; align-items: center; gap: 4px; padding: 14px 24px; font-size: 1.05rem; font-weight: 600; }
    .mega-menu-panel {
        position: static !important;
        width: 100% !important;
        padding: 0 !important;
        transform: none !important;
        z-index: auto !important;
    }
    .mega-menu-inner { padding: 0 16px; }
    .mega-menu-card {
        background: #f8fafc;
        border-radius: 12px;
        padding: 16px;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
    .mega-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .mega-menu-category { margin-bottom: 8px; }
    .mega-menu-links li a { padding: 10px 12px; font-size: 0.95rem; }

    /* Auth section in drawer */
    .nav-menu-auth {
        flex-direction: column;
        padding: 16px 24px;
        margin-top: auto;
        border-top: 1px solid var(--border-color);
        gap: 8px;
    }

    /* Mobile language */
    .nav-mobile-lang {
        padding: 8px 24px 24px;
        border-top: 1px solid var(--border-color);
    }

    /* Hide desktop navbar items */
    .search-toggle-wrapper { display: none !important; }
    .navbar-right .locale-modal-trigger { display: none; }
}

/* ===== User Dropdown ===== */
.user-dropdown { position: relative; }
.user-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 14px 6px 6px; background: rgba(15,23,42,0.04); border-radius: 50px; border: 1.5px solid transparent; transition: all 0.2s; }
.user-toggle:hover { background: rgba(15,23,42,0.08); border-color: rgba(114,9,183,0.12); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #fff; background: linear-gradient(135deg, #4361EE, #7209B7); flex-shrink: 0; }
.user-name { font-weight: 600; font-size: 0.875rem; color: var(--text-main); }
.user-plan-badge { display: inline-block; font-size: 0.6rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.plan-free { background: #f1f5f9; color: #64748b; }
.plan-pro { background: linear-gradient(135deg, #dbeafe, #e0e7ff); color: #4338ca; }
.plan-ultimate { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.plan-ultimate-xl { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #be185d; }
.user-dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 8px; min-width: 200px; box-shadow: var(--shadow-lg); z-index: 100; display: none; }
.user-dropdown-menu.open { display: block; }
.user-dropdown-header { padding: 10px 14px; border-bottom: 1px solid var(--border-color); margin-bottom: 4px; }
.user-dropdown-header .user-full-name { font-weight: 700; font-size: 0.9rem; color: var(--text-main); }
.user-dropdown-header .user-email { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.user-dropdown-menu a, .user-dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-decoration: none; border-radius: 8px; transition: all 0.15s; background: none; border: none; cursor: pointer; text-align: left; }
.user-dropdown-menu a:hover, .user-dropdown-menu button:hover { background: rgba(114,9,183,0.06); color: var(--brand-purple); }
.user-dropdown-menu .logout-item { color: #dc2626; }
.user-dropdown-menu .logout-item:hover { background: rgba(220,38,38,0.06); color: #dc2626; }

/* ===== Search Toggle ===== */
.search-toggle-wrapper { position: relative; display: flex; align-items: center; }
.search-toggle-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(15,23,42,0.08); background: rgba(15,23,42,0.03); color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s cubic-bezier(0.16,1,0.3,1); }
.search-toggle-btn:hover, .search-toggle-btn.active { background: rgba(114,9,183,0.08); border-color: rgba(114,9,183,0.15); color: var(--brand-purple); transform: scale(1.08); }
.search-expand-form { position: absolute; right: 0; top: calc(100% + 12px); display: flex; align-items: center; background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1.5px solid rgba(114,9,183,0.15); border-radius: 16px; padding: 8px 12px 8px 16px; box-shadow: 0 12px 40px rgba(114,9,183,0.15), 0 0 0 1px rgba(255,255,255,0.5); width: 320px; z-index: 100; }
.search-expand-form::before { content: ''; position: absolute; top: -6px; right: 14px; width: 10px; height: 10px; background: #fff; border-top: 1.5px solid rgba(114,9,183,0.15); border-left: 1.5px solid rgba(114,9,183,0.15); transform: rotate(45deg); }
.search-expand-input { flex: 1; border: none; outline: none; background: transparent; font-size: 0.9375rem; font-weight: 500; color: var(--text-main); padding: 8px 0; font-family: 'Outfit', sans-serif; }
.search-expand-input::placeholder { color: var(--text-muted); font-weight: 400; }
.search-expand-submit { width: 34px; height: 34px; border-radius: 50%; border: none; background: linear-gradient(135deg, #4361EE, #7209B7); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all 0.2s; }
.search-expand-submit:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(114,9,183,0.35); }

/* ===== Mega Menu ===== */
.mega-menu-trigger { position: static; }
.mega-menu-trigger > a { display: flex; align-items: center; gap: 4px; position: relative; }
.mega-menu-trigger > a .mega-chevron { transition: transform 0.25s ease; }
.mega-menu-trigger.mega-open > a .mega-chevron { transform: rotate(180deg); }
.mega-menu-panel { position: absolute; top: 100%; left: 0; width: 100%; z-index: 1100; padding-top: 8px; }
.mega-menu-inner { max-width: 100%; margin: 0 auto; padding: 0 24px; }
.mega-menu-card { background: rgba(255,255,255,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.5); border-radius: 20px; padding: 32px 36px; box-shadow: 0 20px 60px rgba(114,9,183,0.1), 0 0 0 1px rgba(15,23,42,0.04); width: 100%; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 28px; }
.mega-menu-cat-title { font-size: 0.8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-purple); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid; border-image: var(--brand-gradient) 1; }
.mega-menu-cat-title a { color: inherit; text-decoration: none; }
.mega-menu-cat-title a:hover { opacity: 0.8; }
.mega-menu-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mega-menu-links li a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 0.875rem; font-weight: 500; color: var(--text-main); text-decoration: none; transition: all 0.2s; line-height: 1.3; }
.mega-menu-links li a:hover { background: rgba(114,9,183,0.06); color: var(--brand-purple); transform: translateX(3px); }
.mega-menu-links li a .mega-link-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-gradient); flex-shrink: 0; opacity: 0; transition: opacity 0.2s; }
.mega-menu-links li a:hover .mega-link-dot { opacity: 1; }
.mega-menu-see-all { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 6px 12px; border-radius: 50px; font-size: 0.8125rem; font-weight: 700; color: var(--brand-purple); text-decoration: none; background: rgba(114,9,183,0.06); transition: all 0.2s; }
.mega-menu-see-all:hover { background: var(--brand-gradient); color: #fff; box-shadow: 0 4px 12px rgba(114,9,183,0.25); }

/* (Mobile mega modal removed — now inline accordion in nav-menu) */

/* ===== Footer ===== */
.footer { background: #fff; padding: 60px 0; border-top: 1px solid var(--border-color); }
.footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--text-main); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-purple); }
.footer-copy { color: var(--text-muted); font-size: 0.9375rem; }

/* ===== Utilities & Animations ===== */
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.page-wrapper { padding-top: 120px; padding-bottom: 80px; }

@keyframes blobBounce {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; opacity: 0; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ===== Language Modal & Trigger ===== */
.locale-modal-trigger { display: flex; align-items: center; gap: 8px; background: rgba(15,23,42,0.04); padding: 8px 16px; border-radius: 50px; font-size: 0.8125rem; font-weight: 700; color: var(--brand-purple); cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s; }
.locale-modal-trigger:hover { background: rgba(15,23,42,0.08); border-color: rgba(114,9,183,0.1); transform: translateY(-1px); }
.locale-modal-trigger .locale-text { letter-spacing: 0.5px; }

.language-modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn 0.3s ease; }
.language-modal { width: 100%; max-width: 800px; max-height: 90vh; display: flex; flex-direction: column; background: rgba(255,255,255,0.95); border-radius: 24px; box-shadow: 0 24px 60px rgba(114,9,183,0.15), 0 0 0 1px rgba(255,255,255,0.5); overflow: hidden; animation: scaleIn 0.3s cubic-bezier(0.16,1,0.3,1); }
.language-modal-header { padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); background: #fff; }
.language-modal-header h3 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.language-modal-close { background: rgba(15,23,42,0.04); border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.language-modal-close:hover { background: var(--brand-pink); color: #fff !important; transform: rotate(90deg); }
.language-modal-body { padding: 32px; overflow-y: auto; background: var(--color-bg); }
.language-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.language-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1.5px solid var(--border-color); border-radius: 16px; text-decoration: none; color: var(--text-main); transition: all 0.2s; position: relative; overflow: hidden; }
.language-card:hover { border-color: var(--brand-purple); box-shadow: 0 10px 24px rgba(114,9,183,0.08); transform: translateY(-2px); }
.language-card.active { border-color: var(--brand-pink); background: rgba(255,75,145,0.04); }
.language-card .lang-code { font-size: 0.75rem; font-weight: 800; color: #fff; background: var(--brand-purple); padding: 4px 8px; border-radius: 8px; flex-shrink: 0; letter-spacing: 0.5px; }
.language-card .lang-name { font-size: 0.95rem; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.language-card .lang-check { color: var(--brand-pink); flex-shrink: 0; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ===== Responsive (mega menu grid) ===== */
@media (max-width: 1100px) {
    .mega-menu-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Note: mobile nav responsive rules are in the unified nav-menu section above */


/* Merged from frontend-blocks.css */

        /* Modern Hero Specific Styles */
        .hero {
            position: relative;
            padding: 180px 0 160px;
            overflow: hidden;
            text-align: center;
        }

        .hero-bg-orbs {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            background: #FAFAFC;
        }

        .orb-1 {
            position: absolute;
            top: -100px;
            left: 10%;
            width: 500px;
            height: 500px;
            background: var(--brand-pink);
            border-radius: 50%;
            filter: blur(150px);
            opacity: 0.15;
            animation: blobBounce 20s infinite alternate;
        }

        .orb-2 {
            position: absolute;
            top: 20%;
            right: 5%;
            width: 600px;
            height: 600px;
            background: var(--brand-blue);
            border-radius: 50%;
            filter: blur(180px);
            opacity: 0.15;
            animation: blobBounce 25s infinite alternate-reverse;
        }

        .orb-3 {
            position: absolute;
            bottom: -200px;
            left: 30%;
            width: 700px;
            height: 700px;
            background: var(--brand-purple);
            border-radius: 50%;
            filter: blur(200px);
            opacity: 0.1;
        }

        .hero h1 {
            font-size: 5rem;
            font-weight: 900;
            letter-spacing: -2.5px;
            line-height: 1.05;
            margin-bottom: 24px;
            color: var(--text-main);
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero p {
            font-size: 1.375rem;
            color: var(--text-muted);
            max-width: 650px;
            margin: 0 auto 48px;
            line-height: 1.6;
            font-weight: 400;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            justify-content: center;
        }

        /* Modern Section specific */
        .section {
            padding: 120px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-label {
            display: inline-block;
            background: rgba(114, 9, 183, 0.08);
            color: var(--brand-purple);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 24px;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 800;
            letter-spacing: -1.5px;
            color: var(--text-main);
            margin-bottom: 24px;
            line-height: 1.1;
        }

        .section-desc {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Glass Cards: Features */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: var(--radius-lg);
            padding: 48px 40px;
            box-shadow: var(--shadow-sm);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 4px;
            background: var(--brand-gradient);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            background: #fff;
        }

        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-icon-wrapper {
            width: 64px;
            height: 64px;
            background: rgba(114, 9, 183, 0.05);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 32px;
            color: var(--brand-purple);
            transition: all 0.3s ease;
        }

        .feature-card:hover .feature-icon-wrapper {
            background: var(--brand-gradient);
            color: #fff;
            transform: scale(1.1) rotate(-5deg);
        }

        .feature-icon-wrapper svg { width: 32px; height: 32px; }

        .feature-card h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .feature-card p {
            font-size: 1.0625rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* Modern Pricing */
        .pricing-section {
            background: #fff;
            border-top: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }

        .pricing-card {
            background: #FAFAFC;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 56px 48px;
            display: flex;
            flex-direction: column;
            transition: all 0.4s ease;
            position: relative;
        }

        .pricing-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: rgba(114, 9, 183, 0.2);
        }

        .pricing-card.featured {
            background: var(--text-main);
            color: #fff;
            border: none;
            box-shadow: var(--shadow-lg);
            transform: scale(1.05);
        }

        .pricing-card.featured:hover {
            transform: scale(1.05) translateY(-8px);
            box-shadow: 0 30px 60px rgba(15, 23, 42, 0.4);
        }

        .pricing-badge {
            position: absolute;
            top: -16px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--brand-gradient);
            color: #fff;
            font-size: 0.8125rem;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 8px 24px;
            border-radius: 50px;
            box-shadow: var(--shadow-glow);
        }

        .pricing-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 12px;
            text-transform: capitalize;
        }
        
        .pricing-card.featured h3 { color: #fff; }

        .pricing-price {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 32px;
        }

        .pricing-price .amount {
            font-size: 4rem;
            font-weight: 900;
            letter-spacing: -2px;
            line-height: 1;
            color: var(--text-main);
        }
        
        .pricing-card.featured .pricing-price .amount { color: #fff; }

        .pricing-price .period {
            font-size: 1.125rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .pricing-card.featured .pricing-price .period {
            color: rgba(255,255,255,0.6);
        }

        .pricing-limits {
            margin-bottom: 32px;
            padding-bottom: 32px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .pricing-card.featured .pricing-limits {
            border-color: rgba(255,255,255,0.1);
        }

        .pricing-limit {
            font-size: 0.9375rem;
            color: var(--text-muted);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .pricing-card.featured .pricing-limit {
            color: rgba(255,255,255,0.8);
        }

        .pricing-limit strong { color: var(--text-main); font-weight: 700; }
        .pricing-card.featured .pricing-limit strong { color: #fff; }

        .pricing-features {
            list-style: none;
            padding: 0;
            margin: 0 0 40px;
            flex: 1;
        }

        .pricing-features li {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 12px 0;
            font-size: 1.0625rem;
            font-weight: 500;
        }

        .pricing-features li svg {
            width: 24px;
            height: 24px;
            color: var(--brand-purple);
            flex-shrink: 0;
        }

        .pricing-card.featured .pricing-features li { color: #F1F5F9; }
        .pricing-card.featured .pricing-features li svg { color: var(--brand-pink); }

        .featured-btn {
            background: #fff;
            color: var(--text-main);
        }
        .featured-btn:hover {
            background: #F8FAFC;
        }

        /* Inner Page Content Card (if homepage content is rendered) */
        .page-content-card {
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 48px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            color: var(--text-body);
            font-size: 1.125rem;
            line-height: 1.8;
            max-width: 800px;
            margin: 0 auto;
        }

        @media (max-width: 1024px) {
            .hero h1 { font-size: 4rem; }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .pricing-card.featured { transform: scale(1); }
            .pricing-card.featured:hover { transform: translateY(-8px); }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 3rem; }
            .hero { padding: 140px 0 100px; }
            .features-grid { grid-template-columns: 1fr; }
            .pricing-grid { grid-template-columns: 1fr; }
            .section-title { font-size: 2.5rem; }
        }

        /* ===== Search Boxes ===== */
        .desktop-search-wrapper { margin-right: 12px; position: relative; }
        .desktop-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
        .desktop-search-input { padding: 8px 16px 8px 38px; border-radius: 50px; border: 1px solid rgba(15, 23, 42, 0.1); font-size: 0.875rem; width: 180px; background: rgba(15, 23, 42, 0.02); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); outline: none; color: var(--text-main); font-weight: 500; }
        .desktop-search-input:focus { background: #fff; border-color: var(--brand-purple); box-shadow: 0 0 0 3px rgba(114,9,183,0.1); width: 240px; }
        .mobile-search-wrapper { padding: 16px; position: relative; }
        .mobile-search-icon { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
        .mobile-search-input { width: 100%; padding: 12px 16px 12px 44px; border-radius: var(--radius-md); border: 1px solid rgba(15, 23, 42, 0.1); font-size: 1rem; background: rgba(15, 23, 42, 0.04); outline: none; color: var(--text-main); font-weight: 500; transition: all 0.2s ease; }
        .mobile-search-input:focus { border-color: var(--brand-purple); background: #fff; }

        /* ===== Search Results Page ===== */
        .search-header-container { text-align: center; max-width: 800px; margin-bottom: 48px; margin-left: auto; margin-right: auto; }
        .search-title { font-size: 3rem; font-weight: 900; letter-spacing: -1.5px; margin: 0 0 12px; color: var(--text-main); }
        .search-subtitle { font-size: 1.125rem; color: var(--text-muted); }
        .search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
        .search-card-link { text-decoration: none; display: block; }
        .search-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); height: 100%; display: flex; flex-direction: column; padding: 24px; }
        .search-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .search-card-body { flex: 1; display: flex; flex-direction: column; }
        .search-card-title { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.3px; line-height: 1.3; }
        .search-card-subtitle { font-size: 0.95rem; color: var(--brand-purple); margin-bottom: 12px; font-weight: 600; }
        .search-card-content { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }
        .search-card-footer { margin-top: 20px; color: var(--brand-purple); font-size: 0.875rem; font-weight: 700; display: flex; align-items: center; gap: 4px; }
        .search-pagination { margin-top: 40px; display: flex; justify-content: center; }
        .search-no-results { text-align: center; padding: 60px 0; color: var(--text-muted); }
        .search-no-results-icon { margin: 0 auto 16px; display: block; }
        .search-no-results-text { font-size: 1.125rem; }
        .search-page-form-wrapper { max-width: 600px; margin: 0 auto 60px; padding: 40px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .search-page-form { display: flex; gap: 12px; }
        .search-page-input { flex: 1; padding: 16px 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); font-size: 1.125rem; outline: none; transition: border-color 0.3s; color: var(--text-main); }
        .search-page-input:focus { border-color: var(--brand-purple); }
        .search-page-btn { padding: 16px 32px; font-size: 1.125rem; border-radius: var(--radius-md); }
        @media (max-width: 768px) {
            .search-page-form { flex-direction: column; }
            .search-page-btn { width: 100%; }
        }

        /* ===== Static Page Specifics ===== */
        .page-header-container { text-align: center; max-width: 800px; margin-bottom: 48px; margin-left: auto; margin-right: auto; }
        .page-title { font-size: 3.5rem; font-weight: 900; letter-spacing: -1.5px; margin: 0 0 16px; color: var(--text-main); line-height: 1.1; }
        .page-subtitle { font-size: 1.25rem; color: var(--text-muted); line-height: 1.7; }
        .page-content-container { max-width: 800px; margin-left: auto; margin-right: auto; }
        .home-content-section { background: #FAFAFC; }

/* ===== Extracted Inline Styles ===== */
.navbar-logo { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.navbar-brand-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; }

.fw-600 { font-weight: 600; }
.text-center { text-align: center; border:0; }
.d-none { display: none; }

/* mobile-drawer-brand-text removed (unified nav-menu) */

.mobile-lang-wrapper { margin-top: 16px; }
.mobile-lang-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: rgba(15, 23, 42, 0.04); border-radius: 12px; font-weight: 700; font-size: 0.95rem; color: var(--text-main); border: none; cursor: pointer; }
.mobile-lang-btn-inner { display: flex; gap: 8px; align-items: center; }
.mobile-lang-dropdown { display: none; padding-top: 8px; flex-direction: column; gap: 4px; margin-top: 4px; }
.mobile-lang-dropdown[style*="display: block"] { display: flex !important; }
.mobile-lang-item { padding: 12px 16px; display: block; border-radius: 10px; font-weight: 600; text-decoration: none; }
.mobile-lang-item.active { background: rgba(142, 68, 173, 0.08); color: var(--brand-purple); }
.mobile-lang-item:not(.active) { background: transparent; color: var(--text-muted); }
.mobile-lang-check { float: right; }

.svg-rotate-transition { transition: transform 0.2s; }

.footer-logo-img { height: 28px; width: auto; object-fit: contain; }

/* ===== Listing Page ===== */
.listing-container { max-width: 1000px; }
.breadcrumb-nav { margin-bottom: 24px; font-size: 0.875rem; color: var(--text-muted); }
.breadcrumb-link { color: var(--text-muted); text-decoration: none; }
.breadcrumb-link:hover { color: var(--brand-purple); }
.breadcrumb-sep { margin: 0 8px; }
.breadcrumb-current { color: var(--text-main); font-weight: 500; }

.listing-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }

.listing-main-img-wrap { border-radius: var(--radius-md); overflow: hidden; background: #f0f0f5; margin-bottom: 12px; }
.listing-main-img { width: 100%; max-height: 500px; object-fit: contain; display: block; }
.listing-thumbs-wrap { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.listing-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.listing-thumb.active, .listing-thumb:hover { border-color: var(--brand-purple); }

.listing-label-badge { display: inline-block; padding: 6px 14px; border-radius: 50px; font-size: 0.8125rem; font-weight: 700; margin-bottom: 12px; }
.listing-title { font-size: 2.25rem; font-weight: 900; letter-spacing: -1px; margin: 0 0 16px; color: var(--text-main); }
.listing-price { font-size: 1.75rem; font-weight: 800; color: var(--brand-purple); margin-bottom: 24px; }

.listing-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.listing-tag { padding: 6px 14px; border-radius: 50px; font-size: 0.8125rem; font-weight: 600; background: rgba(15,23,42,0.05); color: var(--text-muted); }

.listing-card { background: #fff; border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--border-color); margin-bottom: 24px; }
.listing-card.desc-card { padding: 28px; line-height: 1.8; color: var(--text-main); font-size: 1rem; }
.listing-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text-main); }

.listing-details-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.listing-detail-item { padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.listing-detail-label { font-size: 0.8125rem; color: var(--text-muted); display: block; }
.listing-detail-value { font-weight: 600; color: var(--text-main); }

.listing-contact-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.listing-contact-btn { flex: 1; min-width: 160px; justify-content: center; gap: 8px; }

/* ===== Tenant Page ===== */
.tenant-header-container { text-align: center; max-width: 800px; margin-bottom: 48px; margin-left: auto; margin-right: auto; }
.tenant-logo-wrap { margin-bottom: 20px; }
.tenant-logo { height: 80px; width: auto; max-width: 200px; object-fit: contain; border-radius: 12px; }
.tenant-title { font-size: 3rem; font-weight: 900; letter-spacing: -1.5px; margin: 0 0 12px; color: var(--text-main); }
.tenant-subtitle { font-size: 1.125rem; color: var(--text-muted); }

.tenant-listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tenant-listing-link { text-decoration: none; display: block; height: 100%; }
.tenant-listing-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); height: 100%; display: flex; flex-direction: column; }
.tenant-listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.tenant-listing-cover-wrap { height: 200px; background: linear-gradient(135deg, #f0f0f5, #e8e8f0); overflow: hidden; flex-shrink: 0; }
.tenant-listing-cover { width: 100%; height: 100%; object-fit: cover; }
.tenant-listing-no-cover { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

.tenant-listing-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.tenant-listing-label { display: inline-block; padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; align-self: flex-start; }
.tenant-listing-title { font-size: 1.125rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px; letter-spacing: -0.3px; }
.tenant-listing-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.tenant-listing-price { margin-top: auto; padding-top: 12px; font-size: 1.25rem; font-weight: 800; color: var(--brand-purple); }

.tenant-pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.tenant-no-listings { text-align: center; padding: 60px 0; color: var(--text-muted); }
.tenant-no-listings-icon { margin: 0 auto 16px; display: block; }
.tenant-no-listings-text { font-size: 1.125rem; }

/* ===== Child Pages — Premium Champagne Design ===== */
.child-pages-section {
    padding: 80px 0;
    position: relative;
}

.child-pages-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.child-pages-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin: 0;
}

.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.child-page-link {
    text-decoration: none;
    display: block;
    height: 100%;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,75,145,0.3), rgba(114,9,183,0.3), rgba(67,97,238,0.3));
    padding: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.child-page-link:hover {
    background: linear-gradient(135deg, rgba(255,75,145,0.7), rgba(114,9,183,0.7), rgba(67,97,238,0.7));
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 40px -8px rgba(114, 9, 183, 0.18),
        0 0 40px rgba(255, 126, 179, 0.12);
}

.child-page-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease;
}

.child-page-link:hover .child-page-card {
    background: rgba(255, 255, 255, 0.95);
}

.child-page-cover-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.child-page-cover-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
    pointer-events: none;
}

.child-page-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.child-page-link:hover .child-page-cover {
    transform: scale(1.08);
}

/* Fallback icon for cards without cover image */
.child-page-icon-wrap {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(114,9,183,0.04), rgba(67,97,238,0.06));
    flex-shrink: 0;
}

.child-page-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(114, 9, 183, 0.25);
    transition: transform 0.3s ease;
}

.child-page-link:hover .child-page-icon {
    transform: scale(1.1) rotate(-5deg);
}

.child-page-icon svg {
    width: 28px;
    height: 28px;
}

.child-page-body {
    padding: 28px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.child-page-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.child-page-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.child-page-readmore {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(114,9,183,0.08), rgba(67,97,238,0.08));
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.child-page-link:hover .child-page-readmore {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(114, 9, 183, 0.25);
}

.child-page-readmore svg {
    transition: transform 0.3s ease;
}

.child-page-link:hover .child-page-readmore svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .child-pages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .child-page-body {
        padding: 24px;
    }
}

/* ===== Pricing Templates ===== */
.pricing-no-plans { text-align: center; padding: 48px 0; color: var(--text-muted); font-size: 1.25rem; }

.pricing-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-color); padding: 24px; transition: all 0.3s ease; }
.pricing-card:hover { border-color: var(--brand-purple); box-shadow: var(--shadow-md); }

/* Current Plan Highlight */
.pricing-card.current-plan {
    border: 2px solid #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}
.pricing-card.current-plan:hover {
    border-color: #16a34a;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2);
}

/* ===== Comment Section ===== */
.comment-section { padding: 60px 0 0; }

.comment-section-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.comment-section-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.comment-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.comment-section-title svg { color: var(--brand-purple); flex-shrink: 0; }

.comment-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 50px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Comment Form */
.comment-form-card {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.comment-form-body { flex: 1; }

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.comment-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: var(--text-main);
    line-height: 1.6;
}

.comment-textarea:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.08);
}

.comment-textarea.reply {
    padding: 10px 14px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.comment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.comment-char-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.comment-char-count.over { color: #ef4444; }

.comment-submit-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-submit-btn:hover:not(:disabled) {
    box-shadow: 0 4px 16px rgba(114, 9, 183, 0.3);
    transform: translateY(-1px);
}

.comment-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comment-submit-btn.sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.comment-error {
    margin-top: 8px;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Login Prompt */
.comment-login-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
    background: rgba(114, 9, 183, 0.04);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(114, 9, 183, 0.2);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.comment-login-prompt svg { color: var(--brand-purple); flex-shrink: 0; }

.comment-login-btn {
    margin-left: auto;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-login-btn:hover {
    box-shadow: 0 4px 16px rgba(114, 9, 183, 0.3);
    transform: translateY(-1px);
}

/* Comment List */
.comment-list { display: flex; flex-direction: column; gap: 0; }

.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.comment-item:last-child { border-bottom: none; }

.comment-item-main {
    display: flex;
    gap: 14px;
}

/* Vote Column */
.comment-vote-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    min-width: 36px;
}

.comment-vote-col.sm { min-width: 28px; }

.comment-vote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.comment-vote-btn:hover { color: var(--brand-purple); background: rgba(114, 9, 183, 0.06); }
.comment-vote-btn.active { color: var(--brand-purple); }
.comment-vote-btn.active.down { color: #ef4444; }

.comment-vote-btn.sm { width: 24px; height: 22px; }

.comment-vote-score {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    line-height: 1;
    min-width: 20px;
    text-align: center;
}

.comment-vote-score.sm { font-size: 0.75rem; }
.comment-vote-score.positive { color: var(--brand-purple); }
.comment-vote-score.negative { color: #ef4444; }

/* Content Column */
.comment-content-col { flex: 1; min-width: 0; }

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.15), rgba(67, 97, 238, 0.15));
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.comment-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-body {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
}

.comment-actions-row {
    margin-top: 8px;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--brand-purple);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity 0.2s;
}

.comment-reply-btn:hover { opacity: 0.7; }

.comment-reply-form {
    margin-top: 12px;
    padding-left: 0;
}

/* Nested Replies */
.comment-replies {
    margin-top: 16px;
    padding-left: 16px;
    border-left: 2px solid rgba(114, 9, 183, 0.12);
}

.comment-reply-item {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.comment-reply-item:last-child { border-bottom: none; }

/* Loading / Empty / Load More */
.comment-loading {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    color: var(--brand-purple);
}

.comment-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.comment-empty svg {
    margin: 0 auto 12px;
    display: block;
    color: #cbd5e1;
}

.comment-empty p {
    font-size: 0.95rem;
    margin: 0;
}

.comment-load-more {
    text-align: center;
    padding-top: 16px;
}

.comment-load-more-btn {
    padding: 10px 28px;
    border-radius: 50px;
    background: rgba(114, 9, 183, 0.06);
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid rgba(114, 9, 183, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-load-more-btn:hover:not(:disabled) {
    background: rgba(114, 9, 183, 0.12);
    border-color: rgba(114, 9, 183, 0.3);
}

.comment-load-more-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.comment-spinner { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mention Badge */
.comment-mention {
    display: inline;
    background: rgba(114, 9, 183, 0.1);
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 0.875em;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: -0.2px;
}

/* Responsive */
@media (max-width: 768px) {
    .comment-section-card { padding: 24px 16px; }
    .comment-form-card { flex-direction: column; gap: 12px; padding: 16px; }
    .comment-form-avatar { display: none; }
    .comment-login-prompt { flex-direction: column; text-align: center; gap: 8px; }
    .comment-login-btn { margin-left: 0; }
    .comment-vote-col { min-width: 28px; }
    .comment-vote-btn { width: 26px; height: 24px; }
    .comment-replies { padding-left: 10px; }
}

/* -------------------------------------
 * Other Language Comments Modal
 * ------------------------------------- */

.comment-other-lang-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin: 0 0 24px 0;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.comment-other-lang-banner:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.comment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.comment-modal-content {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

[data-theme="dark"] .comment-modal-content {
    background: #1e1e2d;
    border-color: rgba(255,255,255,0.1);
}

.comment-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: #f8f9fa;
}

[data-theme="dark"] .comment-modal-header {
    background: #151521;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comment-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.comment-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 0.8;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.comment-modal-close:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.comment-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

