/* =============================================================================
   SOFTNEXTTECH - Enhanced UI/UX Styles
   Premium visual effects, improved animations, and modern aesthetics
   ============================================================================= */

/* =============================================================================
   ENHANCED HERO SECTION
   ============================================================================= */
.hero {
    position: relative;
}

/* Animated particles background */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 28s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 26s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 24s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 0.5s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 2.5s;
    animation-duration: 27s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 4.5s;
    animation-duration: 23s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
        transform: translateY(50vh) scale(1);
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) scale(0);
        opacity: 0;
    }
}

/* Enhanced orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.25) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: 5s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2.5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(30px, -20px);
    }

    50% {
        transform: translate(-20px, 30px);
    }

    75% {
        transform: translate(20px, 20px);
    }
}

/* =============================================================================
   ENHANCED LOGO STYLES
   ============================================================================= */
.logo-image {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: contain;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

/* =============================================================================
   ENHANCED CARD STYLES
   ============================================================================= */
.card-premium {
    position: relative;
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.9) 0%, rgba(18, 18, 26, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 217, 255, 0.1) 0%,
            transparent 50%,
            rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card-premium:hover::before {
    opacity: 1;
}

.card-premium::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card-premium:hover::after {
    opacity: 0.3;
}

/* Glowing border effect on hover */
.card-glow {
    position: relative;
}

.card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
    animation: borderRotate 3s linear infinite;
    background-size: 200% 200%;
}

.card-glow:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =============================================================================
   ENHANCED BUTTON STYLES
   ============================================================================= */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.btn-glow:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.btn-shine:hover::after {
    left: 150%;
}

/* =============================================================================
   ENHANCED SECTION STYLES
   ============================================================================= */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
    margin: var(--space-4xl) 0;
}

/* Animated underline for section titles */
.section-title-animated {
    position: relative;
    display: inline-block;
}

.section-title-animated::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
}

/* =============================================================================
   ENHANCED ICON STYLES
   ============================================================================= */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.icon-box-outlined {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.icon-box-outlined:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* =============================================================================
   ENHANCED STATS DISPLAY
   ============================================================================= */
.stat-enhanced {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.stat-enhanced:hover {
    background: rgba(0, 217, 255, 0.05);
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label-enhanced {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================================================
   FEATURE GRID ENHANCED
   ============================================================================= */
.feature-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: var(--border-accent);
    transform: translateX(5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.feature-content p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* =============================================================================
   ENHANCED TESTIMONIAL STYLES
   ============================================================================= */
.testimonial-enhanced {
    position: relative;
    padding: var(--space-2xl);
}

.testimonial-enhanced::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.star {
    width: 20px;
    height: 20px;
    color: #FCD34D;
}

/* =============================================================================
   ENHANCED FORM STYLES
   ============================================================================= */
.form-group-enhanced {
    position: relative;
    margin-bottom: var(--space-xl);
}

.form-input-enhanced {
    width: 100%;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-input-enhanced:focus {
    outline: none;
    background: rgba(0, 217, 255, 0.03);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1), 0 0 20px rgba(0, 217, 255, 0.1);
}

.form-label-floating {
    position: absolute;
    left: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--text-base);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-input-enhanced:focus+.form-label-floating,
.form-input-enhanced:not(:placeholder-shown)+.form-label-floating {
    top: 0;
    left: var(--space-md);
    font-size: var(--text-xs);
    background: var(--bg-card);
    padding: 0 var(--space-xs);
    color: var(--primary);
}

/* =============================================================================
   MARQUEE ANIMATION (for tech stack or clients)
   ============================================================================= */
.marquee-container {
    overflow: hidden;
    padding: var(--space-xl) 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    padding: 0 var(--space-2xl);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.marquee-item span {
    color: var(--primary);
    opacity: 0.5;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =============================================================================
   SCROLL PROGRESS INDICATOR
   ============================================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* =============================================================================
   BACK TO TOP BUTTON
   ============================================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
}

/* =============================================================================
   LOADING ANIMATION
   ============================================================================= */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================================================
   CURSOR FOLLOWER (Optional fancy effect)
   ============================================================================= */
.cursor-follower {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower.active {
    width: 40px;
    height: 40px;
    background: rgba(0, 217, 255, 0.2);
}

/* =============================================================================
   GLASSMORPHISM ENHANCEMENTS
   ============================================================================= */
.glass {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================================================
   NOISE TEXTURE OVERLAY
   ============================================================================= */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* =============================================================================
   RESPONSIVE ENHANCEMENTS
   ============================================================================= */
@media (max-width: 768px) {

    .hero-orb-1,
    .hero-orb-2,
    .hero-orb-3 {
        display: none;
    }

    .cursor-follower {
        display: none;
    }

    .stat-number {
        font-size: var(--text-4xl);
    }
}

/* ==========================================================================
   Premium Graphics & Visual Enhancements
   ========================================================================== */

/* --- Portfolio & Blog Image Containers --- */
.card-image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-image-container img {
    transform: scale(1.1);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent);
    z-index: 1;
}

/* --- Abstract Team Avatars (CSS Only) --- */
.team-avatar-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.team-avatar-abstract {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Variant 1: Geometric Nodes */
.avatar-v1::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 20%, rgba(0, 217, 255, 0.1) 21%, transparent 22%),
        radial-gradient(circle at 50% 50%, transparent 40%, rgba(124, 58, 237, 0.1) 41%, transparent 42%);
    animation: rotate 20s linear infinite;
}

.avatar-v1::after {
    content: '';
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(124, 58, 237, 0.2));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Variant 2: Digital Sphere */
.avatar-v2::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-top-color: var(--primary);
    border-bottom-color: var(--accent);
    animation: rotate 6s linear infinite;
}

.avatar-v2::after {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.8;
}

/* Variant 3: Cyber Waves */
.avatar-v3 {
    background: linear-gradient(45deg, #0A0A0F, #1a1a2e);
}

.avatar-v3::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 217, 255, 0.05) 10px,
            rgba(0, 217, 255, 0.05) 20px);
    animation: rotate 15s linear infinite reverse;
}

.avatar-v3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    box-shadow: 0 0 15px var(--accent);
}

/* Variant 4: Tech Stack */
.avatar-v4::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--primary);
    box-shadow: 0 10px 0 var(--accent), 0 -10px 0 var(--secondary);
    border-radius: 2px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* --- Card Refinements --- */
.portfolio-card,
.blog-card,
.team-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.portfolio-card:hover,
.blog-card:hover,
.team-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 217, 255, 0.15);
    transform: translateY(-5px);
}

