/* ==========================================================================
   SOFTIDS MODERN LUXURY & CYBER-TECH DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-base: #060911;
    --bg-surface: #0a0f1d;
    --bg-card: rgba(13, 20, 36, 0.72);
    --bg-card-hover: rgba(18, 28, 52, 0.85);
    
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(56, 189, 248, 0.25);
    --border-accent-strong: rgba(56, 189, 248, 0.5);
    
    --neon-cyan: #38bdf8;
    --neon-indigo: #818cf8;
    --neon-purple: #c084fc;
    --neon-emerald: #34d399;
    --neon-amber: #fbbf24;
    --neon-rose: #fb7185;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;
}

/* Background Atmosphere & Grid */
html {
    scroll-behavior: auto !important;
}

[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
}

body {
    background-color: var(--bg-base) !important;
    color: var(--text-primary) !important;
    position: relative;
    overflow-x: hidden;
}

.ambient-aurora {
    display: none !important;
}

.aurora-orb {
    display: none !important;
}

/* Modern Gradient Text */
.gradient-shimmer {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 30%, #818cf8 60%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

/* High-Performance Cards (Instant 60+ FPS Scroll) */
.spotlight-card {
    position: relative;
    background: #0d1527;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.spotlight-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.12);
}

/* Infinite Marquee Ticker */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 18px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 36px;
    animation: scrollMarquee 35s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

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

.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.marquee-pill:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--neon-cyan);
    color: #ffffff;
    transform: scale(1.05);
}

/* Interactive Developer Terminal / Cloud IDE */
.cloud-ide-box {
    background: #090d16;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.1);
    overflow: hidden;
}

.ide-top-bar {
    background: #0f1626;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ide-nav-tabs .nav-link {
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ide-nav-tabs .nav-link.active {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.ide-code-area {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    color: #cbd5e1;
    min-height: 330px;
    position: relative;
}

/* Pulsing Badge & Rings */
.status-pulsing-dot {
    position: relative;
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: var(--neon-emerald);
    border-radius: 50%;
}

.status-pulsing-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--neon-emerald);
    opacity: 0.6;
    animation: statusRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes statusRing {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* Service Card Image Hover Zoom */
.service-img-preview {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    max-height: 220px;
    cursor: pointer;
}

.service-img-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.service-img-preview:hover img {
    transform: scale(1.06);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 9, 17, 0.9) 0%, rgba(6, 9, 17, 0.3) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    transition: background 0.3s ease;
}

.service-img-preview:hover .service-img-overlay {
    background: linear-gradient(to top, rgba(2, 132, 199, 0.7) 0%, rgba(6, 9, 17, 0.2) 100%);
}

/* Smart Product Hologram Badge */
.smart-badge-nfc {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.smart-badge-qr {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
}

.smart-badge-live {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(56, 189, 248, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

/* Button Shimmer */
.btn-primary-glow {
    position: relative;
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(30deg);
    transition: transform 0.6s ease;
}

.btn-primary-glow:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.55), 0 0 25px rgba(56, 189, 248, 0.5);
}

.btn-primary-glow:hover::after {
    transform: rotate(30deg) translate(50%, 50%);
}

