/* Modern WeePixelBox Styles */

/* Hero Section */
.wpb-nav-card {
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 1rem !important;
    padding: 2rem 1.5rem !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 140px;
}

.wpb-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.wpb-nav-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    text-decoration: none !important;
}

.wpb-nav-card:hover::before {
    transform: scaleX(1);
}

.wpb-nav-card i {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text;
}

.wpb-nav-card span {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1e1e2d !important;
}

/* Dark mode nav cards */
[data-theme="dark"] .wpb-nav-card,
[data-bs-theme="dark"] .wpb-nav-card {
    background: linear-gradient(135deg, #1e1e2d 0%, #2a2a3d 100%) !important;
    border-color: rgba(255,255,255,0.1) !important;
}

[data-theme="dark"] .wpb-nav-card:hover,
[data-bs-theme="dark"] .wpb-nav-card:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
}

[data-theme="dark"] .wpb-nav-card span,
[data-bs-theme="dark"] .wpb-nav-card span {
    color: #ffffff !important;
}

/* Image Carousel Card */
.wpb-carousel-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.2) !important;
    border: none !important;
}

.wpb-carousel-card .tns {
    border-radius: 0.75rem;
    overflow: hidden;
}

.wpb-carousel-card img {
    border-radius: 0.75rem !important;
}

/* Recently Uploaded Section */
.wpb-sketches-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
}

.wpb-sketch-card {
    background: #ffffff !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
}

.wpb-sketch-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    text-decoration: none !important;
}

[data-theme="dark"] .wpb-sketch-card,
[data-bs-theme="dark"] .wpb-sketch-card {
    background: #1e1e2d !important;
    border-color: rgba(255,255,255,0.1) !important;
}

[data-theme="dark"] .wpb-sketch-card:hover,
[data-bs-theme="dark"] .wpb-sketch-card:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2) !important;
}

.wpb-sketch-thumbnail {
    width: 100% !important;
    aspect-ratio: 1 !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
    overflow: hidden;
}

[data-theme="dark"] .wpb-sketch-thumbnail,
[data-bs-theme="dark"] .wpb-sketch-thumbnail {
    background: linear-gradient(135deg, #2a2a3d 0%, #1a1a2e 100%) !important;
}

.wpb-sketch-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    image-rendering: pixelated !important;
    image-rendering: -moz-crisp-edges !important;
    image-rendering: crisp-edges !important;
}

/* Hero enhancements */
.wpb-hero {
    padding: 5rem 4rem !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 30px 80px rgba(65, 80, 180, 0.25) !important;
}

.wpb-hero-copy .badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    letter-spacing: 0.18em;
}

.wpb-hero-copy .display-3 {
    line-height: 1.1;
}

.wpb-hero-visual {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.wpb-hero-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(20, 14, 56, 0.35);
}

.wpb-hero-frame img {
    display: block;
}

.wpb-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 65%);
    pointer-events: none;
}

