/* ================================================================
   home.css — Landing Page (RTL Persian)
   Brand: #1a1040  Accent: #6610f2
   ================================================================ */

/* ---------- Section Shared ---------- */
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1a1040;
    margin-bottom: .5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* ======================== HERO ======================== */
.hero-section {
    background: linear-gradient(135deg, #0d0820 0%, #1a1040 50%, #2d1b69 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 40%, rgba(102, 16, 242, .2) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, .1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(102, 16, 242, .2);
    border: 1px solid rgba(102, 16, 242, .4);
    border-radius: 50px;
    padding: .45rem 1.1rem;
    font-size: .82rem;
    color: #c4b5fd;
    backdrop-filter: blur(8px);
    margin-bottom: 1.25rem;
}

/* Heading */
.hero-title {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: #fff;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #a78bfa, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* CTA Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #6610f2, #8a40f8);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 8px 24px rgba(102, 16, 242, .4);
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 16, 242, .5);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 12px;
    padding: .85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s, border-color .2s, transform .2s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
}

.stat-text {
    font-size: .75rem;
    color: rgba(255, 255, 255, .55);
    margin-top: .3rem;
    text-align: center;
}

.hero-stats-divider {
    width: 1px;
    background: rgba(255, 255, 255, .15);
    align-self: stretch;
}

/* Browser Mockup */
.hero-mockup {
    perspective: 1200px;
}

.mockup-browser {
    width: 460px;
    max-width: 100%;
    background: #1e293b;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, .5),
        0 0 0 1px rgba(255, 255, 255, .06);
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform .4s ease;
}

.mockup-browser:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.browser-bar {
    background: #0f172a;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.red    { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green  { background: #22c55e; }

.browser-url {
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .45);
    font-size: .72rem;
    padding: .25rem .75rem;
    border-radius: 4px;
    margin-right: .75rem;
    flex: 1;
    font-family: monospace;
}

.browser-content {
    padding: 1rem;
    background: #f8f9fa;
}

.mock-navbar {
    height: 30px;
    background: linear-gradient(90deg, #1a1040, #6610f2);
    border-radius: 5px;
    margin-bottom: .65rem;
}

.mock-hero-bar {
    height: 64px;
    background: linear-gradient(90deg, #dbeafe, #c4b5fd, #e0e7ff);
    border-radius: 7px;
    margin-bottom: .65rem;
    position: relative;
    overflow: hidden;
}

.mock-hero-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.mock-card {
    height: 52px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
}

/* Mobile hero */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3.5rem 0 3rem;
        text-align: center;
    }

    .hero-badge { margin: 0 auto 1.25rem; }

    .hero-stats { justify-content: center; }

    .hero-cta-group {
        justify-content: center !important;
    }
}

/* ======================== FEATURES ======================== */
.features-section {
    background: #fff;
    padding: 5rem 0;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    border: 1.5px solid #eef0f5;
    padding: 2rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26, 16, 64, .1);
    border-color: #c4b5fd;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1040;
    margin-bottom: .5rem;
}

.feature-card p {
    color: #6c757d;
    font-size: .9rem;
    margin: 0;
    line-height: 1.7;
}

