/* Prism Theme - JetExSoft Public Site */

:root,
[data-theme="light"] {
    --prism-primary: #b91c1c;
    --prism-primary-dark: #991b1b;
    --prism-secondary: #7f1d1d;
    --prism-accent: #dc2626;
    --prism-success: #10b981;
    --prism-body-bg: #ffffff;
    --prism-body-color: #334155;
    --prism-heading: #0f172a;
    --prism-muted: #64748b;
    --prism-border: #e2e8f0;
    --prism-card-bg: #ffffff;
    --prism-section-alt: #fafafa;
    --prism-nav-bg: rgba(255, 255, 255, 0.92);
    --prism-nav-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    --prism-footer-bg: #111827;
    --prism-footer-color: #94a3b8;
    --prism-hero-gradient: linear-gradient(135deg, #fff5f5 0%, #ffffff 45%, #f8fafc 100%);
    --prism-glass: rgba(255, 255, 255, 0.85);
    --prism-input-bg: #ffffff;
    --prism-input-border: #cbd5e1;
    --prism-brand: #9f1239;
}

[data-theme="dark"] {
    --prism-body-bg: #0b1120;
    --prism-body-color: #cbd5e1;
    --prism-heading: #f1f5f9;
    --prism-muted: #94a3b8;
    --prism-border: #1e293b;
    --prism-card-bg: #111827;
    --prism-section-alt: #0f172a;
    --prism-nav-bg: rgba(11, 17, 32, 0.95);
    --prism-nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --prism-footer-bg: #020617;
    --prism-footer-color: #64748b;
    --prism-hero-gradient: linear-gradient(135deg, #1a0a0a 0%, #0f172a 50%, #0b1120 100%);
    --prism-glass: rgba(17, 24, 39, 0.85);
    --prism-input-bg: #111827;
    --prism-input-border: #334155;
    --prism-brand: #fb7185;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background-color: var(--prism-body-bg);
    color: var(--prism-body-color);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", system-ui, sans-serif;
    color: var(--prism-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--prism-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--prism-primary-dark);
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--prism-body-bg);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--prism-border);
    border-top-color: var(--prism-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navbar */
.prism-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--prism-nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.prism-navbar.scrolled {
    box-shadow: var(--prism-nav-shadow);
    border-bottom-color: var(--prism-border);
}

.prism-navbar .navbar-brand {
    padding: 0;
}

.site-brand {
    text-decoration: none;
}

.site-brand-icon {
    height: 38px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.site-brand-name {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--prism-heading);
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.site-brand-name .brand-accent {
    color: var(--prism-brand);
}

.site-brand:hover .site-brand-name {
    color: var(--prism-heading);
}

.site-brand:hover .brand-accent {
    color: var(--prism-primary);
}

/* Mobile menu trigger */
.mobile-menu-trigger {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.mobile-menu-trigger:hover {
    background: rgba(185, 28, 28, 0.08);
}

.mobile-menu-trigger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--prism-heading);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-trigger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-trigger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile offcanvas drawer */
.offcanvas-backdrop.show {
    opacity: 1;
    background-color: rgba(15, 23, 42, 0.55);
}

.mobile-nav-panel {
    width: min(320px, 86vw);
    max-width: 100%;
    background: var(--prism-body-bg);
    border-left: 1px solid var(--prism-border);
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
    z-index: 1055;
}

.mobile-nav-panel.showing,
.mobile-nav-panel.show {
    transform: translateX(0);
}

.mobile-nav-panel .offcanvas-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--prism-border);
    align-items: center;
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--prism-border);
    border-radius: 50%;
    background: var(--prism-card-bg);
    color: var(--prism-body-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-nav-close:hover {
    border-color: var(--prism-primary);
    color: var(--prism-primary);
}

.mobile-nav-links {
    list-style: none;
    padding: 1rem 0.75rem;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.25rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--prism-body-color);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-nav-link i {
    width: 22px;
    font-size: 1.15rem;
    color: var(--prism-muted);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(185, 28, 28, 0.08);
    color: var(--prism-primary);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    color: var(--prism-primary);
}

.mobile-nav-link.active {
    font-weight: 700;
}

.mobile-nav-footer {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--prism-border);
    background: var(--prism-section-alt);
}

.mobile-nav-footer-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--prism-muted);
}

/* Footer brand */
.footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
    padding: 0;
}

.footer-brand:hover {
    text-decoration: none;
    color: inherit;
}

.footer-brand-logo {
    height: 56px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(185, 28, 28, 0.25));
}

.footer-brand-text {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.footer-brand-light {
    color: #ffffff !important;
}

.footer-brand-accent {
    color: #ef4444 !important;
}

.footer-brand-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8 !important;
}

.footer-brand:hover .footer-brand-light {
    color: #ffffff !important;
}

.footer-brand:hover .footer-brand-accent {
    color: #f87171 !important;
}

.footer-desc {
    color: var(--prism-footer-color);
    line-height: 1.7;
    max-width: 320px;
}

.prism-navbar .nav-link {
    color: var(--prism-body-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.prism-navbar .nav-link:hover,
.prism-navbar .nav-link.active {
    color: var(--prism-primary);
}

.prism-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--prism-primary);
    border-radius: 2px;
}

.btn-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--prism-border);
    background: var(--prism-card-bg);
    color: var(--prism-body-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-theme-toggle:hover {
    border-color: var(--prism-primary);
    color: var(--prism-primary);
}

.btn-prism-primary {
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-secondary));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-prism-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.35);
}