.portfolio-content,
.blog-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Blog Category Badge */
.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}/* ==========================================================================
   Premium Product & Tech Stack Stylings
   ========================================================================== */

/* --- Advanced Product Showcase Cards --- */
.product-showcase-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    padding: 0 !important;
    /* Override default card padding */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .product-showcase-card {
        grid-template-columns: 1.2fr 1fr;
    }

    .product-showcase-card.reverse {
        grid-template-columns: 1fr 1.2fr;
    }

    .product-showcase-card.reverse .product-visual {
        order: 2;
    }
}

.product-visual {
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.product-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    z-index: 2;
}

/* Abstract Product Screens (CSS Only) */
.product-screen-abstract {
    width: 80%;
    height: 70%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.product-showcase-card:hover .product-screen-abstract {
    transform: perspective(1000px) rotateY(-5deg) rotateX(0deg) scale(1.05);
}

/* MoneyMates Theme */
.visual-moneymates {
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.15), transparent 40%);
}

.visual-moneymates .product-screen-abstract {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 78, 59, 0.3));
    border-color: rgba(16, 185, 129, 0.3);
}

.visual-moneymates .screen-content::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.visual-moneymates .screen-content::after {
    content: '$$$';
    position: absolute;
    bottom: 20%;
    right: 15%;
    font-size: 40px;
    font-weight: 900;
    color: rgba(16, 185, 129, 0.2);
}

/* CulturalHub Theme */
.visual-culturalhub {
    background: radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.15), transparent 40%),
        radial-gradient(circle at 20% 90%, rgba(236, 72, 153, 0.15), transparent 40%);
}

.visual-culturalhub .product-screen-abstract {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(88, 28, 135, 0.3));
    border-color: rgba(124, 58, 237, 0.3);
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
}

.visual-culturalhub .screen-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.product-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Tech Stack Pills --- */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.1);
}

/* Category Specific Glows on Hover */
.card:hover .tech-tag {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Tech Category Cards */
.tech-card {
    text-align: left !important;
    padding: 2rem !important;
}

.tech-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Service Icon Glows --- */
.service-icon-enhanced {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-icon-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--primary), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .service-icon-enhanced::before {
    opacity: 0.2;
}

.service-icon-enhanced svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.card:hover .service-icon-enhanced svg {
    transform: scale(1.1);
    stroke: var(--primary);
}
/* ==========================================================================
   Global Polish & Premium Details
   ========================================================================== */

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Text Selection --- */
::selection {
    background: rgba(0, 217, 255, 0.2);
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* --- Smooth Scrolling & Offset --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Accounts for fixed header */
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: var(--accent);
    animation: spin 2s ease-in-out infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Premium Form Styles --- */
.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.form-input:focus,
.form-textarea:focus {
    background: rgba(0, 217, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

/* Floating Label Transition Fix (if we were using them, but enhancing placeholders for now) */
::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    opacity: 0.5;
}

/* --- Link Hover Effects --- */
a:not(.btn):not(.nav-link):not(.social-link):not(.logo) {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:not(.btn):not(.nav-link):not(.social-link):not(.logo):hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

/* --- Mobile Menu Backdrop --- */
.mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
}

/* --- Button Polish --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(0, 0);
}