/* icon color pairs */
.bg-primary-soft { background: #dbeafe; }
.bg-success-soft { background: #dcfce7; }
.bg-info-soft    { background: #cffafe; }
.bg-warning-soft { background: #fef9c3; }
.bg-danger-soft  { background: #fee2e2; }
.bg-purple-soft  { background: #ede9fe; }
.text-purple     { color: #7c3aed; }

/* ======================== VIP ======================== */
.vip-section {
    background: #f8f9fc;
    padding: 5rem 0;
}

.vip-label {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: .45rem 1.25rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.vip-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem;
    text-align: center;
    border: 2px solid #fde68a;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.vip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(245, 158, 11, .18);
}

.vip-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, .35);
}

.vip-card h5 {
    font-weight: 700;
    color: #1a1040;
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.vip-card p {
    color: #6c757d;
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 50px;
    padding: .3rem .95rem;
    font-size: .78rem;
    font-weight: 700;
}

/* ======================== PLANS PREVIEW ======================== */
.plans-preview-section {
    background:
        radial-gradient(circle at 12% 8%, rgba(124, 58, 237, .12) 0%, transparent 45%),
        radial-gradient(circle at 88% 92%, rgba(56, 189, 248, .12) 0%, transparent 45%),
        linear-gradient(180deg, #fafaff 0%, #f1ecff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* ─── Base card — glassmorphism روشن ─── */
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 2.5rem 1.9rem 2rem;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .92) 0%, rgba(248, 245, 255, .85) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* گرادیان بوردر با background-clip trick */
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .9) inset,
        0 14px 40px -12px rgba(45, 27, 105, .14);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
}

.plan-card::before {
    /* لایه‌ی بوردر گرادیانی */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    padding: 2px;
    background: var(--plan-border, linear-gradient(135deg, #c4b5fd 0%, #818cf8 100%));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .9) inset,
        0 26px 56px -14px var(--plan-glow, rgba(102, 16, 242, .28));
}

/* هالة رنگی نرم پشت کارت */
.plan-card-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -120px;
    right: -80px;
    border-radius: 50%;
    background: var(--plan-glow-color, radial-gradient(circle, rgba(124, 58, 237, .18) 0%, transparent 70%));
    filter: blur(18px);
    z-index: -1;
    pointer-events: none;
}

/* آیکون دایره‌ای */
.plan-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
    background: var(--plan-icon-bg, linear-gradient(135deg, #ede9fe, #ddd6fe));
    color: var(--plan-icon-color, #6610f2);
    box-shadow: 0 8px 22px -6px var(--plan-glow, rgba(102, 16, 242, .35));
    transition: transform .3s;
}

.plan-card:hover .plan-icon-wrap { transform: scale(1.08) rotate(-3deg); }

.plan-name {
    font-weight: 800;
    font-size: 1.35rem;
    margin: 0 0 .35rem;
    color: var(--plan-name-color, #1a1040);
}

.plan-tagline {
    font-size: .84rem;
    color: #8b85a6;
    margin: 0 0 1.4rem;
    min-height: 1.4rem;
}

.plan-price {
    margin-bottom: .5rem;
    line-height: 1;
}

.plan-price .price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--plan-name-color, #1a1040);
    letter-spacing: -1px;
}

.plan-price .unit {
    color: #9b95b8;
    font-size: .82rem;
    margin-right: .35rem;
}

.plan-yearly {
    font-size: .8rem;
    color: #9b95b8;
    margin-bottom: 1.5rem;
}

.plan-yearly strong {
    color: var(--plan-accent, #6610f2);
    font-weight: 700;
}

/* لیست ویژگی‌ها */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    width: 100%;
    text-align: right;
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding-top: 1.2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .5rem .2rem;
    font-size: .88rem;
    line-height: 1.5;
}

.plan-features li i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
}

.plan-features .pf-base {
    color: #4a4663;
}

.plan-features .pf-base i {
    background: var(--plan-icon-bg, #ede9fe);
    color: var(--plan-icon-color, #6610f2);
}

.plan-features .pf-included {
    color: #6b7280;
    font-size: .82rem;
    font-weight: 600;
    padding-bottom: .7rem;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
    margin-bottom: .3rem;
    text-align: center;
    justify-content: center;
}

.plan-features .pf-included::before {
    content: "✓";
    color: #16a34a;
    font-weight: 800;
    margin-left: 6px;
}

.plan-features .pf-vip {
    color: #2e1065;
    font-weight: 600;
}

.plan-features .pf-vip i {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
}

/* دکمه‌ها */
.plan-cta {
    margin-top: auto;
    width: 100%;
    padding: .82rem 1rem;
    border-radius: 14px;
    font-size: .93rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .15s, box-shadow .25s, background .25s, color .25s;
}

.plan-cta i { font-size: .78rem; transition: transform .25s; }
.plan-cta:hover i { transform: translateX(-3px); }

/* دکمه شیشه‌ای برای پلن پایه */
.plan-cta-glass {
    background: rgba(255, 255, 255, .6);
    color: var(--plan-name-color, #1a1040);
    border: 1.5px solid var(--plan-accent, #6610f2);
    backdrop-filter: blur(8px);
}

.plan-cta-glass:hover {
    background: var(--plan-accent, #6610f2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px var(--plan-glow, rgba(102, 16, 242, .45));
}

/* دکمه پررنگ برای پلن حرفه‌ای */
.plan-cta-solid {
    background: var(--plan-accent, linear-gradient(135deg, #6610f2, #8b5cf6));
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px -6px var(--plan-glow, rgba(102, 16, 242, .5));
}

.plan-cta-solid:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px var(--plan-glow, rgba(102, 16, 242, .65));
}

/* ─── Badge پرطرفدار ─── */
.plan-badge-top {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #422006;
    font-size: .72rem;
    font-weight: 800;
    padding: .28rem .8rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 6px 16px -4px rgba(245, 158, 11, .55);
    z-index: 2;
}

/* ─── Featured variant — تیره و پررنگ ─── */
.plan-card.is-featured {
    background:
        linear-gradient(160deg, var(--plan-bg-from) 0%, var(--plan-bg-to) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .08) inset,
        0 22px 56px -16px var(--plan-glow, rgba(102, 16, 242, .55));
}

.plan-card.is-featured::before {
    background: var(--plan-border-featured, linear-gradient(135deg, rgba(255, 255, 255, .5) 0%, rgba(196, 181, 253, .35) 100%));
}

.plan-card.is-featured .plan-name { color: #fff; }
.plan-card.is-featured .plan-tagline { color: rgba(255, 255, 255, .65); }
.plan-card.is-featured .plan-price .price { color: #fde68a; }
.plan-card.is-featured .plan-price .unit { color: rgba(255, 255, 255, .55); }
.plan-card.is-featured .plan-yearly { color: rgba(255, 255, 255, .55); }
.plan-card.is-featured .plan-yearly strong { color: #fbbf24; }
.plan-card.is-featured .plan-features { border-top-color: rgba(255, 255, 255, .12); }
.plan-card.is-featured .pf-included {
    color: rgba(255, 255, 255, .7);
    border-bottom-color: rgba(255, 255, 255, .1);
}
.plan-card.is-featured .pf-included::before { color: #86efac; }
.plan-card.is-featured .pf-vip { color: #fff; }
.plan-card.is-featured .plan-card-glow {
    background: var(--plan-glow-color-featured, radial-gradient(circle, rgba(251, 191, 36, .25) 0%, transparent 70%));
}

/* ═══ Color variants — هر محصول رنگ خودش ═══ */

/* فروشگاه — بنفش (پیش‌فرض) */
.plan-v-store {
    --plan-accent: #6610f2;
    --plan-icon-color: #6610f2;
    --plan-icon-bg: linear-gradient(135deg, #ede9fe, #ddd6fe);
    --plan-name-color: #1a1040;
    --plan-glow: rgba(102, 16, 242, .35);
    --plan-glow-color: radial-gradient(circle, rgba(124, 58, 237, .2) 0%, transparent 70%);
    --plan-border: linear-gradient(135deg, #c4b5fd 0%, #818cf8 100%);
    /* featured */
    --plan-bg-from: #1a1040;
    --plan-bg-to: #6610f2;
    --plan-glow-color-featured: radial-gradient(circle, rgba(251, 191, 36, .22) 0%, transparent 70%);
}

/* سایت شخصی — آبی آسمانی */
.plan-v-sky {
    --plan-accent: #0ea5e9;
    --plan-icon-color: #0369a1;
    --plan-icon-bg: linear-gradient(135deg, #e0f2fe, #bae6fd);
    --plan-name-color: #0c4a6e;
    --plan-glow: rgba(14, 165, 233, .32);
    --plan-glow-color: radial-gradient(circle, rgba(14, 165, 233, .2) 0%, transparent 70%);
    --plan-border: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
    --plan-bg-from: #082030;
    --plan-bg-to: #0ea5e9;
    --plan-glow-color-featured: radial-gradient(circle, rgba(125, 211, 252, .25) 0%, transparent 70%);
}

/* روانشناسی — ارکید / ارغوانی */
.plan-v-orchid {
    --plan-accent: #c026d3;
    --plan-icon-color: #86198f;
    --plan-icon-bg: linear-gradient(135deg, #fae8ff, #f5d0fe);
    --plan-name-color: #4a044e;
    --plan-glow: rgba(192, 38, 211, .3);
    --plan-glow-color: radial-gradient(circle, rgba(192, 38, 211, .2) 0%, transparent 70%);
    --plan-border: linear-gradient(135deg, #e879f9 0%, #d946ef 100%);
    --plan-bg-from: #3b0764;
    --plan-bg-to: #a21caf;
    --plan-glow-color-featured: radial-gradient(circle, rgba(240, 171, 252, .25) 0%, transparent 70%);
}

/* سایت خبری — خاکستری-نیلی */
.plan-v-slate {
    --plan-accent: #475569;
    --plan-icon-color: #334155;
    --plan-icon-bg: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    --plan-name-color: #0f172a;
    --plan-glow: rgba(71, 85, 105, .28);
    --plan-glow-color: radial-gradient(circle, rgba(100, 116, 139, .2) 0%, transparent 70%);
    --plan-border: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    --plan-bg-from: #0f2027;
    --plan-bg-to: #475569;
    --plan-glow-color-featured: radial-gradient(circle, rgba(148, 163, 184, .25) 0%, transparent 70%);
}

/* کلینیک — سبز زمردی */
.plan-v-green {
    --plan-accent: #059669;
    --plan-icon-color: #047857;
    --plan-icon-bg: linear-gradient(135deg, #d1fae5, #a7f3d0);
    --plan-name-color: #064e3b;
    --plan-glow: rgba(5, 150, 105, .3);
    --plan-glow-color: radial-gradient(circle, rgba(16, 185, 129, .2) 0%, transparent 70%);
    --plan-border: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    --plan-bg-from: #052e16;
    --plan-bg-to: #059669;
    --plan-glow-color-featured: radial-gradient(circle, rgba(110, 231, 183, .25) 0%, transparent 70%);
}

/* وکالت — ایندیگو عمیق */
.plan-v-indigo {
    --plan-accent: #2563eb;
    --plan-icon-color: #1d4ed8;
    --plan-icon-bg: linear-gradient(135deg, #dbeafe, #bfdbfe);
    --plan-name-color: #1e3a8a;
    --plan-glow: rgba(37, 99, 235, .3);
    --plan-glow-color: radial-gradient(circle, rgba(59, 130, 246, .2) 0%, transparent 70%);
    --plan-border: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    --plan-bg-from: #1e3a5f;
    --plan-bg-to: #2563eb;
    --plan-glow-color-featured: radial-gradient(circle, rgba(147, 197, 253, .25) 0%, transparent 70%);
}

/* ─── Mobile tweaks ─── */
@media (max-width: 575.98px) {
    .plan-card { padding: 2rem 1.4rem 1.7rem; }
    .plan-price .price { font-size: 2rem; }
    .plan-icon-wrap { width: 56px; height: 56px; font-size: 1.4rem; }
}

/* ======================== FAQ ======================== */
.faq-section {
    background: #fff;
    padding: 5rem 0;
}

.accordion-item {
    border: 1.5px solid #e9ecef !important;
    border-radius: 14px !important;
    margin-bottom: .75rem;
    overflow: hidden;
}

.accordion-item + .accordion-item {
    border-top: 1.5px solid #e9ecef !important;
}

.accordion-button {
    font-weight: 600;
    color: #1a1040;
    background: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: .95rem;
    border-radius: 14px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f0ebff, #ede9fe);
    color: #1a1040;
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(0);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(102, 16, 242, .18);
}

.accordion-body {
    color: #495057;
    font-size: .92rem;
    line-height: 1.8;
    background: #fafafa;
}

/* ======================== CONTACT CTA ======================== */
.contact-cta-section {
    background: #f8f9fc;
    padding: 4rem 0 5rem;
}

.contact-cta-card {
    background: linear-gradient(135deg, #0d0820 0%, #1a1040 50%, #2d1b69 100%);
    border-radius: 28px;
    color: #fff;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(102, 16, 242, .2) 0%, transparent 60%);
    pointer-events: none;
}

.contact-cta-card h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: .75rem;
    position: relative;
}

.contact-cta-card .sub {
    color: rgba(255, 255, 255, .65);
    margin-bottom: 2rem;
    position: relative;
}

.cta-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .25);
    color: #fff;
    text-decoration: none;
    padding: .85rem 1.75rem;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 600;
    transition: background .2s, transform .2s;
    backdrop-filter: blur(4px);
    position: relative;
}

.cta-contact-btn:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    transform: translateY(-2px);
}

.cta-contact-btn i {
    font-size: 1.15rem;
}

/* ================================================================
   DEMO SECTION
   ================================================================ */
.demo-section {
    padding: 4rem 0;
    background: #f5f3ff;
}

.demo-card {
    background: linear-gradient(160deg, #0d0820 0%, #1a1040 55%, #2d1b69 100%);
    border-radius: 28px;
    padding: 3rem 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26,16,64,.45);
}

.demo-card::before {
    content: '';
    position: absolute;
    top: -80px; left: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(102,16,242,.3) 0%, transparent 70%);
    pointer-events: none;
}

.demo-card::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(6,182,212,.18) 0%, transparent 70%);
    pointer-events: none;
}

.demo-card-top {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(102,16,242,.3);
    border: 1px solid rgba(102,16,242,.5);
    color: #c4b5fd;
    border-radius: 50px;
    padding: .35rem 1rem;
    font-size: .83rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: .3px;
}

.demo-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}

.demo-subtitle {
    font-size: .97rem;
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

.btn-demo-live {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: linear-gradient(135deg, #6610f2, #8b5cf6);
    color: #fff;
    border-radius: 50px;
    padding: .75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(102,16,242,.45);
    transition: transform .2s, box-shadow .2s;
    border: none;
}

.btn-demo-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(102,16,242,.55);
    color: #fff;
}

.demo-live-dot {
    width: 10px; height: 10px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74,222,128,.25);
    animation: live-pulse 1.6s infinite;
    flex-shrink: 0;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.4); }
    50%       { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

/* Credentials grid */
.demo-creds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.demo-cred-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    transition: border-color .2s, background .2s;
}

.demo-cred-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
}

.demo-cred-admin { border-color: rgba(139,92,246,.35); }
.demo-cred-user  { border-color: rgba(20,184,166,.35); }

.demo-cred-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

.demo-cred-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.demo-cred-admin .demo-cred-icon { background: rgba(139,92,246,.25); color: #c4b5fd; }
.demo-cred-user  .demo-cred-icon { background: rgba(20,184,166,.25); color: #5eead4; }

.demo-cred-role {
    font-size: .97rem;
    font-weight: 700;
    color: #fff;
}

.demo-cred-desc {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}

.demo-cred-badge {
    margin-right: auto;
    background: rgba(139,92,246,.3);
    color: #c4b5fd;
    border-radius: 6px;
    padding: .2rem .6rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.demo-cred-badge-user {
    background: rgba(20,184,166,.25);
    color: #5eead4;
}

.demo-cred-fields {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 1.25rem;
}

.demo-cred-field {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.dcf-label {
    font-size: .78rem;
    color: rgba(255,255,255,.45);
    min-width: 68px;
    display: flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}

.dcf-value-wrap {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: .35rem .65rem;
    flex: 1;
}

.dcf-value {
    font-size: .83rem;
    color: #e0e7ff;
    background: none;
    padding: 0;
    border: none;
    flex: 1;
    direction: ltr;
    text-align: left;
}

.dcf-copy {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    padding: 0 .2rem;
    font-size: .85rem;
    transition: color .15s;
    flex-shrink: 0;
}

.dcf-copy:hover { color: #c4b5fd; }
.dcf-copy.copied { color: #4ade80; }

.btn-demo-enter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .6rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.btn-demo-enter:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.btn-demo-admin {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fff;
}

.btn-demo-user {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
}

.demo-disclaimer {
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 640px) {
    .demo-creds-grid { grid-template-columns: 1fr; }
    .demo-title { font-size: 1.45rem; }
    .demo-card { padding: 2rem 1.25rem 1.5rem; }
}

/* ======================== HERO CAROUSEL ======================== */
#heroCarousel .carousel-item { transition: opacity .7s ease; }
#heroCarousel .mockup-browser .browser-content { position: relative; }

.hero-carousel-indicators {
    bottom: 24px;
    gap: 6px;
    margin: 0;
}
.hero-carousel-indicators [data-bs-target] {
    width: 28px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    border: none;
    opacity: 1;
    transition: all .3s;
}
.hero-carousel-indicators .active {
    width: 44px;
    background: #6610f2;
}

.hero-carousel-arrow {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    top: 50%;
    transform: translateY(-50%);
}
.hero-carousel-arrow:hover {
    background: rgba(102,16,242,0.5) !important;
    border-color: rgba(102,16,242,0.6) !important;
}
.hero-carousel-prev { right: 1.5rem; left: auto; }
.hero-carousel-next { left: 1.5rem; right: auto; }
.hero-carousel-arrow i { font-size: .9rem; color: #fff; }
.hero-carousel-arrow .carousel-control-prev-icon,
.hero-carousel-arrow .carousel-control-next-icon { display: none; }
