/* public/css/custom.css */
/* ═══════════════════════════════════════════════════════════
   PriceDrop Alert — Premium Design System + SaaS Homepage
   ═══════════════════════════════════════════════════════════ */

/* ── Google Font + Base ──────────────────────────────────── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }

/* ── CSS Variables ───────────────────────────────────────── */
:root {
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: rgba(99, 102, 241, 0.08);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-text: linear-gradient(135deg, #6366f1, #ec4899);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.06);
    --body-bg: #f5f5fa;
    --text-primary: #1e1b4b;
    --text-secondary: #64748b;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --danger-bg: #fef2f2;
    --danger-border: #fca5a5;
    --footer-bg: #0f0f1a;
    --footer-text: #94a3b8;
    --section-alt-bg: #ffffff;
    --section-default-bg: #f5f5fa;
}

[data-bs-theme="dark"] {
    --glass-bg: rgba(30, 30, 46, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --card-bg: #1e1e2e;
    --card-border: rgba(255, 255, 255, 0.06);
    --body-bg: #0f0f1a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --nav-bg: rgba(15, 15, 26, 0.92);
    --danger-bg: rgba(239, 68, 68, 0.1);
    --danger-border: rgba(239, 68, 68, 0.3);
    --footer-bg: #050510;
    --section-alt-bg: #141425;
    --section-default-bg: #0f0f1a;
}

body {
    background-color: var(--body-bg);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── Scroll behavior ─────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Gradient Text ───────────────────────────────────────── */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-homepage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.navbar-homepage.navbar-scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.2s ease;
}

.navbar-brand:hover { transform: scale(1.02); }

.navbar .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: var(--accent-light);
    color: var(--accent);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.dropdown-menu {
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    padding: 0.5rem;
    min-width: 220px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.15s ease;
}

.dropdown-item:hover { background: var(--accent-light); color: var(--accent); }
.dropdown-item.text-danger:hover { background: var(--danger-bg); color: #ef4444; }

/* ── Primary Gradient Button ─────────────────────────────── */
.btn-primary-gradient {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.btn-primary-gradient:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--body-bg);
    padding-top: 80px;
}

.min-vh-hero {
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
}

/* Animated background shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.3);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.2);
    bottom: -50px;
    left: -50px;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.25);
    top: 40%;
    left: 40%;
    animation: float 18s ease-in-out infinite 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero Search Box */
.hero-search { max-width: 580px; }

.hero-search-form {
    display: flex;
    gap: 0;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.hero-search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 1rem;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.hero-search-input-wrap i { font-size: 1.2rem; }

.hero-search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.hero-search-input::placeholder { color: var(--text-secondary); }

.btn-hero-track {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-hero-track:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.hero-search-hint {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    height: 420px;
}

.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hero-card-main {
    padding: 1.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    animation: slideInRight 0.8s ease 0.3s backwards;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #10b981;
    margin-bottom: 0.75rem;
}

.hero-card-product {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hero-card-prices {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.hero-price-old {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1rem;
}

.hero-price-new {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
}

.hero-card-savings {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-card-bar {
    height: 6px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.hero-card-bar-fill {
    height: 100%;
    width: 67%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 3px;
    animation: barGrow 2s ease 1s backwards;
}

@keyframes barGrow {
    from { width: 0; }
}

.hero-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.hero-card-float-1 {
    left: -30px;
    top: 60px;
    animation: floatCard 6s ease-in-out infinite, slideInLeft 0.8s ease 0.6s backwards;
}

.hero-card-float-2 {
    left: 10px;
    bottom: 40px;
    animation: floatCard 7s ease-in-out infinite 2s, slideInLeft 0.8s ease 0.9s backwards;
}

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateY(-50%) translateX(40px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
}

/* ── Trusted Bar ─────────────────────────────────────────── */
.trusted-bar {
    background: var(--section-alt-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 1.75rem 0;
}

.trusted-content { text-align: center; }

.trusted-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.trusted-logo-item {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.trusted-logo-item:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════════════════ */
.section-features,
.section-how-it-works,
.section-benefits,
.section-testimonials,
.section-pricing,
.section-faq,
.section-cta {
    padding: 5rem 0;
}

.section-features { background: var(--section-default-bg); }
.section-how-it-works { background: var(--section-alt-bg); }
.section-benefits { background: var(--section-default-bg); }
.section-testimonials { background: var(--section-alt-bg); }
.section-pricing { background: var(--section-default-bg); }
.section-faq { background: var(--section-alt-bg); }

.section-header { margin-bottom: 3.5rem; }

.section-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: var(--gradient-primary);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.feature-icon-indigo { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.feature-icon-emerald { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.feature-icon-violet { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.feature-icon-rose { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.feature-icon-amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.step-card-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--accent-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.05);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════════ */
.benefit-list { display: flex; flex-direction: column; gap: 1.5rem; }

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.05);
}

.benefit-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.benefit-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Benefits visual */
.benefit-visual {
    position: relative;
    height: 400px;
}

.benefit-visual-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: absolute;
}

.benefit-visual-card-1 {
    top: 10px;
    right: 20px;
    width: 280px;
    animation: floatCard 7s ease-in-out infinite;
}

.benefit-visual-card-2 {
    top: 55%;
    left: 0;
    width: 300px;
    animation: floatCard 6s ease-in-out infinite 1s;
}

.benefit-visual-card-3 {
    bottom: 10px;
    right: 40px;
    width: 220px;
    animation: floatCard 8s ease-in-out infinite 2s;
}

.benefit-visual-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.benefit-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: 0.75rem;
}

.chart-bar {
    flex: 1;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bar.active { background: #10b981; }
.chart-bar:hover { background: #10b981; }

/* ═══════════════════════════════════════════════════════════
   STATISTICS
   ═══════════════════════════════════════════════════════════ */
.section-stats {
    background: var(--gradient-primary);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    color: #fff;
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-label {
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
}

.stat-detail {
    font-size: 0.8rem;
    opacity: 0.65;
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.pricing-toggle-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-switch .form-check-input {
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.pricing-save-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.pricing-popular {
    position: absolute;
    top: 12px;
    right: -32px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.3rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header { margin-bottom: 1.5rem; }

.pricing-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pricing-plan {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pricing-plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.pricing-amount {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-save {
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-feature-disabled {
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-accordion .accordion-item {
    border: 1px solid var(--card-border);
    border-radius: 14px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-accordion .accordion-button {
    background: var(--card-bg);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--accent-light);
    color: var(--accent);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
}

.faq-accordion .accordion-body {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
    padding: 0 1.5rem 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════ */
.section-newsletter {
    padding: 5rem 0;
    background: var(--section-default-bg);
}

.newsletter-card {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-card > * { position: relative; z-index: 1; }

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.newsletter-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 0;
}

.newsletter-form { position: relative; z-index: 1; }

.newsletter-input-wrap {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 6px;
    backdrop-filter: blur(10px);
}

.newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.6); }

.newsletter-hint {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 0.75rem;
}

.newsletter-card .alert {
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.section-cta {
    background: var(--body-bg);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline-light {
    border-color: var(--card-border);
    color: var(--text-primary);
}

.cta-buttons .btn-outline-light:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--footer-bg);
    padding: 3.5rem 0 0;
    color: var(--footer-text);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--footer-text);
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--footer-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-heading {
    font-weight: 700;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* ── Back to Top ─────────────────────────────────────────── */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    z-index: 1000;
}

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

.btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS (scroll-triggered)
   ═══════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES (login, register, etc.)
   ═══════════════════════════════════════════════════════════ */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
    animation: fadeSlideUp 0.5s ease;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header { text-align: center; margin-bottom: 2rem; }

.auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.auth-icon-success {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.auth-icon-error {
    background: linear-gradient(135deg, #ef4444, #f87171);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.auth-title {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-form .form-floating > .form-control {
    border: 1.5px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    height: auto;
    min-height: 58px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-form .form-floating > .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.auth-form .form-floating > label {
    color: var(--text-secondary);
    padding: 1rem 0.75rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.auth-footer p { color: var(--text-secondary); margin: 0; }

.auth-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link:hover { color: var(--accent-hover); text-decoration: underline; }

.btn-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    z-index: 10;
    transition: color 0.2s ease;
}

.btn-toggle-password:hover { color: var(--accent); }

.password-strength { padding: 0 0.25rem; }

.password-strength-bar {
    height: 4px;
    background: var(--card-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
    width: 0;
}

.password-strength-text { font-size: 0.75rem; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
   ═══════════════════════════════════════════════════════════ */
.profile-wrapper { padding: 1rem 0; animation: fadeSlideUp 0.5s ease; }

.profile-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.profile-avatar-text { line-height: 1; }

.profile-name { font-weight: 700; font-size: 1.3rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.profile-email { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.75rem; }

.profile-meta { border-top: 1px solid var(--card-border); padding-top: 1.25rem; margin-top: 1.25rem; }

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    color: var(--text-secondary);
}

.profile-meta-item i { font-size: 1.2rem; color: var(--accent); }
.profile-meta-item p { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); }

.profile-actions { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--card-border); }

.profile-edit-card,
.danger-zone-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.profile-edit-header, .danger-zone-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--card-border);
}

.profile-edit-header h4, .danger-zone-header h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.profile-edit-body, .danger-zone-body { padding: 2rem; }

.profile-edit-body .form-floating > .form-control {
    border: 1.5px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    height: auto;
    min-height: 58px;
    background: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.profile-edit-body .form-floating > .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.profile-edit-body .form-floating > label { color: var(--text-secondary); padding: 1rem 0.75rem; }

.danger-zone-card { border-color: var(--danger-border); }
.danger-zone-header { background: var(--danger-bg); border-bottom-color: var(--danger-border); }
.danger-zone-header h4 { color: #ef4444; }

/* ═══════════════════════════════════════════════════════════
   GENERAL ELEMENTS
   ═══════════════════════════════════════════════════════════ */
.card {
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.table {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table thead { background: var(--accent-light); }

.table thead th {
    font-weight: 600;
    color: var(--accent);
    border-bottom: 2px solid var(--card-border);
    padding: 1rem;
}

.table tbody td {
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--card-border);
    vertical-align: middle;
}

.table-hover tbody tr:hover { background: var(--accent-light); }

.alert { border-radius: 12px; border: none; font-weight: 500; }

.alert-success { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.2); }
.alert-danger { background: rgba(239, 68, 68, 0.1); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.2); }
.alert-info { background: rgba(99, 102, 241, 0.1); color: #4f46e5; border: 1px solid rgba(99, 102, 241, 0.2); }
.alert-warning { background: rgba(245, 158, 11, 0.1); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.2); }

[data-bs-theme="dark"] .alert-success { color: #34d399; }
[data-bs-theme="dark"] .alert-danger { color: #f87171; }
[data-bs-theme="dark"] .alert-info { color: #818cf8; }
[data-bs-theme="dark"] .alert-warning { color: #fbbf24; }

.form-control {
    border-radius: 10px;
    border: 1.5px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.btn { font-weight: 600; border-radius: 10px; transition: all 0.2s ease; }
.btn-outline-primary { border-color: var(--accent); color: var(--accent); }
.btn-outline-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.badge { font-weight: 600; border-radius: 8px; }

.modal-content {
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    box-shadow: var(--glass-shadow);
}

.modal-header { border-bottom: 1px solid var(--card-border); padding: 1.25rem 1.5rem; }
.modal-body { padding: 1.5rem; }
.modal-footer { border-top: 1px solid var(--card-border); padding: 1rem 1.5rem; }

.modal-content .form-floating > .form-control {
    border-radius: 12px;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    color: var(--text-primary);
}

.modal-content .form-floating > .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.modal-content .form-floating > label { color: var(--text-secondary); }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, 0.5); }

::selection { background: rgba(99, 102, 241, 0.2); color: var(--accent); }

/* ── Focus visible ───────────────────────────────────────── */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Loading spinner ─────────────────────────────────────── */
.btn.loading { position: relative; pointer-events: none; color: transparent !important; }
.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    top: 50%; left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .hero-section { padding-top: 76px; }
    .min-vh-hero { min-height: auto; padding: 3rem 0; }
    .hero-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-visual { display: none; }
    .newsletter-card { padding: 2rem; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }

    .hero-search-form {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .hero-search-hint {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-number { font-size: 1.75rem; }

    .section-features,
    .section-how-it-works,
    .section-benefits,
    .section-testimonials,
    .section-pricing,
    .section-faq,
    .section-cta { padding: 3rem 0; }

    .newsletter-card { padding: 1.5rem; }
    .newsletter-title { font-size: 1.35rem; }

    .newsletter-input-wrap {
        flex-direction: column;
        gap: 0.5rem;
    }

    .auth-card { margin: 1rem; padding: 1.75rem; }

    .profile-edit-body, .danger-zone-body { padding: 1.25rem; }
    .profile-edit-header, .danger-zone-header { padding: 1.25rem; }

    .cta-buttons { flex-direction: column; align-items: center; }
    .trusted-logos { gap: 1rem; }
    .pricing-card { padding: 2rem 1.5rem; }
}

@media (max-width: 575.98px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   Premium UI/UX Modernization Additions
   ───────────────────────────────────────────────────────────── */

/* --- Glassmorphism --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav {
    background: rgba(var(--nav-bg), 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border) !important;
}

.glass-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
}

/* --- Skeleton Loading (Shimmer effect) --- */
.skeleton {
    background-image: linear-gradient(
        90deg,
        rgba(150, 150, 150, 0.1) 0px,
        rgba(150, 150, 150, 0.2) 40px,
        rgba(150, 150, 150, 0.1) 80px
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
}

.skeleton-text {
    width: 100%;
    height: 12px;
    margin-bottom: 8px;
}

.skeleton-title {
    width: 60%;
    height: 20px;
    margin-bottom: 12px;
}

.skeleton-circle {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.skeleton-card {
    min-height: 150px;
    width: 100%;
    border-radius: 12px;
}

@keyframes shimmer {
    0% {
        background-position: -150px 0;
    }
    100% {
        background-position: 150px 0;
    }
}

/* --- Premium Hovers & Transformations --- */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hover-lift:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.16) !important;
}

.hover-glow-primary:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.focus-ring-custom:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    box-shadow: none;
}

/* --- Theme Responsive Admin Classes --- */
.admin-theme-wrapper {
    background-color: var(--body-bg);
    color: var(--text-primary);
    min-height: 100vh;
}

.admin-sidebar-modern {
    background: var(--nav-bg);
    border-right: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.admin-header-modern {
    background: var(--card-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

/* Base styles for modern theme consistency */
.card, .list-group-item, .alert {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-primary);
}

.table {
    color: var(--text-primary) !important;
}

.table th, .table td {
    border-color: var(--card-border) !important;
}

