/* ========================================
   FUTURISTIC PORTFOLIO 2026 - MAIN STYLES
   ======================================== */

:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff00e5;
    --tertiary-color: #7000ff;
    --bg-dark: #0a0a0f;
    --bg-darker: #050507;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glow-intensity: 0 0 20px;
    --quantum-speed: 0.3s;
}

/* Universe Container */
.fp2026-universe {
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    overflow-x: hidden;
    perspective: 1000px;
}

/* Quantum Particle Field - Fixed Background */
#fp2026-particle-field {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 243, 255, 0.1) 0%,
        rgba(255, 0, 229, 0.05) 25%,
        transparent 70%);
}

/* Ensure all content is above particle background */
.fp2026-header,
.fp2026-grid-container,
.fp2026-cost-float {
    position: relative;
    z-index: 10;
}

/* Holographic Header */
.fp2026-header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 20px 40px;
    margin-bottom: 20px;
}

.fp2026-glitch-text {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    text-shadow: 
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.05em -0.025em 0 rgba(0, 255, 255, 0.75),
        0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
    animation: glitch 500ms infinite;
    letter-spacing: 0.15em;
}

.fp2026-glitch-text::before,
.fp2026-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fp2026-glitch-text::before {
    animation: glitch-top 0.3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.fp2026-glitch-text::after {
    animation: glitch-bottom 0.3s infinite linear alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 100% { transform: none; opacity: 1; }
    7% { transform: skew(-0.5deg, -0.9deg); opacity: 0.75; }
    10% { transform: none; opacity: 1; }
    27% { transform: none; opacity: 1; }
    30% { transform: skew(0.8deg, -0.1deg); opacity: 0.75; }
    35% { transform: none; opacity: 1; }
    52% { transform: none; opacity: 1; }
    55% { transform: skew(-1deg, 0.2deg); opacity: 0.75; }
    50% { transform: none; opacity: 1; }
    72% { transform: none; opacity: 1; }
    75% { transform: skew(0.4deg, 1deg); opacity: 0.75; }
    80% { transform: none; opacity: 1; }
    100% { transform: none; opacity: 1; }
}

@keyframes glitch-top {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-bottom {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(-2px, -2px); }
}

.fp2026-neon-line {
    width: 150px;
    height: 3px;
    margin: 20px auto;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--primary-color), 
        transparent);
    filter: blur(1px);
    animation: neon-pulse 2s infinite;
}

@keyframes neon-pulse {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 20px var(--primary-color); }
    50% { opacity: 1; box-shadow: 0 0 40px var(--secondary-color); }
}

.fp2026-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Service Filters */
.fp2026-service-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.fp2026-filter-btn {
    position: relative;
    padding: 12px 25px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--quantum-speed);
    border-radius: 30px;
    text-transform: uppercase;
}

.fp2026-filter-btn .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--tertiary-color));
    opacity: 0;
    transition: opacity var(--quantum-speed);
    filter: blur(10px);
    z-index: -2;
}

.fp2026-filter-btn .btn-text {
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fp2026-filter-btn .btn-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-color), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.fp2026-filter-btn:hover .btn-glow {
    opacity: 0.3;
}

.fp2026-filter-btn:hover .btn-particle {
    width: 200px;
    height: 200px;
    opacity: 0;
}

.fp2026-filter-btn.active {
    box-shadow: 0 0 30px var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Portfolio Grid */
.fp2026-grid-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.fp2026-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Project Card */
.fp2026-project-card {
    position: relative;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fp2026-project-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(3deg);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px rgba(0, 243, 255, 0.2),
        0 0 0 1px rgba(0, 243, 255, 0.1);
}

/* Card Hologram Effect */
.card-hologram {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 243, 255, 0.1) 45%,
        rgba(255, 0, 229, 0.1) 55%,
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

.fp2026-project-card:hover .card-hologram {
    transform: translateX(100%);
}

/* Card Visual */
.card-visual {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.fp2026-project-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color));
    opacity: 0.3;
}

.placeholder-animation {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    animation: placeholder-shine 2s infinite;
}

@keyframes placeholder-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Gliding Images Effect */
.glide-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glide-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.glide-image {
    flex: 0 0 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.glide-image.active {
    opacity: 1;
    position: relative;
}

.glide-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 15;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 243, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.indicator.active {
    background: #00f3ff;
    transform: scale(1.2);
    box-shadow: 0 0 10px #00f3ff;
}

.glide-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #00f3ff;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #00f3ff;
    backdrop-filter: blur(4px);
    z-index: 15;
}

