/* ============================================
   COMPACT & MODULAR CSS - Minimal Design
   ============================================ */

:root {
    --primary-color: #E30613;
    --dark-color: #0f172a;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ===== On Parmak / Typing Module ===== */
.typing-hero {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.12), rgba(0, 0, 0, 0.02));
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
}
.typing-target {
    white-space: pre-wrap;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 14px;
    min-height: 140px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.typing-input {
    border-radius: 14px;
    min-height: 120px;
}
.typing-hud .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    font-weight: 600;
}
.typing-kb {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 12px;
}
.typing-kb-row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.typing-kb-key {
    width: 42px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.02);
    font-weight: 700;
    position: relative;
    --heat: 0;
}
.typing-kb-row { flex-wrap: nowrap; justify-content: center; }
.typing-kb { overflow-x: auto; }
.typing-kb-key.is-next {
    outline: 3px solid rgba(227, 6, 19, 0.55);
    outline-offset: 2px;
    box-shadow: 0 10px 22px rgba(227, 6, 19, 0.12);
}
.typing-kb-key.is-pressed {
    transform: translateY(1px);
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.15);
}
.typing-target .ch { display: inline-block; padding: 0 1px; border-radius: 4px; }
.typing-target .ch.ok { background: rgba(16,185,129,.12); }
.typing-target .ch.bad { background: rgba(227,6,19,.12); }
.typing-target .ch.cur { background: rgba(59,130,246,.15); box-shadow: inset 0 -2px 0 rgba(59,130,246,.45); }
.typing-target .ch.nl { display: inline-block; width: 0; height: 0; padding: 0; margin: 0; }

/* ===== Exam Celebration ===== */
.exam-celebrate {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 10%, rgba(255, 215, 0, 0.25), transparent 35%),
                radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.20), transparent 40%),
                radial-gradient(circle at 30% 80%, rgba(59, 130, 246, 0.18), transparent 45%),
                linear-gradient(135deg, rgba(227, 6, 19, 0.12), rgba(255,255,255,1));
    border: 1px solid rgba(0,0,0,.08);
}
.exam-celebrate:before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%);
    animation: celebrate-glow 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes celebrate-glow {
    0%, 100% { transform: translate(-8%, -6%) scale(1); opacity: .35; }
    50% { transform: translate(6%, 8%) scale(1.1); opacity: .55; }
}
.exam-celebrate .badge {
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.exam-celebrate h2 {
    font-weight: 900;
    letter-spacing: .2px;
}
.exam-celebrate .sub {
    color: rgba(0,0,0,.65);
}
.exam-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.exam-confetti i {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 14px;
    opacity: .95;
    transform: rotate(12deg);
    border-radius: 3px;
    animation: confetti-fall 2.8s linear infinite;
}
@keyframes confetti-fall {
    0%   { transform: translateY(-30px) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    100% { transform: translateY(120vh) rotate(360deg); opacity: 0.9; }
}
.typing-kb-key.is-hot {
    background: rgba(227, 6, 19, calc(0.08 + var(--heat) * 0.22));
    border-color: rgba(227, 6, 19, calc(0.20 + var(--heat) * 0.35));
}
.typing-metric {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 12px;
}
.typing-metric .label { color: rgba(0, 0, 0, 0.55); font-size: 0.85rem; font-weight: 600; }
.typing-metric .value { font-size: 1.4rem; font-weight: 800; }

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ============================================
   GLOBAL LAYOUT (prevents content under footer)
   ============================================ */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

footer {
    flex-shrink: 0;
}

/* ============================================
   COMPACT TOPBAR & NAVBAR
   ============================================ */

.topbar {
    background: linear-gradient(135deg, #101826 0%, #1a2332 100%);
    color: #fff;
    font-size: 0.85rem;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.topbar a:hover {
    color: var(--primary-color);
}

.navbar {
    background: var(--primary-color) !important;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 1rem !important;
    transition: var(--transition);
    border-radius: var(--border-radius);
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.15);
}

/* Active state (current page) */
.navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.22);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.18);
}

/* ============================================
   COMPACT HERO SLIDER
   ============================================ */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(227,6,19,.85), rgba(15,23,42,.85));
    z-index: 1;
}

.hero-slide > .container {
    position: relative;
    z-index: 2;
}

.hero-slide h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.hero-slide .lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: var(--spacing-md);
}

