/* XK Interactive - Futuristic Web Design Page Styles */
/* Revolutionary design for our flagship service */

/* ===== WEB HERO SECTION ===== */
.web-hero {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #0D1117 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Account for fixed navigation bar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 210, 63, 0.1) 0%, transparent 50%);
    animation: neuralPulse 8s ease-in-out infinite;
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(255, 107, 53, 0.1) 100px
    );
    animation: codeFlow 20s linear infinite;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    animation: floatShape 15s ease-in-out infinite;
}

.floating-shapes::before {
    top: 20%;
    left: 10%;
    animation-delay: -5s;
}

.floating-shapes::after {
    bottom: 20%;
    right: 10%;
    animation-delay: -10s;
}

/* ===== HERO CONTENT ===== */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #FF6B35;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    animation: badgeGlow 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #F0F6FC;
}

.text-gradient {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #8B949E;
    margin-bottom: 3rem;
    max-width: 90%;
}

/* ===== HERO METRICS ===== */
.hero-metrics {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.1);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B35;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #8B949E;
    margin-top: 0.25rem;
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover .btn-glow {
    opacity: 0.2;
}

/* ===== HOLOGRAPHIC DISPLAY ===== */
.hero-visual {
    position: relative;
    z-index: 2;
}

.holographic-display {
    position: relative;
    perspective: 1000px;
}

.display-frame {
    background: rgba(13, 17, 23, 0.9);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.holographic-display:hover .display-frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.screen-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 400px;
}

/* ===== CODE EDITOR ===== */
.code-editor {
    background: #0D1117;
    border: 1px solid #30363D;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
}

.editor-header {
    background: #161B22;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #30363D;
}

.editor-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    background: rgba(255, 107, 53, 0.1);
    color: #8B949E;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
}

.editor-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #FF5F56; }
.control-dot.yellow { background: #FFBD2E; }
.control-dot.green { background: #27CA3F; }

.editor-content {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #F0F6FC;
    min-height: 200px;
}

/* ===== BROWSER PREVIEW ===== */
.browser-preview {
    background: #0D1117;
    border: 1px solid #30363D;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
}

.preview-header {
    background: #161B22;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #30363D;
}

.url-bar {
    background: #0D1117;
    border: 1px solid #30363D;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B949E;
    font-size: 0.8rem;
}

.url-bar i {
    color: #22C55E;
}

.preview-content {
    padding: 1rem;
    min-height: 150px;
}

/* ===== HOLOGRAM EFFECTS ===== */
.hologram-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 20px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
    animation: scanLine 3s ease-in-out infinite;
}

.data-stream {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFD23F, transparent);
    animation: dataStream 2s ease-in-out infinite;
}

.energy-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: energyPulse 4s ease-in-out infinite;
}

/* ===== FLOATING TECH ICONS ===== */
.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    animation: techFloat 6s ease-in-out infinite;
}

.tech-icon:nth-child(2) { animation-delay: -1s; }
.tech-icon:nth-child(3) { animation-delay: -2s; }
.tech-icon:nth-child(4) { animation-delay: -3s; }
.tech-icon:nth-child(5) { animation-delay: -4s; }
.tech-icon:nth-child(6) { animation-delay: -5s; }

.icon-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #FF6B35;
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.capability-card:hover::before {
    left: 100%;
}

.capability-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.05);
}

.capability-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.capability-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover .icon-glow {
    opacity: 1;
}

.capability-card h3 {
    color: #F0F6FC;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.capability-card p {
    color: #8B949E;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.capability-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* ===== TECH SHOWCASE ===== */
.tech-stack-categories {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.tech-category h4 {
    color: #F0F6FC;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.1);
}

.tech-item i {
    font-size: 2rem;
    color: #FF6B35;
    margin-bottom: 0.5rem;
    display: block;
}

.tech-item span {
    color: #F0F6FC;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== TECH ORBIT VISUALIZATION ===== */
.tech-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FF6B35;
    z-index: 3;
}

.center-tech {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 150px;
    height: 150px;
    animation: orbitRotate 20s linear infinite;
}

.ring-2 {
    width: 250px;
    height: 250px;
    animation: orbitRotate 30s linear infinite reverse;
}

.ring-3 {
    width: 350px;
    height: 350px;
    animation: orbitRotate 40s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.orbit-item:hover {
    transform: scale(1.2);
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

/* Position orbit items */
.ring-1 .orbit-item:nth-child(1) { top: -20px; left: calc(50% - 20px); }
.ring-1 .orbit-item:nth-child(2) { top: calc(50% - 20px); right: -20px; }
.ring-1 .orbit-item:nth-child(3) { bottom: -20px; left: calc(50% - 20px); }

.ring-2 .orbit-item:nth-child(1) { top: -20px; left: calc(50% - 20px); }
.ring-2 .orbit-item:nth-child(2) { top: calc(25% - 20px); right: -20px; }
.ring-2 .orbit-item:nth-child(3) { bottom: -20px; right: calc(25% - 20px); }
.ring-2 .orbit-item:nth-child(4) { top: calc(75% - 20px); left: -20px; }

.ring-3 .orbit-item:nth-child(1) { top: -20px; left: calc(50% - 20px); }
.ring-3 .orbit-item:nth-child(2) { top: calc(20% - 20px); right: -20px; }
.ring-3 .orbit-item:nth-child(3) { top: calc(50% - 20px); right: -20px; }
.ring-3 .orbit-item:nth-child(4) { bottom: -20px; right: calc(30% - 20px); }
.ring-3 .orbit-item:nth-child(5) { bottom: -20px; left: calc(30% - 20px); }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes neuralPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes codeFlow {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes badgeGlow {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes dataStream {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes energyPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes techFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .web-hero {
        padding-top: 80px; /* Reduced padding for mobile */
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .display-frame {
        transform: none;
        padding: 1rem;
    }
    
    .screen-content {
        height: 300px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-orbit {
        width: 300px;
        height: 300px;
    }
    
    .ring-1 { width: 120px; height: 120px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 280px; height: 280px; }
}