/* Holographic Overlay */
.card-holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 243, 255, 0.08) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 2px,
        transparent 4px
    );
    animation: scan 6s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 0, 229, 0.08) 50%,
        transparent 70%);
    mix-blend-mode: overlay;
    animation: glitch-overlay 3s infinite;
}

@keyframes glitch-overlay {
    0%, 100% { opacity: 0.2; transform: translateX(0); }
    25% { opacity: 0.4; transform: translateX(-1px); }
    50% { opacity: 0.2; transform: translateX(1px); }
    75% { opacity: 0.3; transform: translateX(-0.5px); }
}

/* Service Badge */
.card-service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    z-index: 15;
}

/* Featured Badge */
.card-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.featured-text {
    color: #000;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.featured-star {
    font-size: 0.9rem;
}

/* Cost Badge - Top Right */
.card-cost-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.95), rgba(255, 0, 229, 0.95));
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 20;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cost-note {
    font-size: 9px;
    opacity: 0.8;
    margin-left: 4px;
}

/* Completion Ring - Top Left */
.completion-ring {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 45px;
    height: 45px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 3px;
    backdrop-filter: blur(4px);
    border: 1px solid var(--primary-color);
}

.completion-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.completion-ring .percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: bold;
    color: #00f3ff;
    text-shadow: 0 0 5px #00f3ff;
}

/* Card Content */
.card-content {
    padding: 18px;
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-client {
    margin-bottom: 8px;
    padding: 4px 8px;
    background: rgba(0, 243, 255, 0.08);
    border-left: 2px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.client-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    margin-right: 5px;
}

.client-name {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.8rem;
}

.card-excerpt {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

/* Tech Stack */
.card-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-bubble {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 15px;
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: all 0.2s;
}

.tech-bubble:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-color);
}

.tech-bubble.more {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Metrics */
.card-metrics {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 243, 255, 0.15);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Energy Shield Effect */
.card-energy-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.fp2026-project-card:hover .card-energy-shield {
    opacity: 1;
}

/* Action Buttons */
.card-actions {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(80px);
    transition: transform 0.3s ease;
    z-index: 20;
}

.fp2026-project-card:hover .card-actions {
    transform: translateY(0);
}

.card-visit-btn,
.card-explore-btn {
    flex: 1;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(4px);
}

.card-visit-btn {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.card-visit-btn:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    transform: scale(1.02);
}

.card-explore-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.02);
}

/* No Projects Found */
.fp2026-no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 20px;
    border: 1px dashed var(--primary-color);
}

.no-projects-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.no-projects-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.no-projects-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Floating Cost Calculator */
.fp2026-cost-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    cursor: pointer;
}

.cost-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f3ff, #ff00e5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: costFloat 3s ease-in-out infinite;
}

.cost-icon {
    font-size: 20px;
    line-height: 1;
}

.cost-text {
    font-size: 7px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cost-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    white-space: nowrap;
    font-size: 10px;
    border: 1px solid #00f3ff;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s;
    pointer-events: none;
}

.fp2026-cost-float:hover .cost-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@keyframes costFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Quantum Modal */
.fp2026-quantum-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.fp2026-quantum-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: rgba(10, 10, 15, 0.98);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
}

.fp2026-quantum-modal.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--primary-color);
}

.close-line {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.modal-close:hover .close-line {
    background: var(--bg-dark);
}

.close-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.close-line:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.fp2026-quantum-modal.loading .modal-loader {
    display: block;
}

.fp2026-quantum-modal.loading .modal-body {
    opacity: 0;
}

.quantum-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: quantum-spin 0.8s linear infinite;
}

@keyframes quantum-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-body {
    padding: 30px;
    max-height: 85vh;
    overflow-y: auto;
    color: var(--text-primary);
}

/* Project Detail Modal */
.project-detail {
    color: var(--text-primary);
}

.detail-visual {
    position: relative;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
}

.detail-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