.hero-slide .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.3);
}

/* Ensure hero slider controls are vertically centered (avoid sticking to top) */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
}

.hero-slider .carousel-control-prev {
    left: 18px;
}

.hero-slider .carousel-control-next {
    right: 18px;
}

@media (max-width: 768px) {
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 44px;
        height: 44px;
    }
    .hero-slider .carousel-control-prev { left: 12px; }
    .hero-slider .carousel-control-next { right: 12px; }
}

/* ============================================
   COMPACT ANNOUNCEMENT BAR
   ============================================ */

.announcement-bar {
    background: var(--primary-color);
    color: #fff;
    padding: var(--spacing-xs) 0;
    overflow: hidden;
}

.announcement-container {
    display: flex;
    animation: scroll 30s linear infinite;
}

/* Backward compatibility: older markup uses .announcement-marquee */
.announcement-marquee {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.announcement-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 var(--spacing-lg);
    font-size: 0.9rem;
}

.announcement-item i {
    margin-right: var(--spacing-xs);
}

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

/* ============================================
   NEWS TICKER BAR (above hero slider)
   ============================================ */

.news-ticker-bar {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(227, 6, 19, 0.92), rgba(2, 6, 23, 0.96));
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.news-ticker-inner {
    display: flex;
    gap: 14px;
    align-items: center;
}

.news-ticker-title {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 10px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Title pulse/glow */
.news-ticker-title .badge-soft.badge-red {
    position: relative;
    box-shadow: 0 16px 50px rgba(227, 6, 19, 0.25);
    animation: tickerPulse 1.8s ease-in-out infinite;
}

.news-ticker-title .badge-soft.badge-red::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), rgba(227,6,19,0.0) 60%);
    opacity: 0.0;
    filter: blur(2px);
    animation: tickerGlow 1.8s ease-in-out infinite;
    pointer-events: none;
}

/* Subtle shimmer on "Son 5 içerik" chip */
.news-ticker-title .chip {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(2, 6, 23, 0.22);
}

.news-ticker-title .chip::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -70%;
    width: 60%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: rotate(18deg);
    opacity: 0.55;
    animation: chipShimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes chipShimmer {
    0% { transform: translateX(0) rotate(18deg); opacity: 0.0; }
    15% { opacity: 0.55; }
    55% { transform: translateX(260%) rotate(18deg); opacity: 0.55; }
    100% { transform: translateX(260%) rotate(18deg); opacity: 0.0; }
}

@keyframes tickerPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-1px) scale(1.03); }
}

@keyframes tickerGlow {
    0%, 100% { opacity: 0.0; }
    50% { opacity: 0.9; }
}

.news-ticker-track {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.news-ticker-marquee {
    display: flex;
    gap: 18px;
    align-items: center;
    white-space: nowrap;
    animation: scroll 36s linear infinite;
}

.news-ticker-bar:hover .news-ticker-marquee {
    animation-play-state: paused;
}

.news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.news-ticker-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.25);
}

.news-ticker-thumb {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    flex: 0 0 auto;
}

.news-ticker-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-ticker-thumb i {
    color: rgba(255,255,255,0.92);
}

.news-ticker-text {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 220px;
    max-width: 520px;
}

.news-ticker-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    opacity: 0.92;
}

.news-ticker-topline i {
    opacity: 0.9;
}

.news-ticker-domain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 8px;
    margin-left: 4px;
    border-left: 1px solid rgba(255, 255, 255, 0.20);
    opacity: 0.92;
}

.news-ticker-headline {
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 0.92rem;
}