.wpb-hero-badge {
    position: absolute;
    bottom: -3rem;
    right: -1rem;
    background: rgba(14, 20, 48, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    max-width: 260px;
    box-shadow: 0 12px 40px rgba(17, 14, 48, 0.4);
}

@media (max-width: 991.98px) {
    .wpb-hero-badge {
        position: static;
        margin-top: 2.5rem;
    }
}

.object-cover {
    object-fit: cover !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.tracking-wide {
    letter-spacing: 0.12em !important;
}

/* Toolbar refinement */
.wpb-toolbar {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.wpb-toolbar .page-heading {
    color: #f4f6ff !important;
}

.wpb-toolbar .page-desc,
.wpb-toolbar .breadcrumb .text-muted,
.wpb-toolbar .breadcrumb .text-gray-400 {
    color: rgba(244, 246, 255, 0.6) !important;
}

.wpb-toolbar .breadcrumb .text-muted a,
.wpb-toolbar .breadcrumb .text-gray-400 a {
    color: rgba(244, 246, 255, 0.75) !important;
}

.wpb-toolbar .breadcrumb .bullet {
    background-color: rgba(255, 255, 255, 0.45) !important;
}

html[data-bs-theme="dark"] body {
    background-color: #0b0f1f;
    color: #e9ecff;
}

html[data-bs-theme="dark"] .app-container {
    color: #e9ecff;
    background-color: transparent;
}

html[data-bs-theme="dark"] .app-content {
    background-color: transparent;
}

html[data-bs-theme="dark"] .wpb-hero {
    background: linear-gradient(140deg, rgba(28, 34, 79, 0.95) 0%, rgba(48, 21, 87, 0.95) 50%, rgba(12, 24, 68, 0.95) 100%) !important;
    box-shadow: 0 40px 90px rgba(7, 10, 30, 0.6) !important;
}

html[data-bs-theme="dark"] .wpb-hero-copy .badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

html[data-bs-theme="dark"] .wpb-hero-badge {
    background: rgba(10, 14, 38, 0.92);
    box-shadow: 0 20px 55px rgba(4, 6, 18, 0.7);
}

/* Stat cards */
.wpb-stat-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.25rem;
    border: 1px solid rgba(111, 126, 197, 0.15);
    box-shadow: 0 18px 40px rgba(99, 115, 189, 0.08);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wpb-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(99, 115, 189, 0.18);
}

[data-theme="dark"] .wpb-stat-card,
[data-bs-theme="dark"] .wpb-stat-card {
    background: linear-gradient(155deg, #1e1f3b 0%, #16172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(12, 17, 52, 0.4);
}

[data-theme="dark"] .wpb-stat-card:hover,
[data-bs-theme="dark"] .wpb-stat-card:hover {
    box-shadow: 0 22px 50px rgba(19, 28, 74, 0.55);
}

[data-theme="dark"] .wpb-stat-value,
[data-bs-theme="dark"] .wpb-stat-value {
    color: #f4f6ff;
}

[data-theme="dark"] .wpb-stat-label,
[data-bs-theme="dark"] .wpb-stat-label,
[data-theme="dark"] .wpb-stat-desc,
[data-bs-theme="dark"] .wpb-stat-desc {
    color: rgba(255, 255, 255, 0.65);
}

.wpb-stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6e7191;
    display: block;
    margin-bottom: 0.75rem;
}

.wpb-stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1c3c;
    display: block;
    margin-bottom: 0.75rem;
}

.wpb-stat-desc {
    color: #5f638a;
    margin-bottom: 0;
}

/* Navigation stack */
.wpb-navigation-stack {
    background: linear-gradient(160deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .wpb-navigation-stack,
[data-bs-theme="dark"] .wpb-navigation-stack {
    background: linear-gradient(160deg, rgba(102, 126, 234, 0.2) 0%, rgba(18, 20, 37, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.wpb-nav-card p {
    margin: 0 !important;
    text-align: center !important;
    color: #6e7191 !important;
    font-size: 0.9rem !important;
}

[data-theme="dark"] .wpb-nav-card p,
[data-bs-theme="dark"] .wpb-nav-card p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Steps */
.wpb-step-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 40px rgba(99, 115, 189, 0.08);
}

[data-theme="dark"] .wpb-step-card,
[data-bs-theme="dark"] .wpb-step-card {
    background: linear-gradient(155deg, #1c1d35 0%, #141526 100%);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(13, 16, 36, 0.55);
}

.wpb-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Video card */
.wpb-video-card {
    background: linear-gradient(160deg, rgba(248, 248, 255, 0.16) 0%, rgba(213, 201, 255, 0.08) 100%);
    border-radius: 1.75rem;
    padding: 2.5rem;
    border: 1px solid rgba(102, 126, 234, 0.18);
    box-shadow: 0 26px 70px rgba(48, 61, 120, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

[data-theme="dark"] .wpb-video-card,
[data-bs-theme="dark"] .wpb-video-card {
    background: linear-gradient(165deg, rgba(28, 31, 58, 0.85) 0%, rgba(18, 20, 40, 0.92) 100%);
    border-color: rgba(146, 160, 255, 0.22);
    box-shadow: 0 30px 80px rgba(7, 11, 34, 0.6);
}

.wpb-video-media {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(46, 57, 121, 0.9) 0%, rgba(98, 61, 155, 0.9) 100%);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpb-video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpb-video-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.08em;
}

.wpb-video-caption {
    margin-top: auto;
}

/* CTA */
.wpb-cta-card {
    background: linear-gradient(135deg, rgba(26, 33, 72, 0.95) 0%, rgba(54, 21, 96, 0.95) 50%, rgba(14, 26, 68, 0.95) 100%);
    border-radius: 2rem;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 42px 90px rgba(11, 14, 35, 0.55);
    border: 1px solid rgba(122, 137, 255, 0.2);
}

.wpb-cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.15), transparent 55%), radial-gradient(circle at 80% 70%, rgba(92, 129, 255, 0.18), transparent 60%);
    pointer-events: none;
}

.wpb-cta-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

/* Footer */
.wpb-footer-brand p {
    max-width: 320px;
}

.wpb-footer-links li {
    margin-bottom: 0.65rem;
}

.wpb-footer-links a {
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.wpb-footer-links a:hover {
    opacity: 1;
}

.wpb-footer-form input[type="email"] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.wpb-footer-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .wpb-footer-form input[type="email"] {
    background: rgba(17, 22, 39, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wpb-footer-meta {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Contact Page */
.wpb-contact-hero {
    background: linear-gradient(135deg, rgba(37, 45, 98, 0.95) 0%, rgba(65, 32, 114, 0.95) 50%, rgba(17, 30, 74, 0.95) 100%);
    border-radius: 2.5rem;
    padding: 4.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(10, 12, 34, 0.55);
}

.wpb-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 55%), radial-gradient(circle at 75% 80%, rgba(118, 75, 162, 0.2), transparent 60%);
    pointer-events: none;
}

.wpb-contact-hero-card {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(10, 12, 30, 0.45);
    border: 1px solid rgba(136, 152, 255, 0.2);
}

.wpb-contact-hero-image {
    position: relative;
    height: 100%;
    min-height: 320px;
}

.wpb-contact-hero-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(9, 14, 30, 0.85);
    padding: 1.25rem 1.5rem;
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 28px rgba(6, 8, 20, 0.45);
}

.wpb-contact-metric {
    background: rgba(12, 19, 40, 0.55);
    border: 1px solid rgba(136, 152, 255, 0.25);
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    min-width: 180px;
}

.wpb-contact-card {
    background: linear-gradient(160deg, rgba(20, 25, 54, 0.92) 0%, rgba(12, 17, 36, 0.92) 100%);
    border: 1px solid rgba(96, 112, 220, 0.22);
    border-radius: 1.5rem;
    padding: 2.25rem;
    height: 100%;
    box-shadow: 0 22px 60px rgba(6, 10, 28, 0.55);
}

.wpb-contact-card .badge {
    letter-spacing: 0.04em;
}

.wpb-contact-form {
    background: linear-gradient(155deg, rgba(29, 33, 80, 0.98) 0%, rgba(18, 22, 52, 0.98) 100%);
    border-radius: 2rem;
    padding: 3rem;
    border: 1px solid rgba(122, 138, 255, 0.22);
    box-shadow: 0 28px 75px rgba(7, 10, 28, 0.6);
}

.wpb-input {
    background: rgba(10, 14, 30, 0.75) !important;
    border: 1px solid rgba(146, 160, 255, 0.18) !important;
    color: #f4f6ff !important;
}

.wpb-input:focus {
    border-color: rgba(118, 136, 255, 0.55) !important;
    box-shadow: 0 0 0 0.25rem rgba(118, 136, 255, 0.15) !important;
}

.wpb-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.wpb-contact-map {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(96, 112, 220, 0.22);
    box-shadow: 0 30px 80px rgba(6, 10, 34, 0.55);
    min-height: 520px;
    background: linear-gradient(155deg, rgba(36, 42, 86, 0.95) 0%, rgba(18, 20, 40, 0.95) 100%);
}

.wpb-contact-map-overlay {
    position: absolute;
    inset: 0;
    padding: 3rem;
    z-index: 2;
    background: linear-gradient(135deg, rgba(8, 12, 28, 0.85) 0%, rgba(8, 12, 28, 0.25) 55%, rgba(8, 12, 28, 0) 80%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wpb-contact-map-canvas {
    position: absolute;
    inset: 0;
    background: url('/wpb7.jpg') center/cover no-repeat;
    opacity: 0.35;
}

@media (max-width: 991.98px) {
    .wpb-contact-hero {
        padding: 3rem 2.5rem;
    }

    .wpb-contact-form,
    .wpb-contact-map {
        padding: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .wpb-hero {
        padding: 3.5rem 2rem !important;
    }

    .wpb-stat-card,
    .wpb-step-card,
    .wpb-video-card,
    .wpb-navigation-stack {
        padding: 2rem;
    }
}

.wpb-sketch-info h4 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: #1e1e2d !important;
}

[data-theme="dark"] .wpb-sketch-info h4,
[data-bs-theme="dark"] .wpb-sketch-info h4 {
    color: #ffffff !important;
}

.wpb-sketch-info p {
    font-size: 0.9rem !important;
    color: #6c757d !important;
    margin-bottom: 0.5rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

[data-theme="dark"] .wpb-sketch-info p,
[data-bs-theme="dark"] .wpb-sketch-info p {
    color: rgba(255, 255, 255, 0.65) !important;
}

.wpb-sketch-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 0.85rem !important;
    color: #9ca3af !important;
    margin-top: 0.75rem !important;
}

.wpb-sketch-rating {
    display: flex !important;
    gap: 2px !important;
}

.wpb-sketch-rating i {
    color: #fbbf24 !important;
    font-size: 0.75rem !important;
}

/* Section Headers */
.wpb-section-header {
    margin-bottom: 2rem !important;
}

.wpb-section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.wpb-section-header p {
    color: #6c757d !important;
    font-size: 1rem !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpb-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wpb-hero h1 {
        font-size: 2rem !important;
    }

    .wpb-hero p {
        font-size: 1rem !important;
    }

    .wpb-sketches-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 1rem !important;
    }
}

/* === POLISH ENHANCEMENTS === */

/* Smooth scroll for entire page */
html {
    scroll-behavior: smooth;
}

/* Refined button transitions */
.btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-light {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Better badge styling */
.badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Enhanced focus states for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 3px;
    border-radius: 0.5rem;
}

/* Staggered fade-in animations for grid items */
.wpb-sketches-grid > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.wpb-sketches-grid > *:nth-child(1) { animation-delay: 0.05s; }
.wpb-sketches-grid > *:nth-child(2) { animation-delay: 0.1s; }
.wpb-sketches-grid > *:nth-child(3) { animation-delay: 0.15s; }
.wpb-sketches-grid > *:nth-child(4) { animation-delay: 0.2s; }
.wpb-sketches-grid > *:nth-child(5) { animation-delay: 0.05s; }
.wpb-sketches-grid > *:nth-child(6) { animation-delay: 0.1s; }
.wpb-sketches-grid > *:nth-child(7) { animation-delay: 0.15s; }
.wpb-sketches-grid > *:nth-child(8) { animation-delay: 0.2s; }

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

/* Polish for stat cards */
.wpb-stat-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}

.wpb-stat-value {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .wpb-stat-value {
    background: linear-gradient(135deg, #8b9fff 0%, #a17cde 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Refined nav card transitions */
.wpb-nav-card {
    will-change: transform;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wpb-nav-card i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-nav-card:hover i {
    transform: scale(1.1);
}

/* Polish for step cards */
.wpb-step-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-step-card:hover {
    transform: translateX(8px);
    box-shadow: 0 20px 50px rgba(99, 115, 189, 0.12) !important;
}

[data-bs-theme="dark"] .wpb-step-card:hover {
    box-shadow: 0 22px 55px rgba(13, 16, 36, 0.65) !important;
}

.wpb-step-icon {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
}

.wpb-step-card:hover .wpb-step-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.35);
}

/* Enhanced sketch card interactions */
.wpb-sketch-card {
    will-change: transform;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wpb-sketch-thumbnail {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-sketch-card:hover .wpb-sketch-thumbnail {
    transform: scale(1.03);
}

/* Video card enhancements */
.wpb-video-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(48, 61, 120, 0.3) !important;
}

[data-bs-theme="dark"] .wpb-video-card:hover {
    box-shadow: 0 36px 90px rgba(7, 11, 34, 0.7) !important;
}

.wpb-video-media {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-video-card:hover .wpb-video-media {
    transform: scale(1.02);
}

/* Hero frame enhancements */
.wpb-hero-frame {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-hero-frame:hover {
    transform: scale(1.02) rotate(0.5deg);
}

.wpb-hero-badge {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-hero-frame:hover + .wpb-hero-badge {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(17, 14, 48, 0.5);
}

/* CTA card pulse effect */
.wpb-cta-card .btn-light {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3), 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

/* Refined typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

.display-3 {
    line-height: 1.1;
}

/* Symbol stack animation */
.symbol {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpb-hero-copy:hover .symbol:nth-child(1) {
    transform: translateX(-4px);
    transition-delay: 0s;
}

.wpb-hero-copy:hover .symbol:nth-child(2) {
    transform: translateY(-4px);
    transition-delay: 0.05s;
}

.wpb-hero-copy:hover .symbol:nth-child(3) {
    transform: translateX(4px);
    transition-delay: 0.1s;
}

/* Improved link states */
a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Navigation stack polish */
.wpb-navigation-stack {
    transition: all 0.3s ease;
}

.wpb-navigation-stack:hover {
    transform: translateY(-2px);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Better loading states */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

[data-bs-theme="dark"] .loading-placeholder {
    background: linear-gradient(90deg, #1e1e2d 25%, #2a2a3d 50%, #1e1e2d 75%);
    background-size: 1000px 100%;
}

/* Print styles */
@media print {
    .wpb-hero,
    .wpb-cta-card {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        display: none;
    }
}
