/* ============================================
   DreamR — Premium CSS Design System
   ============================================ */

:root {
    --primary-color: #D4AF37;
    --primary-dark: #b89221;
    --accent: #ff6b35;
    --accent-secondary: #e8523f;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   Theme Variables
   ============================================ */

/* Dark Theme (Default) */
[data-bs-theme="dark"] {
    --bg-main: #06060a;
    --bg-secondary: #0b0b12;
    --bg-card: rgba(18, 18, 28, 0.55);
    --bg-card-hover: rgba(25, 25, 40, 0.7);
    --text-main: #f0f0f5;
    --text-muted: #8a8a9a;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(212, 175, 55, 0.35);
    --glass-nav: rgba(6, 6, 10, 0.75);
    --glass-nav-scrolled: rgba(6, 6, 10, 0.92);
    --btn-glass-border: rgba(255, 255, 255, 0.15);
    --btn-glass-hover: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(255, 255, 255, 0.04);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --particle-color: rgba(212, 175, 55, 0.08);
}

/* Light Theme */
[data-bs-theme="light"] {
    --bg-main: #f4f5f7;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --text-main: #1a1a2e;
    --text-muted: #5a5a72;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(212, 175, 55, 0.4);
    --glass-nav: rgba(244, 245, 247, 0.8);
    --glass-nav-scrolled: rgba(244, 245, 247, 0.95);
    --btn-glass-border: rgba(0, 0, 0, 0.12);
    --btn-glass-hover: rgba(0, 0, 0, 0.04);
    --input-bg: rgba(0, 0, 0, 0.03);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --particle-color: rgba(212, 175, 55, 0.06);
}

/* ============================================
   Base & Body
   ============================================ */

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.4s var(--transition-smooth),
                color 0.4s var(--transition-smooth);
}

/* Dot grid background for light theme */
body[data-bs-theme="light"] {
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--accent-secondary));
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-main);
}

/* ============================================
   Utility Classes
   ============================================ */

.bg-main { background-color: var(--bg-main) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.border-theme { border-color: var(--border-color) !important; }
.text-main { color: var(--text-main) !important; }
.text-light-50 { color: var(--text-muted); }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.z-1 { position: relative; z-index: 1; }

/* ============================================
   Typography & Gradient Text
   ============================================ */

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent) 50%, var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text-shift 4s ease infinite;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

@keyframes gradient-text-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ============================================
   Glassmorphism Navbar
   ============================================ */

.glass-nav {
    background: var(--glass-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s var(--transition-smooth);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.glass-nav.scrolled {
    background: var(--glass-nav-scrolled);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom-color: var(--border-hover);
}

.glass-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border-radius: 2px;
    transition: width 0.3s var(--transition-smooth);
}

.glass-nav .nav-link:hover::after,
.glass-nav .nav-link.active::after {
    width: 70%;
}

.glass-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* ============================================
   Brand Logo
   ============================================ */

.brand-logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
    transition: transform 0.3s var(--transition-smooth);
    box-shadow: 0 0 12px var(--gold-glow);
}

.brand-logo:hover {
    transform: rotate(10deg) scale(1.1);
}

/* ============================================
   Premium Buttons
   ============================================ */

.premium-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: left 0.6s ease;
    z-index: -1;
}

.premium-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
    color: #000;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Shimmer animation on idle */
@keyframes btn-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.premium-btn.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: btn-shimmer 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.glass-btn {
    border: 1px solid var(--btn-glass-border);
    border-radius: 50px;
    padding: 12px 28px;
    backdrop-filter: blur(5px);
    color: var(--text-main);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-btn:hover {
    background: var(--btn-glass-hover);
    border-color: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

/* ============================================
   Badge Premium
   ============================================ */

.badge-premium {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    background: var(--bg-main);
}

/* Animated gradient mesh overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    animation: hero-gradient-shift 12s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes hero-gradient-shift {
    0% {
        background:
            radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    }
    100% {
        background:
            radial-gradient(ellipse at 40% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 20% 80%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
    }
}

/* Hero showcase image */
.hero-image-wrapper {
    position: relative;
}

.main-showcase {
    max-width: 75%;
    border-radius: 24px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 175, 55, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.4s ease;
}

.main-showcase:hover {
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(212, 175, 55, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.floating-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   Social Proof Strip
   ============================================ */

.social-proof-strip {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.proof-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.proof-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ============================================
   Glow Orbs (Animated)
   ============================================ */

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.35;
    will-change: transform;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    animation: orb-drift-1 18s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
    animation: orb-drift-2 22s ease-in-out infinite alternate;
}

.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.12);
    animation: orb-drift-3 20s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.1); }
    66% { transform: translate(-30px, 80px) scale(0.95); }
    100% { transform: translate(40px, -20px) scale(1.05); }
}

@keyframes orb-drift-2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, -30px) scale(1.08); }
    66% { transform: translate(40px, -60px) scale(0.92); }
    100% { transform: translate(-20px, 40px) scale(1.03); }
}

@keyframes orb-drift-3 {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-45%, -55%) scale(1.1); }
    100% { transform: translate(-55%, -45%) scale(0.95); }
}