.news-ticker-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(2, 6, 23, 0.25);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .news-ticker-inner {
        flex-direction: column;
        gap: 10px;
    }
    .news-ticker-title {
        padding-left: 0;
        justify-content: center;
    }
    .news-ticker-text {
        min-width: 180px;
        max-width: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-ticker-title .badge-soft.badge-red,
    .news-ticker-title .badge-soft.badge-red::after {
        animation: none !important;
    }
    .news-ticker-title .chip::after {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* ============================================
   COMPACT SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.row-section {
    margin-bottom: var(--spacing-xl);
}

.row-section:last-child {
    margin-bottom: 0;
}

/* ============================================
   COMPACT CARDS
   ============================================ */

.card {
    border: none;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-body {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.card-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: var(--spacing-sm);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(227,6,19,0.15);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .card-img-top {
    transform: scale(1.05);
}

/* ============================================
   COMPACT BUTTONS
   ============================================ */

.btn {
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: #c10510;
    border-color: #c10510;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227,6,19,0.3);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* ============================================
   COMPACT PACKAGE CARDS
   ============================================ */

.package-card {
    border: 2px solid transparent !important;
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
}

.package-card .list-unstyled li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    transition: var(--transition);
}

.package-card:hover .list-unstyled li {
    padding-left: 0.5rem;
}

/* ============================================
   COMPACT DOCUMENT PREVIEW
   ============================================ */

.document-preview-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.document-preview-container img,
.document-preview-container iframe,
.document-preview-container video {
    transition: var(--transition);
}

.document-preview-container:hover img {
    transform: scale(1.03);
}

/* ============================================
   COMPACT UTILITIES
   ============================================ */

.text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

.badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.7rem;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1199.98px) {
    .section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 50vh;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 767.98px) {
    .topbar {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
    }
    
    .hero-slide {
        min-height: 45vh;
        padding: var(--spacing-md) 0;
    }
    
    .hero-slide h1 {
        font-size: 1.75rem;
    }
    
    .hero-slide .lead {
        font-size: 1rem;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .card-body {
        padding: var(--spacing-sm);
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.65rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 40vh;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .card-img-top {
        height: 180px !important;
    }
    
    .package-card .list-unstyled li {
        font-size: 0.85rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .topbar,
    .announcement-bar,
    .btn,
    .carousel-control {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ============================================
   CHECKOUT PAGE (moved from checkout.php)
   ============================================ */

.page-checkout {
    background: transparent;
}

.page-checkout .row {
    align-items: flex-start !important;
}

.page-checkout .col-lg-8,
.page-checkout .col-lg-4 {
    align-self: flex-start !important;
}

.page-checkout .col-lg-8 {
    display: block !important;
}

.step-indicator {
    position: relative;
    padding: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 8px;
    transition: var(--transition);
}

.step-indicator.active .step-number {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.20);
}

.step-indicator.completed .step-number {
    background: #28a745;
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.step-indicator.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.payment-method-card {
    cursor: pointer;
    transition: var(--transition);
}

.payment-method-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(227, 6, 19, 0.18);
}

.payment-method-card .form-check-input:checked ~ .form-check-label {
    color: var(--primary-color);
}

/* ============================================
   PREMIUM THEME ADDON (frontend only)
   ============================================ */

.theme-premium {
    --p-bg-0: #070b16;
    --p-bg-1: #0b1224;
    --p-glass: rgba(255, 255, 255, 0.08);
    --p-glass-2: rgba(255, 255, 255, 0.12);
    --p-border: rgba(255, 255, 255, 0.14);
    --p-shadow: 0 18px 60px rgba(2, 6, 23, 0.45);
    --p-shadow-soft: 0 10px 28px rgba(2, 6, 23, 0.18);
    --p-glow: 0 0 0 4px rgba(227, 6, 19, 0.18);
    --p-grad: linear-gradient(135deg, rgba(227, 6, 19, 0.95), rgba(15, 23, 42, 0.95));
}

.theme-premium body,
body.theme-premium {
    color: #0b1220;
    background:
        radial-gradient(1200px 600px at 10% 0%, rgba(227, 6, 19, 0.18), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(59, 130, 246, 0.14), transparent 60%),
        radial-gradient(900px 600px at 50% 100%, rgba(16, 185, 129, 0.10), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f8fafc 100%);
}

body.theme-premium a {
    text-decoration: none;
}

body.theme-premium a:hover {
    text-decoration: none;
}

/* Topbar + Navbar glass / premium */
body.theme-premium .topbar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(2, 6, 23, 0.92) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

body.theme-premium .navbar {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.95) 0%, rgba(159, 18, 57, 0.95) 55%, rgba(15, 23, 42, 0.95) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--p-shadow-soft);
    backdrop-filter: blur(10px);
}

body.theme-premium .navbar-brand {
    letter-spacing: -0.02em;
}

body.theme-premium .navbar-nav .nav-link {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

body.theme-premium .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.20);
}

body.theme-premium .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

body.theme-premium .navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero: stronger depth + premium chips */
body.theme-premium .hero-slide {
    min-height: 65vh;
}

@media (min-width: 992px) {
    body.theme-premium .hero-slide {
        min-height: 72vh;
    }
}

body.theme-premium .hero-slide::before {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.80), rgba(2, 6, 23, 0.88));
}

body.theme-premium .hero-slide h1 {
    text-shadow: 0 18px 50px rgba(2, 6, 23, 0.55);
}

body.theme-premium .carousel-control-prev,
body.theme-premium .carousel-control-next {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

/* Announcement bar: gradient + icons pop */
body.theme-premium .announcement-bar {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(227, 6, 19, 0.96));
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.25);
}

/* Icons: subtle glow + crispness */
body.theme-premium i.fas,
body.theme-premium i.far,
body.theme-premium i.fab {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.theme-premium a:hover i.fas,
body.theme-premium a:hover i.far,
body.theme-premium a:hover i.fab,
body.theme-premium .btn:hover i.fas,
body.theme-premium .btn:hover i.far,
body.theme-premium .btn:hover i.fab {
    filter: drop-shadow(0 10px 18px rgba(2, 6, 23, 0.25));
}

/* Cards: premium border, shine, hover lift */
body.theme-premium .card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.10);
}