.btn-prism-outline {
    border: 2px solid var(--prism-primary);
    color: var(--prism-primary);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-prism-outline:hover {
    background: var(--prism-primary);
    color: #fff;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--prism-hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--prism-glass);
    border: 1px solid var(--prism-border);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--prism-primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-brand));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--prism-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--prism-border);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--prism-heading);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--prism-muted);
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .hero-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-card-brand {
    text-align: center;
}

.hero-brand-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(185, 28, 28, 0.2));
}

.hero-card-brand h5 {
    font-size: 1.35rem;
    font-weight: 800;
}

.hero-card-brand .brand-accent {
    color: var(--prism-brand);
}

/* Tech stack badges (hero card) */
.tech-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-card-brand .tech-badge:nth-child(4n+1) {
    background: #fee2e2;
    color: #991b1b;
}

.hero-card-brand .tech-badge:nth-child(4n+2) {
    background: #dbeafe;
    color: #1e40af;
}

.hero-card-brand .tech-badge:nth-child(4n+3) {
    background: #e0f2fe;
    color: #0369a1;
}

.hero-card-brand .tech-badge:nth-child(4n) {
    background: #dcfce7;
    color: #166534;
}

[data-theme="dark"] .hero-card-brand .tech-badge:nth-child(4n+1) {
    background: rgba(185, 28, 28, 0.2);
    color: #fca5a5;
}

[data-theme="dark"] .hero-card-brand .tech-badge:nth-child(4n+2) {
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
}

[data-theme="dark"] .hero-card-brand .tech-badge:nth-child(4n+3) {
    background: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
}

[data-theme="dark"] .hero-card-brand .tech-badge:nth-child(4n) {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.tech-badge-dotnet {
    background: #fee2e2;
    color: #991b1b;
}

.tech-badge-react {
    background: #dbeafe;
    color: #1e40af;
}

.tech-badge-azure {
    background: #e0f2fe;
    color: #0369a1;
}

.tech-badge-mobile {
    background: #dcfce7;
    color: #166534;
}

[data-theme="dark"] .tech-badge-dotnet {
    background: rgba(185, 28, 28, 0.2);
    color: #fca5a5;
}

[data-theme="dark"] .tech-badge-react {
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
}

[data-theme="dark"] .tech-badge-azure {
    background: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
}

[data-theme="dark"] .tech-badge-mobile {
    background: rgba(22, 163, 74, 0.2);
    color: #86efac;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--prism-section-alt);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--prism-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--prism-muted);
    font-size: 1.05rem;
}

/* Service Cards */
.service-card {
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12);
    border-color: var(--prism-primary);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.1), rgba(159, 18, 57, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--prism-primary);
    margin-bottom: 1.25rem;
}

.service-card h5 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--prism-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.service-link i {
    transition: transform 0.2s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Project Cards */
.project-card {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.project-thumb {
    height: 220px;
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-body {
    padding: 1.5rem;
}

.project-client {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--prism-primary);
    margin-bottom: 0.5rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    color: var(--prism-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: var(--prism-muted);
    font-size: 0.9rem;
}

/* News Cards */
.news-card {
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.news-thumb {
    height: 180px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--prism-primary);
    font-size: 2.5rem;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--prism-muted);
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-info-card {
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    height: 100%;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.contact-form {
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--prism-input-bg);
    border-color: var(--prism-input-border);
    color: var(--prism-body-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--prism-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-form label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
    color: var(--prism-heading);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--prism-primary), var(--prism-secondary));
    border-radius: 1.5rem;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.btn-cta-light {
    background: #fff;
    color: var(--prism-primary);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    border: none;
    transition: transform 0.2s ease;
}

.btn-cta-light:hover {
    transform: translateY(-2px);
    color: var(--prism-primary-dark);
}

/* Footer */
.prism-footer {
    background: var(--prism-footer-bg);
    color: var(--prism-footer-color);
    padding: 4rem 0 0;
}

.prism-footer h5 {
    color: #f1f5f9;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.prism-footer a {
    color: var(--prism-footer-color);
    font-size: 0.9rem;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.prism-footer a:hover:not(.footer-brand) {
    color: #fff;
}

.prism-footer a.footer-brand {
    display: inline-flex;
    padding: 0;
    color: inherit;
}

.prism-footer a.footer-brand:hover {
    color: inherit;
}

.prism-footer a.footer-brand:hover .footer-brand-tagline {
    color: #94a3b8 !important;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--prism-primary);
    border-color: var(--prism-primary);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    text-align: center;
}

/* Page Header (inner pages) */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--prism-hero-gradient);
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.breadcrumb-prism {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-prism a {
    color: var(--prism-muted);
}

.breadcrumb-prism .active {
    color: var(--prism-primary);
    font-weight: 600;
}

/* Detail content */
.content-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-body p {
    margin-bottom: 1.25rem;
}

.content-body img {
    max-width: 100%;
    border-radius: 0.75rem;
}

.detail-sidebar {
    background: var(--prism-card-bg);
    border: 1px solid var(--prism-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.detail-sidebar dt {
    font-weight: 600;
    color: var(--prism-heading);
    font-size: 0.875rem;
}

.detail-sidebar dd {
    color: var(--prism-muted);
    margin-bottom: 1rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--prism-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1020;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--prism-primary-dark);
    color: #fff;
}

/* Alert */
.alert-prism {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.25rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        gap: 1.25rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }
}