/* ============================================
   Glass Cards (Enhanced)
   ============================================ */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s var(--transition-smooth);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

/* Animated gradient border on hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(212, 175, 55, 0) 40%,
        rgba(212, 175, 55, 0.4) 50%,
        rgba(255, 107, 53, 0.3) 60%,
        transparent 100%
    );
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: border-glow-sweep 4s ease infinite;
}

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

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow:
        var(--shadow-card),
        0 0 30px rgba(212, 175, 55, 0.08);
}

@keyframes border-glow-sweep {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* ============================================
   Feature Cards
   ============================================ */

.feature-card {
    text-align: left;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 107, 53, 0.08));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.glass-card:hover .icon-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 107, 53, 0.15));
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* ============================================
   Step Circles (How It Works)
   ============================================ */

.step-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: #000;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s var(--transition-smooth);
}

.step-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: step-ring 2s ease-in-out infinite;
}

@keyframes step-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0; }
}

/* ============================================
   Stats Section
   ============================================ */

#stats h2 {
    transition: transform 0.3s var(--transition-bounce);
}

#stats h2.counted {
    animation: stat-pop 0.4s var(--transition-bounce);
}

@keyframes stat-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ============================================
   Testimonials
   ============================================ */

#testimonials .glass-card {
    transition: all 0.4s var(--transition-smooth);
}

#testimonials .glass-card:hover {
    transform: translateY(-8px);
}

/* ============================================
   FAQ Accordion
   ============================================ */

.glass-accordion .accordion-button {
    box-shadow: none;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.glass-accordion .accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    box-shadow: none;
}

.glass-accordion .accordion-button::after {
    filter: invert(1);
    transition: transform 0.3s ease;
}

[data-bs-theme="light"] .glass-accordion .accordion-button::after {
    filter: invert(0);
}

.glass-accordion .accordion-item {
    transition: all 0.3s ease;
}

.glass-accordion .accordion-item:hover {
    border-color: var(--border-hover) !important;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: cta-pulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* ============================================
   Footer
   ============================================ */

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* ============================================
   Particle Canvas
   ============================================ */

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================
   Input Focus Glow
   ============================================ */

.form-control {
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s var(--transition-smooth);
    background: var(--input-bg) !important;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15),
                0 0 20px rgba(212, 175, 55, 0.08) !important;
    background: var(--input-bg) !important;
}

/* ============================================
   Reading Progress Bar (Terms page)
   ============================================ */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* ============================================
   Cursor Trail Particle
   ============================================ */

.cursor-particle {
    position: fixed;
    pointer-events: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    z-index: 9998;
    opacity: 0;
    animation: cursor-fade 0.8s ease forwards;
}

@keyframes cursor-fade {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

/* ============================================
   Animations — Fade In Up
   ============================================ */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ============================================
   Version Badge
   ============================================ */

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.25);
    color: #4caf50;
    font-size: 0.78rem;
    font-weight: 500;
}

.version-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf50;
    animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991.98px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .glass-nav .navbar-collapse {
        background: var(--glass-nav-scrolled);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-color);
    }

    .premium-btn.ms-lg-3 {
        margin-top: 0.5rem;
        display: block;
        text-align: center;
    }

    .glow-orb {
        opacity: 0.2;
    }

    .back-to-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .premium-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .glass-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .social-proof-strip .d-flex {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Performance Hints
   ============================================ */

.glow-orb,
.floating-img,
.premium-btn::before,
.glass-card::before,
.back-to-top {
    will-change: transform, opacity;
}

/* ============================================
   Selection Styling
   ============================================ */

/* ============================================
   Pricing Section
   ============================================ */

.pricing-card {
    position: relative;
    transition: all 0.4s var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
}

/* Popular card highlight */
.pricing-popular {
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-card), var(--bg-card)),
                      linear-gradient(135deg, var(--primary-color), var(--accent), var(--primary-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow:
        0 8px 40px rgba(212, 175, 55, 0.15),
        0 0 40px rgba(212, 175, 55, 0.06);
}

.pricing-popular:hover {
    box-shadow:
        0 12px 50px rgba(212, 175, 55, 0.25),
        0 0 60px rgba(212, 175, 55, 0.1);
}

/* Pricing badge */
.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 0 0 12px 12px;
}

.pricing-badge-value {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
}

/* Pricing icon */
.pricing-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 107, 53, 0.08));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto;
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.pricing-popular .pricing-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 107, 53, 0.15));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

/* Pricing amount */
.pricing-amount {
    position: relative;
}

.pricing-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: top;
    line-height: 1.8;
}

.pricing-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-save {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.25);
    color: #4caf50;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Pricing features list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: #4caf50;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-features li i.fa-xmark {
    color: var(--text-muted);
    opacity: 0.4;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    opacity: 0.45;
}

/* Responsive pricing */
@media (max-width: 991.98px) {
    .pricing-card {
        max-width: 340px;
        margin: 0 auto;
    }
}

/* ============================================
   Selection Styling
   ============================================ */

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-main);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-main);
}