body.theme-premium .card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.40), rgba(59, 130, 246, 0.20), rgba(16, 185, 129, 0.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.theme-premium .card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 80%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(18deg);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.55s ease;
    pointer-events: none;
}

body.theme-premium .card:hover::before {
    opacity: 1;
}

body.theme-premium .card:hover::after {
    opacity: 1;
    transform: translateX(180%) rotate(18deg);
}

body.theme-premium .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--p-shadow-soft);
}

/* Buttons: gradient + glow */
body.theme-premium .btn-danger {
    background: linear-gradient(135deg, #E30613 0%, #ff2a2a 45%, #9f1239 100%);
    border: 0;
    box-shadow: 0 10px 28px rgba(227, 6, 19, 0.22);
}

body.theme-premium .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(227, 6, 19, 0.30);
}

body.theme-premium .btn:focus,
body.theme-premium .btn:focus-visible {
    box-shadow: var(--p-glow);
}

/* Badges: slightly more premium */
body.theme-premium .badge {
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
}

/* Forms: premium focus */
body.theme-premium .form-control:focus,
body.theme-premium .form-select:focus {
    border-color: rgba(227, 6, 19, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(227, 6, 19, 0.20);
}

/* Breadcrumbs */
body.theme-premium .breadcrumb {
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

body.theme-premium .breadcrumb a {
    color: rgba(15, 23, 42, 0.75);
}

body.theme-premium .breadcrumb .active {
    color: rgba(15, 23, 42, 0.95);
    font-weight: 700;
}

/* Tables: modern compact */
body.theme-premium .table {
    border-color: rgba(15, 23, 42, 0.08);
}

body.theme-premium .table thead th {
    background: rgba(15, 23, 42, 0.03);
    border-bottom-color: rgba(15, 23, 42, 0.10);
    font-weight: 700;
    letter-spacing: -0.01em;
}

body.theme-premium .table tbody tr:hover {
    background: rgba(227, 6, 19, 0.04);
}

/* Alerts: glass */
body.theme-premium .alert {
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.10);
    backdrop-filter: blur(10px);
}

/* Footer: premium */
body.theme-premium footer.bg-dark {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.98)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 -18px 50px rgba(2, 6, 23, 0.35);
}

body.theme-premium footer a.text-white-50:hover {
    color: rgba(255,255,255,0.95) !important;
}

/* Chips / pills utility (for future use) */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   PREMIUM PAGE HEADER + BADGES/CHIPS
   ============================================ */

.page-header {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background:
        radial-gradient(900px 420px at 0% 0%, rgba(227, 6, 19, 0.18), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
        rgba(255, 255, 255, 0.80);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.10);
    overflow: hidden;
}

.page-header::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.40), rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
}

.page-header .page-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

.page-header .page-subtitle {
    color: rgba(15, 23, 42, 0.70);
    margin: 0.35rem 0 0;
}

.kpi-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
    font-weight: 800;
    color: rgba(15, 23, 42, 0.85);
    white-space: nowrap;
}

/* Card badges */
.card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    pointer-events: none;
    z-index: 2;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(2, 6, 23, 0.55);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    backdrop-filter: blur(10px);
}

.badge-soft.badge-red {
    background: rgba(227, 6, 19, 0.72);
}

