/* ==========================================
   ASIA XTREME V2 - CYBERPUNK FUTURISTIC DESIGN
   NON-STANDARD ASYMMETRIC LAYOUT
   ========================================== */

/* === VARIABLES === */
:root {
    --primary: #00FFD1;
    --secondary: #FF0080;
    --accent: #FFD700;
    --dark: #0A0118;
    --neon: #00FFFF;
    --glow-primary: 0 0 20px var(--primary), 0 0 40px var(--primary);
    --glow-secondary: 0 0 20px var(--secondary), 0 0 40px var(--secondary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* === CYBERPUNK GRID BACKGROUND === */
.cyber-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* === SCAN LINE EFFECT === */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 3s linear infinite;
    opacity: 0.5;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* === FLOATING NAV DOTS === */
.nav-dot {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
}

.nav-dot .dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-dot:hover .dot,
.nav-dot.active .dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

.nav-dot::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border: 1px solid var(--primary);
}

.nav-dot:hover::before {
    opacity: 1;
}

/* === GRADIENT TEXT === */
.text-gradient-cyber {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* === GLITCH TEXT EFFECT === */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text:hover {
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    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); }
}

/* === CYBER BUTTONS === */
.cyber-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: all 0.3s;
    overflow: hidden;
    letter-spacing: 1px;
}

.cyber-button.primary {
    background: rgba(0, 255, 209, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.cyber-button.primary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.cyber-button.secondary {
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.cyber-button.secondary:hover {
    background: var(--secondary);
    color: white;
    box-shadow: var(--glow-secondary);
    transform: translateY(-2px);
}

.cyber-button.accent {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.cyber-button.accent:hover {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 20px var(--accent);
    transform: translateY(-2px);
}

.cyber-button.large {
    padding: 18px 48px;
    font-size: 16px;
}

/* === METRIC PILLS === */
.metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 209, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* === HOLOGRAPHIC 3D CARD === */
.hologram-card {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1500px;
}

.hologram-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate-hologram 15s infinite linear;
    transition: transform 0.3s ease;
}

@keyframes rotate-hologram {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.hologram-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 40px rgba(0, 255, 209, 0.3),
        inset 0 0 60px rgba(0, 255, 209, 0.1);
    overflow: hidden;
}

.hologram-face::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 209, 0.1),
        transparent
    );
    animation: hologram-scan 3s linear infinite;
}

@keyframes hologram-scan {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hologram-face.back {
    transform: rotateY(180deg);
    border-color: var(--secondary);
    box-shadow: 
        0 0 40px rgba(255, 0, 128, 0.3),
        inset 0 0 60px rgba(255, 0, 128, 0.1);
}

.hologram-face.back::before {
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 0, 128, 0.1),
        transparent
    );
}

/* === SHINE ANIMATION === */
@keyframes animate-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.animate-shine {
    animation: animate-shine 2s infinite;
}

/* === SLOW SPIN === */
@keyframes animate-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: animate-spin-slow 8s linear infinite;
}

/* === ORBITAL RINGS === */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

.orbital-ring.ring-1 {
    width: 520px;
    height: 520px;
    border-color: var(--primary);
    animation: orbit 20s linear infinite;
}

.orbital-ring.ring-2 {
    width: 580px;
    height: 580px;
    border-color: var(--secondary);
    animation: orbit 25s linear infinite reverse;
}

.orbital-ring.ring-3 {
    width: 640px;
    height: 640px;
    border-color: var(--accent);
    animation: orbit 30s linear infinite;
}

@keyframes orbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === ORBIT POINTS === */
.orbit-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: all;
    cursor: pointer;
    z-index: 10;
}

.orbit-point::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: inherit;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s ease-out infinite;
}

.orbit-point::after {
    content: attr(data-label);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-family: 'Space Mono', monospace;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border: 1px solid;
    border-color: inherit;
}

.orbit-point:hover::after {
    opacity: 1;
}

.orbit-point.point-1 {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    border: 2px solid var(--primary);
}

.orbit-point.point-1::after {
    border-color: var(--primary);
    color: var(--primary);
}

.orbit-point.point-2 {
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    border: 2px solid var(--secondary);
}

.orbit-point.point-2::after {
    border-color: var(--secondary);
    color: var(--secondary);
}

.orbit-point.point-3 {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    border: 2px solid var(--accent);
}

.orbit-point.point-3::after {
    border-color: var(--accent);
    color: var(--accent);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 30px; opacity: 0.5; }
}

/* === DIAGONAL SPLIT === */
.diagonal-split {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 209, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 0, 128, 0.05) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

/* === STAT BOX === */
.stat-box {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 209, 0.3);
}

/* === TECH STACK VISUAL === */
.tech-stack-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-layer {
    opacity: 0;
    animation: fade-in-up 0.8s ease forwards;
    animation-delay: var(--delay);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.layer-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.layer-bar {
    height: 40px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 8px;
    width: var(--width);
    position: relative;
    overflow: hidden;
}

.layer-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

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

/* === BENTO GRID LAYOUT === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.bento-item {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 209, 0.2);
    border-radius: 20px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-item:hover::before {
    opacity: 0.1;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 255, 209, 0.3);
}

.bento-item.large {
    grid-column: span 3;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
}

.bento-item.small {
    grid-column: span 1;
}

.bento-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* === METRIC CARDS === */
.metric-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 209, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.metric-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 209, 0.3);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.metric-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.metric-chart {
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--height);
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 8px 8px 0 0;
    animation: bar-grow 1s ease-out;
}

@keyframes bar-grow {
    from { height: 0; }
    to { height: var(--height); }
}

/* === INVESTMENT PILL === */
.investment-pill {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.investment-pill:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 255, 209, 0.3);
}

/* === SOCIAL ICONS CYBER === */
.social-icon-cyber {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon-cyber:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .bento-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    
    .bento-item.large,
    .bento-item.medium,
    .bento-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .hologram-card {
        height: 300px;
    }
    
    .orbital-ring {
        display: none;
    }
}

/* === COUNTER ANIMATION === */
.counter {
    display: inline-block;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

/* === PRODUCT DETAIL CARDS === */
.product-detail-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 209, 0.2);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.product-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.product-detail-card:hover {
    border-color: var(--primary);
}

/* === TECH TAGS === */
.tech-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 209, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

/* === STAT MINI === */
.stat-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* === CONTENT SECTIONS === */
.content-section {
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.section-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* === TECH ITEMS === */
.tech-item {
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.tech-item:hover {
    background: rgba(0, 255, 209, 0.05);
    border-color: var(--primary);
    transform: translateX(8px);
}

/* === USE CASE CARDS === */
.use-case-card {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
}

/* === PRODUCT SUMMARY CARDS === */
.product-summary-card {
    padding: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 209, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.product-summary-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 209, 0.3);
}