.detail-hologram {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 243, 255, 0.15) 45%,
        rgba(255, 0, 229, 0.15) 55%,
        transparent 100%);
    pointer-events: none;
    animation: hologram-scan 4s linear infinite;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.detail-service {
    padding: 5px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.detail-client {
    margin: 12px 0;
    padding: 8px;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.detail-content {
    line-height: 1.7;
    margin-bottom: 25px;
}

.detail-url {
    margin: 25px 0;
    text-align: center;
}

.detail-url-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.detail-url-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

.detail-meta {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid rgba(0, 243, 255, 0.15);
}

.detail-meta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.meta-item {
    padding: 12px;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 8px;
    border-left: 2px solid var(--primary-color);
}

.meta-key {
    display: block;
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-value {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

/* Gallery in Modal */
.fp2026-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.gallery-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.gallery-grid-item:hover {
    transform: scale(1.02);
    border-color: #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.gallery-grid-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

/* Gallery Carousel */
.fp2026-gallery-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px 0;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid #00f3ff;
    cursor: pointer;
}

.carousel-dot.active {
    background: #00f3ff;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00f3ff;
    border-radius: 50%;
    color: #00f3ff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #00f3ff;
    color: black;
}

.carousel-arrow.prev {
    left: 15px;
}

.carousel-arrow.next {
    right: 15px;
}

/* Testimonials */
.fp2026-testimonials {
    margin: 25px 0;
    padding: 15px;
    background: rgba(0, 243, 255, 0.03);
    border-radius: 15px;
}

.fp2026-testimonials .testimonial-item {
    padding: 15px;
    background: linear-gradient(135deg, rgba(0,243,255,0.08), rgba(255,0,229,0.08));
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #00f3ff;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f3ff, #ff00e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.testimonial-info h4 {
    margin: 0;
    color: #00f3ff;
    font-size: 1rem;
}

.testimonial-info p {
    margin: 3px 0 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-rating {
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 8px;
}

.testimonial-content {
    font-style: italic;
    line-height: 1.5;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.testimonial-content::before {
    content: '"';
    font-size: 28px;
    color: #00f3ff;
    opacity: 0.3;
    margin-right: 4px;
}

/* Cost Details in Modal */
.cost-details {
    background: linear-gradient(135deg, rgba(0,243,255,0.08), rgba(255,0,229,0.08));
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.cost-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.cost-header h3 {
    margin: 0;
    color: #00f3ff;
    font-size: 1.1rem;
}

.cost-value-large {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00f3ff, #ff00e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 8px 0;
}

.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.cost-item {
    text-align: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.cost-item-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    margin-bottom: 4px;
}

.cost-item-value {
    color: #00f3ff;
    font-size: 1rem;
    font-weight: bold;
}

/* Lightbox */
.fp2026-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
}

.lightbox-container img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    border: 2px solid #00f3ff;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #00f3ff;
    border: none;
    color: black;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: #ff00e5;
    color: white;
}

/* Loading Screen */
.fp2026-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.4s;
}

.fp2026-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-quantum {
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-color), var(--primary-color));
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fp2026-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .fp2026-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .fp2026-glitch-text {
        font-size: 2rem;
    }
    
    .fp2026-subtitle {
        font-size: 0.9rem;
    }
    
    .fp2026-service-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .fp2026-filter-btn {
        width: 80%;
    }
    
    .modal-container {
        width: 95%;
    }
    
    .card-actions {
        flex-direction: column;
        transform: translateY(0);
        position: relative;
        margin-top: 15px;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .fp2026-project-card:hover .card-actions {
        transform: translateY(0);
    }
    
    .card-visit-btn,
    .card-explore-btn {
        max-width: 100%;
        padding: 8px 12px;
    }
    
    .card-content {
        padding-bottom: 15px;
    }
    
    .card-cost-badge {
        top: 8px;
        right: 8px;
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .completion-ring {
        top: 8px;
        left: 8px;
        width: 38px;
        height: 38px;
    }
    
    .card-service-badge {
        top: 55px;
        right: 8px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .fp2026-cost-float {
        bottom: 15px;
        left: 15px;
    }
    
    .cost-core {
        width: 40px;
        height: 40px;
    }
    
    .cost-icon {
        font-size: 16px;
    }
    
    .cost-text {
        display: none;
    }
    
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .meta-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .fp2026-header {
        padding: 60px 15px 30px;
    }
    
    .fp2026-glitch-text {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .detail-services {
        gap: 6px;
    }
    
    .detail-service {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
}

/* Animations */
@keyframes floatGlide {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.fp2026-project-card:hover .glide-images {
    animation: floatGlide 2s ease-in-out infinite;
}