.badge-soft.badge-green {
    background: rgba(16, 185, 129, 0.72);
}

.badge-soft.badge-amber {
    background: rgba(245, 158, 11, 0.78);
}

/* Card meta chips row */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.card-meta .chip {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
    font-size: 0.82rem;
}

/* Pagination premium */
.pagination .page-link {
    border-radius: 999px !important;
    margin: 0 0.15rem;
    border-color: rgba(15, 23, 42, 0.10);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.04);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #E30613 0%, #ff2a2a 45%, #9f1239 100%);
    border-color: transparent;
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    body.theme-premium * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   EXTRA WOW (shatafat) - reveal + sparkles + neon glow
   ============================================ */

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(1px);
}

.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1), filter 700ms ease;
}

/* Animated gradient glow on primary buttons */
body.theme-premium .btn-danger {
    position: relative;
    overflow: hidden;
}

body.theme-premium .btn-danger::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.35), rgba(255,255,255,0.0));
    transform: translateX(-120%);
    transition: transform 700ms ease;
    pointer-events: none;
}

body.theme-premium .btn-danger:hover::after {
    transform: translateX(120%);
}

/* Neon text glow for hero headings */
body.theme-premium .hero-slide .display-3,
body.theme-premium .hero-slide .display-4 {
    text-shadow:
        0 18px 60px rgba(2, 6, 23, 0.60),
        0 0 30px rgba(227, 6, 19, 0.30);
}

/* Floating blobs (pure CSS) */
.fx-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.fx-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(28px);
    opacity: 0.45;
    mix-blend-mode: multiply;
    animation: blobFloat 12s ease-in-out infinite;
}

.fx-blob.blob-1 {
    top: -140px;
    left: -140px;
    background: radial-gradient(circle at 30% 30%, rgba(227,6,19,0.75), rgba(227,6,19,0.0) 62%);
}

.fx-blob.blob-2 {
    top: -160px;
    right: -160px;
    background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.65), rgba(59,130,246,0.0) 62%);
    animation-delay: 1.2s;
}

.fx-blob.blob-3 {
    bottom: -180px;
    left: 35%;
    background: radial-gradient(circle at 30% 30%, rgba(16,185,129,0.55), rgba(16,185,129,0.0) 62%);
    animation-delay: 2.2s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(0, 22px, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .fx-blob { animation: none !important; }
    body.theme-premium .btn-danger::after { transition: none !important; }
    .reveal, .reveal.reveal-in { transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}

/* ============================================
   QUICK STRIP (advantages + counters)
   ============================================ */

.quick-strip {
    position: relative;
    margin-top: -18px;
    padding: 22px 0 10px;
}

.quick-card,
.quick-stats {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.10);
    padding: 20px 20px;
    overflow: hidden;
}

.quick-card {
    position: relative;
}

.quick-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 220px at 20% 0%, rgba(227, 6, 19, 0.18), transparent 60%);
    pointer-events: none;
}

.quick-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.95), rgba(15, 23, 42, 0.95));
    box-shadow: 0 18px 40px rgba(227, 6, 19, 0.22);
}

.quick-title {
    font-weight: 900;
    letter-spacing: -0.03em;
}

.quick-subtitle {
    color: rgba(15, 23, 42, 0.72);
}

.quick-badges .chip {
    background: rgba(15, 23, 42, 0.04);
}

.stat-card {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.03);
    padding: 14px 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(227, 6, 19, 0.04);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

.stat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    color: rgba(227, 6, 19, 0.95);
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.stat-num {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.70);
    font-weight: 700;
}

@media (max-width: 768px) {
    .quick-strip { margin-top: 0; }
    .quick-card, .quick-stats { padding: 16px; }
}

/* Advantage feature cards */
.feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background:
        radial-gradient(900px 280px at 0% 0%, rgba(227, 6, 19, 0.12), transparent 55%),
        rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.08);
    padding: 16px 16px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 80%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.40), transparent);
    transform: rotate(18deg);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.55s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
    transform: translateX(180%) rotate(18deg);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 70px rgba(2, 6, 23, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.95), rgba(15, 23, 42, 0.95));
    box-shadow: 0 18px 40px rgba(227, 6, 19, 0.18);
    flex: 0 0 auto;
}

.feature-title {
    font-weight: 900;
    letter-spacing: -0.03em;
}

.feature-text {
    color: rgba(15, 23, 42, 0.72);
}
